SetBatchBuffer(BatchID, GraphicsBufferHandle)
Change the GraphicsBuffer associated with the given batch. Thread-safe alias for BatchRendererGroup.SetBatchBuffer.
읽는 시간 1분최근 업데이트: 8일 전
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