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 329 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 332 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 338 of file mesh.h.
◆ skinned
| bool unravel::mesh::submesh::skinned {} |
Import-stable identifier (hash of the source mesh name + disambiguation). Survives reimports that reorder submeshes; 0 means "not assigned" and callers should fall back to the submesh array index.
Definition at line 344 of file mesh.h.
◆ stable_id
| uint32_t unravel::mesh::submesh::stable_id {0} |
◆ 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 336 of file mesh.h.
◆ vertex_start
| int32_t unravel::mesh::submesh::vertex_start {-1} |
Number of vertices included in this batch.
Definition at line 334 of file mesh.h.
The documentation for this struct was generated from the following file:
- engine/engine/rendering/mesh.h