VertexInfo

A storage object for the identifiers of the buffers stored in memory.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bindBuffer
void bindBuffer()

Binds an buffer of vertices to the current render cycle.

bindElementBuffer
void bindElementBuffer()

Binds an element buffer of vertices to the current render cycle.

bindFromBuffer
void bindFromBuffer(T[] buffer)

Enters data into a separate memory.

bindFromBufferAndElem
void bindFromBufferAndElem(T[] buffer, uint[] element)

Enters data into a separate memory.

bindVertexArray
void bindVertexArray()

Binds an array of vertices to the current render cycle.

colorAttribPointer
void colorAttribPointer(uint location, uint sample)

Define an array of generic vertex attribute data

deleting
void deleting()

Destroys vertex information.

draw
void draw(ShapeType type, int count)

Outputs the rendering of the buffer.

offsetAttribPointer
void offsetAttribPointer(uint location, uint offset, uint sample)
Undocumented in source. Be warned that the author may not have intended to support it.
textureAttribPointer
void textureAttribPointer(uint location, int sample)

Define an array of generic vertex attribute data

vertexAttribPointer
void vertexAttribPointer(uint vertLocation, int sample)

Define an array of generic vertex attribute data

Properties

elementLength
size_t elementLength [@property getter]

Element length

idBufferArray
uint idBufferArray [@property getter]

The identifier of the buffer in memory.

idElementArray
uint idElementArray [@property getter]

The identifier of the elements in memory.

idVertexArray
uint idVertexArray [@property getter]

ID of the generated vertex array.

length
size_t length [@property getter]

Buffer length.

Static functions

unbindBuffer
void unbindBuffer()

Unbinds an buffer of vertices to the current render cycle.

unbindElementBuffer
void unbindElementBuffer()

Unbinds an element buffer of vertices to the current render cycle.

unbindVertexArray
void unbindVertexArray()

Unbinds an array of vertices to the current render cycle.

Variables

shapeinfo
Shape!T shapeinfo;

Shape information

Meta