Unity - Scripting API: BatchDrawCommandType
enumeration
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.
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.
This is used in BatchDrawRange to say from what draw command stream the batch will read the commands.
Properties
| Property | Description |
|---|---|
| Direct | A direct draw command with a mesh and material. |
| Indirect | An indirect draw command with a mesh and material. |
| Procedural | A procedural draw command. Has a material but vertex data is procedurally fetched by the shader. |
| ProceduralIndirect | A procedural indirect draw command. Has a material but vertex data is procedurally fetched by the shader. |