MPMA Framework 0.4
|
Represents a vertex buffer object. More...
#include <Vertex.h>
Public Member Functions | |
bool | Create () |
Creates an empty vertex buffer. | |
void | Free () |
Frees the current vertex buffer object. | |
operator GLuint () const | |
Retrieves the current vertex buffer object that can be passed to OpenGL calls. | |
bool | LoadInterleaved (const InterleavedVertexFormat &format, const void *bytes, nuint vertexCount) |
Creates a new empty vertex buffer and loads it with data vertex data. | |
void | BindAndSetState () |
Binds the vertex buffer and sets up the GL vertex component pointers for using it. | |
void | Unbind () |
Unbinds the vertex buffer and unsets the GL vertex component pointers. |
Represents a vertex buffer object.