Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


cullingPassIndex

An index that a render pipeline can pass to XRDisplaySubsystem.GetCullingParameters to obtain culling information.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public int cullingPassIndex

Remarks

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.