![]() |
gdk-graphics
1b6d84e044c2c953fd7c9501e628a67e80f4da0d
|
a view on to the data for a given attribute e.g: "uv", "position". a view does not own its data, the user must guarantee the data lives as long as the view could be read from More...
#include <vertex_data.h>
Public Types | |
using | attribute_component_type = float |
all vertex components must be of this type. | |
Public Member Functions | |
attribute_data_view (attribute_component_type *const pData, const size_t aDataLength, const size_t aComponentCount) | |
attribute_component_type * | data_begin () const |
size_t | data_size () const |
size_t | component_count () const |
a view on to the data for a given attribute e.g: "uv", "position". a view does not own its data, the user must guarantee the data lives as long as the view could be read from