{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Enum OculusSettings.StereoRenderingModeDesktop | Oculus XR Plugin | 4.1.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum OculusSettings.StereoRenderingModeDesktop

    Namespace: Unity.XR.Oculus
    Assembly: solution.dll
    Syntax
    public enum OculusSettings.StereoRenderingModeDesktop

    Fields

    Name Description
    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.

    SinglePassInstanced

    Unity uses a single texture array with two elements. Unity converts each call into an instanced draw call. Shaders need to be aware of this. Unity's shader macros handle the situation.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)