Capability | Corresponding OpenXR capability | Parameters | Corresponding OpenXR object |
---|---|---|---|
Create an XR System | xrGetSystem() | xrSystemIdentifier | XrSystemId* systemId; |
Query XR System's graphics properties | xrGetSystemProperties() | swapchainSupported | Implicit, since the OpenXR specification support of swapchain by design. |
maxSwapchainImageHeight | uint32_t maxSwapchainImageHeight; | ||
maxSwapchainImageWidth | uint32_t maxSwapchainImageWidth; | ||
maxLayerCount | uint32_t maxLayerCount; | ||
Query XR System's tracking properties | xrGetSystemProperties() | orientationTracking | XrBool32 orientationTracking; |
positionTracking | XrBool32 positionTracking; | ||
Enumerate XR System's supported environment blend modes | xrEnumerate | Value 'opaque' of blendMode | XrEnvironment |
Value 'additive' of blendMode | XrEnvironmentBlendMode* environment | ||
Value 'alpha_blend' of blendMode | XrEnvironmentBlendMode* environment | ||
Enumerate supported view configuration types | xrEnumerateView | Value 'monoscopic' of viewConfiguration | XrViewConfigurationType* viewConfiguration |
Value 'stereoscopic' of viewConfiguration | XrViewConfigurationType* viewConfigurationTypes;
There is one element of viewConfiguration | ||
Value 'other' of viewConfiguration | XrViewConfigurationType* viewConfigurationTypes;
There is one element of viewConfiguration | ||
Enumerate the view configuration properties | xrEnumerateView | recommended | uint32_t recommended |
maxImageRectWidth | uint32_t maxImage | ||
recommended | uint32_t recommended | ||
maxImageRectHeight | uint32_t maxImage | ||
recommended | uint32_t recommended | ||
maxSwapchain | uint32_t maxSwapchain | ||
Enumerate reference space types | xrEnumerate | Value 'view' of referenceSpace | XrReferenceSpaceType* spaces;
There is one element of spaces whose value is equal to XR_REFERENCE_ |
Value 'local' of referenceSpace | XrReferenceSpaceType* spaces;
There is one element of spaces whose value is equal to XR_REFERENCE_ | ||
Value 'stage' of referenceSpace | XrReferenceSpaceType* spaces;
There is one element of spaces whose value is equal to XR_REFERENCE_ | ||
Value 'unbounded' of referenceSpace | XrReferenceSpaceType* spaces;
There is one element of spaces whose value is equal to XR_REFERENCE_ | ||
Value 'user_defined' of referenceSpace | |||
Query the spatial range boundaries | xrGetReference | 2DSpatial | XrExtent2Df* bounds; |
Enumerate swapchain image formats | xrEnumerate | swapchainImage | int64_t* formats; |
Enumerate swapchain images | xrEnumerate | numberSwapchain | uint32_t* imageCountOutput; |
swapchainImages | XrSwapchain | ||
Enumerate composition layer type | N/A | Value 'projection' of compositionLayer | Part of the core specification |
Value 'quad' of compositionLayer | Part of the core specification | ||
xrEnumerate | Value 'cylinder' of compositionLayer | XrStructureType type;
The variable type has the value XR_TYPE_COMPOSITION_ | |
Value 'cube' of compositionLayer | XrStructureType type;
The variable type has the value XR_TYPE_COMPOSITION_LAYER_ | ||
Value 'equirectangular' of compositionLayer | XrStructureType type;
The variable type has the value XR_TYPE_COMPOSITION_ | ||
Value 'depth' of compositionLayer | XrStructureType type;
The variable type has the value XR_TYPE_COMPOSITION_ |