Version: 2023.1
public void SetBatchBuffer (Rendering.BatchID batchID, GraphicsBufferHandle buffer);

参数

batchID Unity changes the batch with this ID.
buffer The GraphicsBufferHandle of the GraphicsBuffer to be associated with the batch.

描述

Change the GraphicsBuffer associated with the given batch. Thread-safe alias for BatchRendererGroup.SetBatchBuffer.