ThreadedBatchContext
Thread-safe and Burst-safe API for interacting with a BatchRendererGroup from Burst jobs.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public struct ThreadedBatchContext
Fields
Value | Description |
|---|---|
| batchRendererGroup | An internal handle to the BatchRendererGroup object that created this threaded context. |
Methods
Method | Description |
|---|---|
| AddBatch | Thread-safe alias for BatchRendererGroup.AddBatch. |
| RemoveBatch | Thread-safe alias for BatchRendererGroup.RemoveBatch. |
| SetBatchBuffer | Change the |