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
QQuick3DXrManagerPrivate Class Reference

#include <qquick3dxrmanager_openxr_p.h>

+ Collaboration diagram for QQuick3DXrManagerPrivate:

Public Types

enum class  RenderState { Paused , Running , Invalidated }
 

Signals

void initialized ()
 

Public Member Functions

 QQuick3DXrManagerPrivate (QQuick3DXrManager &manager)
 
 ~QQuick3DXrManagerPrivate ()
 
bool supportsPassthrough () const
 
bool isValid () const
 
bool isReady () const
 
void setupWindow (QQuickWindow *window)
 
bool isGraphicsInitialized () const
 
bool setupGraphics (QQuickWindow *window)
 
void processXrEvents ()
 
void doRenderFrame ()
 
bool finalizeGraphics (QRhi *rhi)
 
void setSamples (int samples)
 
QStringList enabledExtensions () const
 
QString runtimeName () const
 
QVersionNumber runtimeVersion () const
 
void setMultiviewRenderingEnabled (bool enable)
 
bool isMultiViewRenderingEnabled () const
 
bool isMultiViewRenderingSupported () const
 
void setPassthroughEnabled (bool enable)
 
bool isPassthroughEnabled () const
 
void setDepthSubmissionEnabled (bool enable)
 
bool isDepthSubmissionEnabled () const
 
void setReferenceSpace (QtQuick3DXr::ReferenceSpace newReferenceSpace)
 
QtQuick3DXr::ReferenceSpace getReferenceSpace () const
 
QString errorString () const
 
 QQuick3DXrManagerPrivate (QQuick3DXrManager &manager)
 
 ~QQuick3DXrManagerPrivate ()
 
bool initialize ()
 
bool finalizeGraphics (QRhi *rhi)
 
bool isReady () const
 
bool isGraphicsInitialized () const
 
bool setupGraphics (QQuickWindow *window)
 
void setupWindow (QQuickWindow *window)
 
void createSwapchains ()
 
void teardown ()
 
void setMultiviewRenderingEnabled (bool enable)
 
bool isMultiViewRenderingEnabled () const
 
bool isMultiViewRenderingSupported () const
 
void setPassthroughEnabled (bool enable)
 
bool isPassthroughEnabled () const
 
bool supportsPassthrough () const
 
QtQuick3DXr::ReferenceSpace getReferenceSpace () const
 
void setReferenceSpace (QtQuick3DXr::ReferenceSpace newReferenceSpace)
 
void setDepthSubmissionEnabled (bool enable)
 
bool isDepthSubmissionEnabled () const
 
bool isValid () const
 
RenderState getRenderState ()
 
cp_layer_renderer_t layerRenderer () const
 
void runWorldTrackingARSession ()
 
ar_device_anchor_t createPoseForTiming (cp_frame_timing_t timing)
 
void processXrEvents ()
 
void setSamples (int samples)
 
QStringList enabledExtensions () const
 
QString runtimeName () const
 
QVersionNumber runtimeVersion () const
 
QString errorString () const
 
void doRenderFrame ()
 

Static Public Member Functions

static QQuick3DXrManagerPrivateget (QQuick3DXrManager *manager)
 
static QQuick3DXrManagerPrivateget (QQuick3DXrManager *manager)
 

Friends

class QOpenXRRuntimeInfo
 

Detailed Description

Definition at line 44 of file qquick3dxrmanager_openxr_p.h.

Member Enumeration Documentation

◆ RenderState

Enumerator
Paused 
Running 
Invalidated 

Definition at line 37 of file qquick3dxrmanager_visionos_p.h.

Constructor & Destructor Documentation

◆ QQuick3DXrManagerPrivate() [1/2]

QQuick3DXrManagerPrivate::QQuick3DXrManagerPrivate ( QQuick3DXrManager & manager)
explicit

Definition at line 149 of file qquick3dxrmanager_openxr.cpp.

◆ ~QQuick3DXrManagerPrivate() [1/2]

QQuick3DXrManagerPrivate::~QQuick3DXrManagerPrivate ( )

Definition at line 155 of file qquick3dxrmanager_openxr.cpp.

◆ QQuick3DXrManagerPrivate() [2/2]

QQuick3DXrManagerPrivate::QQuick3DXrManagerPrivate ( QQuick3DXrManager & manager)
explicit

◆ ~QQuick3DXrManagerPrivate() [2/2]

QQuick3DXrManagerPrivate::~QQuick3DXrManagerPrivate ( )

Member Function Documentation

◆ createPoseForTiming()

ar_device_anchor_t QQuick3DXrManagerPrivate::createPoseForTiming ( cp_frame_timing_t timing)

Definition at line 240 of file qquick3dxrmanager_visionos.mm.

◆ createSwapchains()

void QQuick3DXrManagerPrivate::createSwapchains ( )

◆ doRenderFrame() [1/2]

void QQuick3DXrManagerPrivate::doRenderFrame ( )

Definition at line 303 of file qquick3dxrmanager_openxr.cpp.

References Q_ASSERT, qWarning, and supportsPassthrough().

+ Here is the call graph for this function:

◆ doRenderFrame() [2/2]

void QQuick3DXrManagerPrivate::doRenderFrame ( )

◆ enabledExtensions() [1/2]

QStringList QQuick3DXrManagerPrivate::enabledExtensions ( ) const

Definition at line 1086 of file qquick3dxrmanager_openxr.cpp.

◆ enabledExtensions() [2/2]

QStringList QQuick3DXrManagerPrivate::enabledExtensions ( ) const
inline

Definition at line 88 of file qquick3dxrmanager_visionos_p.h.

◆ errorString() [1/2]

QString QQuick3DXrManagerPrivate::errorString ( ) const
inline

Definition at line 89 of file qquick3dxrmanager_openxr_p.h.

◆ errorString() [2/2]

QString QQuick3DXrManagerPrivate::errorString ( ) const

◆ finalizeGraphics() [1/2]

bool QQuick3DXrManagerPrivate::finalizeGraphics ( QRhi * rhi)

Definition at line 363 of file qquick3dxrmanager_openxr.cpp.

References QAbstractOpenXRGraphics::finializeGraphics(), qDebug, QSSG_ASSERT, and qWarning.

+ Here is the call graph for this function:

◆ finalizeGraphics() [2/2]

bool QQuick3DXrManagerPrivate::finalizeGraphics ( QRhi * rhi)

◆ get() [1/2]

QQuick3DXrManagerPrivate * QQuick3DXrManagerPrivate::get ( QQuick3DXrManager * manager)
static

Definition at line 160 of file qquick3dxrmanager_openxr.cpp.

References manager, and QSSG_ASSERT.

Referenced by QOpenXRRuntimeInfo::enabledExtensions(), QOpenXRRuntimeInfo::runtimeName(), and QOpenXRRuntimeInfo::runtimeVersion().

+ Here is the caller graph for this function:

◆ get() [2/2]

static QQuick3DXrManagerPrivate * QQuick3DXrManagerPrivate::get ( QQuick3DXrManager * manager)
static

◆ getReferenceSpace() [1/2]

QtQuick3DXr::ReferenceSpace QQuick3DXrManagerPrivate::getReferenceSpace ( ) const

Definition at line 1179 of file qquick3dxrmanager_openxr.cpp.

References getReferenceSpaceType().

+ Here is the call graph for this function:

◆ getReferenceSpace() [2/2]

QtQuick3DXr::ReferenceSpace QQuick3DXrManagerPrivate::getReferenceSpace ( ) const

◆ getRenderState()

QQuick3DXrManagerPrivate::RenderState QQuick3DXrManagerPrivate::getRenderState ( )

Definition at line 181 of file qquick3dxrmanager_visionos.mm.

References Invalidated, isReady(), layerRenderer(), Paused, renderer, and Running.

+ Here is the call graph for this function:

◆ initialize()

bool QQuick3DXrManagerPrivate::initialize ( )

◆ initialized

void QQuick3DXrManagerPrivate::initialized ( )
signal

◆ isDepthSubmissionEnabled() [1/2]

bool QQuick3DXrManagerPrivate::isDepthSubmissionEnabled ( ) const
inline

Definition at line 84 of file qquick3dxrmanager_openxr_p.h.

◆ isDepthSubmissionEnabled() [2/2]

bool QQuick3DXrManagerPrivate::isDepthSubmissionEnabled ( ) const
inline

Definition at line 73 of file qquick3dxrmanager_visionos_p.h.

◆ isGraphicsInitialized() [1/2]

bool QQuick3DXrManagerPrivate::isGraphicsInitialized ( ) const

Definition at line 258 of file qquick3dxrmanager_openxr.cpp.

References QAbstractOpenXRGraphics::rhi().

+ Here is the call graph for this function:

◆ isGraphicsInitialized() [2/2]

bool QQuick3DXrManagerPrivate::isGraphicsInitialized ( ) const

◆ isMultiViewRenderingEnabled() [1/2]

bool QQuick3DXrManagerPrivate::isMultiViewRenderingEnabled ( ) const
inline

Definition at line 77 of file qquick3dxrmanager_openxr_p.h.

◆ isMultiViewRenderingEnabled() [2/2]

bool QQuick3DXrManagerPrivate::isMultiViewRenderingEnabled ( ) const
inline

Definition at line 62 of file qquick3dxrmanager_visionos_p.h.

◆ isMultiViewRenderingSupported() [1/2]

bool QQuick3DXrManagerPrivate::isMultiViewRenderingSupported ( ) const

Definition at line 1121 of file qquick3dxrmanager_openxr.cpp.

References QRhi::isFeatureSupported(), and QRhi::MultiView.

+ Here is the call graph for this function:

◆ isMultiViewRenderingSupported() [2/2]

bool QQuick3DXrManagerPrivate::isMultiViewRenderingSupported ( ) const
inline

Definition at line 63 of file qquick3dxrmanager_visionos_p.h.

◆ isPassthroughEnabled() [1/2]

bool QQuick3DXrManagerPrivate::isPassthroughEnabled ( ) const
inline

Definition at line 81 of file qquick3dxrmanager_openxr_p.h.

◆ isPassthroughEnabled() [2/2]

bool QQuick3DXrManagerPrivate::isPassthroughEnabled ( ) const
inline

Definition at line 66 of file qquick3dxrmanager_visionos_p.h.

◆ isReady() [1/2]

bool QQuick3DXrManagerPrivate::isReady ( ) const
inline

Definition at line 57 of file qquick3dxrmanager_openxr_p.h.

Referenced by getRenderState().

+ Here is the caller graph for this function:

◆ isReady() [2/2]

bool QQuick3DXrManagerPrivate::isReady ( ) const

◆ isValid() [1/2]

bool QQuick3DXrManagerPrivate::isValid ( ) const
inline

Definition at line 55 of file qquick3dxrmanager_openxr_p.h.

◆ isValid() [2/2]

bool QQuick3DXrManagerPrivate::isValid ( ) const
inline

Definition at line 75 of file qquick3dxrmanager_visionos_p.h.

◆ layerRenderer()

cp_layer_renderer_t QQuick3DXrManagerPrivate::layerRenderer ( ) const

Definition at line 235 of file qquick3dxrmanager_visionos.mm.

Referenced by getRenderState().

+ Here is the caller graph for this function:

◆ processXrEvents() [1/2]

void QQuick3DXrManagerPrivate::processXrEvents ( )

Definition at line 271 of file qquick3dxrmanager_openxr.cpp.

References emit, and QQuick3DXrInputManagerPrivate::get().

+ Here is the call graph for this function:

◆ processXrEvents() [2/2]

void QQuick3DXrManagerPrivate::processXrEvents ( )

◆ runtimeName() [1/2]

QString QQuick3DXrManagerPrivate::runtimeName ( ) const

Definition at line 1091 of file qquick3dxrmanager_openxr.cpp.

◆ runtimeName() [2/2]

QString QQuick3DXrManagerPrivate::runtimeName ( ) const

◆ runtimeVersion() [1/2]

QVersionNumber QQuick3DXrManagerPrivate::runtimeVersion ( ) const

Definition at line 1096 of file qquick3dxrmanager_openxr.cpp.

◆ runtimeVersion() [2/2]

QVersionNumber QQuick3DXrManagerPrivate::runtimeVersion ( ) const

◆ runWorldTrackingARSession()

void QQuick3DXrManagerPrivate::runWorldTrackingARSession ( )

Definition at line 290 of file qquick3dxrmanager_visionos.mm.

References QQuick3DXrInputManagerPrivate::get(), QQuick3DXrAnchorManager::instance(), QQuick3DXrInputManager::instance(), QSSG_GUARD, and QSSG_GUARD_X.

+ Here is the call graph for this function:

◆ setDepthSubmissionEnabled() [1/2]

void QQuick3DXrManagerPrivate::setDepthSubmissionEnabled ( bool enable)

Definition at line 1154 of file qquick3dxrmanager_openxr.cpp.

References qDebug.

◆ setDepthSubmissionEnabled() [2/2]

void QQuick3DXrManagerPrivate::setDepthSubmissionEnabled ( bool enable)

◆ setMultiviewRenderingEnabled() [1/2]

void QQuick3DXrManagerPrivate::setMultiviewRenderingEnabled ( bool enable)

Definition at line 1101 of file qquick3dxrmanager_openxr.cpp.

References QRhi::backendName(), QRhi::isFeatureSupported(), QRhi::MultiView, qDebug, and qWarning.

+ Here is the call graph for this function:

◆ setMultiviewRenderingEnabled() [2/2]

void QQuick3DXrManagerPrivate::setMultiviewRenderingEnabled ( bool enable)

◆ setPassthroughEnabled() [1/2]

void QQuick3DXrManagerPrivate::setPassthroughEnabled ( bool enable)

Definition at line 1128 of file qquick3dxrmanager_openxr.cpp.

◆ setPassthroughEnabled() [2/2]

void QQuick3DXrManagerPrivate::setPassthroughEnabled ( bool enable)

◆ setReferenceSpace() [1/2]

void QQuick3DXrManagerPrivate::setReferenceSpace ( QtQuick3DXr::ReferenceSpace newReferenceSpace)

Definition at line 1167 of file qquick3dxrmanager_openxr.cpp.

References getXrReferenceSpaceType().

+ Here is the call graph for this function:

◆ setReferenceSpace() [2/2]

void QQuick3DXrManagerPrivate::setReferenceSpace ( QtQuick3DXr::ReferenceSpace newReferenceSpace)

◆ setSamples() [1/2]

void QQuick3DXrManagerPrivate::setSamples ( int samples)

Definition at line 1075 of file qquick3dxrmanager_openxr.cpp.

◆ setSamples() [2/2]

void QQuick3DXrManagerPrivate::setSamples ( int samples)

◆ setupGraphics() [1/2]

bool QQuick3DXrManagerPrivate::setupGraphics ( QQuickWindow * window)

Definition at line 263 of file qquick3dxrmanager_openxr.cpp.

References QSSG_ASSERT, QAbstractOpenXRGraphics::setupGraphics(), and window().

+ Here is the call graph for this function:

◆ setupGraphics() [2/2]

bool QQuick3DXrManagerPrivate::setupGraphics ( QQuickWindow * window)

◆ setupWindow() [1/2]

void QQuick3DXrManagerPrivate::setupWindow ( QQuickWindow * window)

Definition at line 251 of file qquick3dxrmanager_openxr.cpp.

References QSSG_ASSERT, QAbstractOpenXRGraphics::setupWindow(), and window().

+ Here is the call graph for this function:

◆ setupWindow() [2/2]

void QQuick3DXrManagerPrivate::setupWindow ( QQuickWindow * window)

◆ supportsPassthrough() [1/2]

bool QQuick3DXrManagerPrivate::supportsPassthrough ( ) const

Definition at line 217 of file qquick3dxrmanager_openxr.cpp.

Referenced by doRenderFrame().

+ Here is the caller graph for this function:

◆ supportsPassthrough() [2/2]

bool QQuick3DXrManagerPrivate::supportsPassthrough ( ) const
inline

Definition at line 67 of file qquick3dxrmanager_visionos_p.h.

◆ teardown()

void QQuick3DXrManagerPrivate::teardown ( )

Friends And Related Symbol Documentation

◆ QOpenXRRuntimeInfo

friend class QOpenXRRuntimeInfo
friend

Definition at line 92 of file qquick3dxrmanager_openxr_p.h.


The documentation for this class was generated from the following files: