AlphaTest QML Type
AlphaTest 类指定 alpha 参考测试。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QAlphaTest |
Inherits: | |
Status: | Deprecated |
属性
- alphaFunction : enumeration
- referenceValue : real
详细说明
正如 OpenGL 文档所解释的那样:alpha 测试会根据输入片段的 alpha 值与常量参考值之间的比较结果来丢弃片段。
属性文档
alphaFunction : enumeration |
referenceValue : real |
保存阿尔法测试使用的参考值。默认值为 0.0。设置后,该值将被箝位在 0 和 1 之间。
© 2025 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.