CTor
Binds the a specific VBO PointerTarget. If the target is invalid (because no such buffer exist) nothing happens.
Bind a texture to this Buffer. It's a shortcut for:
Stores data in the current VBO.
Reset the current buffer state
Reset all buffer states
Disable all client states
Disable a specific client state (with glDisableClientState)
Draw shapes of the specific type from the current VBO data. It will use count vertices.
Draw shapes of the specific type from the current VBO data. It will use count vertices and indices for the correct index per vertex.
Draw shapes of the specific type from the current VBO data. It will use count vertices and indices for the correct index per vertex.
Enable all client states
Enable a specific client state (with glEnableClientState) like GL_VERTEX_ARRAY, GL_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY with the corresponding PointerTarget.
Returns the current PointerTarget
Checks whether the current buffer has already content, or not
Checks whether a specific buffer has already content, or not. If the target is invalid (because no such buffer exist) an Exception is thrown.
Returns if some PointerTarget is currently bound
The internal buffer memory is transferred to the memory of the client with a specific access. Before the buffer can be reused, <code>unmap</code> must be called.
Modify existing buffer data
Points to the current VBO with a specific PointerTarget.
Unbind the current VBO.
Allows other commands buffer access, in which it retrieves the memory from the client.
Buffer is a object oriented wrapper for a Vertex Buffer Object. VertexRenderer is public imported. See there for more details, like PointerTarget.