Enum XRCameraBackgroundRenderingMode
Defines the rendering modes for the Camera Background.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public enum XRCameraBackgroundRenderingMode : 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 | Camera background rendering is disabled or unsupported. |
0 |
BeforeOpaques | Render camera background prior to rendering opaques. |
1 |
AfterOpaques | Render camera background after rendering opaques. |
2 |