VertexArrayObject

A Vertex Array stores informations of a Buffer object and restore them if you bind this. This decrease the calls of the Buffer, because the last state is always stored and can be restored easily.

Constructors

this
this()

CTor

Destructor

~this
~this()

DTor

Members

Functions

bind
void bind()

Bind the Vertex Array

disable
void disable(ubyte index)

Disable the usage

enable
void enable(ubyte index)

Enable the usage of the Vertex array on the specific index

isValid
bool isValid()

Returns if this Vertex array is valid

pointTo
void pointTo(ubyte index)

Bind, Enable and Point to the Vertex array on the specific index

unbind
void unbind()

Unbind the Vertex array

Meta

Authors

rschuett