QRhiGraphicsPipeline::TargetBlend Struct
struct QRhiGraphicsPipeline::TargetBlendDescribe el estado de la mezcla para un accesorio de color. Más...
Esta estructura se introdujo en Qt 6.6.
Variables Públicas
| QRhiGraphicsPipeline::ColorMask | colorWrite |
| QRhiGraphicsPipeline::BlendFactor | dstAlpha |
| QRhiGraphicsPipeline::BlendFactor | dstColor |
| bool | enable |
| QRhiGraphicsPipeline::BlendOp | opAlpha |
| QRhiGraphicsPipeline::BlendOp | opColor |
| QRhiGraphicsPipeline::BlendFactor | srcAlpha |
| QRhiGraphicsPipeline::BlendFactor | srcColor |
Descripción detallada
Por defecto, escritura de color habilitada, mezcla deshabilitada. Los valores de mezcla están configurados para alfa pre-multiplicado (Uno, OneMinusSrcAlpha, Uno, OneMinusSrcAlpha) por defecto. Esto significa que para obtener el modo de mezcla alfa que utiliza Qt Quick, basta con establecer el indicador enable en true y dejar los demás valores en sus valores predeterminados.
Nota: Esta es una API RHI con garantías de compatibilidad limitadas, consulte QRhi para más detalles.
Documentación de las variables miembro
QRhiGraphicsPipeline::ColorMask TargetBlend::colorWrite
QRhiGraphicsPipeline::BlendFactor TargetBlend::dstAlpha
QRhiGraphicsPipeline::BlendFactor TargetBlend::dstColor
bool TargetBlend::enable
QRhiGraphicsPipeline::BlendOp TargetBlend::opAlpha
QRhiGraphicsPipeline::BlendOp TargetBlend::opColor
QRhiGraphicsPipeline::BlendFactor TargetBlend::srcAlpha
QRhiGraphicsPipeline::BlendFactor TargetBlend::srcColor
© 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.