Unravel Engine C++ Reference
|
Struct used for mesh construction. More...
#include <mesh.h>
Public Attributes | |
gfx::vertex_layout | vertex_format |
< The format of the vertex data. | |
std::vector< uint8_t > | vertex_data |
Total number of vertices. | |
uint32_t | vertex_count = 0 |
Triangle data buffer. | |
triangle_array_t | triangle_data |
Total number of triangles. | |
uint32_t | triangle_count = 0 |
submeshes descriptions | |
std::vector< mesh::submesh > | submeshes |
Total number of materials. | |
uint32_t | material_count = 0 |
Skin data for this mesh. | |
skin_bind_data | skin_data |
Root node of the armature. | |
std::unique_ptr< armature_node > | root_node = nullptr |
math::bbox | bbox {} |
math::bbox unravel::mesh::load_data::bbox {} |
uint32_t unravel::mesh::load_data::material_count = 0 |
std::unique_ptr<armature_node> unravel::mesh::load_data::root_node = nullptr |
skin_bind_data unravel::mesh::load_data::skin_data |
std::vector<mesh::submesh> unravel::mesh::load_data::submeshes |
uint32_t unravel::mesh::load_data::triangle_count = 0 |
triangle_array_t unravel::mesh::load_data::triangle_data |
uint32_t unravel::mesh::load_data::vertex_count = 0 |
std::vector<uint8_t> unravel::mesh::load_data::vertex_data |
gfx::vertex_layout unravel::mesh::load_data::vertex_format |