Structure f3d::mesh_view::memory_view_t
Definition: mesh\_view.h (line 112)
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
-
faceOffsets can be empty or must have 1 component and a data type of I32, U32, I64, or U64
-
faceIndices can be empty or must have 1 component and a data type of I32, U32, I64, or U64
-
faceOffsets and faceIndices must have the same data type
Members
- faceIndexCount
- faceIndices
- faceOffsetCount
- faceOffsets
- faceScalars
- normals
- pointCount
- points
- pointScalars
- textureCoordinates
Public attributes
Variable pointCount
Definition: mesh\_view.h (line 115)
size_t f3d::mesh_view::memory_view_t::pointCount = 0
Type: size_t
Variable points
Definition: mesh\_view.h (line 116)
data_array_t f3d::mesh_view::memory_view_t::points
Type: data_array_t
Variable normals
Definition: mesh\_view.h (line 117)
data_array_t f3d::mesh_view::memory_view_t::normals
Type: data_array_t
Variable textureCoordinates
Definition: mesh\_view.h (line 118)
data_array_t f3d::mesh_view::memory_view_t::textureCoordinates
Type: data_array_t
Variable faceOffsetCount
Definition: mesh\_view.h (line 121)
size_t f3d::mesh_view::memory_view_t::faceOffsetCount = 0
Type: size_t
Variable faceOffsets
Definition: mesh\_view.h (line 122)
data_array_t f3d::mesh_view::memory_view_t::faceOffsets
Type: data_array_t
Variable faceIndexCount
Definition: mesh\_view.h (line 123)
size_t f3d::mesh_view::memory_view_t::faceIndexCount = 0
Type: size_t
Variable faceIndices
Definition: mesh\_view.h (line 124)
data_array_t f3d::mesh_view::memory_view_t::faceIndices
Type: data_array_t
Variable pointScalars
Definition: mesh\_view.h (line 127)
std::vector<data_array_t> f3d::mesh_view::memory_view_t::pointScalars
Type: std::vector< data_array_t >
Variable faceScalars
Definition: mesh\_view.h (line 128)
std::vector<data_array_t> f3d::mesh_view::memory_view_t::faceScalars
Type: std::vector< data_array_t >