GenericBuffer

The base class of all Buffer!T objects.

Doesn't know what type of objects are stored in the Buffer, but can still sync() it and access the Vbo.

Members

Functions

sync
void sync()

If the Buffer is marked as dirty, uploads the data from the T[] (CPU/us) to the Vbo!T (GPU/OpenGL). Resets is_dirty.

Properties

vbo
auto ref vbo [@property getter]

The GenericVbo holding the GPU's (OpenGL's) copy of the data.

Variables

vbo_
GenericVbo vbo_;
Undocumented in source.

Meta