AlphaTest QML Type
La clase AlphaTest especifica la prueba de referencia alfa. Más...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QAlphaTest |
| Inherits: | |
| Status: | Deprecated |
Propiedades
- alphaFunction : enumeration
- referenceValue : real
Descripción detallada
Como explica la documentación de OpenGL; El test alpha descarta un fragmento condicionado al resultado de una comparación entre el valor alpha del fragmento entrante y un valor de referencia constante.
Documentación de propiedades
alphaFunction : enumeration
Contiene la función alfa utilizada por la prueba alfa. Por defecto es AlphaTest.Never.
- AlphaTest.nunca
- AlphaTest.Siempre
- AlphaTest.menor
- AlphaTest.MenorO Igual
- AlphaTest.igual
- AlphaTestMayor o igual
- AlphaTest.mayor
- AlphaTest.NoIgual
Véase también Qt3DRender::QAlphaTest::AlphaFunction.
referenceValue : real
Mantiene el valor de referencia utilizado por la prueba alfa. Por defecto es 0.0. Cuando se establece, el valor se fija entre 0 y 1.
© 2026 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.