ドキュメント

Unity Engine

Unity Engine

BatchDrawCommandType

Enumerates the different draw command types a BatchRendererGroup can draw.
読み終わるまでの所要時間 1 分最終更新 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.