Structure describing an individual "piece" of the mesh, often grouped by material, but can be any arbitrary collection of triangles.
More...
#include <mesh.h>
Structure describing an individual "piece" of the mesh, often grouped by material, but can be any arbitrary collection of triangles.
Definition at line 316 of file mesh.h.
◆ bbox
◆ data_group_id
uint32_t unravel::mesh::submesh::data_group_id {0} |
< The unique user assigned "data group" that can be used to separate submeshes.
The beginning vertex for this batch.
Definition at line 319 of file mesh.h.
◆ face_count
uint32_t unravel::mesh::submesh::face_count {0} |
◆ face_start
int32_t unravel::mesh::submesh::face_start {-1} |
Number of faces to render in this batch.
Definition at line 325 of file mesh.h.
◆ node_id
std::string unravel::mesh::submesh::node_id {} |
◆ skinned
bool unravel::mesh::submesh::skinned {} |
◆ vertex_count
uint32_t unravel::mesh::submesh::vertex_count {0} |
The initial face, from the index buffer, to render in this batch.
Definition at line 323 of file mesh.h.
◆ vertex_start
int32_t unravel::mesh::submesh::vertex_start {-1} |
Number of vertices included in this batch.
Definition at line 321 of file mesh.h.
The documentation for this struct was generated from the following file:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/mesh.h