Magnum::GL::DrawElementsIndirect struct new in Git master

Indexed draw indirect command.

Layout for a Buffer containing indirect draw commands for indexed meshes drawn with AbstractShaderProgram::drawIndirect(Mesh&, Buffer&, GLintptr), AbstractShaderProgram::drawIndirect(Mesh&, Buffer&, GLintptr, GLsizei, GLsizei) and AbstractShaderProgram::drawIndirect(Mesh&, Buffer&, GLintptr, Buffer&, GLintptr, GLsizei, GLsizei). See the AbstractShaderProgram indirect draw documentation for more information and usage examples.

Public variables

UnsignedInt count
Index count.
UnsignedInt instanceCount
Instance count.
UnsignedInt indexOffset
Index offset.
UnsignedInt vertexOffset
Vertex offset.
UnsignedInt instanceOffset
Instance offset.

Variable documentation

UnsignedInt Magnum::GL::DrawElementsIndirect::count

Index count.

Corresponds to the value passed to Mesh::setCount().

UnsignedInt Magnum::GL::DrawElementsIndirect::instanceCount

Instance count.

Corresponds to the value passed to Mesh::setInstanceCount().

UnsignedInt Magnum::GL::DrawElementsIndirect::indexOffset

Index offset.

Corresponds to the value passed to Mesh::setIndexOffset().

UnsignedInt Magnum::GL::DrawElementsIndirect::vertexOffset

Vertex offset.

Corresponds to the value passed to Mesh::setBaseVertex().

UnsignedInt Magnum::GL::DrawElementsIndirect::instanceOffset

Instance offset.

Corresponds to the value passed to Mesh::setBaseInstance().