Class Mesh
Assembly: Ritchie.Toolbox.dll
public sealed class Mesh : IDisposable
Properties
Declaration
public bool IsValid { get; }
Property Value
Declaration
public int SubMeshCount { get; }
Property Value
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
Declaration
public void RenderSubMesh(GraphicsDevice graphicsDevice, int subMeshIndex)
Parameters
Type |
Name |
Description |
GraphicsDevice |
graphicsDevice |
|
int |
subMeshIndex |
|
Declaration
public void SetSubMeshCount(int subMeshCount)
Parameters
Type |
Name |
Description |
int |
subMeshCount |
|
Declaration
public void SetSubMeshData(int subMesh, int[] indices)
Parameters
Type |
Name |
Description |
int |
subMesh |
|
int[] |
indices |
|
Declaration
public void SetSubMeshData(int subMesh, ReadOnlySpan<int> indices)
Parameters
SetVertices(ReadOnlySpan<VertexPositionColorTexture>)
Declaration
public void SetVertices(ReadOnlySpan<VertexPositionColorTexture> data)
Parameters
Type |
Name |
Description |
ReadOnlySpan<VertexPositionColorTexture> |
data |
|
Implements