QRenderCaptureReply Class

(Qt3DRender::QRenderCaptureReply)

Receives the result of render capture request. More...

Header: #include <QRenderCaptureReply>
qmake: QT += 3drender
Since: Qt 5.8
Instantiated By: RenderCaptureReply
Inherits: QObject

Properties

  • 1 property inherited from QObject

Public Functions

int captureId() const
QImage image() const
bool isComplete() const
void saveToFile(const QString &fileName) const
  • 31 public functions inherited from QObject

Signals

void completeChanged(bool isComplete)

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject
  • 9 protected functions inherited from QObject

Detailed Description

Receives the result of render capture request.

An object, which receives the image from QRenderCapture::requestCapture.

Property Documentation

captureId : const int

Holds the captureId, which was passed to the renderCapture.

Access functions:

int captureId() const

complete : const bool

Holds the complete state of the render capture.

Access functions:

bool isComplete() const

Notifier signal:

void completeChanged(bool isComplete)

image : const QImage

Holds the image, which was produced as a result of render capture.

Access functions:

QImage image() const

Member Function Documentation

void QRenderCaptureReply::saveToFile(const QString &fileName) const

Saves the render capture result as an image to fileName.

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