Obsolete Members for RenderCapture

QML 유형 RenderCapture의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

메서드

메서드 설명서

[deprecated] RenderCaptureReply requestCapture(int captureId)

이 메서드는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 메서드를 사용하지 않는 것을 강력히 권장합니다.

렌더 캡처를 요청하는 데 사용됩니다. 사용자는 요청을 식별하기 위해 요청 ID( captureId )를 지정할 수 있습니다. requestId는 고유할 필요가 없습니다. 프레임 그래프에 여러 개의 리프 노드가 있더라도 requestCapture 호출당 하나의 렌더 캡처 결과만 생성됩니다. 이 함수는 QRenderCaptureReply 객체를 반환하며, 이 객체는 캡처가 완료되면 캡처된 이미지를 수신합니다. 반환된 객체의 할당 해제는 사용자의 책임입니다.


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