The parent class of all OpenXR composition layer nodes. Composition layers allow 2D viewports to be displayed inside of the headset by the XR compositor through special projections that retain their quality. This allows for rendering clear text while keeping the layer at a native resolution. [b]Note:[/b] If the OpenXR runtime doesn't support the given composition layer type, a fallback mesh can be generated with a [ViewportTexture], in order to emulate the composition layer. Returns a [JavaObject] representing an [code]android.view.Surface[/code] if [member use_android_surface] is enabled and OpenXR has created the surface. Otherwise, this will return [code]null[/code]. [b]Note:[/b] The surface can only be created during an active OpenXR session. So, if [member use_android_surface] is enabled outside of an OpenXR session, it won't be created until a new session fully starts. Returns UV coordinates where the given ray intersects with the composition layer. [param origin] and [param direction] must be in global space. Returns [code]Vector2(-1.0, -1.0)[/code] if the ray doesn't intersect. Returns [code]true[/code] if the OpenXR runtime natively supports this composition layer type. [b]Note:[/b] This will only return an accurate result after the OpenXR session has started. Enables the blending the layer using its alpha channel. Can be combined with [member Viewport.transparent_bg] to give the layer a transparent background. The size of the Android surface to create if [member use_android_surface] is enabled. Enables a technique called "hole punching", which allows putting the composition layer behind the main projection layer (i.e. setting [member sort_order] to a negative value) while "punching a hole" through everything rendered by Godot so that the layer is still visible. This can be used to create the illusion that the composition layer exists in the same 3D space as everything rendered by Godot, allowing objects to appear to pass both behind or in front of the composition layer. The [SubViewport] to render on the composition layer. The sort order for this composition layer. Higher numbers will be shown in front of lower numbers. [b]Note:[/b] This will have no effect if a fallback mesh is being used. The swizzle value for the alpha channel of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The swizzle value for the blue channel of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The border color of the swapchain state that is used when the wrap mode clamps to the border. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The swizzle value for the green channel of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The horizontal wrap mode of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The magnification filter of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The max anisotropy of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The minification filter of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The mipmap mode of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The swizzle value for the red channel of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. The vertical wrap mode of the swapchain state. [b]Note:[/b] This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. If enabled, an Android surface will be created (with the dimensions from [member android_surface_size]) which will provide the 2D content for the composition layer, rather than using [member layer_viewport]. See [method get_android_surface] for information about how to get the surface so that your application can draw to it. [b]Note:[/b] This will only work in Android builds. Perform nearest-neighbor filtering when sampling the texture. Perform linear filtering when sampling the texture. Perform cubic filtering when sampling the texture. Disable mipmapping. [b]Note:[/b] Mipmapping can only be disabled in the compatibility renderer. Use the mipmap of the nearest resolution. Use linear interpolation of the two mipmaps of the nearest resolution. Clamp the texture to its specified border color. Clamp the texture to its edge color. Repeat the texture infinitely. Repeat the texture infinitely, mirroring it on each repeat. Mirror the texture once and then clamp the texture to its edge color. [b]Note:[/b] This wrap mode is not available in the compatibility renderer. Maps a color channel to the value of the red channel. Maps a color channel to the value of the green channel. Maps a color channel to the value of the blue channel. Maps a color channel to the value of the alpha channel. Maps a color channel to the value of zero. Maps a color channel to the value of one.