Enum Blend
Blend option. A blend option identifies the data source and an optional pre-blend operation.
[DataContract]
public enum Blend
Fields
BlendFactor = 14The data source is the blend factor set with BlendStates. No pre-blend operation.
DestinationAlpha = 7The data source is alpha data from a rendertarget. No pre-blend operation.
DestinationColor = 9The data source is color data from a rendertarget. No pre-blend operation.
InverseBlendFactor = 15The data source is the blend factor set with BlendStates. The pre-blend operation inverts the blend factor, generating 1 - blend_factor.
InverseDestinationAlpha = 8The data source is alpha data from a rendertarget. The pre-blend operation inverts the data, generating 1 - A.
InverseDestinationColor = 10The data source is color data from a rendertarget. The pre-blend operation inverts the data, generating 1 - RGB.
InverseSecondarySourceAlpha = 19The data sources are alpha data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - A. This options supports dual-source color blending.
InverseSecondarySourceColor = 17The data sources are both color data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB. This options supports dual-source color blending.
InverseSourceAlpha = 6The data source is alpha data (A) from a pixel shader. The pre-blend operation inverts the data, generating 1 - A.
InverseSourceColor = 4The data source is color data (RGB) from a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB.
One = 2The data source is the color white (1, 1, 1, 1). No pre-blend operation.
SecondarySourceAlpha = 18The data sources are alpha data output by a pixel shader. There is no pre-blend operation. This options supports dual-source color blending.
SecondarySourceColor = 16The data sources are both color data output by a pixel shader. There is no pre-blend operation. This options supports dual-source color blending.
SourceAlpha = 5The data source is alpha data (A) from a pixel shader. No pre-blend operation.
SourceAlphaSaturate = 11The data source is alpha data from a pixel shader. The pre-blend operation clamps the data to 1 or less.
SourceColor = 3The data source is color data (RGB) from a pixel shader. No pre-blend operation.
Zero = 1The data source is the color black (0, 0, 0, 0). No pre-blend operation.
Remarks
Blend options are specified in a BlendStateDescription.