MVertexBufferArray Class Reference
#include <MHWGeometry.h>
Array of Vertex buffers.
This class represents an array of vertex buffers.
- apiMeshShape/apiMeshSubSceneOverride.cpp, customPrimitiveGenerator/customPrimitiveGenerator.cpp, dx11Shader/crackFreePrimitiveGenerator.cpp, dx11Shader/crackFreePrimitiveGenerator.h, footPrintNode_SubSceneOverride/footPrintNode_SubSceneOverride.cpp, glslShader/adjacentTrianglesPrimitiveGenerator.cpp, glslShader/adjacentTrianglesPrimitiveGenerator.h, glslShader/crackFreePrimitiveGenerator.cpp, glslShader/crackFreePrimitiveGenerator.h, gpuCache/gpuCacheSubSceneOverride.cpp, tessellatedQuad/CrackFreePrimitiveGenerator.cpp, tessellatedQuad/CrackFreePrimitiveGenerator.h, and vertexBufferGenerator/vertexBufferGenerator.cpp.
unsigned int count |
( |
| ) |
const |
Get num of vertex buffers in list.
- Returns
- The size of the array
Get vertex buffer based on name.
- Parameters
-
[in] | name | The name of the vertex buffer to look for. |
- Returns
- The vertex buffer pointer, NULL if no match found.
Get vertex buffer based at desired index.
- Parameters
-
[in] | index | The index of the vertex buffer to look for. |
- Returns
- The vertex buffer pointer, NULL if out of bound
MString getName |
( |
unsigned int |
index | ) |
const |
Get the name of the buffer at desired index.
- Parameters
-
[in] | index | The index of the vertex buffer to look for. |
- Returns
- The registered name, empty string if out of bound
Add a new vertex buffer to the list.
The list does not take ownership of the buffer.
- Parameters
-
[in] | name | The name of the vertex buffer |
[in] | buffer | The vertex buffer to add |
- Returns
- Status code
- Status Codes:
-
Clear the array.
The buffers are not deleted by this method.
const char * className |
( |
| ) |
|
|
static |
Returns the name of this class.
- Returns
- The name of this class.
The documentation for this class was generated from the following files:
- MHWGeometry.h
- MHWGeometry.cpp