12 #ifndef VERTEXATTRIBUTES_H_6014714286
13 #define VERTEXATTRIBUTES_H_6014714286
15 #include <Carna/Carna.h>
88 VertexAttribute( std::size_t position, std::size_t componentsCount,
unsigned int type )
89 : position( position )
90 , componentsCount( componentsCount )
109 #endif // VERTEXATTRIBUTES_H_6014714286
static const unsigned int TYPE_FLOAT
Indicates vertex attribute of GL_FLOAT type.
Declares a vertex attribute.
VertexAttribute(std::size_t position, std::size_t componentsCount, unsigned int type)
static const unsigned int TYPE_INT
Indicates vertex attribute of GL_INT type.
static const unsigned int TYPE_UINT
Indicates vertex attribute of GL_UNSIGNED_INT type.
std::size_t componentsCount
std::vector< VertexAttribute > VertexAttributes
Defines VertexAttribute vector.