AlphaTest QML Type
La clase AlphaTest define la prueba de referencia alfa. Más información...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QAlphaTest |
| Inherits: | |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
- alphaFunction : enumeration
- referenceValue : real
Descripción detallada
Tal y como explica la documentación de OpenGL, la prueba alfa descarta un fragmento en función del resultado de una comparación entre el valor alfa 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. El valor por defecto es « AlphaTest ». «.Never».
- AlphaTest.Nunca
- AlphaTest.Siempre
- AlphaTest.Menor
- AlphaTest.MenorOigual
- AlphaTest.Igual
- AlphaTest.Mayor o igual
- AlphaTest.Mayor
- AlphaTest.No igual
Véase también Qt3DRender::QAlphaTest::AlphaFunction.
referenceValue : real
Almacena el valor de referencia utilizado por la prueba alfa. El valor por defecto es 0,0. Cuando se establece, el valor se limita 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.