AlphaCoverage QML Type

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

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

RenderState

Status: Deprecated

詳細説明

AlphaCoverage型は、alpha-to-coverageマルチサンプリングモードを有効にします。有効にすると、フラグメントのアルファ値がサンプルのカバレッジとして使用され、フラグメントのカバレッジ値と結合されます。AlphaCoverageは、マルチサンプリングが無効の場合は何もしません。Alpha-to-Coverageは、葉や草などの豊かな植物をレンダリングするときなど、順序に依存しないブレンドが必要な場合に最も便利です。

これは、RenderPass

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

またはRenderStateSet

MultiSampleAntiAliasingも参照してください

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