Version: 2019.3
LanguageEnglish
  • C#

XRDisplaySubsystem.XRRenderPass.cullingPassIndex

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

public int cullingPassIndex;

Description

An index that a render pipeline can pass to XRDisplaySubsystem.GetCullingParameters to obtain culling information.

Multiple render passes can share the same index. This means that the renderer only needs to cull once, and can reuse the result of the culling for all render passes that use the same index.