# batchID

> The batch ID that this draw command uses. Determines the metadata values that are available to a shader.

## Definition

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

```csharp
public BatchID batchID
```

### Remarks

This determines the metadata values that are available to a shader and which Graphics buffer to bind as the `unity_DOTSInstanceData` buffer for the draw call. For more information, see [BatchRendererGroup](/engine/6000.6/manual/analysis/graphics-performance-profiling/in-urp/reduce-draw-calls-urp/batch-renderer-group.md#dots-instancing-shaders).
