Monado OpenXR Runtime
oxr_api_funcs.h
Go to the documentation of this file.
1// Copyright 2018-2024, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Header defining all API functions.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 * @author Korcan Hussein <korcan.hussein@collabora.com>
8 * @ingroup oxr_api
9 */
10
11#pragma once
12
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19
20/*!
21 * @defgroup oxr_api OpenXR entrypoints
22 *
23 * Gets called from the client application, does most verification and routes
24 * calls into @ref oxr_main functions.
25 *
26 * @ingroup oxr
27 * @{
28 */
29
30
31/*
32 *
33 * oxr_api_negotiate.c
34 *
35 */
36
37//! OpenXR API function @ep{xrGetInstanceProcAddr}
38XRAPI_ATTR XrResult XRAPI_CALL
39oxr_xrGetInstanceProcAddr(XrInstance instance, const char *name, PFN_xrVoidFunction *function);
40
41//! OpenXR API function @ep{xrEnumerateApiLayerProperties}
42XRAPI_ATTR XrResult XRAPI_CALL
43oxr_xrEnumerateApiLayerProperties(uint32_t propertyCapacityInput,
44 uint32_t *propertyCountOutput,
45 XrApiLayerProperties *properties);
46
47
48/*
49 *
50 * oxr_api_instance.c
51 *
52 */
53
54#ifdef OXR_HAVE_KHR_loader_init
55//! OpenXR API function @ep{xrInitializeLoaderKHR}
56XRAPI_ATTR XrResult XRAPI_CALL
57oxr_xrInitializeLoaderKHR(const XrLoaderInitInfoBaseHeaderKHR *loaderInitInfo);
58#endif // OXR_HAVE_KHR_loader_init
59
60//! OpenXR API function @ep{xrEnumerateInstanceExtensionProperties}
61XRAPI_ATTR XrResult XRAPI_CALL
63 uint32_t propertyCapacityInput,
64 uint32_t *propertyCountOutput,
65 XrExtensionProperties *properties);
66
67//! OpenXR API function @ep{xrCreateInstance}
68XRAPI_ATTR XrResult XRAPI_CALL
69oxr_xrCreateInstance(const XrInstanceCreateInfo *createInfo, XrInstance *instance);
70
71//! OpenXR API function @ep{xrDestroyInstance}
72XRAPI_ATTR XrResult XRAPI_CALL
73oxr_xrDestroyInstance(XrInstance instance);
74
75//! OpenXR API function @ep{xrGetInstanceProperties}
76XRAPI_ATTR XrResult XRAPI_CALL
77oxr_xrGetInstanceProperties(XrInstance instance, XrInstanceProperties *instanceProperties);
78
79//! OpenXR API function @ep{xrPollEvent}
80XRAPI_ATTR XrResult XRAPI_CALL
81oxr_xrPollEvent(XrInstance instance, XrEventDataBuffer *eventData);
82
83//! OpenXR API function @ep{xrResultToString}
84XRAPI_ATTR XrResult XRAPI_CALL
85oxr_xrResultToString(XrInstance instance, XrResult value, char buffer[XR_MAX_RESULT_STRING_SIZE]);
86
87//! OpenXR API function @ep{xrStructureTypeToString}
88XRAPI_ATTR XrResult XRAPI_CALL
89oxr_xrStructureTypeToString(XrInstance instance, XrStructureType value, char buffer[XR_MAX_STRUCTURE_NAME_SIZE]);
90
91//! OpenXR API function @ep{xrStringToPath}
92XRAPI_ATTR XrResult XRAPI_CALL
93oxr_xrStringToPath(XrInstance instance, const char *pathString, XrPath *path);
94
95//! OpenXR API function @ep{xrPathToString}
96XRAPI_ATTR XrResult XRAPI_CALL
98 XrInstance instance, XrPath path, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer);
99
100//! OpenXR API function @ep{xrConvertTimespecTimeToTimeKHR}
101XRAPI_ATTR XrResult XRAPI_CALL
102oxr_xrConvertTimespecTimeToTimeKHR(XrInstance instance, const struct timespec *timespecTime, XrTime *time);
103
104//! OpenXR API function @ep{xrConvertTimeToTimespecTimeKHR}
105XRAPI_ATTR XrResult XRAPI_CALL
106oxr_xrConvertTimeToTimespecTimeKHR(XrInstance instance, XrTime time, struct timespec *timespecTime);
107
108#ifdef XR_USE_PLATFORM_WIN32
109//! OpenXR API function @ep{xrConvertWin32PerformanceCounterToTimeKHR}
110XRAPI_ATTR XrResult XRAPI_CALL
111oxr_xrConvertWin32PerformanceCounterToTimeKHR(XrInstance instance,
112 const LARGE_INTEGER *performanceCounter,
113 XrTime *time);
114
115//! OpenXR API function @ep{xrConvertTimeToWin32PerformanceCounterKHR}
116XRAPI_ATTR XrResult XRAPI_CALL
117oxr_xrConvertTimeToWin32PerformanceCounterKHR(XrInstance instance, XrTime time, LARGE_INTEGER *performanceCounter);
118#endif // XR_USE_PLATFORM_WIN32
119
120/*
121 *
122 * oxr_api_system.c
123 *
124 */
125
126//! OpenXR API function @ep{xrGetSystem}
127XRAPI_ATTR XrResult XRAPI_CALL
128oxr_xrGetSystem(XrInstance instance, const XrSystemGetInfo *getInfo, XrSystemId *systemId);
129
130//! OpenXR API function @ep{xrGetSystemProperties}
131XRAPI_ATTR XrResult XRAPI_CALL
132oxr_xrGetSystemProperties(XrInstance instance, XrSystemId systemId, XrSystemProperties *properties);
133
134//! OpenXR API function @ep{xrEnumerateViewConfigurations}
135XRAPI_ATTR XrResult XRAPI_CALL
136oxr_xrEnumerateViewConfigurations(XrInstance instance,
137 XrSystemId systemId,
138 uint32_t viewConfigurationTypeCapacityInput,
139 uint32_t *viewConfigurationTypeCountOutput,
140 XrViewConfigurationType *viewConfigurationTypes);
141
142//! OpenXR API function @ep{xrGetViewConfigurationProperties}
143XRAPI_ATTR XrResult XRAPI_CALL
144oxr_xrGetViewConfigurationProperties(XrInstance instance,
145 XrSystemId systemId,
146 XrViewConfigurationType viewConfigurationType,
147 XrViewConfigurationProperties *configurationProperties);
148
149//! OpenXR API function @ep{xrEnumerateViewConfigurationViews}
150XRAPI_ATTR XrResult XRAPI_CALL
151oxr_xrEnumerateViewConfigurationViews(XrInstance instance,
152 XrSystemId systemId,
153 XrViewConfigurationType viewConfigurationType,
154 uint32_t viewCapacityInput,
155 uint32_t *viewCountOutput,
156 XrViewConfigurationView *views);
157
158//! OpenXR API function @ep{xrEnumerateEnvironmentBlendModes}
159XRAPI_ATTR XrResult XRAPI_CALL
160oxr_xrEnumerateEnvironmentBlendModes(XrInstance instance,
161 XrSystemId systemId,
162 XrViewConfigurationType viewConfigurationType,
163 uint32_t environmentBlendModeCapacityInput,
164 uint32_t *environmentBlendModeCountOutput,
165 XrEnvironmentBlendMode *environmentBlendModes);
166
167#ifdef XR_USE_GRAPHICS_API_OPENGL
168//! OpenXR API function @ep{xrGetOpenGLGraphicsRequirementsKHR}
169XRAPI_ATTR XrResult XRAPI_CALL
171 XrSystemId systemId,
172 XrGraphicsRequirementsOpenGLKHR *graphicsRequirements);
173#endif
174
175#ifdef XR_USE_GRAPHICS_API_OPENGL_ES
176//! OpenXR API function @ep{xrGetOpenGLESGraphicsRequirementsKHR}
177XRAPI_ATTR XrResult XRAPI_CALL
178oxr_xrGetOpenGLESGraphicsRequirementsKHR(XrInstance instance,
179 XrSystemId systemId,
180 XrGraphicsRequirementsOpenGLESKHR *graphicsRequirements);
181#endif
182
183#ifdef XR_USE_GRAPHICS_API_VULKAN
184//! OpenXR API function @ep{xrGetVulkanInstanceExtensionsKHR}
185XRAPI_ATTR XrResult XRAPI_CALL
186oxr_xrGetVulkanInstanceExtensionsKHR(XrInstance instance,
187 XrSystemId systemId,
188 uint32_t namesCapacityInput,
189 uint32_t *namesCountOutput,
190 char *namesString);
191
192//! OpenXR API function @ep{xrGetVulkanDeviceExtensionsKHR}
193XRAPI_ATTR XrResult XRAPI_CALL
194oxr_xrGetVulkanDeviceExtensionsKHR(XrInstance instance,
195 XrSystemId systemId,
196 uint32_t namesCapacityInput,
197 uint32_t *namesCountOutput,
198 char *namesString);
199
200//! OpenXR API function @ep{xrGetVulkanGraphicsDeviceKHR}
201XRAPI_ATTR XrResult XRAPI_CALL
202oxr_xrGetVulkanGraphicsDeviceKHR(XrInstance instance,
203 XrSystemId systemId,
204 VkInstance vkInstance,
205 VkPhysicalDevice *vkPhysicalDevice);
206
207//! OpenXR API function @ep{xrGetVulkanGraphicsDeviceKHR}
208XRAPI_ATTR XrResult XRAPI_CALL
209oxr_xrGetVulkanGraphicsDevice2KHR(XrInstance instance,
210 const XrVulkanGraphicsDeviceGetInfoKHR *getInfo,
211 VkPhysicalDevice *vkPhysicalDevice);
212
213//! OpenXR API function @ep{xrGetVulkanGraphicsRequirementsKHR}
214XRAPI_ATTR XrResult XRAPI_CALL
216 XrSystemId systemId,
217 XrGraphicsRequirementsVulkanKHR *graphicsRequirements);
218
219//! OpenXR API function @ep{xrGetVulkanGraphicsRequirements2KHR}
220XRAPI_ATTR XrResult XRAPI_CALL
222 XrSystemId systemId,
223 XrGraphicsRequirementsVulkan2KHR *graphicsRequirements);
224
225//! OpenXR API function @ep{xrCreateVulkanInstanceKHR}
226XRAPI_ATTR XrResult XRAPI_CALL
227oxr_xrCreateVulkanInstanceKHR(XrInstance instance,
228 const XrVulkanInstanceCreateInfoKHR *createInfo,
229 VkInstance *vulkanInstance,
230 VkResult *vulkanResult);
231
232//! OpenXR API function @ep{xrCreateVulkanDeviceKHR}
233XRAPI_ATTR XrResult XRAPI_CALL
234oxr_xrCreateVulkanDeviceKHR(XrInstance instance,
235 const XrVulkanDeviceCreateInfoKHR *createInfo,
236 VkDevice *vulkanDevice,
237 VkResult *vulkanResult);
238#endif
239
240#ifdef XR_USE_GRAPHICS_API_D3D11
241
242//! OpenXR API function @ep{xrGetD3D11GraphicsRequirementsKHR}
243XRAPI_ATTR XrResult XRAPI_CALL
244oxr_xrGetD3D11GraphicsRequirementsKHR(XrInstance instance,
245 XrSystemId systemId,
246 XrGraphicsRequirementsD3D11KHR *graphicsRequirements);
247#endif // XR_USE_GRAPHICS_API_D3D11
248
249#ifdef XR_USE_GRAPHICS_API_D3D12
250
251//! OpenXR API function @ep{xrGetD3D11GraphicsRequirementsKHR}
252XRAPI_ATTR XrResult XRAPI_CALL
253oxr_xrGetD3D12GraphicsRequirementsKHR(XrInstance instance,
254 XrSystemId systemId,
255 XrGraphicsRequirementsD3D12KHR *graphicsRequirements);
256#endif // XR_USE_GRAPHICS_API_D3D12
257
258/*
259 *
260 * oxr_api_session.c
261 *
262 */
263
264//! OpenXR API function @ep{xrCreateSession}
265XRAPI_ATTR XrResult XRAPI_CALL
266oxr_xrCreateSession(XrInstance instance, const XrSessionCreateInfo *createInfo, XrSession *session);
267
268//! OpenXR API function @ep{xrDestroySession}
269XRAPI_ATTR XrResult XRAPI_CALL
270oxr_xrDestroySession(XrSession session);
271
272//! OpenXR API function @ep{xrBeginSession}
273XRAPI_ATTR XrResult XRAPI_CALL
274oxr_xrBeginSession(XrSession session, const XrSessionBeginInfo *beginInfo);
275
276//! OpenXR API function @ep{xrEndSession}
277XRAPI_ATTR XrResult XRAPI_CALL
278oxr_xrEndSession(XrSession session);
279
280//! OpenXR API function @ep{xrWaitFrame}
281XRAPI_ATTR XrResult XRAPI_CALL
282oxr_xrWaitFrame(XrSession session, const XrFrameWaitInfo *frameWaitInfo, XrFrameState *frameState);
283
284//! OpenXR API function @ep{xrBeginFrame}
285XRAPI_ATTR XrResult XRAPI_CALL
286oxr_xrBeginFrame(XrSession session, const XrFrameBeginInfo *frameBeginInfo);
287
288//! OpenXR API function @ep{xrEndFrame}
289XRAPI_ATTR XrResult XRAPI_CALL
290oxr_xrEndFrame(XrSession session, const XrFrameEndInfo *frameEndInfo);
291
292//! OpenXR API function @ep{xrRequestExitSession}
293XRAPI_ATTR XrResult XRAPI_CALL
294oxr_xrRequestExitSession(XrSession session);
295
296//! OpenXR API function @ep{xrLocateViews}
297XRAPI_ATTR XrResult XRAPI_CALL
298oxr_xrLocateViews(XrSession session,
299 const XrViewLocateInfo *viewLocateInfo,
300 XrViewState *viewState,
301 uint32_t viewCapacityInput,
302 uint32_t *viewCountOutput,
303 XrView *views);
304
305#ifdef OXR_HAVE_KHR_visibility_mask
306//! OpenXR API function @ep{xrGetVisibilityMaskKHR}
307XRAPI_ATTR XrResult XRAPI_CALL
308oxr_xrGetVisibilityMaskKHR(XrSession session,
309 XrViewConfigurationType viewConfigurationType,
310 uint32_t viewIndex,
311 XrVisibilityMaskTypeKHR visibilityMaskType,
312 XrVisibilityMaskKHR *visibilityMask);
313#endif // OXR_HAVE_KHR_visibility_mask
314
315#ifdef OXR_HAVE_KHR_android_thread_settings
316//! OpenXR API function @ep{xrSetAndroidApplicationThreadKHR}
317XRAPI_ATTR XrResult XRAPI_CALL
318oxr_xrSetAndroidApplicationThreadKHR(XrSession session, XrAndroidThreadTypeKHR threadType, uint32_t threadId);
319#endif // OXR_HAVE_KHR_android_thread_settings
320
321#ifdef OXR_HAVE_EXT_performance_settings
322//! OpenXR API function @ep{xrPerfSettingsSetPerformanceLevelEXT}
323XRAPI_ATTR XrResult XRAPI_CALL
324oxr_xrPerfSettingsSetPerformanceLevelEXT(XrSession session,
325 XrPerfSettingsDomainEXT domain,
326 XrPerfSettingsLevelEXT level);
327#endif // OXR_HAVE_EXT_performance_settings
328
329#ifdef OXR_HAVE_EXT_thermal_query
330//! OpenXR API function @ep{xrThermalGetTemperatureTrendEXT}
331XRAPI_ATTR XrResult XRAPI_CALL
332oxr_xrThermalGetTemperatureTrendEXT(XrSession session,
333 XrPerfSettingsDomainEXT domain,
334 XrPerfSettingsNotificationLevelEXT *notificationLevel,
335 float *tempHeadroom,
336 float *tempSlope);
337#endif // OXR_HAVE_EXT_thermal_query
338
339
340/*
341 *
342 * oxr_api_space.c
343 *
344 */
345
346//! OpenXR API function @ep{xrEnumerateReferenceSpaces}
347XRAPI_ATTR XrResult XRAPI_CALL
348oxr_xrEnumerateReferenceSpaces(XrSession session,
349 uint32_t spaceCapacityInput,
350 uint32_t *spaceCountOutput,
351 XrReferenceSpaceType *spaces);
352
353//! OpenXR API function @ep{xrGetReferenceSpaceBoundsRect}
354XRAPI_ATTR XrResult XRAPI_CALL
355oxr_xrGetReferenceSpaceBoundsRect(XrSession session, XrReferenceSpaceType referenceSpaceType, XrExtent2Df *bounds);
356
357//! OpenXR API function @ep{xrCreateReferenceSpace}
358XRAPI_ATTR XrResult XRAPI_CALL
359oxr_xrCreateReferenceSpace(XrSession session, const XrReferenceSpaceCreateInfo *createInfo, XrSpace *space);
360
361//! OpenXR API function @ep{xrLocateSpace}
362XRAPI_ATTR XrResult XRAPI_CALL
363oxr_xrLocateSpace(XrSpace space, XrSpace baseSpace, XrTime time, XrSpaceLocation *location);
364
365//! OpenXR API function @ep{xrDestroySpace}
366XRAPI_ATTR XrResult XRAPI_CALL
367oxr_xrDestroySpace(XrSpace space);
368
369
370/*
371 *
372 * oxr_api_swapchain.c
373 *
374 */
375
376//! OpenXR API function @ep{xrEnumerateSwapchainFormats}
377XRAPI_ATTR XrResult XRAPI_CALL
378oxr_xrEnumerateSwapchainFormats(XrSession session,
379 uint32_t formatCapacityInput,
380 uint32_t *formatCountOutput,
381 int64_t *formats);
382
383//! OpenXR API function @ep{xrCreateSwapchain}
384XRAPI_ATTR XrResult XRAPI_CALL
385oxr_xrCreateSwapchain(XrSession session, const XrSwapchainCreateInfo *createInfo, XrSwapchain *swapchain);
386
387//! OpenXR API function @ep{xrDestroySwapchain}
388XRAPI_ATTR XrResult XRAPI_CALL
389oxr_xrDestroySwapchain(XrSwapchain swapchain);
390
391//! OpenXR API function @ep{xrEnumerateSwapchainImages}
392XRAPI_ATTR XrResult XRAPI_CALL
393oxr_xrEnumerateSwapchainImages(XrSwapchain swapchain,
394 uint32_t imageCapacityInput,
395 uint32_t *imageCountOutput,
396 XrSwapchainImageBaseHeader *images);
397
398//! OpenXR API function @ep{xrAcquireSwapchainImage}
399XRAPI_ATTR XrResult XRAPI_CALL
400oxr_xrAcquireSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageAcquireInfo *acquireInfo, uint32_t *index);
401
402//! OpenXR API function @ep{xrWaitSwapchainImage}
403XRAPI_ATTR XrResult XRAPI_CALL
404oxr_xrWaitSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageWaitInfo *waitInfo);
405
406//! OpenXR API function @ep{xrReleaseSwapchainImage}
407XRAPI_ATTR XrResult XRAPI_CALL
408oxr_xrReleaseSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageReleaseInfo *releaseInfo);
409
410
411/*
412 *
413 * oxr_api_debug.c
414 *
415 */
416
417//! OpenXR API function @ep{xrSetDebugUtilsObjectNameEXT}
418XRAPI_ATTR XrResult XRAPI_CALL
419oxr_xrSetDebugUtilsObjectNameEXT(XrInstance instance, const XrDebugUtilsObjectNameInfoEXT *nameInfo);
420
421//! OpenXR API function @ep{xrCreateDebugUtilsMessengerEXT}
422XRAPI_ATTR XrResult XRAPI_CALL
423oxr_xrCreateDebugUtilsMessengerEXT(XrInstance instance,
424 const XrDebugUtilsMessengerCreateInfoEXT *createInfo,
425 XrDebugUtilsMessengerEXT *messenger);
426
427//! OpenXR API function @ep{xrDestroyDebugUtilsMessengerEXT}
428XRAPI_ATTR XrResult XRAPI_CALL
429oxr_xrDestroyDebugUtilsMessengerEXT(XrDebugUtilsMessengerEXT messenger);
430
431//! OpenXR API function @ep{xrSubmitDebugUtilsMessageEXT}
432XRAPI_ATTR XrResult XRAPI_CALL
433oxr_xrSubmitDebugUtilsMessageEXT(XrInstance instance,
434 XrDebugUtilsMessageSeverityFlagsEXT messageSeverity,
435 XrDebugUtilsMessageTypeFlagsEXT messageTypes,
436 const XrDebugUtilsMessengerCallbackDataEXT *callbackData);
437
438//! OpenXR API function @ep{xrSessionBeginDebugUtilsLabelRegionEXT}
439XRAPI_ATTR XrResult XRAPI_CALL
440oxr_xrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, const XrDebugUtilsLabelEXT *labelInfo);
441
442//! OpenXR API function @ep{xrSessionEndDebugUtilsLabelRegionEXT}
443XRAPI_ATTR XrResult XRAPI_CALL
445
446//! OpenXR API function @ep{xrSessionInsertDebugUtilsLabelEXT}
447XRAPI_ATTR XrResult XRAPI_CALL
448oxr_xrSessionInsertDebugUtilsLabelEXT(XrSession session, const XrDebugUtilsLabelEXT *labelInfo);
449
450
451/*
452 *
453 * oxr_api_action.c
454 *
455 */
456
457//! OpenXR API function @ep{xrCreateActionSpace}
458XRAPI_ATTR XrResult XRAPI_CALL
459oxr_xrCreateActionSpace(XrSession session, const XrActionSpaceCreateInfo *createInfo, XrSpace *space);
460
461//! OpenXR API function @ep{xrCreateActionSet}
462XRAPI_ATTR XrResult XRAPI_CALL
463oxr_xrCreateActionSet(XrInstance instance, const XrActionSetCreateInfo *createInfo, XrActionSet *actionSet);
464
465//! OpenXR API function @ep{xrDestroyActionSet}
466XRAPI_ATTR XrResult XRAPI_CALL
467oxr_xrDestroyActionSet(XrActionSet actionSet);
468
469//! OpenXR API function @ep{xrCreateAction}
470XRAPI_ATTR XrResult XRAPI_CALL
471oxr_xrCreateAction(XrActionSet actionSet, const XrActionCreateInfo *createInfo, XrAction *action);
472
473//! OpenXR API function @ep{xrDestroyAction}
474XRAPI_ATTR XrResult XRAPI_CALL
475oxr_xrDestroyAction(XrAction action);
476
477//! OpenXR API function @ep{xrSuggestInteractionProfileBindings}
478XRAPI_ATTR XrResult XRAPI_CALL
480 const XrInteractionProfileSuggestedBinding *suggestedBindings);
481
482//! OpenXR API function @ep{xrAttachSessionActionSets}
483XRAPI_ATTR XrResult XRAPI_CALL
484oxr_xrAttachSessionActionSets(XrSession session, const XrSessionActionSetsAttachInfo *bindInfo);
485
486//! OpenXR API function @ep{xrGetCurrentInteractionProfile}
487XRAPI_ATTR XrResult XRAPI_CALL
488oxr_xrGetCurrentInteractionProfile(XrSession session,
489 XrPath topLevelUserPath,
490 XrInteractionProfileState *interactionProfile);
491
492//! OpenXR API function @ep{xrGetActionStateBoolean}
493XRAPI_ATTR XrResult XRAPI_CALL
494oxr_xrGetActionStateBoolean(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateBoolean *data);
495
496//! OpenXR API function @ep{xrGetActionStateFloat}
497XRAPI_ATTR XrResult XRAPI_CALL
498oxr_xrGetActionStateFloat(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateFloat *data);
499
500//! OpenXR API function @ep{xrGetActionStateVector2f}
501XRAPI_ATTR XrResult XRAPI_CALL
502oxr_xrGetActionStateVector2f(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateVector2f *data);
503
504//! OpenXR API function @ep{xrGetActionStatePose}
505XRAPI_ATTR XrResult XRAPI_CALL
506oxr_xrGetActionStatePose(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStatePose *data);
507
508//! OpenXR API function @ep{xrSyncActions}
509XRAPI_ATTR XrResult XRAPI_CALL
510oxr_xrSyncActions(XrSession session, const XrActionsSyncInfo *syncInfo);
511
512//! OpenXR API function @ep{xrEnumerateBoundSourcesForAction}
513XRAPI_ATTR XrResult XRAPI_CALL
515 const XrBoundSourcesForActionEnumerateInfo *enumerateInfo,
516 uint32_t sourceCapacityInput,
517 uint32_t *sourceCountOutput,
518 XrPath *sources);
519
520//! OpenXR API function @ep{xrGetInputSourceLocalizedName}
521XRAPI_ATTR XrResult XRAPI_CALL
522oxr_xrGetInputSourceLocalizedName(XrSession session,
523 const XrInputSourceLocalizedNameGetInfo *getInfo,
524 uint32_t bufferCapacityInput,
525 uint32_t *bufferCountOutput,
526 char *buffer);
527
528//! OpenXR API function @ep{xrApplyHapticFeedback}
529XRAPI_ATTR XrResult XRAPI_CALL
530oxr_xrApplyHapticFeedback(XrSession session,
531 const XrHapticActionInfo *hapticActionInfo,
532 const XrHapticBaseHeader *hapticEvent);
533
534//! OpenXR API function @ep{xrStopHapticFeedback}
535XRAPI_ATTR XrResult XRAPI_CALL
536oxr_xrStopHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo);
537
538//! OpenXR API function @ep{xrCreateHandTrackerEXT}
539XRAPI_ATTR XrResult XRAPI_CALL
541 const XrHandTrackerCreateInfoEXT *createInfo,
542 XrHandTrackerEXT *handTracker);
543
544//! OpenXR API function @ep{xrDestroyHandTrackerEXT}
545XRAPI_ATTR XrResult XRAPI_CALL
546oxr_xrDestroyHandTrackerEXT(XrHandTrackerEXT handTracker);
547
548//! OpenXR API function @ep{xrLocateHandJointsEXT}
549XRAPI_ATTR XrResult XRAPI_CALL
550oxr_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker,
551 const XrHandJointsLocateInfoEXT *locateInfo,
552 XrHandJointLocationsEXT *locations);
553
554//! OpenXR API function @ep{xrApplyForceFeedbackCurlMNDX}
555XRAPI_ATTR XrResult XRAPI_CALL
556oxr_xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, const XrForceFeedbackCurlApplyLocationsMNDX *locations);
557
558
559//! OpenXR API function @ep{xrEnumerateDisplayRefreshRatesFB}
560XRAPI_ATTR XrResult XRAPI_CALL
562 uint32_t displayRefreshRateCapacityInput,
563 uint32_t *displayRefreshRateCountOutput,
564 float *displayRefreshRates);
565
566//! OpenXR API function @ep{xrGetDisplayRefreshRateFB}
567XRAPI_ATTR XrResult XRAPI_CALL
568oxr_xrGetDisplayRefreshRateFB(XrSession session, float *displayRefreshRate);
569
570//! OpenXR API function @ep{xrRequestDisplayRefreshRateFB}
571XRAPI_ATTR XrResult XRAPI_CALL
572oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate);
573
574
575//! OpenXR API function @ep{xrLocateSpacesKHR}
576XRAPI_ATTR XrResult XRAPI_CALL
577oxr_xrLocateSpacesKHR(XrSession session, const XrSpacesLocateInfoKHR *locateInfo, XrSpaceLocationsKHR *spaceLocations);
578
579//! OpenXR API function @ep{xrLocateSpaces}
580XRAPI_ATTR XrResult XRAPI_CALL
581oxr_xrLocateSpaces(XrSession session, const XrSpacesLocateInfo *locateInfo, XrSpaceLocations *spaceLocations);
582
583/*
584 *
585 * oxr_api_passthrough.c
586 *
587 */
588#ifdef OXR_HAVE_FB_passthrough
589XRAPI_ATTR XrResult XRAPI_CALL
590oxr_xrCreateGeometryInstanceFB(XrSession session,
591 const XrGeometryInstanceCreateInfoFB *createInfo,
592 XrGeometryInstanceFB *outGeometryInstance);
593XRAPI_ATTR XrResult XRAPI_CALL
594oxr_xrCreatePassthroughFB(XrSession session,
595 const XrPassthroughCreateInfoFB *createInfo,
596 XrPassthroughFB *outPassthrough);
597XRAPI_ATTR XrResult XRAPI_CALL
598oxr_xrCreatePassthroughLayerFB(XrSession session,
599 const XrPassthroughLayerCreateInfoFB *createInfo,
600 XrPassthroughLayerFB *outLayer);
601XRAPI_ATTR XrResult XRAPI_CALL
602oxr_xrDestroyGeometryInstanceFB(XrGeometryInstanceFB instance);
603XRAPI_ATTR XrResult XRAPI_CALL
604oxr_xrDestroyPassthroughFB(XrPassthroughFB passthrough);
605XRAPI_ATTR XrResult XRAPI_CALL
606oxr_xrDestroyPassthroughLayerFB(XrPassthroughLayerFB layer);
607XRAPI_ATTR XrResult XRAPI_CALL
608oxr_xrGeometryInstanceSetTransformFB(XrGeometryInstanceFB instance,
609 const XrGeometryInstanceTransformFB *transformation);
610XRAPI_ATTR XrResult XRAPI_CALL
611oxr_xrPassthroughLayerPauseFB(XrPassthroughLayerFB layer);
612XRAPI_ATTR XrResult XRAPI_CALL
613oxr_xrPassthroughLayerResumeFB(XrPassthroughLayerFB layer);
614XRAPI_ATTR XrResult XRAPI_CALL
615oxr_xrPassthroughLayerSetStyleFB(XrPassthroughLayerFB layer, const XrPassthroughStyleFB *style);
616XRAPI_ATTR XrResult XRAPI_CALL
617oxr_xrPassthroughPauseFB(XrPassthroughFB passthrough);
618XRAPI_ATTR XrResult XRAPI_CALL
619oxr_xrPassthroughStartFB(XrPassthroughFB passthrough);
620#endif
621
622#ifdef OXR_HAVE_HTC_facial_tracking
623//! OpenXR API function @ep{xrCreateFacialTrackerHTC}
624XRAPI_ATTR XrResult XRAPI_CALL
625oxr_xrCreateFacialTrackerHTC(XrSession session,
626 const XrFacialTrackerCreateInfoHTC *createInfo,
627 XrFacialTrackerHTC *facialTracker);
628
629//! OpenXR API function @ep{xrDestroyFacialTrackerHTC}
630XRAPI_ATTR XrResult XRAPI_CALL
631oxr_xrDestroyFacialTrackerHTC(XrFacialTrackerHTC facialTracker);
632
633//! OpenXR API function @ep{xrGetFacialExpressionsHTC}
634XRAPI_ATTR XrResult XRAPI_CALL
635oxr_xrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, XrFacialExpressionsHTC *facialExpressions);
636#endif
637
638#ifdef OXR_HAVE_FB_body_tracking
639//! OpenXR API function @ep{xrCreateBodyTrackerFB}
640XRAPI_ATTR XrResult XRAPI_CALL
641oxr_xrCreateBodyTrackerFB(XrSession session, const XrBodyTrackerCreateInfoFB *createInfo, XrBodyTrackerFB *bodyTracker);
642
643//! OpenXR API function @ep{xrDestroyBodyTrackerFB}
644XRAPI_ATTR XrResult XRAPI_CALL
645oxr_xrDestroyBodyTrackerFB(XrBodyTrackerFB bodyTracker);
646
647//! OpenXR API function @ep{xrGetBodySkeletonFB}
648XRAPI_ATTR XrResult XRAPI_CALL
649oxr_xrGetBodySkeletonFB(XrBodyTrackerFB bodyTracker, XrBodySkeletonFB *skeleton);
650
651//! OpenXR API function @ep{xrLocateBodyJointsFB}
652XRAPI_ATTR XrResult XRAPI_CALL
653oxr_xrLocateBodyJointsFB(XrBodyTrackerFB bodyTracker,
654 const XrBodyJointsLocateInfoFB *locateInfo,
655 XrBodyJointLocationsFB *locations);
656#endif
657
658#ifdef OXR_HAVE_FB_face_tracking2
659//! OpenXR API function @ep{xrCreateFaceTracker2FB}
660XRAPI_ATTR XrResult XRAPI_CALL
661oxr_xrCreateFaceTracker2FB(XrSession session,
662 const XrFaceTrackerCreateInfo2FB *createInfo,
663 XrFaceTracker2FB *faceTracker);
664
665//! OpenXR API function @ep{xrDestroyFaceTracker2FB}
666XRAPI_ATTR XrResult XRAPI_CALL
667oxr_xrDestroyFaceTracker2FB(XrFaceTracker2FB faceTracker);
668
669//! OpenXR API function @ep{xrGetFaceExpressionWeights2FB}
670XRAPI_ATTR XrResult XRAPI_CALL
671oxr_xrGetFaceExpressionWeights2FB(XrFaceTracker2FB faceTracker,
672 const XrFaceExpressionInfo2FB *expressionInfo,
673 XrFaceExpressionWeights2FB *expressionWeights);
674#endif
675
676/*
677 *
678 * oxr_api_xdev.c
679 *
680 */
681
682#ifdef OXR_HAVE_MNDX_xdev_space
683//! OpenXR API function @ep{xrCreateXDevListMNDX}
684XRAPI_ATTR XrResult XRAPI_CALL
685oxr_xrCreateXDevListMNDX(XrSession session, const XrCreateXDevListInfoMNDX *info, XrXDevListMNDX *xdevList);
686
687//! OpenXR API function @ep{xrGetXDevListGenerationNumberMNDX}
688XRAPI_ATTR XrResult XRAPI_CALL
689oxr_xrGetXDevListGenerationNumberMNDX(XrXDevListMNDX session, uint64_t *outGeneration);
690
691//! OpenXR API function @ep{xrEnumerateXDevsMNDX}
692XRAPI_ATTR XrResult XRAPI_CALL
693oxr_xrEnumerateXDevsMNDX(XrXDevListMNDX xdevList,
694 uint32_t xdevCapacityInput,
695 uint32_t *xdevCountOutput,
696 XrXDevIdMNDX *xdevs);
697
698//! OpenXR API function @ep{xrGetXDevProperty}
699XRAPI_ATTR XrResult XRAPI_CALL
700oxr_xrGetXDevPropertiesMNDX(XrXDevListMNDX xdevList, const XrGetXDevInfoMNDX *info, XrXDevPropertiesMNDX *properties);
701
702//! OpenXR API function @ep{xrDestroyXDevListMNDX}
703XRAPI_ATTR XrResult XRAPI_CALL
704oxr_xrDestroyXDevListMNDX(XrXDevListMNDX xdevList);
705
706//! OpenXR API function @ep{xrCreateXDevSpace}
707XRAPI_ATTR XrResult XRAPI_CALL
708oxr_xrCreateXDevSpaceMNDX(XrSession session, const XrCreateXDevSpaceInfoMNDX *createInfo, XrSpace *space);
709#endif
710
711
712/*!
713 * @}
714 */
715
716
717#ifdef __cplusplus
718}
719#endif
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySwapchain(XrSwapchain swapchain)
OpenXR API function xrDestroySwapchain.
Definition: oxr_api_swapchain.c:151
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateReferenceSpaces(XrSession session, uint32_t spaceCapacityInput, uint32_t *spaceCountOutput, XrReferenceSpaceType *spaces)
OpenXR API function xrEnumerateReferenceSpaces.
Definition: oxr_api_space.c:134
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateFloat(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateFloat *data)
OpenXR API function xrGetActionStateFloat.
Definition: oxr_api_action.c:645
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrReleaseSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageReleaseInfo *releaseInfo)
OpenXR API function xrReleaseSwapchainImage.
Definition: oxr_api_swapchain.c:219
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateViewConfigurationViews(XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrViewConfigurationView *views)
OpenXR API function xrEnumerateViewConfigurationViews.
Definition: oxr_api_system.c:153
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsDevice2KHR(XrInstance instance, const XrVulkanGraphicsDeviceGetInfoKHR *getInfo, VkPhysicalDevice *vkPhysicalDevice)
OpenXR API function xrGetVulkanGraphicsDeviceKHR.
Definition: oxr_api_system.c:317
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetSystemProperties(XrInstance instance, XrSystemId systemId, XrSystemProperties *properties)
OpenXR API function xrGetSystemProperties.
Definition: oxr_api_system.c:77
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSubmitDebugUtilsMessageEXT(XrInstance instance, XrDebugUtilsMessageSeverityFlagsEXT messageSeverity, XrDebugUtilsMessageTypeFlagsEXT messageTypes, const XrDebugUtilsMessengerCallbackDataEXT *callbackData)
OpenXR API function xrSubmitDebugUtilsMessageEXT.
Definition: oxr_api_debug.c:72
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanInstanceExtensionsKHR(XrInstance instance, XrSystemId systemId, uint32_t namesCapacityInput, uint32_t *namesCountOutput, char *namesString)
OpenXR API function xrGetVulkanInstanceExtensionsKHR.
Definition: oxr_api_system.c:259
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStatePose(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStatePose *data)
OpenXR API function xrGetActionStatePose.
Definition: oxr_api_action.c:703
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateHandTrackerEXT(XrSession session, const XrHandTrackerCreateInfoEXT *createInfo, XrHandTrackerEXT *handTracker)
OpenXR API function xrCreateHandTrackerEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInputSourceLocalizedName(XrSession session, const XrInputSourceLocalizedNameGetInfo *getInfo, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer)
OpenXR API function xrGetInputSourceLocalizedName.
Definition: oxr_api_action.c:409
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPollEvent(XrInstance instance, XrEventDataBuffer *eventData)
OpenXR API function xrPollEvent.
Definition: oxr_api_instance.c:236
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySession(XrSession session)
OpenXR API function xrDestroySession.
Definition: oxr_api_session.c:66
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrConvertTimeToTimespecTimeKHR(XrInstance instance, XrTime time, struct timespec *timespecTime)
OpenXR API function xrConvertTimeToTimespecTimeKHR.
Definition: oxr_api_instance.c:365
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpaces(XrSession session, const XrSpacesLocateInfo *locateInfo, XrSpaceLocations *spaceLocations)
OpenXR API function xrLocateSpaces.
Definition: oxr_api_space.c:332
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSwapchain(XrSession session, const XrSwapchainCreateInfo *createInfo, XrSwapchain *swapchain)
OpenXR API function xrCreateSwapchain.
Definition: oxr_api_swapchain.c:45
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyActionSet(XrActionSet actionSet)
OpenXR API function xrDestroyActionSet.
Definition: oxr_api_action.c:520
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSpace(XrSession session, const XrActionSpaceCreateInfo *createInfo, XrSpace *space)
OpenXR API function xrCreateActionSpace.
Definition: oxr_api_space.c:109
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainImages(XrSwapchain swapchain, uint32_t imageCapacityInput, uint32_t *imageCountOutput, XrSwapchainImageBaseHeader *images)
OpenXR API function xrEnumerateSwapchainImages.
Definition: oxr_api_swapchain.c:163
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageWaitInfo *waitInfo)
OpenXR API function xrWaitSwapchainImage.
Definition: oxr_api_swapchain.c:205
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetCurrentInteractionProfile(XrSession session, XrPath topLevelUserPath, XrInteractionProfileState *interactionProfile)
OpenXR API function xrGetCurrentInteractionProfile.
Definition: oxr_api_action.c:359
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanDeviceExtensionsKHR(XrInstance instance, XrSystemId systemId, uint32_t namesCapacityInput, uint32_t *namesCountOutput, char *namesString)
OpenXR API function xrGetVulkanDeviceExtensionsKHR.
Definition: oxr_api_system.c:277
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySpace(XrSpace space)
OpenXR API function xrDestroySpace.
Definition: oxr_api_space.c:243
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyHandTrackerEXT(XrHandTrackerEXT handTracker)
OpenXR API function xrDestroyHandTrackerEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestExitSession(XrSession session)
OpenXR API function xrRequestExitSession.
Definition: oxr_api_session.c:209
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, const XrForceFeedbackCurlApplyLocationsMNDX *locations)
OpenXR API function xrApplyForceFeedbackCurlMNDX.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProcAddr(XrInstance instance, const char *name, PFN_xrVoidFunction *function)
OpenXR API function xrGetInstanceProcAddr.
Definition: oxr_api_negotiate.c:386
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsRequirements2KHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkan2KHR *graphicsRequirements)
OpenXR API function xrGetVulkanGraphicsRequirements2KHR.
Definition: oxr_api_system.c:354
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitFrame(XrSession session, const XrFrameWaitInfo *frameWaitInfo, XrFrameState *frameState)
OpenXR API function xrWaitFrame.
Definition: oxr_api_session.c:126
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAttachSessionActionSets(XrSession session, const XrSessionActionSetsAttachInfo *bindInfo)
OpenXR API function xrAttachSessionActionSets.
Definition: oxr_api_action.c:166
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProperties(XrInstance instance, XrInstanceProperties *instanceProperties)
OpenXR API function xrGetInstanceProperties.
Definition: oxr_api_instance.c:224
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStopHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo)
OpenXR API function xrStopHapticFeedback.
Definition: oxr_api_action.c:797
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainFormats(XrSession session, uint32_t formatCapacityInput, uint32_t *formatCountOutput, int64_t *formats)
OpenXR API function xrEnumerateSwapchainFormats.
Definition: oxr_api_swapchain.c:29
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionEndDebugUtilsLabelRegionEXT(XrSession session)
OpenXR API function xrSessionEndDebugUtilsLabelRegionEXT.
Definition: oxr_api_debug.c:103
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSyncActions(XrSession session, const XrActionsSyncInfo *syncInfo)
OpenXR API function xrSyncActions.
Definition: oxr_api_action.c:125
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginSession(XrSession session, const XrSessionBeginInfo *beginInfo)
OpenXR API function xrBeginSession.
Definition: oxr_api_session.c:88
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR *graphicsRequirements)
OpenXR API function xrGetVulkanGraphicsRequirementsKHR.
Definition: oxr_api_system.c:337
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionInsertDebugUtilsLabelEXT(XrSession session, const XrDebugUtilsLabelEXT *labelInfo)
OpenXR API function xrSessionInsertDebugUtilsLabelEXT.
Definition: oxr_api_debug.c:117
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateViewConfigurations(XrInstance instance, XrSystemId systemId, uint32_t viewConfigurationTypeCapacityInput, uint32_t *viewConfigurationTypeCountOutput, XrViewConfigurationType *viewConfigurationTypes)
OpenXR API function xrEnumerateViewConfigurations.
Definition: oxr_api_system.c:91
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndFrame(XrSession session, const XrFrameEndInfo *frameEndInfo)
OpenXR API function xrEndFrame.
Definition: oxr_api_session.c:169
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginFrame(XrSession session, const XrFrameBeginInfo *frameBeginInfo)
OpenXR API function xrBeginFrame.
Definition: oxr_api_session.c:143
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndSession(XrSession session)
OpenXR API function xrEndSession.
Definition: oxr_api_session.c:112
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateReferenceSpace(XrSession session, const XrReferenceSpaceCreateInfo *createInfo, XrSpace *space)
OpenXR API function xrCreateReferenceSpace.
Definition: oxr_api_space.c:181
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyAction(XrAction action)
OpenXR API function xrDestroyAction.
Definition: oxr_api_action.c:604
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrConvertTimespecTimeToTimeKHR(XrInstance instance, const struct timespec *timespecTime, XrTime *time)
OpenXR API function xrConvertTimespecTimeToTimeKHR.
Definition: oxr_api_instance.c:349
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetSystem(XrInstance instance, const XrSystemGetInfo *getInfo, XrSystemId *systemId)
OpenXR API function xrGetSystem.
Definition: oxr_api_system.c:52
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateDebugUtilsMessengerEXT(XrInstance instance, const XrDebugUtilsMessengerCreateInfoEXT *createInfo, XrDebugUtilsMessengerEXT *messenger)
OpenXR API function xrCreateDebugUtilsMessengerEXT.
Definition: oxr_api_debug.c:33
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetDisplayRefreshRateFB(XrSession session, float *displayRefreshRate)
OpenXR API function xrGetDisplayRefreshRateFB.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
OpenXR API function xrRequestDisplayRefreshRateFB.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStructureTypeToString(XrInstance instance, XrStructureType value, char buffer[XR_MAX_STRUCTURE_NAME_SIZE])
OpenXR API function xrStructureTypeToString.
Definition: oxr_api_instance.c:272
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrResultToString(XrInstance instance, XrResult value, char buffer[XR_MAX_RESULT_STRING_SIZE])
OpenXR API function xrResultToString.
Definition: oxr_api_instance.c:249
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateVulkanDeviceKHR(XrInstance instance, const XrVulkanDeviceCreateInfoKHR *createInfo, VkDevice *vulkanDevice, VkResult *vulkanResult)
OpenXR API function xrCreateVulkanDeviceKHR.
Definition: oxr_api_system.c:405
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetViewConfigurationProperties(XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, XrViewConfigurationProperties *configurationProperties)
OpenXR API function xrGetViewConfigurationProperties.
Definition: oxr_api_system.c:136
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSetDebugUtilsObjectNameEXT(XrInstance instance, const XrDebugUtilsObjectNameInfoEXT *nameInfo)
OpenXR API function xrSetDebugUtilsObjectNameEXT.
Definition: oxr_api_debug.c:21
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSet(XrInstance instance, const XrActionSetCreateInfo *createInfo, XrActionSet *actionSet)
OpenXR API function xrCreateActionSet.
Definition: oxr_api_action.c:469
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateApiLayerProperties(uint32_t propertyCapacityInput, uint32_t *propertyCountOutput, XrApiLayerProperties *properties)
OpenXR API function xrEnumerateApiLayerProperties.
Definition: oxr_api_negotiate.c:89
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateAction(XrActionSet actionSet, const XrActionCreateInfo *createInfo, XrAction *action)
OpenXR API function xrCreateAction.
Definition: oxr_api_action.c:539
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateDisplayRefreshRatesFB(XrSession session, uint32_t displayRefreshRateCapacityInput, uint32_t *displayRefreshRateCountOutput, float *displayRefreshRates)
OpenXR API function xrEnumerateDisplayRefreshRatesFB.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyDebugUtilsMessengerEXT(XrDebugUtilsMessengerEXT messenger)
OpenXR API function xrDestroyDebugUtilsMessengerEXT.
Definition: oxr_api_debug.c:59
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker, const XrHandJointsLocateInfoEXT *locateInfo, XrHandJointLocationsEXT *locations)
OpenXR API function xrLocateHandJointsEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateEnvironmentBlendModes(XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t environmentBlendModeCapacityInput, uint32_t *environmentBlendModeCountOutput, XrEnvironmentBlendMode *environmentBlendModes)
OpenXR API function xrEnumerateEnvironmentBlendModes.
Definition: oxr_api_system.c:109
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateInstance(const XrInstanceCreateInfo *createInfo, XrInstance *instance)
OpenXR API function xrCreateInstance.
Definition: oxr_api_instance.c:133
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSuggestInteractionProfileBindings(XrInstance instance, const XrInteractionProfileSuggestedBinding *suggestedBindings)
OpenXR API function xrSuggestInteractionProfileBindings.
Definition: oxr_api_action.c:197
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateVulkanInstanceKHR(XrInstance instance, const XrVulkanInstanceCreateInfoKHR *createInfo, VkInstance *vulkanInstance, VkResult *vulkanResult)
OpenXR API function xrCreateVulkanInstanceKHR.
Definition: oxr_api_system.c:373
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateBoundSourcesForAction(XrSession session, const XrBoundSourcesForActionEnumerateInfo *enumerateInfo, uint32_t sourceCapacityInput, uint32_t *sourceCountOutput, XrPath *sources)
OpenXR API function xrEnumerateBoundSourcesForAction.
Definition: oxr_api_action.c:732
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateBoolean(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateBoolean *data)
OpenXR API function xrGetActionStateBoolean.
Definition: oxr_api_action.c:616
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetOpenGLGraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLKHR *graphicsRequirements)
OpenXR API function xrGetOpenGLGraphicsRequirementsKHR.
Definition: oxr_api_system.c:222
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetReferenceSpaceBoundsRect(XrSession session, XrReferenceSpaceType referenceSpaceType, XrExtent2Df *bounds)
OpenXR API function xrGetReferenceSpaceBoundsRect.
Definition: oxr_api_space.c:156
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, const XrDebugUtilsLabelEXT *labelInfo)
OpenXR API function xrSessionBeginDebugUtilsLabelRegionEXT.
Definition: oxr_api_debug.c:89
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsDeviceKHR(XrInstance instance, XrSystemId systemId, VkInstance vkInstance, VkPhysicalDevice *vkPhysicalDevice)
OpenXR API function xrGetVulkanGraphicsDeviceKHR.
Definition: oxr_api_system.c:299
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAcquireSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageAcquireInfo *acquireInfo, uint32_t *index)
OpenXR API function xrAcquireSwapchainImage.
Definition: oxr_api_swapchain.c:190
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPathToString(XrInstance instance, XrPath path, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer)
OpenXR API function xrPathToString.
Definition: oxr_api_instance.c:319
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyInstance(XrInstance instance)
OpenXR API function xrDestroyInstance.
Definition: oxr_api_instance.c:212
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSession(XrInstance instance, const XrSessionCreateInfo *createInfo, XrSession *session)
OpenXR API function xrCreateSession.
Definition: oxr_api_session.c:32
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateViews(XrSession session, const XrViewLocateInfo *viewLocateInfo, XrViewState *viewState, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrView *views)
OpenXR API function xrLocateViews.
Definition: oxr_api_session.c:223
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpace(XrSpace space, XrSpace baseSpace, XrTime time, XrSpaceLocation *location)
OpenXR API function xrLocateSpace.
Definition: oxr_api_space.c:223
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo, const XrHapticBaseHeader *hapticEvent)
OpenXR API function xrApplyHapticFeedback.
Definition: oxr_api_action.c:766
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStringToPath(XrInstance instance, const char *pathString, XrPath *path)
OpenXR API function xrStringToPath.
Definition: oxr_api_instance.c:293
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateInstanceExtensionProperties(const char *layerName, uint32_t propertyCapacityInput, uint32_t *propertyCountOutput, XrExtensionProperties *properties)
OpenXR API function xrEnumerateInstanceExtensionProperties.
Definition: oxr_api_instance.c:43
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateVector2f(XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateVector2f *data)
OpenXR API function xrGetActionStateVector2f.
Definition: oxr_api_action.c:674
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpacesKHR(XrSession session, const XrSpacesLocateInfoKHR *locateInfo, XrSpaceLocationsKHR *spaceLocations)
OpenXR API function xrLocateSpacesKHR.
Macros for generating extension-related tables and code and inspecting Monado's extension support.