AlphaCoverage QML Type
Activa el modo de multimuestreo alfa-cobertura. Más...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QAlphaCoverage |
| Inherits: | |
| Status: | Deprecated |
Descripción detallada
Un tipo AlphaCoverage habilita el modo de multimuestreo alfa a cobertura. Cuando está activado, el valor alfa del fragmento se utiliza como cobertura para la muestra y se combina con el valor de cobertura del fragmento. AlphaCoverage no hace nada si el multimuestreo está desactivado. La cobertura alfa es más útil cuando se requiere una mezcla independiente del orden, por ejemplo al renderizar hojas, hierba y otra vegetación rica.
Puede añadirse a RenderPass:
RenderPass { shaderProgram: ShaderProgram { // ... } renderStates: [ AlphaCoverage {}, MultiSampleAntiAliasing {} ] }
O a RenderStateSet:
RenderStateSet { renderStates: [ AlphaCoverage {}, MultiSampleAntiAliasing {} ] }
Véase también MultiSampleAntiAliasing.
© 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.