AlphaTest QML Type
The AlphaTest class specify alpha reference test. More...
Import Statement: | import Qt3D.Render 2.14 |
Since: | Qt 5.7 |
Instantiates: | QAlphaTest |
Inherits: |
Properties
- alphaFunction : enumeration
- referenceValue : real
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 |
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.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.