Describes the blend state of a render target.
More...
#include <RenderTarget.h>
|
bool | enable = false |
| Specifies, if the target should be blended (default: false).
|
|
BlendFactor | sourceColor {BlendFactor::One} |
| The blend factor for the source color channels (default: BlendFactor::One).
|
|
BlendFactor | destinationColor {BlendFactor::Zero} |
| The blend factor for the destination color channels (default: BlendFactor::Zero).
|
|
BlendFactor | sourceAlpha {BlendFactor::One} |
| The blend factor for the source alpha channel (default: BlendFactor::One).
|
|
BlendFactor | destinationAlpha {BlendFactor::Zero} |
| The blend factor for the destination alpha channels (default: BlendFactor::Zero).
|
|
BlendOperation | colorOperation {BlendOperation::Add} |
| The blend operation for the color channels (default: BlendOperation::Add).
|
|
BlendOperation | alphaOperation {BlendOperation::Add} |
| The blend operation for the alpha channel (default: BlendOperation::Add).
|
|
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).
|
|
Describes the blend state of a render target.