tp::AttachmentBlendState struct

Specifies the output blending state of a render pass attachment.

Public static functions

static auto NoBlend() -> AttachmentBlendState
Returns a passthrough blend state for no blending.

Constructors, destructors, conversion operators

AttachmentBlendState()
Default constructor for no blending (passthrough).
AttachmentBlendState(BlendState colorBlend, BlendState alphaBlend, ColorComponentMask writeMask = ColorComponent::Red|ColorComponent::Green|ColorComponent::Blue|ColorComponent::Alpha)

Function documentation

tp::AttachmentBlendState::AttachmentBlendState(BlendState colorBlend, BlendState alphaBlend, ColorComponentMask writeMask = ColorComponent::Red|ColorComponent::Green|ColorComponent::Blue|ColorComponent::Alpha)

Parameters
colorBlend The blend state for the color components.
alphaBlend The blend state for the alpha component.
writeMask The optional mask of components to be written.