7#ifndef BALL_VIEW_RENDERING_RENDERERS_VERTEXBUFFER_H
8#define BALL_VIEW_RENDERING_RENDERERS_VERTEXBUFFER_H
14#ifndef BALL_VIEW_KERNEL_COMMON_H
18#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
bool isBusy() const
Return true, if currently updateing or drawing.
const Mesh * getMesh()
Get the Mesh for this buffer object.
static GLRenderer * gl_renderer_
void clearBuffer()
Free the reserved (and filled) vertex buffer.
bool draw()
Draw the mesh from the buffer.
void setMesh(const Mesh &mesh)
Set the Mesh which shall be drawn with this buffer object.
static void setGLRenderer(GLRenderer *renderer)
void clear()
Unset the mesh pointer and clear the buffer.
bool initialize()
Transfer all vertex, normal, index and color data of the mesh into the vertex buffer object.
#define BALL_CREATE(name)