QRenderCaptureReply Classclass Qt3DRender::QRenderCaptureReply
Receives the result of render capture request. More...
|CMake:|| find_package(Qt6 COMPONENTS 3drender REQUIRED) |
target_link_libraries(mytarget PRIVATE Qt6::3drender)
|qmake:||QT += 3drender|
|bool||saveImage(const QString &fileName) const|
Holds the captureId, which was passed to the renderCapture.
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.
Member Function Documentation
[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.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.