Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOpenXRGraphicsOpenGL Class Reference

#include <qopenxrgraphics_opengl_p.h>

Inheritance diagram for QOpenXRGraphicsOpenGL:
Collaboration diagram for QOpenXRGraphicsOpenGL:

Public Member Functions

 QOpenXRGraphicsOpenGL ()
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 *window) override
QRhirhi () const override
void releaseResources () override
Public Member Functions inherited from QAbstractOpenXRGraphics
 QAbstractOpenXRGraphics ()
virtual ~QAbstractOpenXRGraphics ()

Detailed Description

Definition at line 26 of file qopenxrgraphics_opengl_p.h.

Constructor & Destructor Documentation

◆ QOpenXRGraphicsOpenGL()

QOpenXRGraphicsOpenGL::QOpenXRGraphicsOpenGL ( )

Definition at line 39 of file qopenxrgraphics_opengl.cpp.

Member Function Documentation

◆ allocateSwapchainImages()

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

Implements QAbstractOpenXRGraphics.

Definition at line 151 of file qopenxrgraphics_opengl.cpp.

◆ colorSwapchainFormat()

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

Implements QAbstractOpenXRGraphics.

Definition at line 120 of file qopenxrgraphics_opengl.cpp.

◆ depthSwapchainFormat()

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

Implements QAbstractOpenXRGraphics.

Definition at line 135 of file qopenxrgraphics_opengl.cpp.

◆ extensionName()

const char * QOpenXRGraphicsOpenGL::extensionName ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 66 of file qopenxrgraphics_opengl.cpp.

◆ finializeGraphics()

bool QOpenXRGraphicsOpenGL::finializeGraphics ( QRhi * rhi)
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 94 of file qopenxrgraphics_opengl.cpp.

◆ handle()

const XrBaseInStructure * QOpenXRGraphicsOpenGL::handle ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 72 of file qopenxrgraphics_opengl.cpp.

◆ isExtensionSupported()

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

Implements QAbstractOpenXRGraphics.

Definition at line 55 of file qopenxrgraphics_opengl.cpp.

◆ releaseResources()

void QOpenXRGraphicsOpenGL::releaseResources ( )
overridevirtual

Reimplemented from QAbstractOpenXRGraphics.

Definition at line 229 of file qopenxrgraphics_opengl.cpp.

◆ renderTarget()

QQuickRenderTarget QOpenXRGraphicsOpenGL::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 164 of file qopenxrgraphics_opengl.cpp.

◆ rhi()

QRhi * QOpenXRGraphicsOpenGL::rhi ( ) const
inlineoverridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 43 of file qopenxrgraphics_opengl_p.h.

◆ setupGraphics()

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

Implements QAbstractOpenXRGraphics.

Definition at line 78 of file qopenxrgraphics_opengl.cpp.

References OpenXRHelpers::checkXrResult().

Here is the call graph for this function:

◆ setupWindow()

void QOpenXRGraphicsOpenGL::setupWindow ( QQuickWindow * window)
overridevirtual

Reimplemented from QAbstractOpenXRGraphics.

Definition at line 224 of file qopenxrgraphics_opengl.cpp.


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