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 | |
|---|---|---|---|
| vertexCount | uint32_t |
The number of vertices to draw for this command.
|
|
| instanceCount | uint32_t |
The number of instances to draw for this command.
|
|
| firstVertex | uint32_t |
The first vertex to read from the bound vertex attributes.
|
|
| firstInstance | uint32_t |
The first instance index used when instance data is read.
|