Export (0) Print
Expand All
Expand Minimize

D2D1_BLEND_OPERATION enumeration

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_SUBSTRACT  = 3,
  D2D1_BLEND_OPERATION_MIN            = 4,
  D2D1_BLEND_OPERATION_MAX            = 5
} D2D1_BLEND_OPERATION;

Constants

D2D1_BLEND_OPERATION_ADD

Add source 1 and source 2.

D2D1_BLEND_OPERATION_SUBTRACT

Subtract source 1 from source 2.

D2D1_BLEND_OPERATION_REV_SUBSTRACT

Subtract source 2 from source 1.

D2D1_BLEND_OPERATION_MIN

Find the minimum of source 1 and source 2.

D2D1_BLEND_OPERATION_MAX

Find the maximum of source 1 and source 2.

Remarks

This enumeration has the same numeric values as D3D10_BLEND_OP.

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

D2d1effectauthor.h

Type library

D2d1.lib;
D2d1.dll

See also

D2D1_BLEND_DESCRIPTION
ID2D1BlendTransform

 

 

Community Additions

ADD
Show:
© 2015 Microsoft