TargetBlend Struct

struct QRhiGraphicsPipeline::TargetBlend

Beschreibt den Überblendungszustand für einen Farbaufsatz. 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

Detaillierte Beschreibung

Standardmäßig ist das Schreiben von Farben aktiviert, die Überblendung deaktiviert. Die Überblendungswerte sind standardmäßig für vormultipliziertes Alpha (Eins, OneMinusSrcAlpha, Eins, OneMinusSrcAlpha) eingestellt. Das bedeutet, dass es für den von Qt Quick verwendeten Alphamischungsmodus ausreicht, das Flag enable auf true zu setzen, während die anderen Werte auf ihren Standardwerten belassen werden.

Hinweis: Dies ist eine RHI-API mit begrenzten Kompatibilitätsgarantien, siehe QRhi für Details.

Dokumentation der Mitgliedsvariablen

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

© 2025 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.