#ifndef ATTRIBUTES_H #define ATTRIBUTES_H #include "utils/ArrayList.h" class Attributes final { struct Attribute final { int count; int size; int type; bool normalized; }; ArrayList attributes; friend class VertexBuffer; public: Attributes& addFloat(int count); Attributes& addColor4(); Attributes& addSpacer(); private: void set() const; }; #endif