IIndexBuffer

All Implemented Interfaces: com.aspose.threed.IBuffer

public interface IIndexBuffer extends IBuffer

De indexbuffer beschrijft de geometrie die wordt gebruikt in de renderpipeline.

Methoden

MethodeBeschrijving
getCount()Haalt het aantal indexen in deze buffer op.
getIndexDataType()Haalt het gegevenstype van elk element op.
loadData(TriMesh mesh)Laad indice-gegevens van TriMesh
loadData(int[] indices)Laad indice-gegevens
loadData(short[] indices)Laad indice-gegevens

getCount()

public abstract int getCount()

Haalt het aantal indexen in deze buffer op.

Returns: int - het aantal indexen in deze buffer.

getIndexDataType()

public abstract IndexDataType getIndexDataType()

Haalt het gegevenstype van elk element op.

Returns: IndexDataType - the data type of each element.

loadData(TriMesh mesh)

public abstract void loadData(TriMesh mesh)

Laad indice-gegevens van TriMesh

Parameters:

ParameterTypeBeschrijving
meshTriMesh

loadData(int[] indices)

public abstract void loadData(int[] indices)

Laad indice-gegevens

Parameters:

ParameterTypeBeschrijving
indicesint[]

loadData(short[] indices)

public abstract void loadData(short[] indices)

Laad indice-gegevens

Parameters:

ParameterTypeBeschrijving
indicesshort[]