GfxVertexArray

Vertex array object class.

Constructors

this
this(bool shouldBind)

Create a vertex array object.

Members

Functions

bind
typeof(this) bind()

Bind this vertex array object. Returns reference to this so it can be used in a stream.

unbind
typeof(this) unbind()

Unbind this vertex array object. Returns reference to this so it can be used in a stream.

Variables

handle
uint handle;

Inherited Members

From IGfxBufferFactory

createBuffer
GfxBuffer createBuffer(GfxBufferTarget target, GfxDataUsage usage, T[] data)

Create a new video buffer instance using target, usage and buffer data. See GfxBufferTarget and GfxDataUsage enumerations.

createArray
GfxVertexArray createArray()

Create a new video vertex array object instance.

releaseBuffers
void releaseBuffers(uint[] buff)

Release buffers from video memory.

releaseVertexArrays
void releaseVertexArrays(uint[] buff)

Release vertex array objects from video memory.

appendToVBOs
appendToVBOs(uint vboId)

Append a buffer id to the buffer list.

appendToVAOs
appendToVAOs(uint vaoId)

* Append a vertex array id to the vertex array list.

release
void release()

Release vertex array objecs and vertex buffer objects.

Meta