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 initialize (const QVector< XrExtensionProperties > &extensions) override
QVector< const char * > getRequiredExtensions () 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 *)

Additional Inherited Members

Static Public Member Functions inherited from QAbstractOpenXRGraphics
static bool hasExtension (const QVector< XrExtensionProperties > &extensions, const char *extensionName)

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 117 of file qopenxrgraphics_opengles.cpp.

◆ colorSwapchainFormat()

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

Implements QAbstractOpenXRGraphics.

Definition at line 85 of file qopenxrgraphics_opengles.cpp.

◆ depthSwapchainFormat()

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

Implements QAbstractOpenXRGraphics.

Definition at line 100 of file qopenxrgraphics_opengles.cpp.

◆ finializeGraphics()

bool QOpenXRGraphicsOpenGLES::finializeGraphics ( QRhi * rhi)
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 59 of file qopenxrgraphics_opengles.cpp.

◆ getRequiredExtensions()

QVector< const char * > QOpenXRGraphicsOpenGLES::getRequiredExtensions ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 30 of file qopenxrgraphics_opengles.cpp.

◆ handle()

const XrBaseInStructure * QOpenXRGraphicsOpenGLES::handle ( ) const
overridevirtual

Implements QAbstractOpenXRGraphics.

Definition at line 36 of file qopenxrgraphics_opengles.cpp.

◆ initialize()

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

Implements QAbstractOpenXRGraphics.

Definition at line 25 of file qopenxrgraphics_opengles.cpp.

◆ releaseResources()

void QOpenXRGraphicsOpenGLES::releaseResources ( )
overridevirtual

Reimplemented from QAbstractOpenXRGraphics.

Definition at line 190 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 130 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 42 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: