BlendFactor define the factors used by BlendState
to multiply with the source and destination colors.
- See:
Properties:
Name | Type | Description |
---|---|---|
ZERO |
Multiplies by 0. |
|
ONE |
Multiplies by 1. |
|
SOURCE_COLOR |
Multiplies by the source color. |
|
ONE_MINUS_SOURCE_COLOR |
Multiplies by one minus the source color. |
|
DESTINATION_COLOR |
Multiplies by the destination color. |
|
ONE_MINUS_DESTINATION_COLOR |
Multiplies by one minus the destination color. |
|
SOURCE_ALPHA |
Multiplies by the source alpha. |
|
ONE_MINUS_SOURCE_ALPHA |
Multiplies by one minus the source alpha. |
|
DESTINATION_ALPHA |
Multiplies by the destination alpha. |
|
ONE_MINUS_DESTINATION_ALPHA |
Multiplies by one minus the destination alpha. |
|
SOURCE_ALPHA_SATURATE |
Multiplies by the minimum of the source and (1 – destination) alphas |
|
CONSTANT_ALPHA |
Multiplies by the constant alpha value |
|
ONE_MINUS_CONSTANT_ALPHA |
Multiplies by one minus the constant alpha value |