A wrapper for an OpenGL vertex array object (VAO).
COpenGLVertexArrayObject()
void destroy()
Automatically called upon destructor, no need for the user to call it in normal situations.
std::thread::id created_from
void allocate(const void *data, int byteCount)
~COpenGLVertexArrayObject()=default
unsigned int bufferId() const
The namespace for 3D scene representation and rendering.
void createOnce()
Calls create() only if the buffer has not been created yet.
std::shared_ptr< RAII_Impl > m_impl
void create()
Actually create the buffer, destroying any previously existing buffer.
static struct FontData data