|
75 | 75 | Returns the id of the system, which is a [url=https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrSystemId.html]XrSystemId[/url] cast to an integer.
|
76 | 76 | </description>
|
77 | 77 | </method>
|
| 78 | + <method name="is_environment_blend_mode_alpha_supported"> |
| 79 | + <return type="int" enum="OpenXRAPIExtension.OpenXRAlphaBlendModeSupport" /> |
| 80 | + <description> |
| 81 | + Returns [enum OpenXRAPIExtension.OpenXRAlphaBlendModeSupport] denoting if [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] is really support, emulated or not supported at all. |
| 82 | + </description> |
| 83 | + </method> |
78 | 84 | <method name="is_initialized">
|
79 | 85 | <return type="bool" />
|
80 | 86 | <description>
|
|
94 | 100 | Returns [code]true[/code] if OpenXR is enabled.
|
95 | 101 | </description>
|
96 | 102 | </method>
|
| 103 | + <method name="register_composition_layer_provider"> |
| 104 | + <return type="void" /> |
| 105 | + <param index="0" name="extension" type="OpenXRExtensionWrapperExtension" /> |
| 106 | + <description> |
| 107 | + Registers the given extension as a composition layer provider. |
| 108 | + </description> |
| 109 | + </method> |
| 110 | + <method name="set_emulate_environment_blend_mode_alpha_blend"> |
| 111 | + <return type="void" /> |
| 112 | + <param index="0" name="enabled" type="bool" /> |
| 113 | + <description> |
| 114 | + If set to [code]true[/code], an OpenXR extension is loaded which is capable of emulating the [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] blend mode. |
| 115 | + </description> |
| 116 | + </method> |
97 | 117 | <method name="transform_from_pose">
|
98 | 118 | <return type="Transform3D" />
|
99 | 119 | <param index="0" name="pose" type="const void*" />
|
100 | 120 | <description>
|
101 | 121 | Creates a [Transform3D] from an [url=https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrPosef.html]XrPosef[/url].
|
102 | 122 | </description>
|
103 | 123 | </method>
|
| 124 | + <method name="unregister_composition_layer_provider"> |
| 125 | + <return type="void" /> |
| 126 | + <param index="0" name="extension" type="OpenXRExtensionWrapperExtension" /> |
| 127 | + <description> |
| 128 | + Unregisters the given extension as a composition layer provider. |
| 129 | + </description> |
| 130 | + </method> |
104 | 131 | <method name="xr_result">
|
105 | 132 | <return type="bool" />
|
106 | 133 | <param index="0" name="result" type="int" />
|
|
111 | 138 | </description>
|
112 | 139 | </method>
|
113 | 140 | </methods>
|
| 141 | + <constants> |
| 142 | + <constant name="OPENXR_ALPHA_BLEND_MODE_SUPPORT_NONE" value="0" enum="OpenXRAlphaBlendModeSupport"> |
| 143 | + Means that [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] isn't supported at all. |
| 144 | + </constant> |
| 145 | + <constant name="OPENXR_ALPHA_BLEND_MODE_SUPPORT_REAL" value="1" enum="OpenXRAlphaBlendModeSupport"> |
| 146 | + Means that [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] is really supported. |
| 147 | + </constant> |
| 148 | + <constant name="OPENXR_ALPHA_BLEND_MODE_SUPPORT_EMULATING" value="2" enum="OpenXRAlphaBlendModeSupport"> |
| 149 | + Means that [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] is emulated. |
| 150 | + </constant> |
| 151 | + </constants> |
114 | 152 | </class>
|
0 commit comments