![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Functions | |
QString | getXrResultAsString (XrResult result, XrInstance instance) |
bool | checkXrResult (XrResult result, XrInstance instance) |
bool | resolveXrFunction (XrInstance instance, const char *name, PFN_xrVoidFunction *function) |
QQuaternion | toQQuaternion (const XrQuaternionf &q) |
QVector3D | toQVector (const XrVector3f &v) |
template<typename T> | |
XrResult | safeCall () |
Safe call to OpenXR function. | |
template<typename... A> | |
XrResult | safeCall (XrResult(XRAPI_PTR *f)(A...), A... args) |
bool OpenXRHelpers::checkXrResult | ( | XrResult | result, |
XrInstance | instance ) |
Definition at line 17 of file qopenxrhelpers.cpp.
Referenced by QOpenXRGraphicsD3D11::setupGraphics(), QOpenXRGraphicsD3D12::setupGraphics(), QOpenXRGraphicsMetal::setupGraphics(), QOpenXRGraphicsOpenGL::setupGraphics(), QOpenXRGraphicsOpenGLES::setupGraphics(), and QOpenXRGraphicsVulkan::setupGraphics().
QT_BEGIN_NAMESPACE QString OpenXRHelpers::getXrResultAsString | ( | XrResult | result, |
XrInstance | instance ) |
Definition at line 9 of file qopenxrhelpers.cpp.
bool OpenXRHelpers::resolveXrFunction | ( | XrInstance | instance, |
const char * | name, | ||
PFN_xrVoidFunction * | function ) |
Definition at line 26 of file qopenxrhelpers.cpp.
|
nodiscard |
Safe call to OpenXR function.
f | - OpenXR function pointer that returns a XrResult |
args | - arguments for the function pointed to by f |
|
nodiscard |
Definition at line 58 of file qopenxrhelpers_p.h.
|
inline |
Definition at line 33 of file qopenxrhelpers_p.h.
|
inline |
Definition at line 38 of file qopenxrhelpers_p.h.