D2D1_CHANNEL_SELECTOR enumeration (d2d1effects.h)

Specifies the color channel the Displacement map effect extracts the intensity from and uses it to spatially displace the image in the X or Y direction.

Syntax

typedef enum D2D1_CHANNEL_SELECTOR {
  D2D1_CHANNEL_SELECTOR_R = 0,
  D2D1_CHANNEL_SELECTOR_G = 1,
  D2D1_CHANNEL_SELECTOR_B = 2,
  D2D1_CHANNEL_SELECTOR_A = 3,
  D2D1_CHANNEL_SELECTOR_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_CHANNEL_SELECTOR_R
Value: 0
The effect extracts the intensity output from the red channel.
D2D1_CHANNEL_SELECTOR_G
Value: 1
The effect extracts the intensity output from the green channel.
D2D1_CHANNEL_SELECTOR_B
Value: 2
The effect extracts the intensity output from the blue channel.
D2D1_CHANNEL_SELECTOR_A
Value: 3
The effect extracts the intensity output from the alpha channel.
D2D1_CHANNEL_SELECTOR_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h