gdk-graphics  1b6d84e044c2c953fd7c9501e628a67e80f4da0d
Public Types | Public Member Functions | List of all members
attribute_data_view Class Referencefinal

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_typedata_begin () const
 
size_t data_size () const
 
size_t component_count () const
 

Detailed Description

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


The documentation for this class was generated from the following file: