Home -> IRenderableNode -> IndexedIndirectDrawParams
Description
The IndexedIndirectDrawParams structure describes the data layout expected by SetIndirectDraw when indirect drawing is used with an index attribute bound to the renderable node.
The structure is normally stored in an IDataArray and consumed by the renderer during drawing.
Members
| Name | Type | Description | |
|---|---|---|---|
| indexCount | uint32_t |
The number of indices to draw for this command.
|
|
| instanceCount | uint32_t |
The number of instances to draw for this command.
|
|
| firstIndex | uint32_t |
The first index to read from the bound index attribute.
|
|
| vertexOffset | int32_t |
An offset added to each index value before reading the corresponding vertex attribute entry.
|
|
| firstInstance | uint32_t |
The first instance index used when instance data is read.
|