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 |
|---|---|---|
| AfterOpaques | Request the camera background be rendered after rendering opaques. |
|
| Any | Allow the platform provider to determine the rendering mode for the camera background. |
|
| BeforeOpaques | Request the camera background be rendered prior to rendering opaques. |
|
| None | Represents when rendering the camera background is unsupported. |