|
217 | 217 | [param layer] is a pointer to an [code]XrCompositionLayerBaseHeader[/code] struct. |
218 | 218 | </description> |
219 | 219 | </method> |
| 220 | + <method name="_prepare_view_configuration" qualifiers="virtual"> |
| 221 | + <return type="void" /> |
| 222 | + <param index="0" name="view_count" type="int" /> |
| 223 | + <description> |
| 224 | + Called before [method _set_view_configuration_and_get_next_pointer] to allow the extension to reserve data for the given number of views. |
| 225 | + </description> |
| 226 | + </method> |
| 227 | + <method name="_print_view_configuration_info" qualifiers="virtual const"> |
| 228 | + <return type="void" /> |
| 229 | + <param index="0" name="view" type="int" /> |
| 230 | + <description> |
| 231 | + Called to allow an extension to print additional information about its view configuration, if applicable. This will only be called if verbose output is enabled. |
| 232 | + </description> |
| 233 | + </method> |
220 | 234 | <method name="_set_android_surface_swapchain_create_info_and_get_next_pointer" qualifiers="virtual"> |
221 | 235 | <return type="int" /> |
222 | 236 | <param index="0" name="property_values" type="Dictionary" /> |
223 | 237 | <param index="1" name="next_pointer" type="void*" /> |
224 | 238 | <description> |
225 | | - Adds additional data structures to Android surface swapchains created by [OpenXRCompositionLayer]. |
| 239 | + Add additional data structures to Android surface swapchains created by [OpenXRCompositionLayer]. |
226 | 240 | [param property_values] contains the values of the properties returned by [method _get_viewport_composition_layer_extension_properties]. |
227 | 241 | [b]Note:[/b] This virtual method will be called on the render thread. |
228 | 242 | </description> |
|
231 | 245 | <return type="int" /> |
232 | 246 | <param index="0" name="next_pointer" type="void*" /> |
233 | 247 | <description> |
234 | | - Adds additional data structures to [code]XrFrameEndInfo[/code]. |
| 248 | + Add additional data structures to [code]XrFrameEndInfo[/code]. |
235 | 249 | This will only be called if the extension previously registered itself with [method OpenXRAPIExtension.register_frame_info_extension]. |
236 | 250 | [b]Note:[/b] This virtual method will be called on the render thread. Additionally, the data it returns will be used shortly after this method is called, so it needs to remain valid until the next time [method _on_pre_render] runs. |
237 | 251 | </description> |
|
240 | 254 | <return type="int" /> |
241 | 255 | <param index="0" name="next_pointer" type="void*" /> |
242 | 256 | <description> |
243 | | - Adds additional data structures to [code]XrFrameWaitInfo[/code]. |
| 257 | + Add additional data structures to [code]XrFrameWaitInfo[/code]. |
244 | 258 | This will only be called if the extension previously registered itself with [method OpenXRAPIExtension.register_frame_info_extension]. |
245 | 259 | [b]Note:[/b] This virtual method will be called on the render thread. |
246 | 260 | </description> |
|
250 | 264 | <param index="0" name="hand_index" type="int" /> |
251 | 265 | <param index="1" name="next_pointer" type="void*" /> |
252 | 266 | <description> |
253 | | - Adds additional data structures when each hand tracker is created. |
| 267 | + Add additional data structures when each hand tracker is created. |
254 | 268 | </description> |
255 | 269 | </method> |
256 | 270 | <method name="_set_instance_create_info_and_get_next_pointer" qualifiers="virtual"> |
257 | 271 | <return type="int" /> |
258 | 272 | <param index="0" name="next_pointer" type="void*" /> |
259 | 273 | <description> |
260 | | - Adds additional data structures when the OpenXR instance is created. |
| 274 | + Add additional data structures when the OpenXR instance is created. |
261 | 275 | </description> |
262 | 276 | </method> |
263 | 277 | <method name="_set_projection_views_and_get_next_pointer" qualifiers="virtual"> |
264 | 278 | <return type="int" /> |
265 | 279 | <param index="0" name="view_index" type="int" /> |
266 | 280 | <param index="1" name="next_pointer" type="void*" /> |
267 | 281 | <description> |
268 | | - Adds additional data structures to the projection view of the given [param view_index]. |
| 282 | + Add additional data structures to the projection view of the given [param view_index]. |
269 | 283 | [b]Note:[/b] This virtual method will be called on the render thread. Additionally, the data it returns will be used shortly after this method is called, so it needs to remain valid until the next time [method _on_pre_render] runs. |
270 | 284 | </description> |
271 | 285 | </method> |
|
274 | 288 | <param index="0" name="reference_space_type" type="int" /> |
275 | 289 | <param index="1" name="next_pointer" type="void*" /> |
276 | 290 | <description> |
277 | | - Adds additional data structures to [code]XrReferenceSpaceCreateInfo[/code]. |
| 291 | + Add additional data structures to [code]XrReferenceSpaceCreateInfo[/code]. |
278 | 292 | </description> |
279 | 293 | </method> |
280 | 294 | <method name="_set_session_create_and_get_next_pointer" qualifiers="virtual"> |
281 | 295 | <return type="int" /> |
282 | 296 | <param index="0" name="next_pointer" type="void*" /> |
283 | 297 | <description> |
284 | | - Adds additional data structures when the OpenXR session is created. |
| 298 | + Add additional data structures when the OpenXR session is created. |
285 | 299 | </description> |
286 | 300 | </method> |
287 | 301 | <method name="_set_swapchain_create_info_and_get_next_pointer" qualifiers="virtual"> |
288 | 302 | <return type="int" /> |
289 | 303 | <param index="0" name="next_pointer" type="void*" /> |
290 | 304 | <description> |
291 | | - Adds additional data structures when creating OpenXR swapchains. |
| 305 | + Add additional data structures when creating OpenXR swapchains. |
292 | 306 | </description> |
293 | 307 | </method> |
294 | 308 | <method name="_set_system_properties_and_get_next_pointer" qualifiers="virtual"> |
295 | 309 | <return type="int" /> |
296 | 310 | <param index="0" name="next_pointer" type="void*" /> |
297 | 311 | <description> |
298 | | - Adds additional data structures when querying OpenXR system abilities. |
| 312 | + Add additional data structures when querying OpenXR system abilities. |
| 313 | + </description> |
| 314 | + </method> |
| 315 | + <method name="_set_view_configuration_and_get_next_pointer" qualifiers="virtual"> |
| 316 | + <return type="int" /> |
| 317 | + <param index="0" name="view" type="int" /> |
| 318 | + <param index="1" name="next_pointer" type="void*" /> |
| 319 | + <description> |
| 320 | + Add additional data structures when querying OpenXR view configuration. |
299 | 321 | </description> |
300 | 322 | </method> |
301 | 323 | <method name="_set_view_locate_info_and_get_next_pointer" qualifiers="virtual"> |
302 | 324 | <return type="int" /> |
303 | 325 | <param index="0" name="next_pointer" type="void*" /> |
304 | 326 | <description> |
305 | | - Adds additional data structures to [code]XrViewLocateInfo[/code]. |
| 327 | + Add additional data structures to [code]XrViewLocateInfo[/code]. |
306 | 328 | This will only be called if the extension previously registered itself with [method OpenXRAPIExtension.register_frame_info_extension]. |
307 | 329 | [b]Note:[/b] This virtual method will be called on the render thread. Additionally, the data it returns will be used shortly after this method is called, so it needs to remain valid until the next time [method _on_pre_render] runs. |
308 | 330 | </description> |
|
313 | 335 | <param index="1" name="property_values" type="Dictionary" /> |
314 | 336 | <param index="2" name="next_pointer" type="void*" /> |
315 | 337 | <description> |
316 | | - Adds additional data structures to composition layers created by [OpenXRCompositionLayer]. |
| 338 | + Add additional data structures to composition layers created by [OpenXRCompositionLayer]. |
317 | 339 | [param property_values] contains the values of the properties returned by [method _get_viewport_composition_layer_extension_properties]. |
318 | 340 | [param layer] is a pointer to an [code]XrCompositionLayerBaseHeader[/code] struct. |
319 | 341 | [b]Note:[/b] This virtual method will be called on the render thread. Additionally, the data it returns will be used shortly after this method is called, so it needs to remain valid until the next time [method _on_pre_render] runs. |
|
0 commit comments