docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRLayoutType

    Identifies the XR rendering layout for the current frame. The layout is inferred from the XR display subsystem configuration (number of render passes and views per pass) and determines how the render pipeline structures its XR rendering passes.

    Namespace: UnityEngine.Experimental.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public enum XRLayoutType

    Fields

    Name Description
    SinglePassStereo

    Single-pass instanced stereo rendering. One render pass with two views (left and right eye) rendered simultaneously via instancing.

    TwoPassQuadViews

    Two-pass quad views rendering. Two render passes, each with two views. The first pass renders peripheral (outer) views and the second pass renders foveal (inner) views.

    TwoPassStereo

    Multi-pass stereo rendering. Two render passes, each with one view (one eye per pass).

    Unknown

    The layout type could not be determined. This value is used as the default before inference runs and indicates an unsupported or unrecognized XR display configuration.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<XRLayoutType>(XRLayoutType, XRLayoutType, bool)
    AnalyticsUtils.ToNestedColumn<XRLayoutType>(XRLayoutType, bool)
    AnalyticsUtils.ToNestedColumn<XRLayoutType>(XRLayoutType, XRLayoutType)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)