![]() |
Raven Engine v0.1
|
Represents a contiguous section of the mesh data inside the merged buffers. More...
#include <Mesh.h>
Public Attributes | |
| u32 | BaseVertex = 0 |
| Offset into the combined vertex buffer. | |
| u32 | BaseIndex = 0 |
| Offset into the combined index buffer. | |
| u32 | IndexCount = 0 |
| Number of indices in this submesh. | |
| MaterialHandle | MatHandle |
| Handle to the associated material. | |
Represents a contiguous section of the mesh data inside the merged buffers.
Each SubMesh references its range in the global vertex/index buffer pair, along with the material used for rendering that section.
| u32 Raven::SubMesh::BaseIndex = 0 |
Offset into the combined index buffer.
| u32 Raven::SubMesh::BaseVertex = 0 |
Offset into the combined vertex buffer.
| u32 Raven::SubMesh::IndexCount = 0 |
Number of indices in this submesh.
| MaterialHandle Raven::SubMesh::MatHandle |
Handle to the associated material.