![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h More...
#include <qrhi.h>
Public Attributes | |
ColorMask | colorWrite = ColorMask(0xF) |
bool | enable = false |
BlendFactor | srcColor = One |
BlendFactor | dstColor = OneMinusSrcAlpha |
BlendOp | opColor = Add |
BlendFactor | srcAlpha = One |
BlendFactor | dstAlpha = OneMinusSrcAlpha |
BlendOp | opAlpha = Add |
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
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. This means that to get the alpha blending mode Qt Quick uses, it is enough to set the enable
flag to true while leaving other values at their defaults.
ColorMask QRhiGraphicsPipeline::TargetBlend::colorWrite = ColorMask(0xF) |
BlendFactor QRhiGraphicsPipeline::TargetBlend::dstAlpha = OneMinusSrcAlpha |
BlendFactor QRhiGraphicsPipeline::TargetBlend::dstColor = OneMinusSrcAlpha |
BlendFactor QRhiGraphicsPipeline::TargetBlend::srcAlpha = One |
BlendFactor QRhiGraphicsPipeline::TargetBlend::srcColor = One |