MPMA Framework 0.4
|
Represents the combination of vertex components. More...
#include <Vertex.h>
Public Member Functions | |
InterleavedVertexFormat & | operator<< (const VertexComponentFormat &newEntry) |
Adds another component to the element list. | |
GLsizei | GetVertexSize () const |
Returns the number of bytes needed to store a single vertex. | |
Public Attributes | |
std::vector < VertexComponentFormat > | Components |
In-order list of elements that make up the vertex format. | |
GLenum | Usage |
Usage parameter to glBufferData (GL_STATIC_DRAW, GL_DYNAMIC_DRAW, etc) |
Represents the combination of vertex components.