Describes how a vertex buffer is accessed by a shader.
Definition: VertexDescription.hpp:8
VertexDescription()
Create a new vertex description.
Definition: VertexDescription.hpp:30
AttributeType
The type of a vertex attribute.
Definition: VertexDescription.hpp:11
@ FLOAT
Single precision float.
virtual ~VertexDescription()
Destructor.
Definition: VertexDescription.hpp:33
Definition: Editor.hpp:18
Describes an attribute used in a vertex shader.
Definition: VertexDescription.hpp:18
bool normalized
Whether the values should be normalized when accessed.
Definition: VertexDescription.hpp:26
unsigned int size
The number of components in the attribute.
Definition: VertexDescription.hpp:20
AttributeType type
The type of each component in the attribute.
Definition: VertexDescription.hpp:23