Home -> IRenderableNode -> IndirectDrawParams

Description

The IndirectDrawParams structure describes the data layout expected by SetIndirectDraw when indirect drawing is used without an index attribute bound to the renderable node.

The structure is normally written into an IDataArray by the CPU or by a compute shader, then consumed by the renderer during drawing.

Members

Name Type Description
Public member vertexCount uint32_t
The number of vertices to draw for this command.
Public member instanceCount uint32_t
The number of instances to draw for this command.
Public member firstVertex uint32_t
The first vertex to read from the bound vertex attributes.
Public member firstInstance uint32_t
The first instance index used when instance data is read.

See also