#include <RmMesh.h>
Public Member Functions | |
| RmVertexElementArray (RmStreamChannelUsageType usage, int nUsageIndex, RmStreamChannelDataType dataType) | |
| Constructor. | |
| virtual | ~RmVertexElementArray () |
| Destructor. | |
| int | GetNumVertices () const |
| Size of Array. | |
| RmStreamChannelUsageType | GetUsage () const |
| Get usage of element. | |
| int | GetUsageIndex () const |
| Get usage index. | |
| int | GetStridePerVertex () const |
| Get stride size of vertex. | |
| RmStreamChannelDataType | GetDataType () const |
| Data type of element. | |
| RM_BYTE * | GetBuffer () |
| Get buffer. | |
| RM_BYTE * | GetBuffer () const |
| Get buffer. | |
| RM_BYTE * | GetBuffer (int nVertexIndex) |
| Get buffer at index. | |
| const RM_BYTE * | GetBuffer (int nVertexIndex) const |
Friends | |
| class | RmVertexArray |
Array of vertex element ( position, normal etc )
|
||||||||||||||||
|
Constructor. Creates a vertex element array with a specified usage type, index, and data type
|
|
|
Destructor. Destructor |
|
|
Get buffer at index. Returns the vertex element array buffer atarting at a specified index
|
|
|
Get buffer. Returns the vertex element array buffer
|
|
|
Get buffer. Returns the vertex element array buffer
|
|
|
Data type of element. Gets the data type of the vertex element array
|
|
|
Size of Array. Return size of array
|
|
|
Get stride size of vertex. Gets the stride size per vertex element
|
|
|
Get usage of element. Gets the usage type of the vertex element array
|
|
|
Get usage index. Gets the usage index of the vertex element array
|
1.3.6