TargetBlend Struct
struct QRhiGraphicsPipeline::TargetBlend하나의 색상 어태치먼트에 대한 혼합 상태를 설명합니다. More...
이 구조체는 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 |
상세 설명
기본값은 컬러 쓰기 활성화, 블렌딩 비활성화입니다. 블렌딩 값은 기본적으로 미리 곱한 알파(하나, OneMinusSrcAlpha, 하나, OneMinusSrcAlpha)로 설정됩니다. 즉, Qt Quick 에서 사용하는 알파 블렌딩 모드를 얻으려면 enable
플래그를 true로 설정하고 다른 값은 기본값으로 두면 충분합니다.
참고: 이 API는 호환성이 제한적으로 보장되는 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.