AlphaCoverage QML Type

알파 투 커버리지 멀티샘플링 모드를 활성화합니다. 더 보기...

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

RenderState

Status: Deprecated

상세 설명

알파 커버리지 유형은 알파 대 커버리지 멀티샘플링 모드를 활성화합니다. 활성화하면 조각 알파 값이 샘플의 커버리지로 사용되며 조각 커버리지 값과 결합됩니다. 멀티샘플링이 비활성화되면 AlphaCoverage는 아무 작업도 수행하지 않습니다. 알파 투 커버리지는 나뭇잎, 풀, 기타 풍부한 식물을 렌더링할 때와 같이 순서 독립적인 블렌딩이 필요할 때 가장 유용합니다.

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.