#include <mesh.h>
Definition at line 1095 of file mesh.h.
◆ flags
| Enumerator |
|---|
| source_contains_normal | |
| source_contains_binormal | |
| source_contains_tangent | |
Definition at line 1097 of file mesh.h.
◆ check_for_degenerates
| bool unravel::mesh::preparation_data::check_for_degenerates {false} |
◆ compute_barycentric
| bool unravel::mesh::preparation_data::compute_barycentric {false} |
◆ compute_binormals
| bool unravel::mesh::preparation_data::compute_binormals {false} |
Whether to compute vertex tangents.
Definition at line 1127 of file mesh.h.
◆ compute_normals
| bool unravel::mesh::preparation_data::compute_normals {false} |
Whether to compute vertex binormals.
Definition at line 1125 of file mesh.h.
◆ compute_per_triangle_material_data
| bool unravel::mesh::preparation_data::compute_per_triangle_material_data {false} |
◆ compute_tangents
| bool unravel::mesh::preparation_data::compute_tangents {false} |
Whether to compute vertex barycentric coordinates.
Definition at line 1129 of file mesh.h.
◆ owns_source
| bool unravel::mesh::preparation_data::owns_source {false} |
The format of the vertex data currently being used to prepare the mesh.
Definition at line 1107 of file mesh.h.
◆ source_format
Records the location in the vertex buffer that each vertex has been placed during data insertion.
Definition at line 1109 of file mesh.h.
◆ submeshes
| std::vector<submesh> unravel::mesh::preparation_data::submeshes |
Whether to compute vertex normals.
Definition at line 1123 of file mesh.h.
◆ triangle_count
| uint32_t unravel::mesh::preparation_data::triangle_count {0} |
Total number of vertices currently stored.
Definition at line 1119 of file mesh.h.
◆ triangle_data
Total number of triangles currently stored.
Definition at line 1117 of file mesh.h.
◆ vertex_count
| uint32_t unravel::mesh::preparation_data::vertex_count {0} |
Prepared substs information.
Definition at line 1121 of file mesh.h.
◆ vertex_data
Additional descriptive information about the vertices.
Definition at line 1113 of file mesh.h.
◆ vertex_flags
Stores the current face/triangle data.
Definition at line 1115 of file mesh.h.
◆ vertex_records
| std::vector<uint32_t> unravel::mesh::preparation_data::vertex_records |
Final vertex buffer currently being prepared.
Definition at line 1111 of file mesh.h.
◆ vertex_source
| uint8_t* unravel::mesh::preparation_data::vertex_source {nullptr} |
Whether the source data is owned by this object.
Definition at line 1105 of file mesh.h.
The documentation for this struct was generated from the following file:
- engine/engine/rendering/mesh.h