|
Cogs.Core
|
Defines a sub-mesh of a Mesh resource. More...
#include <Mesh.h>
Public Attributes | |
| uint32_t | startIndex |
| Start index of the sub-mesh in the index array of the Mesh. | |
| uint32_t | numIndexes |
| Number of indexes to draw for the sub-mesh. | |
| PrimitiveType | primitiveType |
| Primitive type to use when drawing the sub-mesh. | |
Defines a sub-mesh of a Mesh resource.
Mesh resources can have several sub-meshes representing parts of the vertex data that should be rendered a specific way. Using the materialHandles[] field in MeshRenderComponent one can individually control the material instances used to render each sub-mesh.
| uint32_t Cogs::Core::SubMesh::numIndexes |
| PrimitiveType Cogs::Core::SubMesh::primitiveType |
| uint32_t Cogs::Core::SubMesh::startIndex |