docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRSupportedCameraBackgroundRenderingMode

    Defines the supported rendering modes for the Camera Background.

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    [Flags]
    public enum XRSupportedCameraBackgroundRenderingMode : byte
    Remarks

    The platform provider is the source of truth for when the background should be rendered and can elect to only support certain render passes and not others.

    Fields

    Name Description Value
    None

    Represents when rendering the camera background is unsupported.


    0
    BeforeOpaques

    Request the camera background be rendered prior to rendering opaques.


    1
    AfterOpaques

    Request the camera background be rendered after rendering opaques.


    2
    Any

    Allow the platform provider to determine the rendering mode for the camera background.


    3

    Extension Methods

    CameraBackgroundRenderingModeUtilities.ToBackgroundRenderingMode()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023