D2D1_BLEND_OPERATION enumeration (d2d1effectauthor.h)
Specifies the blend operation on two color sources.
Syntax
typedef enum D2D1_BLEND_OPERATION {
D2D1_BLEND_OPERATION_ADD = 1,
D2D1_BLEND_OPERATION_SUBTRACT = 2,
D2D1_BLEND_OPERATION_REV_SUBTRACT = 3,
D2D1_BLEND_OPERATION_MIN = 4,
D2D1_BLEND_OPERATION_MAX = 5,
D2D1_BLEND_OPERATION_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_BLEND_OPERATION_ADD Value: 1 Add source 1 and source 2. |
D2D1_BLEND_OPERATION_SUBTRACT Value: 2 Subtract source 1 from source 2. |
D2D1_BLEND_OPERATION_REV_SUBTRACT Value: 3 Subtract source 2 from source 1. |
D2D1_BLEND_OPERATION_MIN Value: 4 Find the minimum of source 1 and source 2. |
D2D1_BLEND_OPERATION_MAX Value: 5 Find the maximum of source 1 and source 2. |
D2D1_BLEND_OPERATION_FORCE_DWORD Value: 0xffffffff A value guaranteed to be a DWORD. |
Remarks
This enumeration has the same numeric values as D3D10_BLEND_OP.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | d2d1effectauthor.h |