Obsolete Members for RenderCapture | Qt 3D 5.12.9

- Qt 5.12
- Qt 3D
- QML Types
- Obsolete Members for RenderCapture
- Qt 5.12.9 Reference Documentation

# Obsolete Members for RenderCapture

The following members of QML type RenderCapture are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Methods

- RenderCaptureReply requestCapture()
- RenderCaptureReply requestCapture(Rect rect)

## Method Documentation

RenderCaptureReply requestCapture()

Used to request render capture. Only one render capture result is produced per requestCapture call even if the frame graph has multiple leaf nodes. The function returns a QRenderCaptureReply object, which receives the captured image when it is done. The user is responsible for deallocating the returned object.

RenderCaptureReply requestCapture(Rect rect)

Used to request render capture from a specified rect. Only one render capture result is produced per requestCapture call even if the frame graph has multiple leaf nodes. The function returns a QRenderCaptureReply object, which receives the captured image when it is done. The user is responsible for deallocating the returned object.