Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

ThreadedBatchContext

struct in UnityEngine.Rendering

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

Properties

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

Public Methods

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.