eyeTextureDesc
Fetch the eye texture RenderTextureDescriptor from the active stereo device.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.VRModule
public static RenderTextureDescriptor eyeTextureDesc { get; }
Remarks
If XR is enabled, this returns a RenderTexureDescriptor configured by the stereo device. This greatly simplifies the process of generating temporary render textures for stereo rendering.
Additional Resources: ScriptableRenderContext.