Obsolete Members for QRenderCapture
The following members of class QRenderCapture are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) Qt3DRender::QRenderCaptureReply * | requestCapture(int captureId) | [see note below] |
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
Member Function Documentation
Qt3DRender::QRenderCaptureReply *QRenderCapture::requestCapture(int captureId)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Used to request render capture. User can specify a captureId to identify the request. The requestId does not have to be unique. 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.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
© 2020 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.