Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
OpenXRHelpers Namespace Reference

Functions

QString getXrResultAsString (XrResult result, XrInstance instance)
 
bool checkXrResult (XrResult result, XrInstance instance)
 
QQuaternion toQQuaternion (const XrQuaternionf &q)
 
QVector3D toQVector (const XrVector3f &v)
 

Function Documentation

◆ checkXrResult()

bool OpenXRHelpers::checkXrResult ( XrResult result,
XrInstance instance )

Definition at line 17 of file qopenxrhelpers.cpp.

References getXrResultAsString(), and qWarning.

Referenced by QOpenXRGraphicsD3D11::setupGraphics(), QOpenXRGraphicsD3D12::setupGraphics(), QOpenXRGraphicsOpenGL::setupGraphics(), QOpenXRGraphicsOpenGLES::setupGraphics(), and QOpenXRGraphicsVulkan::setupGraphics().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getXrResultAsString()

QT_BEGIN_NAMESPACE QString OpenXRHelpers::getXrResultAsString ( XrResult result,
XrInstance instance )

Definition at line 9 of file qopenxrhelpers.cpp.

References QString::fromUtf8(), and qstrlen().

Referenced by checkXrResult().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toQQuaternion()

QQuaternion OpenXRHelpers::toQQuaternion ( const XrQuaternionf & q)
inline

Definition at line 32 of file qopenxrhelpers_p.h.

Referenced by QOpenXRInputManager::updateHandtracking().

+ Here is the caller graph for this function:

◆ toQVector()

QVector3D OpenXRHelpers::toQVector ( const XrVector3f & v)
inline

Definition at line 37 of file qopenxrhelpers_p.h.

References QVector3D::x().

Referenced by QOpenXRInputManager::updateHandtracking().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: