# indirectDrawCommands

> The array that contains indirect draw commands to render as the result of the OnPerformCulling call.

## Definition

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

```csharp
public BatchDrawCommandIndirect* indirectDrawCommands
```

### Remarks

This can contain as many indirect commands as necessary, and each command can render multiple instances. The culling callback must allocate the memory for this using [UnsafeUtility.Malloc](/engine/6000.6/script-reference/unity/collections/lowlevel/unsafe/unsafeutility/malloc.md) with the [Allocator.TempJob](/engine/6000.6/script-reference/unity/collections/allocator/tempjob.md) parameter. Unity releases this memory when it finishes rendering the draw commands.
