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

#include <qopenxrgraphics_opengles_p.h>

Inheritance diagram for QOpenXRGraphicsOpenGLES:
Collaboration diagram for QOpenXRGraphicsOpenGLES:

Public Member Functions

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

Detailed Description

Definition at line 26 of file qopenxrgraphics_opengles_p.h.

Constructor & Destructor Documentation

◆ QOpenXRGraphicsOpenGLES()

QOpenXRGraphicsOpenGLES::QOpenXRGraphicsOpenGLES ( )

Definition at line 17 of file qopenxrgraphics_opengles.cpp.

Member Function Documentation

◆ allocateSwapchainImages()

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

Implements QAbstractOpenXRGraphics.

Definition at line 124 of file qopenxrgraphics_opengles.cpp.

◆ colorSwapchainFormat()

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

Implements QAbstractOpenXRGraphics.

Definition at line 92 of file qopenxrgraphics_opengles.cpp.

◆ depthSwapchainFormat()

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

Implements QAbstractOpenXRGraphics.

Definition at line 107 of file qopenxrgraphics_opengles.cpp.

◆ extensionName()

const char * QOpenXRGraphicsOpenGLES::extensionName ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 37 of file qopenxrgraphics_opengles.cpp.

◆ finializeGraphics()

bool QOpenXRGraphicsOpenGLES::finializeGraphics ( QRhi * rhi)
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 66 of file qopenxrgraphics_opengles.cpp.

◆ handle()

const XrBaseInStructure * QOpenXRGraphicsOpenGLES::handle ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 43 of file qopenxrgraphics_opengles.cpp.

◆ isExtensionSupported()

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

Implements QAbstractOpenXRGraphics.

Definition at line 26 of file qopenxrgraphics_opengles.cpp.

◆ releaseResources()

void QOpenXRGraphicsOpenGLES::releaseResources ( )
overridevirtual

Reimplemented from QAbstractOpenXRGraphics.

Definition at line 197 of file qopenxrgraphics_opengles.cpp.

◆ renderTarget()

QQuickRenderTarget QOpenXRGraphicsOpenGLES::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 137 of file qopenxrgraphics_opengles.cpp.

◆ rhi()

QRhi * QOpenXRGraphicsOpenGLES::rhi ( ) const
inlineoverridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 42 of file qopenxrgraphics_opengles_p.h.

◆ setupGraphics()

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

Implements QAbstractOpenXRGraphics.

Definition at line 49 of file qopenxrgraphics_opengles.cpp.

References OpenXRHelpers::checkXrResult().

Here is the call graph for this function:

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