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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
mesh | TriMesh |
loadData(Object array)
public abstract void loadData(Object array)
Load data from array
Parameters:
Parameter | Type | Description |
---|---|---|
array | java.lang.Object |
loadData(long data, int size)
public abstract void loadData(long data, int size)
Load data from given position
Parameters:
Parameter | Type | Description |
---|---|---|
data | long | |
size | int |