Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_RValue: 0 The effect extracts the intensity output from the red channel. |
D2D1_CHANNEL_SELECTOR_GValue: 1 The effect extracts the intensity output from the green channel. |
D2D1_CHANNEL_SELECTOR_BValue: 2 The effect extracts the intensity output from the blue channel. |
D2D1_CHANNEL_SELECTOR_AValue: 3 The effect extracts the intensity output from the alpha channel. |
D2D1_CHANNEL_SELECTOR_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |