RenderCapture QML Type

Capture rendering. 更多...

导入语句: import Qt3D.Render 2.12
Since: Qt 5.8
实例化: QRenderCapture
继承:

FrameGraphNode

方法

详细描述

方法文档编制

RenderCaptureReply requestCapture ()

Used to request render capture. Only one render capture result is produced per requestCapture call even if the frame graph has multiple leaf nodes. The function returns a QRenderCaptureReply object, which receives the captured image when it is done. The user is responsible for deallocating the returned object.


RenderCaptureReply requestCapture ( Rect rect )

Used to request render capture from a specified rect . Only one render capture result is produced per requestCapture call even if the frame graph has multiple leaf nodes. The function returns a QRenderCaptureReply object, which receives the captured image when it is done. The user is responsible for deallocating the returned object.