25 #ifndef __glfBufferObject_hh__
26 #define __glfBufferObject_hh__
28 #include "glfCommon.hh"
48 void BindRevertable();
54 void UploadData(
float* data,
unsigned int numElements, GLenum usageHint=GL_STATIC_DRAW);
61 void UploadData(GLenum usageHint, GLsizeiptr size, GLvoid* data);
69 bool boundRevertably_;
70 GLint previousBinding_;
Base class of wrapper for OpenGL 3.x buffer objects.