IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

RenderCapture QML Type

Capture rendering.

This type was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RenderCapture QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.8

  • Inherits:: FrameGraphNode

  • Instantiates:: QRenderCapture

Detailed Description

 

Method Documentation

 

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.

Obsolete Members for RenderCapture

The following members of QML type RenderCapture are deprecated. We strongly advise against using them in new code.

Obsolete Method Documentation

 
RenderCaptureReply requestCapture(int captureId)

This method is deprecated. We strongly advise against using it in new code.

Used to request render capture. User can specify a captureId to identify the request. The requestId does not have to be unique. 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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+