Structure f3d::mesh_view::memory_view_t
Definition: mesh\_view.h (line 160)
Structure representing a view of the mesh in memory at a given time. The pointers provided in this structure must remain valid once the mesh is added to the scene. Will throw a load_failure_exception if any of this assumptions is not respected:
-
points must have a 3 components and a data type of F32 or F64
-
normals can be empty or must have a 3 components and a data type of F32 or F64
-
texture_coordinates can be empty or must have a 2 components and a data type of F32 or F64
Members
Public attributes
Variable pointCount
Definition: mesh\_view.h (line 163)
size_t f3d::mesh_view::memory_view_t::pointCount = 0
Type: size_t
Variable points
Definition: mesh\_view.h (line 164)
data_array_t f3d::mesh_view::memory_view_t::points
Type: data_array_t
Variable normals
Definition: mesh\_view.h (line 165)
data_array_t f3d::mesh_view::memory_view_t::normals
Type: data_array_t
Variable textureCoordinates
Definition: mesh\_view.h (line 166)
data_array_t f3d::mesh_view::memory_view_t::textureCoordinates
Type: data_array_t
Variable vertices
Definition: mesh\_view.h (line 169)
cell_array_t f3d::mesh_view::memory_view_t::vertices
Type: cell_array_t
Variable lines
Definition: mesh\_view.h (line 170)
cell_array_t f3d::mesh_view::memory_view_t::lines
Type: cell_array_t
Variable polygons
Definition: mesh\_view.h (line 171)
cell_array_t f3d::mesh_view::memory_view_t::polygons
Type: cell_array_t
Variable pointScalars
Definition: mesh\_view.h (line 174)
std::vector<data_array_t> f3d::mesh_view::memory_view_t::pointScalars
Type: std::vector< data_array_t >
Variable cellScalars
Definition: mesh\_view.h (line 175)
std::vector<data_array_t> f3d::mesh_view::memory_view_t::cellScalars
Type: std::vector< data_array_t >