AlphaTest QML Type
The AlphaTest class specify alpha reference test 更多...
Import Statement: | import Qt3D.Render 2.0 |
开始支持版本: | Qt 5.7 |
Instantiates: | QAlphaTest |
基类: |
属性
- alphaFunction : enumeration
- referenceValue : real
详细描述
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.
属性
Holds the reference value used by the alpha test. Default is 0.0. When set, the value is clamped between 0 and 1.