Skip to main content
Version: 🚧 Nightly

Structure f3d::mesh_view::data_array_t

Definition: mesh\_view.h (line 92)

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.

Members

Public attributes

Variable name

Definition: mesh\_view.h (line 94)

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

Type: std::string

Variable type

Definition: mesh\_view.h (line 95)

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

Type: data_type

Variable data

Definition: mesh\_view.h (line 96)

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

Type: const void *

Variable components

Definition: mesh\_view.h (line 97)

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

Type: size_t

Variable stride

Definition: mesh\_view.h (line 98)

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

Type: size_t