文档

Unity Engine


User Manual

Script Reference

Unity Engine


SetBatchBuffer(BatchID, GraphicsBufferHandle)

Change the GraphicsBuffer associated with the given batch.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetBatchBuffer(BatchID batchID, GraphicsBufferHandle buffer)

Parameters

batchID

Unity changes the batch with this ID.

The
GraphicsBufferHandle
of the
GraphicsBuffer
to be associated with the batch.