LiteFX::Rendering::IRenderTarget::BlendState¶
Describes the blend state of the render target.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct BlendState;
Data Members¶
| Name | Description |
|---|---|
AlphaOperation | The blend operation for the alpha channel (default: BlendOperation::Add). |
ChannelWriteMask | The channel write mask, determining which channels are written to (default: WriteMask::R | WriteMask::G | WriteMask::B | WriteMask::A). |
ColorOperation | The blend operation for the color channels (default: BlendOperation::Add). |
DestinationAlpha | The blend factor for the destination alpha channels (default: BlendFactor::Zero). |
DestinationColor | The blend factor for the destination color channels (default: BlendFactor::Zero). |
Enable | Specifies, if the target should be blended (default: false). |
SourceAlpha | The blend factor for the source alpha channel (default: BlendFactor::One). |
SourceColor | The blend factor for the source color channels (default: BlendFactor::One). |