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

RenderTarget QML Type

The RenderTarget class encapsulates a target (usually a frame buffer object) which the renderer can render into.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RenderTarget QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.7

  • Instantiates:: QRenderTarget

Detailed Description

A RenderTarget comprises of RenderTargetOutput objects, which specify the the buffers the render target is rendering to. The user can specify MRT(Multiple Render Targets) by attaching multiple textures to different attachment points. The results are undefined if the user tries to attach multiple textures to the same attachment point. At render time, only the draw buffers specified in the RenderTargetSelector are used.

Property Documentation

 

attachments : list<RenderTargetOutput>

Holds the attachments for the RenderTarget.

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