Table of Contents

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

MeshDirtyFlags

IndexCount

public int IndexCount

Field Value

int

Indices

[YuzuMember]
[TangerineKeyframeColor(21)]
public ushort[] Indices

Field Value

ushort[]

Topology

[YuzuMember]
public PrimitiveTopology Topology

Field Value

PrimitiveTopology

VertexCount

public int VertexCount

Field Value

int

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

startVertex int
vertexCount int

DrawIndexed(int, int, int)

public void DrawIndexed(int startIndex, int indexCount, int baseVertex = 0)

Parameters

startIndex int
indexCount int
baseVertex int

GetEffectiveIndexCount()

public int GetEffectiveIndexCount()

Returns

int

GetEffectiveVertexCount()

public int GetEffectiveVertexCount()

Returns

int

ShallowClone()

public Mesh<T> ShallowClone()

Returns

Mesh<T>