D2D1_BLEND_DESCRIPTION structure
Defines a blend description to be used in a particular blend transform.
Syntax
typedef struct D2D1_BLEND_DESCRIPTION { D2D1_BLEND sourceBlend; D2D1_BLEND destinationBlend; D2D1_BLEND_OPERATION blendOperation; D2D1_BLEND sourceBlendAlpha; D2D1_BLEND destinationBlendAlpha; D2D1_BLEND_OPERATION blendOperationAlpha; FLOAT blendFactor[4]; } D2D1_BLEND_DESCRIPTION;
Members
- sourceBlend
-
Specifies the first RGB data source and includes an optional preblend operation.
- destinationBlend
-
Specifies the second RGB data source and includes an optional preblend operation.
- blendOperation
-
Specifies how to combine the RGB data sources.
- sourceBlendAlpha
-
Specifies the first alpha data source and includes an optional preblend operation. Blend options that end in _COLOR are not allowed.
- destinationBlendAlpha
-
Specifies the second alpha data source and includes an optional preblend operation. Blend options that end in _COLOR are not allowed.
- blendOperationAlpha
-
Specifies how to combine the alpha data sources.
- blendFactor
-
Parameters to the blend operations. The blend must use D2D1_BLEND_BLEND_FACTOR for this to be used.
Remarks
This description closely matches the D3D11_BLEND_DESC struct with some omissions and the addition of the blend factor in the description.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Type library |
|
See also