Skip to content

BlendStateBlendOp Enum

The BlendStateBlendOp enum defines blending operations used in rendering to determine how source and destination colors are combined.

Enum Values

NameValueDescription
ADD1Adds the source and destination colors:
Result = Src + Dest.
SUBTRACT2Subtracts the destination color from the source color:
Result = Src - Dest.
REV_SUBTRACT3Subtracts the source color from the destination color:
Result = Dest - Src.
MIN4Chooses the minimum value of the source and destination colors.
MAX5Chooses the maximum value of the source and destination colors.