Struct used for mesh construction.
More...
#include <mesh.h>
Struct used for mesh construction.
Definition at line 450 of file mesh.h.
◆ bbox
Additional LOD levels (LOD 1, 2, 3, ...) with simplified index buffers.
Definition at line 475 of file mesh.h.
◆ bone_palette_bones
| std::vector<std::vector<uint32_t> > unravel::mesh::load_data::bone_palette_bones |
Root node of the armature.
Definition at line 471 of file mesh.h.
◆ default_material_uids
| std::vector<hpp::uuid> unravel::mesh::load_data::default_material_uids |
◆ lods
UIDs of default materials generated during import, indexed by data_group_id.
Definition at line 478 of file mesh.h.
◆ material_count
| uint32_t unravel::mesh::load_data::material_count = 0 |
Skin data for this mesh.
Definition at line 465 of file mesh.h.
◆ root_node
| std::unique_ptr<armature_node> unravel::mesh::load_data::root_node = nullptr |
◆ skin_data
True if skinning was baked into topology (vertex duplication + palette index encoding) during compilation.
Definition at line 467 of file mesh.h.
◆ skin_is_prepared
| bool unravel::mesh::load_data::skin_is_prepared = false |
Bone palette bones per palette/submesh index. Used to restore palettes without running bind_skin.
Definition at line 469 of file mesh.h.
◆ submeshes
Total number of materials.
Definition at line 463 of file mesh.h.
◆ triangle_count
| uint32_t unravel::mesh::load_data::triangle_count = 0 |
submeshes descriptions
Definition at line 461 of file mesh.h.
◆ triangle_data
Total number of triangles.
Definition at line 459 of file mesh.h.
◆ vertex_count
| uint32_t unravel::mesh::load_data::vertex_count = 0 |
Triangle data buffer.
Definition at line 457 of file mesh.h.
◆ vertex_data
| std::vector<uint8_t> unravel::mesh::load_data::vertex_data |
Total number of vertices.
Definition at line 455 of file mesh.h.
◆ vertex_format
< The format of the vertex data.
Vertex data buffer.
Definition at line 453 of file mesh.h.
The documentation for this struct was generated from the following file:
- engine/engine/rendering/mesh.h