TargetBlend Class
(QRhiGraphicsPipeline::TargetBlend)Describes the blend state for one color attachment. More...
| Header: | #include <TargetBlend> |
| qmake: | QT += rhi |
Public Variables
| QRhiGraphicsPipeline::ColorMask | colorWrite |
| QRhiGraphicsPipeline::BlendFactor | dstAlpha |
| QRhiGraphicsPipeline::BlendFactor | dstColor |
| bool | enable |
| QRhiGraphicsPipeline::BlendOp | opAlpha |
| QRhiGraphicsPipeline::BlendOp | opColor |
| QRhiGraphicsPipeline::BlendFactor | srcAlpha |
| QRhiGraphicsPipeline::BlendFactor | srcColor |
Detailed Description
Describes the blend state for one color attachment.
Defaults to color write enabled, blending disabled. The blend values are set up for pre-multiplied alpha (One, OneMinusSrcAlpha, One, OneMinusSrcAlpha) by default.