# BatchDrawRange

> Specifies a draw range of draw commands.

## Definition

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

```csharp
public struct BatchDrawRange
```

## Remarks

For more information, see [BatchRendererGroup](/engine/6000.7/manual/analysis/graphics-performance-profiling/in-urp/reduce-draw-calls-urp/batch-renderer-group.md).

## Fields

| Value                                                                                                          | Description                                                                                                                                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [drawCommandsBegin](/engine/6000.7/script-reference/unityengine/rendering/batchdrawrange/drawcommandsbegin.md) | The index of the first [draw command](/engine/6000.7/script-reference/unityengine/rendering/batchfiltersettings.md) inside the [BatchCullingOutput.drawCommands](/engine/6000.7/script-reference/unityengine/rendering/batchcullingoutput/drawcommands.md) array that this draw range applies to. |
| [drawCommandsCount](/engine/6000.7/script-reference/unityengine/rendering/batchdrawrange/drawcommandscount.md) | The number of [draw commands](/engine/6000.7/script-reference/unityengine/rendering/batchfiltersettings.md), starting from [BatchDrawRange.drawCommandsBegin](/engine/6000.7/script-reference/unityengine/rendering/batchdrawrange/drawcommandsbegin.md), this draw range applies to.             |
| [drawCommandsType](/engine/6000.7/script-reference/unityengine/rendering/batchdrawrange/drawcommandstype.md)   | The [BatchDrawCommandType](/engine/6000.7/script-reference/unityengine/rendering/batchdrawcommandtype.md) that apply to draw commands in this draw range.                                                                                                                                         |
| [filterSettings](/engine/6000.7/script-reference/unityengine/rendering/batchdrawrange/filtersettings.md)       | The [BatchFilterSettings](/engine/6000.7/script-reference/unityengine/rendering/batchfiltersettings.md) that apply to draw commands in this draw range.                                                                                                                                           |
