Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BatchDrawCommandType

Enumerates the different draw command types a BatchRendererGroup can draw.
Read time 1 minuteLast updated 4 days ago

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.