Version: 2022.3
public Rendering.BatchID batchID ;

描述

The batch ID that this draw command uses. Determines the metadata values that are available to a shader.

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.