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 = nullptr |
| Handle to the associated material. | |
| Crux::AABB | Bounds |
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.
| Crux::AABB Raven::SubMesh::Bounds |
| u32 Raven::SubMesh::IndexCount = 0 |
Number of indices in this submesh.
| MaterialHandle* Raven::SubMesh::MatHandle = nullptr |
Handle to the associated material.