Class Mesh<T>
- Namespace
- Lime
- Assembly
- Lime.dll
[YuzuSpecializeWith(typeof(Mesh3D.Vertex))]
public class Mesh<T> : IMesh, IDisposable where T : unmanaged
Type Parameters
T
- Inheritance
-
Mesh<T>
- Implements
- Inherited Members
Fields
AttributeLocations
[YuzuMember]
public int[] AttributeLocations
Field Value
- int[]
DirtyFlags
public MeshDirtyFlags DirtyFlags
Field Value
IndexCount
public int IndexCount
Field Value
Indices
[YuzuMember]
[TangerineKeyframeColor(21)]
public ushort[] Indices
Field Value
- ushort[]
Topology
[YuzuMember]
public PrimitiveTopology Topology
Field Value
VertexCount
public int VertexCount
Field Value
Vertices
[YuzuMember]
public T[] Vertices
Field Value
- T[]
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Draw(int, int)
public void Draw(int startVertex, int vertexCount)
Parameters
DrawIndexed(int, int, int)
public void DrawIndexed(int startIndex, int indexCount, int baseVertex = 0)
Parameters
GetEffectiveIndexCount()
public int GetEffectiveIndexCount()
Returns
GetEffectiveVertexCount()
public int GetEffectiveVertexCount()
Returns
ShallowClone()
public Mesh<T> ShallowClone()
Returns
- Mesh<T>