Allows clients to implement OpenXR extensions with GDExtension. [OpenXRExtensionWrapperExtension] allows clients to implement OpenXR extensions with GDExtension. The extension should be registered with [method register_extension_wrapper]. Returns a pointer to an [code]XrCompositionLayerBaseHeader[/code] struct to provide the given composition layer. This will only be called if the extension previously registered itself with [method OpenXRAPIExtension.register_composition_layer_provider]. Returns the number of composition layers this extension wrapper provides via [method _get_composition_layer]. This will only be called if the extension previously registered itself with [method OpenXRAPIExtension.register_composition_layer_provider]. Returns an integer that will be used to sort the given composition layer provided via [method _get_composition_layer]. Lower numbers will move the layer to the front of the list, and higher numbers to the end. The default projection layer has an order of [code]0[/code], so layers provided by this method should probably be above or below (but not exactly) [code]0[/code]. This will only be called if the extension previously registered itself with [method OpenXRAPIExtension.register_composition_layer_provider]. Returns a [Dictionary] of OpenXR extensions related to this extension. The [Dictionary] should contain the name of the extension, mapped to a [code]bool *[/code] cast to an integer: - If the [code]bool *[/code] is a [code]nullptr[/code] this extension is mandatory. - If the [code]bool *[/code] points to a boolean, the boolean will be updated to [code]true[/code] if the extension is enabled. Returns a [PackedStringArray] of positional tracker names that are used within the extension wrapper. Gets an array of [Dictionary]s that represent properties, just like [method Object._get_property_list], that will be added to [OpenXRCompositionLayer] nodes. Gets a [Dictionary] containing the default values for the properties returned by [method _get_viewport_composition_layer_extension_properties]. Called before the OpenXR instance is created. Called when there is an OpenXR event to process. When implementing, return [code]true[/code] if the event was handled, return [code]false[/code] otherwise. Called right after the OpenXR instance is created. Called right before the OpenXR instance is destroyed. Called right after the main swapchains are (re)created. Called right after the given viewport is rendered. [b]Note:[/b] The draw commands might only be queued at this point, not executed. Called right before the given viewport is rendered. Called right before the XR viewports begin their rendering step. Called as part of the OpenXR process handling. This happens right before general and physics processing steps of the main loop. During this step controller data is queried and made available to game logic. Allows extensions to register additional controller metadata. This function is called even when the OpenXR API is not constructed as the metadata needs to be available to the editor. Extensions should also provide metadata regardless of whether they are supported on the host system. The controller data is used to setup action maps for users who may have access to the relevant hardware. Called right after the OpenXR session is created. Called right before the OpenXR session is destroyed. Called when the OpenXR session state is changed to exiting. Called when the OpenXR session state is changed to focused. This state is the active state when the game runs. Called when the OpenXR session state is changed to idle. Called when the OpenXR session state is changed to loss pending. Called when the OpenXR session state is changed to ready. This means OpenXR is ready to set up the session. Called when the OpenXR session state is changed to stopping. Called when the OpenXR session state is changed to synchronized. OpenXR also returns to this state when the application loses focus. Called when the OpenXR session state is changed to visible. This means OpenXR is now ready to receive frames. Called when a composition layer created via [OpenXRCompositionLayer] is destroyed. [param layer] is a pointer to an [code]XrCompositionLayerBaseHeader[/code] struct. Adds additional data structures to Android surface swapchains created by [OpenXRCompositionLayer]. [param property_values] contains the values of the properties returned by [method _get_viewport_composition_layer_extension_properties]. Adds additional data structures when each hand tracker is created. Adds additional data structures when the OpenXR instance is created. Adds additional data structures when the OpenXR session is created. Adds additional data structures when creating OpenXR swapchains. Adds additional data structures when querying OpenXR system abilities. Adds additional data structures to composition layers created by [OpenXRCompositionLayer]. [param property_values] contains the values of the properties returned by [method _get_viewport_composition_layer_extension_properties]. [param layer] is a pointer to an [code]XrCompositionLayerBaseHeader[/code] struct. Returns the created [OpenXRAPIExtension], which can be used to access the OpenXR API. Registers the extension. This should happen at core module initialization level.