# indirectDrawCommandCount

> The number of elements in the BatchCullingOutputDrawCommands.indirectDrawCommands array.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.0/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public int indirectDrawCommandCount
```

### Remarks

You must set this in the [BatchRendererGroup.OnPerformCulling](/engine/6000.0/script-reference/unityengine/rendering/batchrenderergroup/onperformculling.md) callback.
