|
CeresEngine 0.2.0
A game development framework
|
Blend target state descriptor structure. More...
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| bool | blendEnabled = false |
| Specifies whether blending is enabled or disabled for the respective color attachment. | |
| GPUBlendOp | srcColor = GPUBlendOp::SourceAlpha |
Source color blending operation. By default BlendOp::SourceAlpha. | |
| GPUBlendOp | dstColor = GPUBlendOp::InverseSourceAlpha |
| Destination color blending operation. | |
| GPUBlendArithmetic | colorArithmetic = GPUBlendArithmetic::Add |
Color blending arithmetic. By default BlendArithmetic::Add. | |
| GPUBlendOp | srcAlpha = GPUBlendOp::SourceAlpha |
Source alpha blending operation. By default BlendOp::SourceAlpha. | |
| GPUBlendOp | dstAlpha = GPUBlendOp::InverseSourceAlpha |
| Destination alpha blending operation. | |
| GPUBlendArithmetic | alphaArithmetic = GPUBlendArithmetic::Add |
Alpha blending arithmetic. By default BlendArithmetic::Add. | |
| Vector4b | colorMask = {true, true, true, true} |
| Specifies which color components are enabled for writing. | |
Blend target state descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUBlendArithmetic CeresEngine::GPUBlendTargetDescriptor::alphaArithmetic = GPUBlendArithmetic::Add |
Alpha blending arithmetic. By default BlendArithmetic::Add.
Specifies whether blending is enabled or disabled for the respective color attachment.
| GPUBlendArithmetic CeresEngine::GPUBlendTargetDescriptor::colorArithmetic = GPUBlendArithmetic::Add |
Color blending arithmetic. By default BlendArithmetic::Add.
Specifies which color components are enabled for writing.
By default (true, true, true, true).
| GPUBlendOp CeresEngine::GPUBlendTargetDescriptor::dstAlpha = GPUBlendOp::InverseSourceAlpha |
Destination alpha blending operation.
By default BlendOp::InverseSourceAlpha.
| GPUBlendOp CeresEngine::GPUBlendTargetDescriptor::dstColor = GPUBlendOp::InverseSourceAlpha |
Destination color blending operation.
By default BlendOp::InverseSourceAlpha.
| GPUBlendOp CeresEngine::GPUBlendTargetDescriptor::srcAlpha = GPUBlendOp::SourceAlpha |
Source alpha blending operation. By default BlendOp::SourceAlpha.
| GPUBlendOp CeresEngine::GPUBlendTargetDescriptor::srcColor = GPUBlendOp::SourceAlpha |
Source color blending operation. By default BlendOp::SourceAlpha.