3#ifndef GDK_GFX_ATTRIBUTE_DATA_H
4#define GDK_GFX_ATTRIBUTE_DATA_H
6#include <gdk/graphics_types.h>
12 using component_type = graphics_floating_point_type;
21 size_t number_of_attributes_in_component_data()
const;
45 attribute_data(
const std::vector<component_type> &aComponents,
const size_t aComponentCount);
50 size_t m_NumberOfComponentsPerAttribute{};
51 std::vector<component_type> m_Components{};
attribute_data(const attribute_data &)=default
support copy semantics
attribute_data & operator=(const attribute_data &a)=default
support copy semantics
std::vector< component_type > & components()
nonconst access to the list of components in this attribute
attribute_data(attribute_data &&)=default
support move semantics
size_t number_of_components_per_attribute() const
const std::vector< component_type > & components() const
const access to the list of components in this attribute
attribute_data & operator=(attribute_data &&a)=default
support move semantics