20 #ifndef ANTKEEPER_GL_VERTEX_ATTRIBUTE_HPP
21 #define ANTKEEPER_GL_VERTEX_ATTRIBUTE_HPP
Vertex buffer object (VBO).
Graphics library interface.
Describes a vertex attribute within a vertex buffer.
std::size_t stride
Number of bytes between consecutive instances of this attribute in the vertex buffer....
std::size_t offset
Offset to the first component of the first instance of this attribute in the vertex buffer,...
const vertex_buffer * buffer
Pointer to the vertex buffer containing vertex attribute data.
std::uint8_t components
Number of components per attribute instance. Supported values are 1, 2, 3, and 4.
bool normalized
true if fixed point data should be normalized, false otherwise.