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. |