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

AlphaTest QML Type

The AlphaTest class specify alpha reference test.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

AlphaTest QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.7

  • Inherits:: RenderState

  • Instantiates:: QAlphaTest

  • Group: AlphaTest is part of renderstates

Detailed Description

As the OpenGL documentation explains; The alpha test discards a fragment conditional on the outcome of a comparison between the incoming fragment's alpha value and a constant reference value.

Property Documentation

 

alphaFunction : enumeration

Holds the alpha function used by the alpha test. Default is AlphaTest.Never.

See Also

referenceValue : real

Holds the reference value used by the alpha test. Default is 0.0. When set, the value is clamped between 0 and 1.

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