Obsolete Members for RenderCapture
Los siguientes miembros del tipo QML RenderCapture están obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso en código nuevo.
Métodos
- RenderCaptureReply requestCapture(int captureId)
(deprecated)
Documentación del método
[deprecated] RenderCaptureReply requestCapture(int captureId)
Este método está obsoleto. Desaconsejamos su uso en código nuevo.
Se utiliza para solicitar la captura del render. El usuario puede especificar un captureId para identificar la solicitud. El requestId no tiene que ser único. Sólo se produce un resultado de captura de renderizado por cada llamada a requestCapture, incluso si el gráfico de fotogramas tiene múltiples nodos hoja. La función devuelve un objeto QRenderCaptureReply, que recibe la imagen capturada cuando termina. El usuario es responsable de reasignar el objeto devuelto.
© 2026 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.