# GetThreadedBatchContext()

> Get the thread-safe API for interacting with a BatchRendererGroup from Burst jobs.

## Definition

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

```csharp
public ThreadedBatchContext GetThreadedBatchContext()
```

### Returns

| Type                                                                                                  | Description                         |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [ThreadedBatchContext](/engine/6000.7/script-reference/unityengine/rendering/threadedbatchcontext.md) | Thread-safe and Burst-safe context. |
