文档

Unity Engine

Unity Engine

batchID

The batch ID that this draw command uses. Determines the metadata values that are available to a shader.
阅读时间1 分钟最后更新于 1 个月前

Definition

public BatchID batchID

Remarks

This determines the metadata values that are available to a shader and which Graphics buffer to bind as the
unity_DOTSInstanceData
buffer for the draw call. For more information, see BatchRendererGroup.