![]() |
LLGL 0.05 Beta
|
Blend target state descriptor structure. More...
#include <PipelineStateFlags.h>
Public Attributes | |
| bool | blendEnabled = false |
| Specifies whether blending is enabled or disabled for the respective color attachment. | |
| std::uint8_t | colorMask = LLGL::ColorMaskFlags::All |
| Specifies which color components are enabled for writing. By default LLGL::ColorMaskFlags::All to enable all components. | |
| BlendOp | srcColor = BlendOp::SrcAlpha |
| Source color blending operation. By default BlendOp::SrcAlpha. | |
| BlendOp | dstColor = BlendOp::InvSrcAlpha |
| Destination color blending operation. By default BlendOp::InvSrcAlpha. | |
| BlendArithmetic | colorArithmetic = BlendArithmetic::Add |
| Color blending arithmetic. By default BlendArithmetic::Add. | |
| BlendOp | srcAlpha = BlendOp::SrcAlpha |
| Source alpha blending operation. By default BlendOp::SrcAlpha. | |
| BlendOp | dstAlpha = BlendOp::InvSrcAlpha |
| Destination alpha blending operation. By default BlendOp::InvSrcAlpha. | |
| BlendArithmetic | alphaArithmetic = BlendArithmetic::Add |
| Alpha blending arithmetic. By default BlendArithmetic::Add. | |
Blend target state descriptor structure.
| BlendArithmetic LLGL::BlendTargetDescriptor::alphaArithmetic = BlendArithmetic::Add |
Alpha blending arithmetic. By default BlendArithmetic::Add.
| bool LLGL::BlendTargetDescriptor::blendEnabled = false |
Specifies whether blending is enabled or disabled for the respective color attachment.
| BlendArithmetic LLGL::BlendTargetDescriptor::colorArithmetic = BlendArithmetic::Add |
Color blending arithmetic. By default BlendArithmetic::Add.
| std::uint8_t LLGL::BlendTargetDescriptor::colorMask = LLGL::ColorMaskFlags::All |
Specifies which color components are enabled for writing. By default LLGL::ColorMaskFlags::All to enable all components.
| BlendOp LLGL::BlendTargetDescriptor::dstAlpha = BlendOp::InvSrcAlpha |
Destination alpha blending operation. By default BlendOp::InvSrcAlpha.
| BlendOp LLGL::BlendTargetDescriptor::dstColor = BlendOp::InvSrcAlpha |
Destination color blending operation. By default BlendOp::InvSrcAlpha.
| BlendOp LLGL::BlendTargetDescriptor::srcAlpha = BlendOp::SrcAlpha |
Source alpha blending operation. By default BlendOp::SrcAlpha.
| BlendOp LLGL::BlendTargetDescriptor::srcColor = BlendOp::SrcAlpha |
Source color blending operation. By default BlendOp::SrcAlpha.