QRenderCaptureReply Class
(Qt3DRender::QRenderCaptureReply)Receives the result of render capture request. 更多...
头文件: | #include <Qt3DRender/QRenderCaptureReply> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.8 |
Instantiated By: | RenderCaptureReply |
基类: | QObject |
属性
- 1 个属性继承自 QObject
公有函数
int | captureId() const |
QImage | image() const |
bool | isComplete() const |
bool | saveImage(const QString &fileName) const |
- 32 个公有函数继承自 QObject
信号
void | completed() |
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有槽函数继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
Receives the result of render capture request.
An object, which receives the image from QRenderCapture::requestCapture.
属性
captureId : const int
Holds the captureId, which was passed to the renderCapture.
访问函数:
int | captureId() const |
complete : const bool
Holds the complete state of the render capture.
访问函数:
bool | isComplete() const |
Notifier signal:
void | completed() |
image : const QImage
Holds the image, which was produced as a result of render capture.
访问函数:
QImage | image() const |
成员函数
bool QRenderCaptureReply::saveImage(const QString &fileName) const
Saves the render capture result as an image to fileName.
Returns true if the image was successfully saved; otherwise returns false.
This function was introduced in Qt 5.9.