QRhiGraphicsPipeline::TargetBlend Struct
struct QRhiGraphicsPipeline::TargetBlendBeschreibt den Mischmodus für eine Farbzuordnung. Mehr...
Diese Struktur wurde in Qt 6.6 eingeführt.
Öffentliche Variablen
| QRhiGraphicsPipeline::ColorMask | colorWrite |
| QRhiGraphicsPipeline::BlendFactor | dstAlpha |
| QRhiGraphicsPipeline::BlendFactor | dstColor |
| bool | enable |
| QRhiGraphicsPipeline::BlendOp | opAlpha |
| QRhiGraphicsPipeline::BlendOp | opColor |
| QRhiGraphicsPipeline::BlendFactor | srcAlpha |
| QRhiGraphicsPipeline::BlendFactor | srcColor |
Ausführliche Beschreibung
Standardmäßig ist das Schreiben von Farben aktiviert, die Überblendung deaktiviert. Die Überblendungswerte sind standardmäßig für vormultipliziertes Alpha (One, OneMinusSrcAlpha, One, OneMinusSrcAlpha) eingerichtet. Das bedeutet, dass es ausreicht, das Flag „ enable “ auf „true“ zu setzen und die anderen Werte auf ihren Standardwerten zu belassen, um den von Qt Quick verwendeten Alpha-Überblendungsmodus zu erhalten.
Hinweis: Hierbei handelt es sich um eine RHI-API mit eingeschränkten Kompatibilitätsgarantien; weitere Informationen finden Sie unter QRhi.
Dokumentation zu Member-Variablen
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.