#include <openxr/openxr.h>
#include <vector>
#include <set>
#include "XrError.h"
Go to the source code of this file.
|
namespace | xr |
| The xr::DispatchTable struct contains all available PFN pointers to xr functions including those in all extensions. The application should call dispatchTable.Initialize() once creating a new XrInstance to initialize all function pointers. The application should reset the dispatch table by = {} when destroying the instance handle.
|
|
|
template<typename TArray , typename TValue > |
bool | xr::Contains (const TArray &array, const TValue &value) |
|
std::vector< XrExtensionProperties > | xr::EnumerateInstanceExtensionProperties (const char *layerName=nullptr) |
|
std::vector< XrViewConfigurationType > | xr::EnumerateViewConfigurations (XrInstance instance, XrSystemId systemId) |
|
std::vector< XrViewConfigurationView > | xr::EnumerateViewConfigurationViews (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType) |
|
std::vector< XrEnvironmentBlendMode > | xr::EnumerateEnvironmentBlendModes (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigType) |
|
XrEnvironmentBlendMode | xr::PickEnvironmentBlendMode (const std::vector< XrEnvironmentBlendMode > &systemSupportedBlendModes, const std::vector< XrEnvironmentBlendMode > &appSupportedBlendModes) |
|
std::vector< int64_t > | xr::EnumerateSwapchainFormats (XrSession session) |
|
template<typename TSystemPixelFormat , typename TAppPixelFormat > |
TAppPixelFormat | xr::PickSwapchainFormat (const std::vector< TSystemPixelFormat > &systemSupportedFormats, const std::vector< TAppPixelFormat > &appSupportedFormats) |
|
std::vector< XrReferenceSpaceType > | xr::EnumerateReferenceSpaceTypes (XrSession session) |
|
std::set< std::string > | xr::QueryActionLocalizedName (XrSession session, XrAction action, XrInputSourceLocalizedNameFlags flags) |
|