# drawCommandsType

> The BatchDrawCommandType that apply to draw commands in this draw range.

## Definition

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

```csharp
public BatchDrawCommandType drawCommandsType
```

### Remarks

The value set here controls from which command array in [BatchCullingOutputDrawCommands](/engine/6000.0/script-reference/unityengine/rendering/batchcullingoutputdrawcommands.md) the range will read commands from.

A value of [BatchDrawCommandType.Direct](/engine/6000.0/script-reference/unityengine/rendering/batchdrawcommandtype/direct.md) will read from [BatchCullingOutputDrawCommands.drawCommands](/engine/6000.0/script-reference/unityengine/rendering/batchcullingoutputdrawcommands/drawcommands.md), a value of [BatchDrawCommandType.Indirect](/engine/6000.0/script-reference/unityengine/rendering/batchdrawcommandtype/indirect.md) will read from [BatchCullingOutputDrawCommands.indirectDrawCommands](/engine/6000.0/script-reference/unityengine/rendering/batchcullingoutputdrawcommands/indirectdrawcommands.md) and so on.
