OpenGL Buffer wrapper.
Creates an empty buffer.
Creates a buffer already filled with data.
Releases the OpenGL buffer resource.
Binds this buffer.
Gets the whole buffer content in a newly allocated array. <b>This is intended for debugging purposes.</b>
Gets a sub-part of a buffer.
Copies bytes to a sub-part of the buffer. You can't adress data beyond the buffer's size.
Unbinds this buffer.