BlendStateBlend Enum
The BlendStateBlend enum defines blend factors used in rendering operations to determine how pixel colors are combined.
Enum Values
| Name | Value | Description |
|---|---|---|
ZERO | 1 | Multiplies the blend factor by 0 (no contribution). |
ONE | 2 | Multiplies the blend factor by 1 (full contribution). |
SRC_COLOR | 3 | Uses the source color as the blend factor. |
INV_SRC_COLOR | 4 | Uses the inverse of the source color as the blend factor. |
SRC_ALPHA | 5 | Uses the source alpha as the blend factor. |
INV_SRC_ALPHA | 6 | Uses the inverse of the source alpha as the blend factor. |
DEST_ALPHA | 7 | Uses the destination alpha as the blend factor. |
INV_DEST_ALPHA | 8 | Uses the inverse of the destination alpha as the blend factor. |
DEST_COLOR | 9 | Uses the destination color as the blend factor. |
INV_DEST_COLOR | 10 | Uses the inverse of the destination color as the blend factor. |
SRC_ALPHA_SAT | 11 | Saturates the source alpha as the blend factor. |
BLEND_FACTOR | 14 | Uses a constant blend factor specified elsewhere. |
INV_BLEND_FACTOR | 15 | Uses the inverse of the constant blend factor. |
SRC1_COLOR | 16 | Uses the color of the first source as the blend factor. |
INV_SRC1_COLOR | 17 | Uses the inverse of the first source color as the blend factor. |
SRC1_ALPHA | 18 | Uses the alpha of the first source as the blend factor. |
INV_SRC1_ALPHA | 19 | Uses the inverse of the first source alpha as the blend factor. |