D2D1_COLORMANAGEMENT_ALPHA_MODE enumeration (d2d1effects.h)

Indicates how the Color management effect should interpret alpha data that is contained in the input image.

Syntax

typedef enum D2D1_COLORMANAGEMENT_ALPHA_MODE {
  D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED = 1,
  D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT = 2,
  D2D1_COLORMANAGEMENT_ALPHA_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED
Value: 1
The effect assumes the alpha mode is premultiplied.
D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT
Value: 2
The effect assumes the alpha mode is straight.
D2D1_COLORMANAGEMENT_ALPHA_MODE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h