Class XRGraphics
XRGraphics insulates SRP from API changes across platforms, Editor versions, and as XR transitions into XR SDK
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class XRGraphics
Properties
Name | Description |
---|---|
enabled | SRP should use this to safely determine whether XR is enabled at runtime. |
eye |
Eye texture descriptor. |
eye |
Eye texture height. |
eye |
Eye texture resolution scale. |
eye |
Eye texture width. |
is |
Returns true if the XR device is active. |
loaded |
Name of the loaded XR device. |
render |
Render viewport scale. |
stereo |
Stereo rendering mode. |
supported |
List of supported XR devices. |
try |
Try enable. |