struct
BlendStateDescribes the blending operation with its factors for a single component of a render pass attachment.
Public static functions
- static auto NoBlend() -> BlendState
- Returns a passthrough blend state for no blending.
Constructors, destructors, conversion operators
- BlendState()
- Default constructor for no blending (passthrough).
- BlendState(BlendFactor srcBlendFactor, BlendFactor dstBlendFactor, BlendOp blendOp = BlendOp::Add)
Function documentation
tp:: BlendState:: BlendState(BlendFactor srcBlendFactor,
BlendFactor dstBlendFactor,
BlendOp blendOp = BlendOp::Add)
Parameters | |
---|---|
srcBlendFactor | The multiplicative factor applied to the source value. |
dstBlendFactor | The multiplicative factor applied to the destination value. |
blendOp | The blending operation used to combine the source and destination values after their factors get applied. |