enum BlendFactor
Factors used when blending new pixels with existing pixels.
Values
| Name | Value | Description |
|---|---|---|
BF_ONE |
0 |
Use a value of one for all pixel components. |
BF_ZERO |
1 |
Use a value of zero for all pixel components. |
BF_DEST_COLOR |
2 |
Use the existing pixel value. |
BF_SOURCE_COLOR |
3 |
Use the newly generated pixel value. |
BF_INV_DEST_COLOR |
4 |
Use the inverse of the existing value. |
BF_INV_SOURCE_COLOR |
5 |
Use the inverse of the newly generated pixel value. |
BF_DEST_ALPHA |
6 |
Use the existing alpha value. |
BF_SOURCE_ALPHA |
7 |
Use the newly generated alpha value. |
BF_INV_DEST_ALPHA |
8 |
Use the inverse of the existing alpha value. |
BF_INV_SOURCE_ALPHA |
9 |
Use the inverse of the newly generated alpha value. |