SetBatchBuffer(BatchID, GraphicsBufferHandle)
Change the GraphicsBuffer associated with the given batch. Thread-safe alias for BatchRendererGroup.SetBatchBuffer.
読み終わるまでの所要時間 1 分最終更新 10日前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void SetBatchBuffer(BatchID batchID, GraphicsBufferHandle buffer)
Parameters
Unity changes the batch with this ID.
The of the to be associated with the batch.
GraphicsBufferHandleGraphicsBufferRemarks
Unity doesn't apply the change immediately. The same rules apply as for BatchRendererGroup.SetBatchBuffer: don't dispose of the previous in the same frame that you call this method.
GraphicsBuffer