LiteFX 0.3.1.2022
Computer Graphics Engine
|
Describes the blend state of the render target. More...
#include <rendering_api.hpp>
Public Attributes | |
bool | Enable { false } |
Specifies, if the target should be blended (default: false ). More... | |
BlendFactor | SourceColor { BlendFactor::One } |
The blend factor for the source color channels (default: BlendFactor::One ). More... | |
BlendFactor | DestinationColor { BlendFactor::Zero } |
The blend factor for the destination color channels (default: BlendFactor::Zero ). More... | |
BlendFactor | SourceAlpha { BlendFactor::One } |
The blend factor for the source alpha channel (default: BlendFactor::One ). More... | |
BlendFactor | DestinationAlpha { BlendFactor::Zero } |
The blend factor for the destination alpha channels (default: BlendFactor::Zero ). More... | |
BlendOperation | ColorOperation { BlendOperation::Add } |
The blend operation for the color channels (default: BlendOperation::Add ). More... | |
BlendOperation | AlphaOperation { BlendOperation::Add } |
The blend operation for the alpha channel (default: BlendOperation::Add ). More... | |
WriteMask | WriteMask { WriteMask::R | WriteMask::G | WriteMask::B | WriteMask::A } |
The channel write mask, determining which channels are written to (default: WriteMask::R | WriteMask::G | WriteMask::B | WriteMask::A ). More... | |
Describes the blend state of the render target.
BlendOperation LiteFX::Rendering::IRenderTarget::BlendState::AlphaOperation { BlendOperation::Add } |
The blend operation for the alpha channel (default: BlendOperation::Add
).
BlendOperation LiteFX::Rendering::IRenderTarget::BlendState::ColorOperation { BlendOperation::Add } |
The blend operation for the color channels (default: BlendOperation::Add
).
BlendFactor LiteFX::Rendering::IRenderTarget::BlendState::DestinationAlpha { BlendFactor::Zero } |
The blend factor for the destination alpha channels (default: BlendFactor::Zero
).
BlendFactor LiteFX::Rendering::IRenderTarget::BlendState::DestinationColor { BlendFactor::Zero } |
The blend factor for the destination color channels (default: BlendFactor::Zero
).
bool LiteFX::Rendering::IRenderTarget::BlendState::Enable { false } |
Specifies, if the target should be blended (default: false
).
BlendFactor LiteFX::Rendering::IRenderTarget::BlendState::SourceAlpha { BlendFactor::One } |
The blend factor for the source alpha channel (default: BlendFactor::One
).
BlendFactor LiteFX::Rendering::IRenderTarget::BlendState::SourceColor { BlendFactor::One } |
The blend factor for the source color channels (default: BlendFactor::One
).
WriteMask LiteFX::Rendering::IRenderTarget::BlendState::WriteMask { WriteMask::R | WriteMask::G | WriteMask::B | WriteMask::A } |
The channel write mask, determining which channels are written to (default: WriteMask::R | WriteMask::G | WriteMask::B | WriteMask::A
).