Obsolete Members for RenderCapture

Die folgenden Member des QML-Typs RenderCapture sind veraltet. Sie werden bereitgestellt, damit alter Quellcode weiterhin funktioniert. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Methoden

Dokumentation der Methode

[deprecated] RenderCaptureReply requestCapture(int captureId)

Diese Methode ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Wird verwendet, um eine Rendering-Erfassung anzufordern. Der Benutzer kann eine captureId angeben, um die Anfrage zu identifizieren. Die requestId muss nicht eindeutig sein. Pro requestCapture-Aufruf wird nur ein Render-Capture-Ergebnis erzeugt, auch wenn der Frame-Graph mehrere Blattknoten hat. Die Funktion gibt ein QRenderCaptureReply-Objekt zurück, das das erfasste Bild erhält, wenn sie fertig ist. Der Benutzer ist für die Freigabe des zurückgegebenen Objekts verantwortlich.


© 2025 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.