XRSettings.eyeTextureDesc

public static RenderTextureDescriptor eyeTextureDesc;

Description

Fetch the eye texture RenderTextureDescriptor from the active stereo device.

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.


Did you find this page useful? Please give it a rating: