Represents a buffer opengl object. A buffer opengl object is the mechanism through which data can be stored in the GPU, usually vertex data of the models to be rendered.
This class eases/abstracts the interaction with this kind of opengl objects.
Constructs a new and empty buffer
Binds the buffer to the current opengl context
Sends the unformatted data of the specified size to the buffer
Deletes a opengl buffer given it's name Params : buffer = opengl name of the opengl buffer
Generates a new opengl buffer and returns it's name
See Implementation
Represents a buffer opengl object. A buffer opengl object is the mechanism through which data can be stored in the GPU, usually vertex data of the models to be rendered.
This class eases/abstracts the interaction with this kind of opengl objects.