Skip to main content
Version: 🚧 Nightly

Structure f3d::mesh_view::data_array_t

Definition: mesh\_view.h (line 104)

Structure representing a view of an existing data array. name is optional but recommended for pointScalars and faceScalars. data pointer must remain valid while the mesh is used in the scene. stride is the number of elements (not bytes) to skip to get to the next tuple. If timeDependent is true, it means that the data in the array can change over time. Set it to false if the data in the array is constant over time, it can help improving performance.

Members​

Public attributes​

Variable name​

Definition: mesh\_view.h (line 106)

std::string f3d::mesh_view::data_array_t::name

Type: std::string

Variable type​

Definition: mesh\_view.h (line 107)

data_type f3d::mesh_view::data_array_t::type = data_type::F32

Type: data_type

Variable data​

Definition: mesh\_view.h (line 108)

const void* f3d::mesh_view::data_array_t::data = nullptr

Type: const void *

Variable components​

Definition: mesh\_view.h (line 109)

size_t f3d::mesh_view::data_array_t::components = 1

Type: size_t

Variable stride​

Definition: mesh\_view.h (line 110)

size_t f3d::mesh_view::data_array_t::stride = 1

Type: size_t

Variable timeDependent​

Definition: mesh\_view.h (line 111)

bool f3d::mesh_view::data_array_t::timeDependent = true

Type: bool