1#include <initializer_list>
5#ifndef BUFFERATTRIBUTE_HPP
6#define BUFFERATTRIBUTE_HPP
29 std::vector<BufferType>
A class representing attributes, such as vertex positions, face indices, and vertex normals.
Definition BufferAttribute.hpp:27
BufferAttribute(std::initializer_list< BufferType > _array, int _itemSize)
Creates a new buffer attribute with the specified array and item size.
Definition BufferAttribute.hpp:43
int itemSize
The number of values of the array that are associated with a particular vertex e.g.
Definition BufferAttribute.hpp:31
std::vector< BufferType > array
The array holding the data of the attribute.
Definition BufferAttribute.hpp:30
The t software 3D graphics library namespace.
Definition algorithms.hpp:12