![]() |
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 19 of file qopenxrhelpers.cpp.
Referenced by resolveXrFunction().
| QT_BEGIN_NAMESPACE QString OpenXRHelpers::getXrResultAsString | ( | XrResult | result, |
| XrInstance | instance ) |
Definition at line 11 of file qopenxrhelpers.cpp.
| bool OpenXRHelpers::resolveXrFunction | ( | XrInstance | instance, |
| const char * | name, | ||
| PFN_xrVoidFunction * | function ) |
Definition at line 28 of file qopenxrhelpers.cpp.
References checkXrResult().
Referenced by QQuick3DXrAnchorManager::initialize().
|
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 60 of file qopenxrhelpers_p.h.
|
inline |
Definition at line 35 of file qopenxrhelpers_p.h.
|
inline |
Definition at line 40 of file qopenxrhelpers_p.h.