gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
Loading...
Searching...
No Matches
gdk::graphics::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

std::size_t number_of_components_per_attribute () const
std::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_data & operator+= (const attribute_data &rhs)
void overwrite (std::size_t vertexOffset, const attribute_data &other)
attribute_data & operator= (attribute_data &&a)=default
 support move semantics
 attribute_data (attribute_data &&)=default
 support move semantics
attribute_data & operator= (const attribute_data &a)=default
 support copy semantics
 attribute_data (const attribute_data &)=default
 support copy semantics
 attribute_data (std::span< const component_type > aComponents, const std::size_t aComponentCount)
 attribute_data (std::initializer_list< component_type > aComponents, const std::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()

std::size_t gdk::graphics::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: