이 페이지에서

Qt3DRender::QRenderCaptureReply Class

class Qt3DRender::QRenderCaptureReply

렌더 캡처 요청의 결과를 수신합니다. 더 보기...

헤더: #include <Qt3DRender/QRenderCaptureReply>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: RenderCaptureReply
상속: QObject
상태: 사용 중단됨

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

속성

공개 함수

int captureId() const
QImage image() const
bool isComplete() const
bool saveImage(const QString &fileName) const

신호

void completed()

상세 설명

QRenderCapture::requestCapture 에서 이미지를 수신하는 객체입니다.

속성 설명

[read-only] captureId : const int

renderCapture에 전달된 captureId를 보관합니다.

액세스 함수:

int captureId() const

[read-only] complete : bool

렌더 캡처의 전체 상태를 저장합니다.

액세스 함수:

bool isComplete() const

알림 신호:

void completed()

[read-only] image : const QImage

렌더 캡처 결과로 생성된 이미지를 보관합니다.

액세스 함수:

QImage image() const

멤버 함수 설명서

[invokable] bool QRenderCaptureReply::saveImage(const QString &fileName) const

렌더링 캡처 결과를 fileName 에 이미지로 저장합니다.

이미지가 성공적으로 저장된 경우 true를 반환하고, 그렇지 않은 경우 false를 반환합니다.

참고: 이 함수는 메타 객체 시스템과 QML을 통해 호출할 수 있습니다. Q_INVOKABLE 를 참조하십시오.

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