Enum Blend
Specifies how one of the color sources is to be derived and optionally specifies a preblend operation on the color source.
public enum Blend
Fields
BlendFactor = 14
The data source is the blend factor. There is no preblend operation.
DestinationAlpha = 7
The data source is alpha data (A) from the first input of the blend transform. There is no preblend operation.
DestinationColor = 9
The data source is color data from the first input of the blend transform. There is no preblend operation.
InverseBlendFactor = 15
The data source is the blend factor. The preblend operation inverts the blend factor, generating 1 - blend_factor.
InverseDestinationAlpha = 8
The data source is alpha data (A) from the first input of the blend transform. The preblend operation inverts the data, generating 1 - A.
InverseDestinationColor = 10
The data source is color data from the first input of the blend transform. The preblend operation inverts the data, generating 1 - RGB.
InverseSourceAlpha = 6
The data source is alpha data (A) from the second input of the blend transform. The preblend operation inverts the data, generating 1 - A.
InverseSourceColor = 4
The data source is color data (RGB) from second input of the blend transform. The preblend operation inverts the data, generating 1 - RGB.
One = 2
The data source is white (1, 1, 1, 1). There is no preblend operation.
SourceAlpha = 5
The data source is alpha data (A) from second input of the blend transform. There is no preblend operation.
SourceAlphaSaturate = 11
The data source is alpha data from the second input of the blend transform. The preblend operation clamps the data to 1 or less.
SourceColor = 3
The data source is color data (RGB) from the second input of the blend transform. There is not a preblend operation.
Zero = 1
The data source is black (0, 0, 0, 0). There is no preblend operation.
Remarks
This enumeration has the same numeric values as D3D10_BLEND.