D2D1_CHANNEL_SELECTOR enumeration

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;

Constants

D2D1_CHANNEL_SELECTOR_R

The effect extracts the intensity output from the red channel.

D2D1_CHANNEL_SELECTOR_G

The effect extracts the intensity output from the green channel.

D2D1_CHANNEL_SELECTOR_B

The effect extracts the intensity output from the blue channel.

D2D1_CHANNEL_SELECTOR_A

The effect extracts the intensity output from the alpha channel.

Requirements

Header

D2d1effects.h

 

 

Show: