기술 자료

Unity Engine

Unity Engine

BatchDrawCommandType

Enumerates the different draw command types a BatchRendererGroup can draw.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public enum BatchDrawCommandType

Remarks

This is used in BatchDrawRange to say from what draw command stream the batch will read the commands.

Fields

Value

Description

DirectA direct draw command with a mesh and material.
IndirectAn indirect draw command with a mesh and material.
ProceduralA procedural draw command. Has a material but vertex data is procedurally fetched by the shader.
ProceduralIndirectA procedural indirect draw command. Has a material but vertex data is procedurally fetched by the shader.