文档

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.