docs.unity.cn
    Show / Hide Table of Contents

    Enum OculusSettings.StereoRenderingModeAndroid

    Namespace: Unity.XR.Oculus
    Syntax
    public enum StereoRenderingModeAndroid

    Fields

    Name Description Value
    MultiPass

    Unity makes two passes across the scene graph, each one entirely indepedent of the other. Each pass has its own eye matrices and render target. Unity draws everything twice, which includes setting the graphics state for each pass. This is a slow and simple rendering method which doesn't require any special modification to shaders.

    Multiview

    Unity uses a single texture array with two elements. Multiview is very similar to Single Pass Instanced; however, the graphics driver converts each call into an instanced draw call so it requires less work on Unity's side. As with Single Pass Instanced, shaders need to be aware of the Multiview setting. Unity's shader macros handle the situation.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, March 3, 2023
    Terms of use