ThreadedBatchContext
Thread-safe and Burst-safe API for interacting with a BatchRendererGroup from Burst jobs.
阅读时间1 分钟最后更新于 1 个月前
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 |