Receives the result of render capture request. More...
|CMake:||find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
|qmake:||QT += 3drender|
|bool||saveImage(const QString &fileName) const|
An object, which receives the image from QRenderCapture::requestCapture.
[read-only]captureId : const int
Holds the captureId, which was passed to the renderCapture.
[read-only]complete : const bool
Holds the complete state of the render capture.
[read-only]image : const QImage
Holds the image, which was produced as a result of render capture.
[invokable, since 5.9]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.
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: