QRenderCaptureReply Class

class Qt3DRender::QRenderCaptureReply

Receives the result of render capture request. More...

Header: #include <Qt3DRender/QRenderCaptureReply>
qmake: QT += 3drender
Since: Qt 5.8
Instantiated By: RenderCaptureReply

This class was introduced in Qt 5.8.

Public Functions

bool saveImage(const QString &fileName) const

Detailed Description

An object, which receives the image from QRenderCapture::requestCapture.

Member Function Documentation

bool QRenderCaptureReply::saveImage(const QString &fileName) const

Saves the render capture result as an image to fileName.

Returns true if the image was successfully saved; otherwise returns false.

This function was introduced in Qt 5.9.