Skyscraper 2.0
|
Go to the source code of this file.
Namespaces | |
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. | |
namespace | xr::detail |
Macros | |
#define | CHECK_XRCMD(cmd) xr::detail::_CheckXrResult(cmd, #cmd, FILE_AND_LINE) |
#define | CHECK_XRRESULT(res, cmdStr) xr::detail::_CheckXrResult(res, cmdStr, FILE_AND_LINE) |
#define | CHECK_HRCMD(cmd) xr::detail::_CheckHResult(cmd, #cmd, FILE_AND_LINE) |
#define | CHECK_HRESULT(res, cmdStr) xr::detail::_CheckHResult(res, cmdStr, FILE_AND_LINE) |
#define | DEBUG_PRINT(...) ::OutputDebugStringA((xr::detail::_Fmt(__VA_ARGS__) + "\n").c_str()) |
#define | CHK_STRINGIFY(x) #x |
#define | TOSTRING(x) CHK_STRINGIFY(x) |
#define | FILE_AND_LINE __FILE__ ":" TOSTRING(__LINE__) |
#define | THROW(msg) xr::detail::_Throw(msg, nullptr, FILE_AND_LINE) |
#define | CHECK(exp) |
#define | CHECK_MSG(exp, msg) |
Functions | |
std::string | xr::detail::_Fmt (const char *fmt,...) |
void | xr::detail::_Throw (std::string failureMessage, const char *originator=nullptr, const char *sourceLocation=nullptr) |
void | xr::detail::_ThrowXrResult (XrResult res, const char *originator=nullptr, const char *sourceLocation=nullptr) |
XrResult | xr::detail::_CheckXrResult (XrResult res, const char *originator=nullptr, const char *sourceLocation=nullptr) |
#define CHECK | ( | exp | ) |
Definition at line 59 of file XrError.h.
Referenced by Ogre::OpenXRRenderWindow::_startXrFrame(), Ogre::OpenXRSwapchain::AcquireImages(), Ogre::OpenXRInstance::Initialize(), Ogre::OpenXRSwapchain::Initialize(), Ogre::OpenXRViewProjection::Initialize(), Ogre::OpenXRState::initializeSession(), Ogre::OpenXRState::InitializeSystem(), Ogre::OpenXRRenderWindow::ProcessOpenXREvents(), SelectExtensions(), Ogre::OpenXRState::SelectSwapchainPixelFormats(), and Ogre::OpenXRViewProjection::UpdateXrViewInfo().
#define CHECK_HRCMD | ( | cmd | ) | xr::detail::_CheckHResult(cmd, #cmd, FILE_AND_LINE) |
Definition at line 17 of file XrError.h.
Referenced by Ogre::OpenXRRenderWindow::_beginUpdate().
#define CHECK_HRESULT | ( | res, | |
cmdStr ) xr::detail::_CheckHResult(res, cmdStr, FILE_AND_LINE) |
#define CHECK_MSG | ( | exp, | |
msg ) |
#define CHECK_XRCMD | ( | cmd | ) | xr::detail::_CheckXrResult(cmd, #cmd, FILE_AND_LINE) |
Definition at line 14 of file XrError.h.
Referenced by Ogre::OpenXRRenderWindow::_endXrFrame(), Ogre::OpenXRRenderWindow::_startXrFrame(), AcquireAndWaitForSwapchainImage(), xr::CreateScene(), xr::CreateSceneObserver(), CreateSwapchainD3D11(), xr::CreateViewProperties(), xr::EnumerateEnvironmentBlendModes(), xr::EnumerateInstanceExtensionProperties(), xr::EnumerateReferenceSpaceTypes(), xr::EnumerateSceneComputeFeatures(), xr::EnumerateSwapchainFormats(), xr::EnumerateViewConfigurations(), xr::EnumerateViewConfigurationViews(), Ogre::OpenXRState::GetAdapterLUID(), xr::su::SceneObserver::GetSceneComputeState(), xr::su::GetSerializedSceneFragments(), Ogre::OpenXRState::GetSystemProperties(), Ogre::OpenXRInstance::Initialize(), Ogre::OpenXRSwapchain::Initialize(), Ogre::OpenXRViewProjection::Initialize(), Ogre::OpenXRState::initializeSession(), Ogre::OpenXRState::InitializeSystem(), xr::su::LocateObjects(), xr::PathToString(), Ogre::OpenXRRenderWindow::ProcessOpenXREvents(), xr::QueryActionLocalizedName(), xr::ReadMeshBuffers(), xr::ReadMeshBuffers(), xr::su::ReadSceneFragmentData(), Ogre::OpenXRSwapchain::ReleaseImages(), SelectExtensions(), Ogre::OpenXRState::SelectSwapchainPixelFormats(), xr::StringToPath(), and Ogre::OpenXRViewProjection::UpdateXrViewInfo().
#define CHECK_XRRESULT | ( | res, | |
cmdStr ) xr::detail::_CheckXrResult(res, cmdStr, FILE_AND_LINE) |
Definition at line 15 of file XrError.h.
Referenced by Ogre::OpenXRState::InitializeSystem().
#define DEBUG_PRINT | ( | ... | ) | ::OutputDebugStringA((xr::detail::_Fmt(__VA_ARGS__) + "\n").c_str()) |
Definition at line 20 of file XrError.h.
Referenced by Ogre::OpenXRRenderWindow::ProcessOpenXREvents().
#define THROW | ( | msg | ) | xr::detail::_Throw(msg, nullptr, FILE_AND_LINE) |
Definition at line 58 of file XrError.h.
Referenced by Ogre::OpenXRState::SelectSwapchainPixelFormats().
#define TOSTRING | ( | x | ) | CHK_STRINGIFY(x) |