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

#include <qgraphicsframecapturemetal_p_p.h>

+ Inheritance diagram for QGraphicsFrameCaptureMetal:
+ Collaboration diagram for QGraphicsFrameCaptureMetal:

Public Member Functions

 QGraphicsFrameCaptureMetal ()
 
 ~QGraphicsFrameCaptureMetal ()
 
void setRhi (QRhi *rhi) override
 
void startCaptureFrame () override
 
void endCaptureFrame () override
 
bool initialized () const override
 
bool isCapturing () const override
 
void openCapture () override
 
- Public Member Functions inherited from QGraphicsFrameCapturePrivate
 QGraphicsFrameCapturePrivate ()
 
virtual ~QGraphicsFrameCapturePrivate ()=default
 
QString capturePath () const
 
virtual void setCapturePath (const QString &path)
 
QString capturePrefix () const
 
virtual void setCapturePrefix (const QString &prefix)
 
virtual QString capturedFileName () const
 
virtual QStringList capturedFilesNames () const
 

Additional Inherited Members

- Protected Attributes inherited from QGraphicsFrameCapturePrivate
QRhim_rhi = nullptr
 
QRhiNativeHandlesm_rhiHandles = nullptr
 
voidm_nativeHandle = nullptr
 
QString m_capturePath
 
QString m_capturePrefix
 
QStringList m_capturedFilesNames
 

Detailed Description

Definition at line 30 of file qgraphicsframecapturemetal_p_p.h.

Constructor & Destructor Documentation

◆ QGraphicsFrameCaptureMetal()

QGraphicsFrameCaptureMetal::QGraphicsFrameCaptureMetal ( )

Definition at line 21 of file qgraphicsframecapturemetal.mm.

References QByteArrayLiteral, and qputenv().

+ Here is the call graph for this function:

◆ ~QGraphicsFrameCaptureMetal()

QGraphicsFrameCaptureMetal::~QGraphicsFrameCaptureMetal ( )

Definition at line 28 of file qgraphicsframecapturemetal.mm.

References release().

+ Here is the call graph for this function:

Member Function Documentation

◆ endCaptureFrame()

void QGraphicsFrameCaptureMetal::endCaptureFrame ( )
overridevirtual

Implements QGraphicsFrameCapturePrivate.

Definition at line 100 of file qgraphicsframecapturemetal.mm.

References initialized(), isCapturing(), QGraphicsFrameCapturePrivate::m_capturedFilesNames, and qCWarning.

+ Here is the call graph for this function:

◆ initialized()

bool QGraphicsFrameCaptureMetal::initialized ( ) const
overridevirtual

Implements QGraphicsFrameCapturePrivate.

Definition at line 118 of file qgraphicsframecapturemetal.mm.

Referenced by endCaptureFrame(), isCapturing(), openCapture(), and startCaptureFrame().

+ Here is the caller graph for this function:

◆ isCapturing()

bool QGraphicsFrameCaptureMetal::isCapturing ( ) const
overridevirtual

Implements QGraphicsFrameCapturePrivate.

Definition at line 123 of file qgraphicsframecapturemetal.mm.

References initialized(), isCapturing(), and qCWarning.

Referenced by endCaptureFrame(), isCapturing(), and startCaptureFrame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ openCapture()

void QGraphicsFrameCaptureMetal::openCapture ( )
overridevirtual

Implements QGraphicsFrameCapturePrivate.

Definition at line 133 of file qgraphicsframecapturemetal.mm.

References QList< T >::append(), args, initialized(), qCWarning, qFatal, QStringLiteral, and toLocalFile().

+ Here is the call graph for this function:

◆ setRhi()

void QGraphicsFrameCaptureMetal::setRhi ( QRhi * rhi)
overridevirtual

Implements QGraphicsFrameCapturePrivate.

Definition at line 39 of file qgraphicsframecapturemetal.mm.

References QRhi::backend(), QRhi::Metal, QRhi::nativeHandles(), and qCWarning.

+ Here is the call graph for this function:

◆ startCaptureFrame()

void QGraphicsFrameCaptureMetal::startCaptureFrame ( )
overridevirtual

Implements QGraphicsFrameCapturePrivate.

Definition at line 79 of file qgraphicsframecapturemetal.mm.

References error, initialized(), isCapturing(), qCWarning, and qPrintable.

+ Here is the call graph for this function:

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