docs.unity.cn
    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
    Generated by DocFX
    on Wednesday, July 26, 2023