Skip to content

BlendStateBlend Enum

The BlendStateBlend enum defines blend factors used in rendering operations to determine how pixel colors are combined.

Enum Values

NameValueDescription
ZERO1Multiplies the blend factor by 0 (no contribution).
ONE2Multiplies the blend factor by 1 (full contribution).
SRC_COLOR3Uses the source color as the blend factor.
INV_SRC_COLOR4Uses the inverse of the source color as the blend factor.
SRC_ALPHA5Uses the source alpha as the blend factor.
INV_SRC_ALPHA6Uses the inverse of the source alpha as the blend factor.
DEST_ALPHA7Uses the destination alpha as the blend factor.
INV_DEST_ALPHA8Uses the inverse of the destination alpha as the blend factor.
DEST_COLOR9Uses the destination color as the blend factor.
INV_DEST_COLOR10Uses the inverse of the destination color as the blend factor.
SRC_ALPHA_SAT11Saturates the source alpha as the blend factor.
BLEND_FACTOR14Uses a constant blend factor specified elsewhere.
INV_BLEND_FACTOR15Uses the inverse of the constant blend factor.
SRC1_COLOR16Uses the color of the first source as the blend factor.
INV_SRC1_COLOR17Uses the inverse of the first source color as the blend factor.
SRC1_ALPHA18Uses the alpha of the first source as the blend factor.
INV_SRC1_ALPHA19Uses the inverse of the first source alpha as the blend factor.