Version: 2022.3

ThreadedBatchContext

struct in UnityEngine.Rendering

切换到手册

描述

Thread-safe and Burst-safe API for interacting with a BatchRendererGroup from Burst jobs.

变量

batchRendererGroupAn internal handle to the BatchRendererGroup object that created this threaded context.

公共函数

AddBatchThread-safe alias for BatchRendererGroup.AddBatch.
RemoveBatchThread-safe alias for BatchRendererGroup.RemoveBatch.
SetBatchBufferChange the GraphicsBuffer associated with the given batch. Thread-safe alias for BatchRendererGroup.SetBatchBuffer.