Skip to main content
Version: 🚧 Nightly

Structure f3d::mesh_view::memory_view_t

Definition: mesh\_view.h (line 142)

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 145)

size_t f3d::mesh_view::memory_view_t::pointCount = 0

Type: size_t

Variable points

Definition: mesh\_view.h (line 146)

data_array_t f3d::mesh_view::memory_view_t::points

Type: data_array_t

Variable normals

Definition: mesh\_view.h (line 147)

data_array_t f3d::mesh_view::memory_view_t::normals

Type: data_array_t

Variable textureCoordinates

Definition: mesh\_view.h (line 148)

data_array_t f3d::mesh_view::memory_view_t::textureCoordinates

Type: data_array_t

Variable vertices

Definition: mesh\_view.h (line 151)

cell_array_t f3d::mesh_view::memory_view_t::vertices

Type: cell_array_t

Variable lines

Definition: mesh\_view.h (line 152)

cell_array_t f3d::mesh_view::memory_view_t::lines

Type: cell_array_t

Variable polygons

Definition: mesh\_view.h (line 153)

cell_array_t f3d::mesh_view::memory_view_t::polygons

Type: cell_array_t

Variable pointScalars

Definition: mesh\_view.h (line 156)

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 157)

std::vector<data_array_t> f3d::mesh_view::memory_view_t::cellScalars

Type: std::vector< data_array_t >