このページでは

AlphaCoverage QML Type

アルファ・トゥ・カバレッジ・マルチサンプリングモードを有効にします。詳細...

Import Statement: import Qt3D.Render 2.12
In C++: QAlphaCoverage
Inherits:

RenderState

Status: Deprecated

このタイプは非推奨です。新しいコードでの使用は強く推奨しません。

詳細な説明

AlphaCoverage 型は、アルファ・トゥ・カバレッジ・マルチサンプリングモードを有効にします。有効にすると、フラグメントのアルファ値がサンプルのカバレッジとして使用され、フラグメントのカバレッジ値と組み合わされます。 マルチサンプリングが無効になっている場合、AlphaCoverageは何も行いません。アルファ・トゥ・カバレッジは、順序非依存のブレンディングが必要な場合、例えば葉や草、その他の豊かな植生をレンダリングする際に最も有用です。

RenderPass に追加することができます:

RenderPass {
    shaderProgram: ShaderProgram {
        // ...
    }
    renderStates: [
        AlphaCoverage {},
        MultiSampleAntiAliasing {}
    ]
}

あるいは、RenderStateSet に追加することもできます:

「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.