Enum OpenXRSettings.BackendFovationApi
Options for foveated rendering.
Namespace: UnityEngine.XR.OpenXR
Assembly: Unity.XR.OpenXR.dll
Syntax
public enum OpenXRSettings.BackendFovationApi : byte
Remarks
Foveated rendering, which renders the central area of the user's view at a higher resolution
than the periphery, can be implemented in a variety of ways.
The Legacy and SRPFoveation options both use either Variable Rate Shading(VRS) or Variable Rate Rasterization(VRR),
depending on which technique is supported by the current device.
The difference between these two options is the runtime API used by Unity to control the amount of foveation.
If you are using the Built-In Render Pipeline, you must use the Legacy option.
Refer toFoveated Rendering in OpenXR for more information.
QuadViews uses a different rendering technique to achieve the same goal of rendering the central area
of the user's view at a higher resolution than the periphery. The QuadViews option does not have an associated runtime API.
Refer to Quad Views for more information.
Fields
| Name | Description |
|---|---|
| Legacy | Use Variable Rate Shading (VRS) or Variable Rate Rasterization (VRR) for foveated rendering. This option uses the legacy API to enable and control foveated rendering at runtime. The Built-In Render Pipeline only supports this option. |
| QuadViews | Use Quad Views for foveated rendering. |
| SRPFoveation | Use Variable Rate Shading (VRS) or Variable Rate Rasterization (VRR) for foveated rendering. This option uses the Universal Render Pipeline (URP) API to enable and control foveated rendering at runtime. |