RenderableMesh

Class containing mesh IDs and length for OpenGL drawing.

Constructors

this
deprecated this(uint bufferID, uint[] vbos, uint indexLength)

Constructor for creating a new RenderableMesh with existing data.

this
this(uint bufferID, uint count, bool indexed)

Constructor for creating a new RenderableMesh with existing data.

Members

Aliases

indexLength
deprecated alias indexLength = count
Undocumented in source.

Functions

indexStride
uint indexStride()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bufferID
uint bufferID;

OpenGL id of the buffer.

count
uint count;

Length of the index/data buffer.

indexType
GLenum indexType;

Type of indices.

indexed
bool indexed;

Is this an indexed mesh.

primitiveType
GLenum primitiveType;

OpenGL primitive type.

start
uint start;

Offset index in the index/data buffer.

vbos
deprecated uint[] vbos;

OpenGL array of the vbo buffers.

Meta