gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
Loading...
Searching...
No Matches
gdk::attribute_data Class Referencefinal

attribute_data represents one of the lists of components that comprise a model_data object More...

#include <attribute_data.h>

Public Member Functions

size_t number_of_components_per_attribute () const
 
size_t number_of_attributes_in_component_data () const
 
const std::vector< component_type > & components () const
 const access to the list of components in this attribute
 
std::vector< component_type > & components ()
 nonconst access to the list of components in this attribute
 
void push_back (const attribute_data &rhs)
 
attribute_dataoperator+= (const attribute_data &rhs)
 
void overwrite (size_t vertexOffset, const attribute_data &other)
 
attribute_dataoperator= (attribute_data &&a)=default
 support move semantics
 
 attribute_data (attribute_data &&)=default
 support move semantics
 
attribute_dataoperator= (const attribute_data &a)=default
 support copy semantics
 
 attribute_data (const attribute_data &)=default
 support copy semantics
 
 attribute_data (const std::vector< component_type > &aComponents, const size_t aComponentCount)
 

Detailed Description

attribute_data represents one of the lists of components that comprise a model_data object

Member Function Documentation

◆ number_of_components_per_attribute()

size_t gdk::attribute_data::number_of_components_per_attribute ( ) const

number of components that per attribute example: a list of components storing 3d position data would have a component_count of 3


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