TargetBlend Struct

struct QRhiGraphicsPipeline::TargetBlend

1色のアタッチメントのブレンド状態を記述します。詳細...

この構造体は Qt 6.6 で導入されました。

パブリック変数

QRhiGraphicsPipeline::ColorMask colorWrite
QRhiGraphicsPipeline::BlendFactor dstAlpha
QRhiGraphicsPipeline::BlendFactor dstColor
bool enable
QRhiGraphicsPipeline::BlendOp opAlpha
QRhiGraphicsPipeline::BlendOp opColor
QRhiGraphicsPipeline::BlendFactor srcAlpha
QRhiGraphicsPipeline::BlendFactor srcColor

詳細説明

デフォルトはカラー書き込み有効、ブレンド無効です。ブレンド値は、デフォルトでは、事前乗算アルファ(One,OneMinusSrcAlpha, One,OneMinusSrcAlpha )に設定されています。つまり、Qt Quick が使用するアルファブレンディングモードを得るには、enable フラグを true に設定するだけでよく、他の値はデフォルトのままです。

注意: これは互換性保証に制限のあるRHI APIです。詳細はQRhi を参照してください。

メンバ変数ドキュメント

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.