Receives the result of render capture request. More...
Header: | #include <Qt3DRender/QRenderCaptureReply> |
qmake: | QT += 3drender |
Since: | Qt 5.8 |
Instantiated By: | RenderCaptureReply |
Inherits: | QObject |
This class was introduced in Qt 5.8.
int | captureId() const |
QImage | image() const |
bool | isComplete() const |
bool | saveImage(const QString &fileName) const |
void | completed() |
An object, which receives the image from QRenderCapture::requestCapture.
Holds the captureId, which was passed to the renderCapture.
Access functions:
int | captureId() const |
Holds the complete state of the render capture.
Access functions:
bool | isComplete() const |
Notifier signal:
void | completed() |
Holds the image, which was produced as a result of render capture.
Access functions:
QImage | image() const |
Saves the render capture result as an image to fileName.
Returns true if the image was successfully saved; otherwise returns false.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
This function was introduced in Qt 5.9.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qt3drender-qrendercapturereply.html