IVertexBuffer

All Implemented Interfaces: com.aspose.threed.IBuffer

public interface IVertexBuffer extends IBuffer

The vertex buffer holds the polygon vertex data that will be sent to rendering pipeline

Methods

MethodDescription
getVertexDeclaration()Gets the vertex declaration
loadData(TriMesh mesh)Load vertex data from TriMesh
loadData(Object array)Load data from array
loadData(long data, int size)Load data from given position

getVertexDeclaration()

public abstract VertexDeclaration getVertexDeclaration()

Gets the vertex declaration

Returns: VertexDeclaration

loadData(TriMesh mesh)

public abstract void loadData(TriMesh mesh)

Load vertex data from TriMesh

Parameters:

ParameterTypeDescription
meshTriMesh

loadData(Object array)

public abstract void loadData(Object array)

Load data from array

Parameters:

ParameterTypeDescription
arrayjava.lang.Object

loadData(long data, int size)

public abstract void loadData(long data, int size)

Load data from given position

Parameters:

ParameterTypeDescription
datalong
sizeint