W3cubDocs

/Qt

RenderCaptureReply QML Type

Receives render capture result. More...

Import Statement: import Qt3D.Render
Since: Qt 5.8
Instantiates: QRenderCaptureReply

Properties

Methods

Detailed Description

Property Documentation

captureId : int

Holds the captureId, which was passed to the renderCapture.

complete : bool

Holds the complete state of the render capture.

image : variant

Holds the image, which was produced as a result of render capture.

Method Documentation

[since 5.9] bool saveImage(fileName)

Saves the render capture result as an image to fileName. Returns true if the image was successfully saved; otherwise returns false.

This method 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-6.2/qml-qt3d-render-rendercapturereply.html