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

Non-indexed draw indirect command.

Layout for a Buffer containing indirect draw commands for non-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
Vertex count.
UnsignedInt instanceCount
Instance count.
UnsignedInt vertexOffset
Vertex offset.
UnsignedInt instanceOffset
Instance offset.

Variable documentation

UnsignedInt Magnum::GL::DrawArraysIndirect::count

Vertex count.

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

UnsignedInt Magnum::GL::DrawArraysIndirect::instanceCount

Instance count.

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

UnsignedInt Magnum::GL::DrawArraysIndirect::vertexOffset

Vertex offset.

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

UnsignedInt Magnum::GL::DrawArraysIndirect::instanceOffset

Instance offset.

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