# drawCommandCount

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

## Definition

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

```csharp
public int drawCommandCount
```

### Remarks

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