Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

BatchDrawCommandType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Enumerates the different draw command types a BatchRendererGroup can draw.

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

Properties

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.