mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
ext/openxr: Update headers to 1.0.19
This commit is contained in:
parent
cc4e46b3ec
commit
8de97f197f
1002
src/external/openxr_includes/openxr/openxr.h
vendored
1002
src/external/openxr_includes/openxr/openxr.h
vendored
File diff suppressed because it is too large
Load diff
|
@ -35,11 +35,13 @@ typedef enum XrAndroidThreadTypeKHR {
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrSetAndroidApplicationThreadKHR)(XrSession session, XrAndroidThreadTypeKHR threadType, uint32_t threadId);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrSetAndroidApplicationThreadKHR(
|
||||
XrSession session,
|
||||
XrAndroidThreadTypeKHR threadType,
|
||||
uint32_t threadId);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_PLATFORM_ANDROID */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
|
@ -50,12 +52,14 @@ XRAPI_ATTR XrResult XRAPI_CALL xrSetAndroidApplicationThreadKHR(
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrCreateSwapchainAndroidSurfaceKHR)(XrSession session, const XrSwapchainCreateInfo* info, XrSwapchain* swapchain, jobject* surface);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrCreateSwapchainAndroidSurfaceKHR(
|
||||
XrSession session,
|
||||
const XrSwapchainCreateInfo* info,
|
||||
XrSwapchain* swapchain,
|
||||
jobject* surface);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_PLATFORM_ANDROID */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
|
@ -63,6 +67,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrCreateSwapchainAndroidSurfaceKHR(
|
|||
#define XR_KHR_android_create_instance 1
|
||||
#define XR_KHR_android_create_instance_SPEC_VERSION 3
|
||||
#define XR_KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME "XR_KHR_android_create_instance"
|
||||
// XrInstanceCreateInfoAndroidKHR extends XrInstanceCreateInfo
|
||||
typedef struct XrInstanceCreateInfoAndroidKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -75,7 +80,7 @@ typedef struct XrInstanceCreateInfoAndroidKHR {
|
|||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
|
||||
#define XR_KHR_vulkan_swapchain_format_list 1
|
||||
#define XR_KHR_vulkan_swapchain_format_list_SPEC_VERSION 3
|
||||
#define XR_KHR_vulkan_swapchain_format_list_SPEC_VERSION 4
|
||||
#define XR_KHR_VULKAN_SWAPCHAIN_FORMAT_LIST_EXTENSION_NAME "XR_KHR_vulkan_swapchain_format_list"
|
||||
typedef struct XrVulkanSwapchainFormatListCreateInfoKHR {
|
||||
XrStructureType type;
|
||||
|
@ -92,6 +97,7 @@ typedef struct XrVulkanSwapchainFormatListCreateInfoKHR {
|
|||
#define XR_KHR_opengl_enable_SPEC_VERSION 9
|
||||
#define XR_KHR_OPENGL_ENABLE_EXTENSION_NAME "XR_KHR_opengl_enable"
|
||||
#ifdef XR_USE_PLATFORM_WIN32
|
||||
// XrGraphicsBindingOpenGLWin32KHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingOpenGLWin32KHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -101,6 +107,7 @@ typedef struct XrGraphicsBindingOpenGLWin32KHR {
|
|||
#endif // XR_USE_PLATFORM_WIN32
|
||||
|
||||
#ifdef XR_USE_PLATFORM_XLIB
|
||||
// XrGraphicsBindingOpenGLXlibKHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingOpenGLXlibKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -113,6 +120,7 @@ typedef struct XrGraphicsBindingOpenGLXlibKHR {
|
|||
#endif // XR_USE_PLATFORM_XLIB
|
||||
|
||||
#ifdef XR_USE_PLATFORM_XCB
|
||||
// XrGraphicsBindingOpenGLXcbKHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingOpenGLXcbKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -126,6 +134,7 @@ typedef struct XrGraphicsBindingOpenGLXcbKHR {
|
|||
#endif // XR_USE_PLATFORM_XCB
|
||||
|
||||
#ifdef XR_USE_PLATFORM_WAYLAND
|
||||
// XrGraphicsBindingOpenGLWaylandKHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingOpenGLWaylandKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -149,11 +158,13 @@ typedef struct XrGraphicsRequirementsOpenGLKHR {
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrGetOpenGLGraphicsRequirementsKHR)(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLKHR* graphicsRequirements);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetOpenGLGraphicsRequirementsKHR(
|
||||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
XrGraphicsRequirementsOpenGLKHR* graphicsRequirements);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_GRAPHICS_API_OPENGL */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_OPENGL_ES
|
||||
|
@ -162,6 +173,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetOpenGLGraphicsRequirementsKHR(
|
|||
#define XR_KHR_opengl_es_enable_SPEC_VERSION 7
|
||||
#define XR_KHR_OPENGL_ES_ENABLE_EXTENSION_NAME "XR_KHR_opengl_es_enable"
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
// XrGraphicsBindingOpenGLESAndroidKHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingOpenGLESAndroidKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -187,18 +199,21 @@ typedef struct XrGraphicsRequirementsOpenGLESKHR {
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrGetOpenGLESGraphicsRequirementsKHR)(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLESKHR* graphicsRequirements);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetOpenGLESGraphicsRequirementsKHR(
|
||||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
XrGraphicsRequirementsOpenGLESKHR* graphicsRequirements);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_GRAPHICS_API_OPENGL_ES */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
|
||||
#define XR_KHR_vulkan_enable 1
|
||||
#define XR_KHR_vulkan_enable_SPEC_VERSION 7
|
||||
#define XR_KHR_vulkan_enable_SPEC_VERSION 8
|
||||
#define XR_KHR_VULKAN_ENABLE_EXTENSION_NAME "XR_KHR_vulkan_enable"
|
||||
// XrGraphicsBindingVulkanKHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingVulkanKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -228,6 +243,7 @@ typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanGraphicsDeviceKHR)(XrInstance instan
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanGraphicsRequirementsKHR)(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR* graphicsRequirements);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetVulkanInstanceExtensionsKHR(
|
||||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
|
@ -252,7 +268,8 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetVulkanGraphicsRequirementsKHR(
|
|||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
XrGraphicsRequirementsVulkanKHR* graphicsRequirements);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_GRAPHICS_API_VULKAN */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_D3D11
|
||||
|
@ -260,6 +277,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetVulkanGraphicsRequirementsKHR(
|
|||
#define XR_KHR_D3D11_enable 1
|
||||
#define XR_KHR_D3D11_enable_SPEC_VERSION 5
|
||||
#define XR_KHR_D3D11_ENABLE_EXTENSION_NAME "XR_KHR_D3D11_enable"
|
||||
// XrGraphicsBindingD3D11KHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingD3D11KHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -282,11 +300,13 @@ typedef struct XrGraphicsRequirementsD3D11KHR {
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrGetD3D11GraphicsRequirementsKHR)(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsD3D11KHR* graphicsRequirements);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetD3D11GraphicsRequirementsKHR(
|
||||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
XrGraphicsRequirementsD3D11KHR* graphicsRequirements);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_GRAPHICS_API_D3D11 */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_D3D12
|
||||
|
@ -294,6 +314,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetD3D11GraphicsRequirementsKHR(
|
|||
#define XR_KHR_D3D12_enable 1
|
||||
#define XR_KHR_D3D12_enable_SPEC_VERSION 7
|
||||
#define XR_KHR_D3D12_ENABLE_EXTENSION_NAME "XR_KHR_D3D12_enable"
|
||||
// XrGraphicsBindingD3D12KHR extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingD3D12KHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -317,11 +338,13 @@ typedef struct XrGraphicsRequirementsD3D12KHR {
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrGetD3D12GraphicsRequirementsKHR)(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsD3D12KHR* graphicsRequirements);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetD3D12GraphicsRequirementsKHR(
|
||||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
XrGraphicsRequirementsD3D12KHR* graphicsRequirements);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_GRAPHICS_API_D3D12 */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_WIN32
|
||||
|
@ -333,6 +356,7 @@ typedef XrResult (XRAPI_PTR *PFN_xrConvertWin32PerformanceCounterToTimeKHR)(XrIn
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrConvertTimeToWin32PerformanceCounterKHR)(XrInstance instance, XrTime time, LARGE_INTEGER* performanceCounter);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrConvertWin32PerformanceCounterToTimeKHR(
|
||||
XrInstance instance,
|
||||
const LARGE_INTEGER* performanceCounter,
|
||||
|
@ -342,7 +366,8 @@ XRAPI_ATTR XrResult XRAPI_CALL xrConvertTimeToWin32PerformanceCounterKHR(
|
|||
XrInstance instance,
|
||||
XrTime time,
|
||||
LARGE_INTEGER* performanceCounter);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_PLATFORM_WIN32 */
|
||||
|
||||
#ifdef XR_USE_TIMESPEC
|
||||
|
@ -354,6 +379,7 @@ typedef XrResult (XRAPI_PTR *PFN_xrConvertTimespecTimeToTimeKHR)(XrInstance inst
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrConvertTimeToTimespecTimeKHR)(XrInstance instance, XrTime time, struct timespec* timespecTime);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrConvertTimespecTimeToTimeKHR(
|
||||
XrInstance instance,
|
||||
const struct timespec* timespecTime,
|
||||
|
@ -363,7 +389,8 @@ XRAPI_ATTR XrResult XRAPI_CALL xrConvertTimeToTimespecTimeKHR(
|
|||
XrInstance instance,
|
||||
XrTime time,
|
||||
struct timespec* timespecTime);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_TIMESPEC */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
|
@ -383,7 +410,7 @@ typedef struct XrLoaderInitInfoAndroidKHR {
|
|||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
|
||||
#define XR_KHR_vulkan_enable2 1
|
||||
#define XR_KHR_vulkan_enable2_SPEC_VERSION 1
|
||||
#define XR_KHR_vulkan_enable2_SPEC_VERSION 2
|
||||
#define XR_KHR_VULKAN_ENABLE2_EXTENSION_NAME "XR_KHR_vulkan_enable2"
|
||||
typedef XrFlags64 XrVulkanInstanceCreateFlagsKHR;
|
||||
|
||||
|
@ -433,6 +460,7 @@ typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanGraphicsDevice2KHR)(XrInstance
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanGraphicsRequirements2KHR)(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR* graphicsRequirements);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrCreateVulkanInstanceKHR(
|
||||
XrInstance instance,
|
||||
const XrVulkanInstanceCreateInfoKHR* createInfo,
|
||||
|
@ -454,7 +482,8 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetVulkanGraphicsRequirements2KHR(
|
|||
XrInstance instance,
|
||||
XrSystemId systemId,
|
||||
XrGraphicsRequirementsVulkanKHR* graphicsRequirements);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_GRAPHICS_API_VULKAN */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_EGL
|
||||
|
@ -462,6 +491,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetVulkanGraphicsRequirements2KHR(
|
|||
#define XR_MNDX_egl_enable 1
|
||||
#define XR_MNDX_egl_enable_SPEC_VERSION 1
|
||||
#define XR_MNDX_EGL_ENABLE_EXTENSION_NAME "XR_MNDX_egl_enable"
|
||||
// XrGraphicsBindingEGLMNDX extends XrSessionCreateInfo
|
||||
typedef struct XrGraphicsBindingEGLMNDX {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -482,6 +512,7 @@ typedef XrResult (XRAPI_PTR *PFN_xrCreateSpatialAnchorFromPerceptionAnchorMSFT)(
|
|||
typedef XrResult (XRAPI_PTR *PFN_xrTryGetPerceptionAnchorFromSpatialAnchorMSFT)(XrSession session, XrSpatialAnchorMSFT anchor, IUnknown** perceptionAnchor);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrCreateSpatialAnchorFromPerceptionAnchorMSFT(
|
||||
XrSession session,
|
||||
IUnknown* perceptionAnchor,
|
||||
|
@ -491,7 +522,8 @@ XRAPI_ATTR XrResult XRAPI_CALL xrTryGetPerceptionAnchorFromSpatialAnchorMSFT(
|
|||
XrSession session,
|
||||
XrSpatialAnchorMSFT anchor,
|
||||
IUnknown** perceptionAnchor);
|
||||
#endif
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_PLATFORM_WIN32 */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_WIN32
|
||||
|
@ -500,6 +532,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrTryGetPerceptionAnchorFromSpatialAnchorMSFT(
|
|||
#define XR_MSFT_holographic_window_attachment_SPEC_VERSION 1
|
||||
#define XR_MSFT_HOLOGRAPHIC_WINDOW_ATTACHMENT_EXTENSION_NAME "XR_MSFT_holographic_window_attachment"
|
||||
#ifdef XR_USE_PLATFORM_WIN32
|
||||
// XrHolographicWindowAttachmentMSFT extends XrSessionCreateInfo
|
||||
typedef struct XrHolographicWindowAttachmentMSFT {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -522,6 +555,7 @@ static const XrAndroidSurfaceSwapchainFlagsFB XR_ANDROID_SURFACE_SWAPCHAIN_SYNCH
|
|||
static const XrAndroidSurfaceSwapchainFlagsFB XR_ANDROID_SURFACE_SWAPCHAIN_USE_TIMESTAMPS_BIT_FB = 0x00000002;
|
||||
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
// XrAndroidSurfaceSwapchainCreateInfoFB extends XrSwapchainCreateInfo
|
||||
typedef struct XrAndroidSurfaceSwapchainCreateInfoFB {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
|
@ -531,6 +565,109 @@ typedef struct XrAndroidSurfaceSwapchainCreateInfoFB {
|
|||
|
||||
#endif /* XR_USE_PLATFORM_ANDROID */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_WIN32
|
||||
|
||||
#define XR_OCULUS_audio_device_guid 1
|
||||
#define XR_OCULUS_audio_device_guid_SPEC_VERSION 1
|
||||
#define XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME "XR_OCULUS_audio_device_guid"
|
||||
#define XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS 128
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrGetAudioOutputDeviceGuidOculus)(XrInstance instance, wchar_t buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS]);
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrGetAudioInputDeviceGuidOculus)(XrInstance instance, wchar_t buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS]);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetAudioOutputDeviceGuidOculus(
|
||||
XrInstance instance,
|
||||
wchar_t buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS]);
|
||||
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetAudioInputDeviceGuidOculus(
|
||||
XrInstance instance,
|
||||
wchar_t buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS]);
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
#endif /* XR_USE_PLATFORM_WIN32 */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
|
||||
#define XR_FB_foveation_vulkan 1
|
||||
#define XR_FB_foveation_vulkan_SPEC_VERSION 1
|
||||
#define XR_FB_FOVEATION_VULKAN_EXTENSION_NAME "XR_FB_foveation_vulkan"
|
||||
// XrSwapchainImageFoveationVulkanFB extends XrSwapchainImageVulkanKHR
|
||||
typedef struct XrSwapchainImageFoveationVulkanFB {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
VkImage image;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
} XrSwapchainImageFoveationVulkanFB;
|
||||
|
||||
#endif /* XR_USE_GRAPHICS_API_VULKAN */
|
||||
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
|
||||
#define XR_FB_swapchain_update_state_android_surface 1
|
||||
#define XR_FB_swapchain_update_state_android_surface_SPEC_VERSION 1
|
||||
#define XR_FB_SWAPCHAIN_UPDATE_STATE_ANDROID_SURFACE_EXTENSION_NAME "XR_FB_swapchain_update_state_android_surface"
|
||||
#ifdef XR_USE_PLATFORM_ANDROID
|
||||
typedef struct XrSwapchainStateAndroidSurfaceDimensionsFB {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
} XrSwapchainStateAndroidSurfaceDimensionsFB;
|
||||
#endif // XR_USE_PLATFORM_ANDROID
|
||||
|
||||
#endif /* XR_USE_PLATFORM_ANDROID */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_OPENGL_ES
|
||||
|
||||
#define XR_FB_swapchain_update_state_opengl_es 1
|
||||
#define XR_FB_swapchain_update_state_opengl_es_SPEC_VERSION 1
|
||||
#define XR_FB_SWAPCHAIN_UPDATE_STATE_OPENGL_ES_EXTENSION_NAME "XR_FB_swapchain_update_state_opengl_es"
|
||||
#ifdef XR_USE_GRAPHICS_API_OPENGL_ES
|
||||
typedef struct XrSwapchainStateSamplerOpenGLESFB {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
EGLenum minFilter;
|
||||
EGLenum magFilter;
|
||||
EGLenum wrapModeS;
|
||||
EGLenum wrapModeT;
|
||||
EGLenum swizzleRed;
|
||||
EGLenum swizzleGreen;
|
||||
EGLenum swizzleBlue;
|
||||
EGLenum swizzleAlpha;
|
||||
float maxAnisotropy;
|
||||
XrColor4f borderColor;
|
||||
} XrSwapchainStateSamplerOpenGLESFB;
|
||||
#endif // XR_USE_GRAPHICS_API_OPENGL_ES
|
||||
|
||||
#endif /* XR_USE_GRAPHICS_API_OPENGL_ES */
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
|
||||
#define XR_FB_swapchain_update_state_vulkan 1
|
||||
#define XR_FB_swapchain_update_state_vulkan_SPEC_VERSION 1
|
||||
#define XR_FB_SWAPCHAIN_UPDATE_STATE_VULKAN_EXTENSION_NAME "XR_FB_swapchain_update_state_vulkan"
|
||||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
typedef struct XrSwapchainStateSamplerVulkanFB {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
VkFilter minFilter;
|
||||
VkFilter magFilter;
|
||||
VkSamplerMipmapMode mipmapMode;
|
||||
VkSamplerAddressMode wrapModeS;
|
||||
VkSamplerAddressMode wrapModeT;
|
||||
VkComponentSwizzle swizzleRed;
|
||||
VkComponentSwizzle swizzleGreen;
|
||||
VkComponentSwizzle swizzleBlue;
|
||||
VkComponentSwizzle swizzleAlpha;
|
||||
float maxAnisotropy;
|
||||
XrColor4f borderColor;
|
||||
} XrSwapchainStateSamplerVulkanFB;
|
||||
#endif // XR_USE_GRAPHICS_API_VULKAN
|
||||
|
||||
#endif /* XR_USE_GRAPHICS_API_VULKAN */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -85,13 +85,23 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_ERROR_LOCALIZED_NAME_DUPLICATED, -48) \
|
||||
_(XR_ERROR_LOCALIZED_NAME_INVALID, -49) \
|
||||
_(XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING, -50) \
|
||||
_(XR_ERROR_RUNTIME_UNAVAILABLE, -51) \
|
||||
_(XR_ERROR_ANDROID_THREAD_SETTINGS_ID_INVALID_KHR, -1000003000) \
|
||||
_(XR_ERROR_ANDROID_THREAD_SETTINGS_FAILURE_KHR, -1000003001) \
|
||||
_(XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT, -1000039001) \
|
||||
_(XR_ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT, -1000053000) \
|
||||
_(XR_ERROR_CONTROLLER_MODEL_KEY_INVALID_MSFT, -1000055000) \
|
||||
_(XR_ERROR_REPROJECTION_MODE_UNSUPPORTED_MSFT, -1000066000) \
|
||||
_(XR_ERROR_COMPUTE_NEW_SCENE_NOT_COMPLETED_MSFT, -1000097000) \
|
||||
_(XR_ERROR_SCENE_COMPONENT_ID_INVALID_MSFT, -1000097001) \
|
||||
_(XR_ERROR_SCENE_COMPONENT_TYPE_MISMATCH_MSFT, -1000097002) \
|
||||
_(XR_ERROR_SCENE_MESH_BUFFER_ID_INVALID_MSFT, -1000097003) \
|
||||
_(XR_ERROR_SCENE_COMPUTE_FEATURE_INCOMPATIBLE_MSFT, -1000097004) \
|
||||
_(XR_ERROR_SCENE_COMPUTE_CONSISTENCY_MISMATCH_MSFT, -1000097005) \
|
||||
_(XR_ERROR_DISPLAY_REFRESH_RATE_UNSUPPORTED_FB, -1000101000) \
|
||||
_(XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB, -1000108000) \
|
||||
_(XR_ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT, -1000142001) \
|
||||
_(XR_ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT, -1000142002) \
|
||||
_(XR_RESULT_MAX_ENUM, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrStructureType(_) \
|
||||
|
@ -183,6 +193,8 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR, 1000034000) \
|
||||
_(XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT, 1000039000) \
|
||||
_(XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT, 1000039001) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_IMAGE_LAYOUT_FB, 1000040000) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB, 1000041001) \
|
||||
_(XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT, 1000046000) \
|
||||
_(XR_TYPE_GRAPHICS_BINDING_EGL_MNDX, 1000048004) \
|
||||
_(XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT, 1000049000) \
|
||||
|
@ -209,16 +221,61 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_TYPE_CONTROLLER_MODEL_STATE_MSFT, 1000055004) \
|
||||
_(XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC, 1000059000) \
|
||||
_(XR_TYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFT, 1000063000) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_REPROJECTION_INFO_MSFT, 1000066000) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_REPROJECTION_PLANE_OVERRIDE_MSFT, 1000066001) \
|
||||
_(XR_TYPE_ANDROID_SURFACE_SWAPCHAIN_CREATE_INFO_FB, 1000070000) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB, 1000072000) \
|
||||
_(XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE, 1000079000) \
|
||||
_(XR_TYPE_HAND_JOINTS_MOTION_RANGE_INFO_EXT, 1000080000) \
|
||||
_(XR_TYPE_LOADER_INIT_INFO_ANDROID_KHR, 1000089000) \
|
||||
_(XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR, 1000090000) \
|
||||
_(XR_TYPE_VULKAN_DEVICE_CREATE_INFO_KHR, 1000090001) \
|
||||
_(XR_TYPE_VULKAN_GRAPHICS_DEVICE_GET_INFO_KHR, 1000090003) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR, 1000091000) \
|
||||
_(XR_TYPE_SCENE_OBSERVER_CREATE_INFO_MSFT, 1000097000) \
|
||||
_(XR_TYPE_SCENE_CREATE_INFO_MSFT, 1000097001) \
|
||||
_(XR_TYPE_NEW_SCENE_COMPUTE_INFO_MSFT, 1000097002) \
|
||||
_(XR_TYPE_VISUAL_MESH_COMPUTE_LOD_INFO_MSFT, 1000097003) \
|
||||
_(XR_TYPE_SCENE_COMPONENTS_MSFT, 1000097004) \
|
||||
_(XR_TYPE_SCENE_COMPONENTS_GET_INFO_MSFT, 1000097005) \
|
||||
_(XR_TYPE_SCENE_COMPONENT_LOCATIONS_MSFT, 1000097006) \
|
||||
_(XR_TYPE_SCENE_COMPONENTS_LOCATE_INFO_MSFT, 1000097007) \
|
||||
_(XR_TYPE_SCENE_OBJECTS_MSFT, 1000097008) \
|
||||
_(XR_TYPE_SCENE_COMPONENT_PARENT_FILTER_INFO_MSFT, 1000097009) \
|
||||
_(XR_TYPE_SCENE_OBJECT_TYPES_FILTER_INFO_MSFT, 1000097010) \
|
||||
_(XR_TYPE_SCENE_PLANES_MSFT, 1000097011) \
|
||||
_(XR_TYPE_SCENE_PLANE_ALIGNMENT_FILTER_INFO_MSFT, 1000097012) \
|
||||
_(XR_TYPE_SCENE_MESHES_MSFT, 1000097013) \
|
||||
_(XR_TYPE_SCENE_MESH_BUFFERS_GET_INFO_MSFT, 1000097014) \
|
||||
_(XR_TYPE_SCENE_MESH_BUFFERS_MSFT, 1000097015) \
|
||||
_(XR_TYPE_SCENE_MESH_VERTEX_BUFFER_MSFT, 1000097016) \
|
||||
_(XR_TYPE_SCENE_MESH_INDICES_UINT32_MSFT, 1000097017) \
|
||||
_(XR_TYPE_SCENE_MESH_INDICES_UINT16_MSFT, 1000097018) \
|
||||
_(XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT, 1000098000) \
|
||||
_(XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT, 1000098001) \
|
||||
_(XR_TYPE_EVENT_DATA_DISPLAY_REFRESH_RATE_CHANGED_FB, 1000101000) \
|
||||
_(XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB, 1000108000) \
|
||||
_(XR_TYPE_HAND_TRACKING_MESH_FB, 1000110001) \
|
||||
_(XR_TYPE_HAND_TRACKING_SCALE_FB, 1000110003) \
|
||||
_(XR_TYPE_HAND_TRACKING_AIM_STATE_FB, 1000111001) \
|
||||
_(XR_TYPE_HAND_TRACKING_CAPSULES_STATE_FB, 1000112000) \
|
||||
_(XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB, 1000114000) \
|
||||
_(XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB, 1000114001) \
|
||||
_(XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB, 1000114002) \
|
||||
_(XR_TYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FB, 1000115000) \
|
||||
_(XR_TYPE_BINDING_MODIFICATIONS_KHR, 1000120000) \
|
||||
_(XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO, 1000121000) \
|
||||
_(XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO, 1000121001) \
|
||||
_(XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO, 1000121002) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO, 1000122000) \
|
||||
_(XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT, 1000142000) \
|
||||
_(XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT, 1000142001) \
|
||||
_(XR_TYPE_SWAPCHAIN_IMAGE_FOVEATION_VULKAN_FB, 1000160000) \
|
||||
_(XR_TYPE_SWAPCHAIN_STATE_ANDROID_SURFACE_DIMENSIONS_FB, 1000161000) \
|
||||
_(XR_TYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FB, 1000162000) \
|
||||
_(XR_TYPE_SWAPCHAIN_STATE_SAMPLER_VULKAN_FB, 1000163000) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FB, 1000171000) \
|
||||
_(XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FB, 1000171001) \
|
||||
_(XR_STRUCTURE_TYPE_MAX_ENUM, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrFormFactor(_) \
|
||||
|
@ -244,6 +301,7 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_REFERENCE_SPACE_TYPE_LOCAL, 2) \
|
||||
_(XR_REFERENCE_SPACE_TYPE_STAGE, 3) \
|
||||
_(XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT, 1000038000) \
|
||||
_(XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJO, 1000121000) \
|
||||
_(XR_REFERENCE_SPACE_TYPE_MAX_ENUM, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrActionType(_) \
|
||||
|
@ -283,6 +341,10 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT, 1000019000) \
|
||||
_(XR_OBJECT_TYPE_SPATIAL_ANCHOR_MSFT, 1000039000) \
|
||||
_(XR_OBJECT_TYPE_HAND_TRACKER_EXT, 1000051000) \
|
||||
_(XR_OBJECT_TYPE_SCENE_OBSERVER_MSFT, 1000097000) \
|
||||
_(XR_OBJECT_TYPE_SCENE_MSFT, 1000097001) \
|
||||
_(XR_OBJECT_TYPE_FOVEATION_PROFILE_FB, 1000114000) \
|
||||
_(XR_OBJECT_TYPE_SPATIAL_ANCHOR_STORE_CONNECTION_MSFT, 1000142000) \
|
||||
_(XR_OBJECT_TYPE_MAX_ENUM, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrAndroidThreadTypeKHR(_) \
|
||||
|
@ -322,6 +384,15 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_PERF_SETTINGS_NOTIF_LEVEL_IMPAIRED_EXT, 75) \
|
||||
_(XR_PERF_SETTINGS_NOTIFICATION_LEVEL_MAX_ENUM_EXT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrBlendFactorFB(_) \
|
||||
_(XR_BLEND_FACTOR_ZERO_FB, 0) \
|
||||
_(XR_BLEND_FACTOR_ONE_FB, 1) \
|
||||
_(XR_BLEND_FACTOR_SRC_ALPHA_FB, 2) \
|
||||
_(XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FB, 3) \
|
||||
_(XR_BLEND_FACTOR_DST_ALPHA_FB, 4) \
|
||||
_(XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FB, 5) \
|
||||
_(XR_BLEND_FACTOR_MAX_ENUM_FB, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrSpatialGraphNodeTypeMSFT(_) \
|
||||
_(XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT, 1) \
|
||||
_(XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT, 2) \
|
||||
|
@ -370,6 +441,71 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_HAND_POSE_TYPE_REFERENCE_OPEN_PALM_MSFT, 1) \
|
||||
_(XR_HAND_POSE_TYPE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrReprojectionModeMSFT(_) \
|
||||
_(XR_REPROJECTION_MODE_DEPTH_MSFT, 1) \
|
||||
_(XR_REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT, 2) \
|
||||
_(XR_REPROJECTION_MODE_PLANAR_MANUAL_MSFT, 3) \
|
||||
_(XR_REPROJECTION_MODE_ORIENTATION_ONLY_MSFT, 4) \
|
||||
_(XR_REPROJECTION_MODE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrHandJointsMotionRangeEXT(_) \
|
||||
_(XR_HAND_JOINTS_MOTION_RANGE_UNOBSTRUCTED_EXT, 1) \
|
||||
_(XR_HAND_JOINTS_MOTION_RANGE_CONFORMING_TO_CONTROLLER_EXT, 2) \
|
||||
_(XR_HAND_JOINTS_MOTION_RANGE_MAX_ENUM_EXT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrSceneComputeFeatureMSFT(_) \
|
||||
_(XR_SCENE_COMPUTE_FEATURE_PLANE_MSFT, 1) \
|
||||
_(XR_SCENE_COMPUTE_FEATURE_PLANE_MESH_MSFT, 2) \
|
||||
_(XR_SCENE_COMPUTE_FEATURE_VISUAL_MESH_MSFT, 3) \
|
||||
_(XR_SCENE_COMPUTE_FEATURE_COLLIDER_MESH_MSFT, 4) \
|
||||
_(XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT, 1000098000) \
|
||||
_(XR_SCENE_COMPUTE_FEATURE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrSceneComputeConsistencyMSFT(_) \
|
||||
_(XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT, 1) \
|
||||
_(XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT, 2) \
|
||||
_(XR_SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT, 3) \
|
||||
_(XR_SCENE_COMPUTE_CONSISTENCY_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrMeshComputeLodMSFT(_) \
|
||||
_(XR_MESH_COMPUTE_LOD_COARSE_MSFT, 1) \
|
||||
_(XR_MESH_COMPUTE_LOD_MEDIUM_MSFT, 2) \
|
||||
_(XR_MESH_COMPUTE_LOD_FINE_MSFT, 3) \
|
||||
_(XR_MESH_COMPUTE_LOD_UNLIMITED_MSFT, 4) \
|
||||
_(XR_MESH_COMPUTE_LOD_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrSceneComponentTypeMSFT(_) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_INVALID_MSFT, -1) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_OBJECT_MSFT, 1) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_PLANE_MSFT, 2) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT, 3) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT, 4) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT, 1000098000) \
|
||||
_(XR_SCENE_COMPONENT_TYPE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrSceneObjectTypeMSFT(_) \
|
||||
_(XR_SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT, -1) \
|
||||
_(XR_SCENE_OBJECT_TYPE_BACKGROUND_MSFT, 1) \
|
||||
_(XR_SCENE_OBJECT_TYPE_WALL_MSFT, 2) \
|
||||
_(XR_SCENE_OBJECT_TYPE_FLOOR_MSFT, 3) \
|
||||
_(XR_SCENE_OBJECT_TYPE_CEILING_MSFT, 4) \
|
||||
_(XR_SCENE_OBJECT_TYPE_PLATFORM_MSFT, 5) \
|
||||
_(XR_SCENE_OBJECT_TYPE_INFERRED_MSFT, 6) \
|
||||
_(XR_SCENE_OBJECT_TYPE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrScenePlaneAlignmentTypeMSFT(_) \
|
||||
_(XR_SCENE_PLANE_ALIGNMENT_TYPE_NON_ORTHOGONAL_MSFT, 0) \
|
||||
_(XR_SCENE_PLANE_ALIGNMENT_TYPE_HORIZONTAL_MSFT, 1) \
|
||||
_(XR_SCENE_PLANE_ALIGNMENT_TYPE_VERTICAL_MSFT, 2) \
|
||||
_(XR_SCENE_PLANE_ALIGNMENT_TYPE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrSceneComputeStateMSFT(_) \
|
||||
_(XR_SCENE_COMPUTE_STATE_NONE_MSFT, 0) \
|
||||
_(XR_SCENE_COMPUTE_STATE_UPDATING_MSFT, 1) \
|
||||
_(XR_SCENE_COMPUTE_STATE_COMPLETED_MSFT, 2) \
|
||||
_(XR_SCENE_COMPUTE_STATE_COMPLETED_WITH_ERROR_MSFT, 3) \
|
||||
_(XR_SCENE_COMPUTE_STATE_MAX_ENUM_MSFT, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrColorSpaceFB(_) \
|
||||
_(XR_COLOR_SPACE_UNMANAGED_FB, 0) \
|
||||
_(XR_COLOR_SPACE_REC2020_FB, 1) \
|
||||
|
@ -381,6 +517,18 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_COLOR_SPACE_ADOBE_RGB_FB, 7) \
|
||||
_(XR_COLOR_SPACE_MAX_ENUM_FB, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrFoveationLevelFB(_) \
|
||||
_(XR_FOVEATION_LEVEL_NONE_FB, 0) \
|
||||
_(XR_FOVEATION_LEVEL_LOW_FB, 1) \
|
||||
_(XR_FOVEATION_LEVEL_MEDIUM_FB, 2) \
|
||||
_(XR_FOVEATION_LEVEL_HIGH_FB, 3) \
|
||||
_(XR_FOVEATION_LEVEL_MAX_ENUM_FB, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrFoveationDynamicFB(_) \
|
||||
_(XR_FOVEATION_DYNAMIC_DISABLED_FB, 0) \
|
||||
_(XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB, 1) \
|
||||
_(XR_FOVEATION_DYNAMIC_MAX_ENUM_FB, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_BITS_XrInstanceCreateFlags(_)
|
||||
|
||||
#define XR_LIST_BITS_XrSessionCreateFlags(_)
|
||||
|
@ -408,6 +556,7 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_SWAPCHAIN_USAGE_SAMPLED_BIT, 0x00000020) \
|
||||
_(XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT, 0x00000040) \
|
||||
_(XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND, 0x00000080) \
|
||||
_(XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR, XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND) \
|
||||
|
||||
#define XR_LIST_BITS_XrCompositionLayerFlags(_) \
|
||||
_(XR_COMPOSITION_LAYER_CORRECT_CHROMATIC_ABERRATION_BIT, 0x00000001) \
|
||||
|
@ -441,16 +590,41 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT, 0x00000004) \
|
||||
_(XR_DEBUG_UTILS_MESSAGE_TYPE_CONFORMANCE_BIT_EXT, 0x00000008) \
|
||||
|
||||
#define XR_LIST_BITS_XrOverlaySessionCreateFlagsEXTX(_) \
|
||||
_(XR_OVERLAY_SESSION_CREATE_RELAXED_DISPLAY_TIME_BIT_EXTX, 0x00000001) \
|
||||
#define XR_LIST_BITS_XrOverlaySessionCreateFlagsEXTX(_)
|
||||
|
||||
#define XR_LIST_BITS_XrOverlayMainSessionFlagsEXTX(_) \
|
||||
_(XR_OVERLAY_MAIN_SESSION_ENABLED_COMPOSITION_LAYER_INFO_DEPTH_BIT_EXTX, 0x00000001) \
|
||||
|
||||
#define XR_LIST_BITS_XrCompositionLayerImageLayoutFlagsFB(_) \
|
||||
_(XR_COMPOSITION_LAYER_IMAGE_LAYOUT_VERTICAL_FLIP_BIT_FB, 0x00000001) \
|
||||
|
||||
#define XR_LIST_BITS_XrAndroidSurfaceSwapchainFlagsFB(_) \
|
||||
_(XR_ANDROID_SURFACE_SWAPCHAIN_SYNCHRONOUS_BIT_FB, 0x00000001) \
|
||||
_(XR_ANDROID_SURFACE_SWAPCHAIN_USE_TIMESTAMPS_BIT_FB, 0x00000002) \
|
||||
|
||||
#define XR_LIST_BITS_XrCompositionLayerSecureContentFlagsFB(_) \
|
||||
_(XR_COMPOSITION_LAYER_SECURE_CONTENT_EXCLUDE_LAYER_BIT_FB, 0x00000001) \
|
||||
_(XR_COMPOSITION_LAYER_SECURE_CONTENT_REPLACE_LAYER_BIT_FB, 0x00000002) \
|
||||
|
||||
#define XR_LIST_BITS_XrHandTrackingAimFlagsFB(_) \
|
||||
_(XR_HAND_TRACKING_AIM_COMPUTED_BIT_FB, 0x00000001) \
|
||||
_(XR_HAND_TRACKING_AIM_VALID_BIT_FB, 0x00000002) \
|
||||
_(XR_HAND_TRACKING_AIM_INDEX_PINCHING_BIT_FB, 0x00000004) \
|
||||
_(XR_HAND_TRACKING_AIM_MIDDLE_PINCHING_BIT_FB, 0x00000008) \
|
||||
_(XR_HAND_TRACKING_AIM_RING_PINCHING_BIT_FB, 0x00000010) \
|
||||
_(XR_HAND_TRACKING_AIM_LITTLE_PINCHING_BIT_FB, 0x00000020) \
|
||||
_(XR_HAND_TRACKING_AIM_SYSTEM_GESTURE_BIT_FB, 0x00000040) \
|
||||
_(XR_HAND_TRACKING_AIM_DOMINANT_HAND_BIT_FB, 0x00000080) \
|
||||
_(XR_HAND_TRACKING_AIM_MENU_PRESSED_BIT_FB, 0x00000100) \
|
||||
|
||||
#define XR_LIST_BITS_XrSwapchainCreateFoveationFlagsFB(_) \
|
||||
_(XR_SWAPCHAIN_CREATE_FOVEATION_SCALED_BIN_BIT_FB, 0x00000001) \
|
||||
_(XR_SWAPCHAIN_CREATE_FOVEATION_FRAGMENT_DENSITY_MAP_BIT_FB, 0x00000002) \
|
||||
|
||||
#define XR_LIST_BITS_XrSwapchainStateFoveationFlagsFB(_)
|
||||
|
||||
#define XR_LIST_BITS_XrCompositionLayerSpaceWarpInfoFlagsFB(_)
|
||||
|
||||
#define XR_LIST_STRUCT_XrApiLayerProperties(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
@ -1213,6 +1387,19 @@ XR_ENUM_STR(XrResult);
|
|||
_(anchor) \
|
||||
_(poseInAnchorSpace) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerImageLayoutFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(flags) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerAlphaBlendFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(srcFactorColor) \
|
||||
_(dstFactorColor) \
|
||||
_(srcFactorAlpha) \
|
||||
_(dstFactorAlpha) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrViewConfigurationDepthRangeEXT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
@ -1404,11 +1591,32 @@ XR_ENUM_STR(XrResult);
|
|||
_(holographicSpace) \
|
||||
_(coreWindow) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerReprojectionInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(reprojectionMode) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerReprojectionPlaneOverrideMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(position) \
|
||||
_(normal) \
|
||||
_(velocity) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrAndroidSurfaceSwapchainCreateInfoFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(createFlags) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainStateBaseHeaderFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerSecureContentFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(flags) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrInteractionProfileAnalogThresholdVALVE(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
@ -1419,6 +1627,187 @@ XR_ENUM_STR(XrResult);
|
|||
_(onHaptic) \
|
||||
_(offHaptic) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrHandJointsMotionRangeInfoEXT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(handJointsMotionRange) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrUuidMSFT(_) \
|
||||
_(bytes) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneObserverCreateInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneCreateInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneSphereBoundMSFT(_) \
|
||||
_(center) \
|
||||
_(radius) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneOrientedBoxBoundMSFT(_) \
|
||||
_(pose) \
|
||||
_(extents) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneFrustumBoundMSFT(_) \
|
||||
_(pose) \
|
||||
_(fov) \
|
||||
_(farDistance) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneBoundsMSFT(_) \
|
||||
_(space) \
|
||||
_(time) \
|
||||
_(sphereCount) \
|
||||
_(spheres) \
|
||||
_(boxCount) \
|
||||
_(boxes) \
|
||||
_(frustumCount) \
|
||||
_(frustums) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrNewSceneComputeInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(requestedFeatureCount) \
|
||||
_(requestedFeatures) \
|
||||
_(consistency) \
|
||||
_(bounds) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrVisualMeshComputeLodInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(lod) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentMSFT(_) \
|
||||
_(componentType) \
|
||||
_(id) \
|
||||
_(parentId) \
|
||||
_(updateTime) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentsMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(componentCapacityInput) \
|
||||
_(componentCountOutput) \
|
||||
_(components) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentsGetInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(componentType) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentLocationMSFT(_) \
|
||||
_(flags) \
|
||||
_(pose) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentLocationsMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(locationCount) \
|
||||
_(locations) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentsLocateInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(baseSpace) \
|
||||
_(time) \
|
||||
_(componentIdCount) \
|
||||
_(componentIds) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneObjectMSFT(_) \
|
||||
_(objectType) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneObjectsMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(sceneObjectCount) \
|
||||
_(sceneObjects) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneComponentParentFilterInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(parentId) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneObjectTypesFilterInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(objectTypeCount) \
|
||||
_(objectTypes) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrScenePlaneMSFT(_) \
|
||||
_(alignment) \
|
||||
_(size) \
|
||||
_(meshBufferId) \
|
||||
_(supportsIndicesUint16) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrScenePlanesMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(scenePlaneCount) \
|
||||
_(scenePlanes) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrScenePlaneAlignmentFilterInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(alignmentCount) \
|
||||
_(alignments) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshMSFT(_) \
|
||||
_(meshBufferId) \
|
||||
_(supportsIndicesUint16) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshesMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(sceneMeshCount) \
|
||||
_(sceneMeshes) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshBuffersGetInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(meshBufferId) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshBuffersMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshVertexBufferMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(vertexCapacityInput) \
|
||||
_(vertexCountOutput) \
|
||||
_(vertices) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshIndicesUint32MSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(indexCapacityInput) \
|
||||
_(indexCountOutput) \
|
||||
_(indices) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneMeshIndicesUint16MSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(indexCapacityInput) \
|
||||
_(indexCountOutput) \
|
||||
_(indices) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSerializedSceneFragmentDataGetInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(sceneFragmentId) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrDeserializeSceneFragmentMSFT(_) \
|
||||
_(bufferSize) \
|
||||
_(buffer) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSceneDeserializeInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(fragmentCount) \
|
||||
_(fragments) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrEventDataDisplayRefreshRateChangedFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
@ -1430,6 +1819,177 @@ XR_ENUM_STR(XrResult);
|
|||
_(next) \
|
||||
_(colorSpace) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrVector4sFB(_) \
|
||||
_(x) \
|
||||
_(y) \
|
||||
_(z) \
|
||||
_(w) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrHandTrackingMeshFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(jointCapacityInput) \
|
||||
_(jointCountOutput) \
|
||||
_(jointBindPoses) \
|
||||
_(jointRadii) \
|
||||
_(jointParents) \
|
||||
_(vertexCapacityInput) \
|
||||
_(vertexCountOutput) \
|
||||
_(vertexPositions) \
|
||||
_(vertexNormals) \
|
||||
_(vertexUVs) \
|
||||
_(vertexBlendIndices) \
|
||||
_(vertexBlendWeights) \
|
||||
_(indexCapacityInput) \
|
||||
_(indexCountOutput) \
|
||||
_(indices) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrHandTrackingScaleFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(sensorOutput) \
|
||||
_(currentOutput) \
|
||||
_(overrideHandScale) \
|
||||
_(overrideValueInput) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrHandTrackingAimStateFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(status) \
|
||||
_(aimPose) \
|
||||
_(pinchStrengthIndex) \
|
||||
_(pinchStrengthMiddle) \
|
||||
_(pinchStrengthRing) \
|
||||
_(pinchStrengthLittle) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrHandCapsuleFB(_) \
|
||||
_(points) \
|
||||
_(radius) \
|
||||
_(joint) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrHandTrackingCapsulesStateFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(capsules) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrFoveationProfileCreateInfoFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainCreateInfoFoveationFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(flags) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainStateFoveationFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(flags) \
|
||||
_(profile) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrFoveationLevelProfileCreateInfoFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(level) \
|
||||
_(verticalOffset) \
|
||||
_(dynamic) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrViewLocateFoveatedRenderingVARJO(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(foveatedRenderingActive) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrFoveatedViewConfigurationViewVARJO(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(foveatedRenderingActive) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSystemFoveatedRenderingPropertiesVARJO(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(supportsFoveatedRendering) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerDepthTestVARJO(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(depthTestRangeNearZ) \
|
||||
_(depthTestRangeFarZ) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSpatialAnchorPersistenceNameMSFT(_) \
|
||||
_(name) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSpatialAnchorPersistenceInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(spatialAnchorPersistenceName) \
|
||||
_(spatialAnchor) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(spatialAnchorStore) \
|
||||
_(spatialAnchorPersistenceName) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainImageFoveationVulkanFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(image) \
|
||||
_(width) \
|
||||
_(height) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainStateAndroidSurfaceDimensionsFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(width) \
|
||||
_(height) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainStateSamplerOpenGLESFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(minFilter) \
|
||||
_(magFilter) \
|
||||
_(wrapModeS) \
|
||||
_(wrapModeT) \
|
||||
_(swizzleRed) \
|
||||
_(swizzleGreen) \
|
||||
_(swizzleBlue) \
|
||||
_(swizzleAlpha) \
|
||||
_(maxAnisotropy) \
|
||||
_(borderColor) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSwapchainStateSamplerVulkanFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(minFilter) \
|
||||
_(magFilter) \
|
||||
_(mipmapMode) \
|
||||
_(wrapModeS) \
|
||||
_(wrapModeT) \
|
||||
_(swizzleRed) \
|
||||
_(swizzleGreen) \
|
||||
_(swizzleBlue) \
|
||||
_(swizzleAlpha) \
|
||||
_(maxAnisotropy) \
|
||||
_(borderColor) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerSpaceWarpInfoFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(layerFlags) \
|
||||
_(motionVectorSubImage) \
|
||||
_(appSpaceDeltaPose) \
|
||||
_(depthSubImage) \
|
||||
_(minDepth) \
|
||||
_(maxDepth) \
|
||||
_(nearZ) \
|
||||
_(farZ) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrSystemSpaceWarpPropertiesFB(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(recommendedMotionVectorImageRectWidth) \
|
||||
_(recommendedMotionVectorImageRectHeight) \
|
||||
|
||||
|
||||
|
||||
#define XR_LIST_STRUCTURE_TYPES_CORE(_) \
|
||||
|
@ -1502,6 +2062,8 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrEventDataMainSessionVisibilityChangedEXTX, XR_TYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTX) \
|
||||
_(XrSpatialAnchorCreateInfoMSFT, XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT) \
|
||||
_(XrSpatialAnchorSpaceCreateInfoMSFT, XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT) \
|
||||
_(XrCompositionLayerImageLayoutFB, XR_TYPE_COMPOSITION_LAYER_IMAGE_LAYOUT_FB) \
|
||||
_(XrCompositionLayerAlphaBlendFB, XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB) \
|
||||
_(XrViewConfigurationDepthRangeEXT, XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT) \
|
||||
_(XrSpatialGraphNodeSpaceCreateInfoMSFT, XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT) \
|
||||
_(XrSystemHandTrackingPropertiesEXT, XR_TYPE_SYSTEM_HAND_TRACKING_PROPERTIES_EXT) \
|
||||
|
@ -1526,9 +2088,50 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrControllerModelNodeStateMSFT, XR_TYPE_CONTROLLER_MODEL_NODE_STATE_MSFT) \
|
||||
_(XrControllerModelStateMSFT, XR_TYPE_CONTROLLER_MODEL_STATE_MSFT) \
|
||||
_(XrViewConfigurationViewFovEPIC, XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC) \
|
||||
_(XrCompositionLayerReprojectionInfoMSFT, XR_TYPE_COMPOSITION_LAYER_REPROJECTION_INFO_MSFT) \
|
||||
_(XrCompositionLayerReprojectionPlaneOverrideMSFT, XR_TYPE_COMPOSITION_LAYER_REPROJECTION_PLANE_OVERRIDE_MSFT) \
|
||||
_(XrCompositionLayerSecureContentFB, XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB) \
|
||||
_(XrInteractionProfileAnalogThresholdVALVE, XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE) \
|
||||
_(XrHandJointsMotionRangeInfoEXT, XR_TYPE_HAND_JOINTS_MOTION_RANGE_INFO_EXT) \
|
||||
_(XrSceneObserverCreateInfoMSFT, XR_TYPE_SCENE_OBSERVER_CREATE_INFO_MSFT) \
|
||||
_(XrSceneCreateInfoMSFT, XR_TYPE_SCENE_CREATE_INFO_MSFT) \
|
||||
_(XrNewSceneComputeInfoMSFT, XR_TYPE_NEW_SCENE_COMPUTE_INFO_MSFT) \
|
||||
_(XrVisualMeshComputeLodInfoMSFT, XR_TYPE_VISUAL_MESH_COMPUTE_LOD_INFO_MSFT) \
|
||||
_(XrSceneComponentsMSFT, XR_TYPE_SCENE_COMPONENTS_MSFT) \
|
||||
_(XrSceneComponentsGetInfoMSFT, XR_TYPE_SCENE_COMPONENTS_GET_INFO_MSFT) \
|
||||
_(XrSceneComponentLocationsMSFT, XR_TYPE_SCENE_COMPONENT_LOCATIONS_MSFT) \
|
||||
_(XrSceneComponentsLocateInfoMSFT, XR_TYPE_SCENE_COMPONENTS_LOCATE_INFO_MSFT) \
|
||||
_(XrSceneObjectsMSFT, XR_TYPE_SCENE_OBJECTS_MSFT) \
|
||||
_(XrSceneComponentParentFilterInfoMSFT, XR_TYPE_SCENE_COMPONENT_PARENT_FILTER_INFO_MSFT) \
|
||||
_(XrSceneObjectTypesFilterInfoMSFT, XR_TYPE_SCENE_OBJECT_TYPES_FILTER_INFO_MSFT) \
|
||||
_(XrScenePlanesMSFT, XR_TYPE_SCENE_PLANES_MSFT) \
|
||||
_(XrScenePlaneAlignmentFilterInfoMSFT, XR_TYPE_SCENE_PLANE_ALIGNMENT_FILTER_INFO_MSFT) \
|
||||
_(XrSceneMeshesMSFT, XR_TYPE_SCENE_MESHES_MSFT) \
|
||||
_(XrSceneMeshBuffersGetInfoMSFT, XR_TYPE_SCENE_MESH_BUFFERS_GET_INFO_MSFT) \
|
||||
_(XrSceneMeshBuffersMSFT, XR_TYPE_SCENE_MESH_BUFFERS_MSFT) \
|
||||
_(XrSceneMeshVertexBufferMSFT, XR_TYPE_SCENE_MESH_VERTEX_BUFFER_MSFT) \
|
||||
_(XrSceneMeshIndicesUint32MSFT, XR_TYPE_SCENE_MESH_INDICES_UINT32_MSFT) \
|
||||
_(XrSceneMeshIndicesUint16MSFT, XR_TYPE_SCENE_MESH_INDICES_UINT16_MSFT) \
|
||||
_(XrSerializedSceneFragmentDataGetInfoMSFT, XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT) \
|
||||
_(XrSceneDeserializeInfoMSFT, XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT) \
|
||||
_(XrEventDataDisplayRefreshRateChangedFB, XR_TYPE_EVENT_DATA_DISPLAY_REFRESH_RATE_CHANGED_FB) \
|
||||
_(XrSystemColorSpacePropertiesFB, XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB) \
|
||||
_(XrHandTrackingMeshFB, XR_TYPE_HAND_TRACKING_MESH_FB) \
|
||||
_(XrHandTrackingScaleFB, XR_TYPE_HAND_TRACKING_SCALE_FB) \
|
||||
_(XrHandTrackingAimStateFB, XR_TYPE_HAND_TRACKING_AIM_STATE_FB) \
|
||||
_(XrHandTrackingCapsulesStateFB, XR_TYPE_HAND_TRACKING_CAPSULES_STATE_FB) \
|
||||
_(XrFoveationProfileCreateInfoFB, XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB) \
|
||||
_(XrSwapchainCreateInfoFoveationFB, XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB) \
|
||||
_(XrSwapchainStateFoveationFB, XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB) \
|
||||
_(XrFoveationLevelProfileCreateInfoFB, XR_TYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FB) \
|
||||
_(XrViewLocateFoveatedRenderingVARJO, XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO) \
|
||||
_(XrFoveatedViewConfigurationViewVARJO, XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO) \
|
||||
_(XrSystemFoveatedRenderingPropertiesVARJO, XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO) \
|
||||
_(XrCompositionLayerDepthTestVARJO, XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO) \
|
||||
_(XrSpatialAnchorPersistenceInfoMSFT, XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT) \
|
||||
_(XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT, XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT) \
|
||||
_(XrCompositionLayerSpaceWarpInfoFB, XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FB) \
|
||||
_(XrSystemSpaceWarpPropertiesFB, XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FB) \
|
||||
|
||||
|
||||
|
||||
|
@ -1583,6 +2186,15 @@ XR_ENUM_STR(XrResult);
|
|||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_WIN32(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL) && defined(XR_USE_PLATFORM_XCB)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XCB(_) \
|
||||
_(XrGraphicsBindingOpenGLXcbKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XCB(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL) && defined(XR_USE_PLATFORM_XLIB)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XLIB(_) \
|
||||
_(XrGraphicsBindingOpenGLXlibKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR) \
|
||||
|
@ -1596,12 +2208,22 @@ XR_ENUM_STR(XrResult);
|
|||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES(_) \
|
||||
_(XrSwapchainImageOpenGLESKHR, XR_TYPE_SWAPCHAIN_IMAGE_OPENGL_ES_KHR) \
|
||||
_(XrGraphicsRequirementsOpenGLESKHR, XR_TYPE_GRAPHICS_REQUIREMENTS_OPENGL_ES_KHR) \
|
||||
_(XrSwapchainStateSamplerOpenGLESFB, XR_TYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FB) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL_ES) && defined(XR_USE_PLATFORM_ANDROID)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES_XR_USE_PLATFORM_ANDROID(_) \
|
||||
_(XrGraphicsBindingOpenGLESAndroidKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_ES_ANDROID_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES_XR_USE_PLATFORM_ANDROID(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_VULKAN)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_VULKAN(_) \
|
||||
_(XrVulkanSwapchainFormatListCreateInfoKHR, XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHR) \
|
||||
|
@ -1611,6 +2233,8 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrVulkanInstanceCreateInfoKHR, XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR) \
|
||||
_(XrVulkanDeviceCreateInfoKHR, XR_TYPE_VULKAN_DEVICE_CREATE_INFO_KHR) \
|
||||
_(XrVulkanGraphicsDeviceGetInfoKHR, XR_TYPE_VULKAN_GRAPHICS_DEVICE_GET_INFO_KHR) \
|
||||
_(XrSwapchainImageFoveationVulkanFB, XR_TYPE_SWAPCHAIN_IMAGE_FOVEATION_VULKAN_FB) \
|
||||
_(XrSwapchainStateSamplerVulkanFB, XR_TYPE_SWAPCHAIN_STATE_SAMPLER_VULKAN_FB) \
|
||||
|
||||
|
||||
#else
|
||||
|
@ -1622,21 +2246,13 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrInstanceCreateInfoAndroidKHR, XR_TYPE_INSTANCE_CREATE_INFO_ANDROID_KHR) \
|
||||
_(XrLoaderInitInfoAndroidKHR, XR_TYPE_LOADER_INIT_INFO_ANDROID_KHR) \
|
||||
_(XrAndroidSurfaceSwapchainCreateInfoFB, XR_TYPE_ANDROID_SURFACE_SWAPCHAIN_CREATE_INFO_FB) \
|
||||
_(XrSwapchainStateAndroidSurfaceDimensionsFB, XR_TYPE_SWAPCHAIN_STATE_ANDROID_SURFACE_DIMENSIONS_FB) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_PLATFORM_ANDROID) && defined(XR_USE_GRAPHICS_API_OPENGL_ES)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID_XR_USE_GRAPHICS_API_OPENGL_ES(_) \
|
||||
_(XrGraphicsBindingOpenGLESAndroidKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_ES_ANDROID_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID_XR_USE_GRAPHICS_API_OPENGL_ES(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_PLATFORM_EGL)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_EGL(_) \
|
||||
_(XrGraphicsBindingEGLMNDX, XR_TYPE_GRAPHICS_BINDING_EGL_MNDX) \
|
||||
|
@ -1655,15 +2271,6 @@ XR_ENUM_STR(XrResult);
|
|||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_PLATFORM_XCB) && defined(XR_USE_GRAPHICS_API_OPENGL)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XCB_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
_(XrGraphicsBindingOpenGLXcbKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XCB_XR_USE_GRAPHICS_API_OPENGL(_)
|
||||
#endif
|
||||
|
||||
#define XR_LIST_STRUCTURE_TYPES(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_CORE(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_D3D11(_) \
|
||||
|
@ -1671,14 +2278,14 @@ XR_ENUM_STR(XrResult);
|
|||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_WAYLAND(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_WIN32(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XCB(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XLIB(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES_XR_USE_PLATFORM_ANDROID(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_VULKAN(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID_XR_USE_GRAPHICS_API_OPENGL_ES(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_EGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XCB_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
|
||||
|
||||
#define XR_LIST_EXTENSIONS(_) \
|
||||
|
@ -1707,6 +2314,8 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_VARJO_quad_views, 38) \
|
||||
_(XR_MSFT_unbounded_reference_space, 39) \
|
||||
_(XR_MSFT_spatial_anchor, 40) \
|
||||
_(XR_FB_composition_layer_image_layout, 41) \
|
||||
_(XR_FB_composition_layer_alpha_blend, 42) \
|
||||
_(XR_MND_headless, 43) \
|
||||
_(XR_OCULUS_android_session_state_enable, 45) \
|
||||
_(XR_EXT_view_configuration_depth_range, 47) \
|
||||
|
@ -1723,9 +2332,13 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_EXT_win32_appcontainer_compatible, 58) \
|
||||
_(XR_EPIC_view_configuration_fov, 60) \
|
||||
_(XR_MSFT_holographic_window_attachment, 64) \
|
||||
_(XR_MSFT_composition_layer_reprojection, 67) \
|
||||
_(XR_HUAWEI_controller_interaction, 70) \
|
||||
_(XR_FB_android_surface_swapchain_create, 71) \
|
||||
_(XR_FB_swapchain_update_state, 72) \
|
||||
_(XR_FB_composition_layer_secure_content, 73) \
|
||||
_(XR_VALVE_analog_threshold, 80) \
|
||||
_(XR_EXT_hand_joints_motion_range, 81) \
|
||||
_(XR_KHR_loader_init, 89) \
|
||||
_(XR_KHR_loader_init_android, 90) \
|
||||
_(XR_KHR_vulkan_enable2, 91) \
|
||||
|
@ -1733,10 +2346,28 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_EXT_samsung_odyssey_controller, 95) \
|
||||
_(XR_EXT_hp_mixed_reality_controller, 96) \
|
||||
_(XR_MND_swapchain_usage_input_attachment_bit, 97) \
|
||||
_(XR_MSFT_scene_understanding, 98) \
|
||||
_(XR_MSFT_scene_understanding_serialization, 99) \
|
||||
_(XR_FB_display_refresh_rate, 102) \
|
||||
_(XR_HTC_vive_cosmos_controller_interaction, 103) \
|
||||
_(XR_FB_color_space, 109) \
|
||||
_(XR_FB_hand_tracking_mesh, 111) \
|
||||
_(XR_FB_hand_tracking_aim, 112) \
|
||||
_(XR_FB_hand_tracking_capsules, 113) \
|
||||
_(XR_FB_foveation, 115) \
|
||||
_(XR_FB_foveation_configuration, 116) \
|
||||
_(XR_KHR_binding_modification, 121) \
|
||||
_(XR_VARJO_foveated_rendering, 122) \
|
||||
_(XR_VARJO_composition_layer_depth_test, 123) \
|
||||
_(XR_VARJO_environment_depth_estimation, 124) \
|
||||
_(XR_MSFT_spatial_anchor_persistence, 143) \
|
||||
_(XR_OCULUS_audio_device_guid, 160) \
|
||||
_(XR_FB_foveation_vulkan, 161) \
|
||||
_(XR_FB_swapchain_update_state_android_surface, 162) \
|
||||
_(XR_FB_swapchain_update_state_opengl_es, 163) \
|
||||
_(XR_FB_swapchain_update_state_vulkan, 164) \
|
||||
_(XR_KHR_swapchain_usage_input_attachment_bit, 166) \
|
||||
_(XR_FB_space_warp, 172) \
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue