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

#include <qopenxrgraphics_d3d11_p.h>

+ Inheritance diagram for QOpenXRGraphicsD3D11:
+ Collaboration diagram for QOpenXRGraphicsD3D11:

Public Member Functions

 QOpenXRGraphicsD3D11 ()
 
bool isExtensionSupported (const QVector< XrExtensionProperties > &extensions) const override
 
const char * extensionName () const override
 
const XrBaseInStructure * handle () const override
 
bool setupGraphics (const XrInstance &instance, XrSystemId &systemId, const QQuickGraphicsConfiguration &quickConfig) override
 
bool finializeGraphics (QRhi *rhi) override
 
int64_t colorSwapchainFormat (const QVector< int64_t > &swapchainFormats) const override
 
int64_t depthSwapchainFormat (const QVector< int64_t > &swapchainFormats) const override
 
QVector< XrSwapchainImageBaseHeader * > allocateSwapchainImages (int count, XrSwapchain swapchain) override
 
QQuickRenderTarget renderTarget (const XrSwapchainSubImage &subImage, const XrSwapchainImageBaseHeader *swapchainImage, quint64 swapchainFormat, int samples, int arraySize, const XrSwapchainImageBaseHeader *depthSwapchainImage, quint64 depthSwapchainFormat) const override
 
void setupWindow (QQuickWindow *quickWindow) override
 
- Public Member Functions inherited from QAbstractOpenXRGraphics
 QAbstractOpenXRGraphics ()
 
virtual ~QAbstractOpenXRGraphics ()
 
virtual void releaseResources ()
 

Detailed Description

Definition at line 25 of file qopenxrgraphics_d3d11_p.h.

Constructor & Destructor Documentation

◆ QOpenXRGraphicsD3D11()

QT_BEGIN_NAMESPACE QOpenXRGraphicsD3D11::QOpenXRGraphicsD3D11 ( )

Definition at line 15 of file qopenxrgraphics_d3d11.cpp.

Member Function Documentation

◆ allocateSwapchainImages()

QVector< XrSwapchainImageBaseHeader * > QOpenXRGraphicsD3D11::allocateSwapchainImages ( int count,
XrSwapchain swapchain )
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 103 of file qopenxrgraphics_d3d11.cpp.

◆ colorSwapchainFormat()

int64_t QOpenXRGraphicsD3D11::colorSwapchainFormat ( const QVector< int64_t > & swapchainFormats) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 70 of file qopenxrgraphics_d3d11.cpp.

◆ depthSwapchainFormat()

int64_t QOpenXRGraphicsD3D11::depthSwapchainFormat ( const QVector< int64_t > & swapchainFormats) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 88 of file qopenxrgraphics_d3d11.cpp.

Referenced by renderTarget().

+ Here is the caller graph for this function:

◆ extensionName()

const char * QOpenXRGraphicsD3D11::extensionName ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 32 of file qopenxrgraphics_d3d11.cpp.

◆ finializeGraphics()

bool QOpenXRGraphicsD3D11::finializeGraphics ( QRhi * rhi)
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 62 of file qopenxrgraphics_d3d11.cpp.

References QRhi::nativeHandles().

+ Here is the call graph for this function:

◆ handle()

const XrBaseInStructure * QOpenXRGraphicsD3D11::handle ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 38 of file qopenxrgraphics_d3d11.cpp.

◆ isExtensionSupported()

bool QOpenXRGraphicsD3D11::isExtensionSupported ( const QVector< XrExtensionProperties > & extensions) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 21 of file qopenxrgraphics_d3d11.cpp.

References extension().

+ Here is the call graph for this function:

◆ renderTarget()

QQuickRenderTarget QOpenXRGraphicsD3D11::renderTarget ( const XrSwapchainSubImage & subImage,
const XrSwapchainImageBaseHeader * swapchainImage,
quint64 swapchainFormat,
int samples,
int arraySize,
const XrSwapchainImageBaseHeader * depthSwapchainImage,
quint64 depthSwapchainFormat ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 116 of file qopenxrgraphics_d3d11.cpp.

References depthSwapchainFormat(), QQuickRenderTarget::MultisampleResolve, Q_UNUSED, and qWarning.

+ Here is the call graph for this function:

◆ setupGraphics()

bool QOpenXRGraphicsD3D11::setupGraphics ( const XrInstance & instance,
XrSystemId & systemId,
const QQuickGraphicsConfiguration & quickConfig )
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 44 of file qopenxrgraphics_d3d11.cpp.

References OpenXRHelpers::checkXrResult(), and qWarning.

+ Here is the call graph for this function:

◆ setupWindow()

void QOpenXRGraphicsD3D11::setupWindow ( QQuickWindow * quickWindow)
overridevirtual

Reimplemented from QAbstractOpenXRGraphics.

Definition at line 161 of file qopenxrgraphics_d3d11.cpp.


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