Version: 2023.2
LanguageEnglish
  • C#

BatchDrawRange

struct in UnityEngine.Rendering

/

Implemented in:UnityEngine.CoreModule

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

Specifies a draw range of draw commands.

For more information, see BatchRendererGroup.

Properties

drawCommandsBeginThe index of the first draw command inside the BatchCullingOutput.drawCommands array that this draw range applies to.
drawCommandsCountThe number of draw commands, starting from BatchDrawRange.drawCommandsBegin, this draw range applies to.
filterSettingsThe BatchFilterSettings that apply to draw commands in this draw range.