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

ColorMask QML Type

Allows specifying which color components should be written to the currently bound frame buffer.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ColorMask QML Type▲

  • Import Statement: import Qt3D.Render 2.1

  • Since: Qt 5.7

  • Inherits: RenderState

  • Instantiates:: QColorMask

Detailed Description▲

By default, the property for each color component (red, green, blue, alpha) is set to true which means they will be written to the frame buffer. Setting any of the color component to false will prevent it from being written into the frame buffer.

Property Documentation▲

 

alphaMasked : bool▲

Holds whether alpha component should be written to the frame buffer.

blueMasked : bool▲

Holds whether blue color component should be written to the frame buffer.

greenMasked : bool▲

Holds whether green color component should be written to the frame buffer.

redMasked : bool▲

Holds whether red color component should be written to the frame buffer.

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