Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Identifiers for properties of the Displacement map effect.
Syntax
typedef enum D2D1_DISPLACEMENTMAP_PROP {
D2D1_DISPLACEMENTMAP_PROP_SCALE = 0,
D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT = 1,
D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT = 2,
D2D1_DISPLACEMENTMAP_PROP_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_DISPLACEMENTMAP_PROP_SCALEValue: 0 Multiplies the intensity of the selected channel from the displacement image. The higher you set this property, the more the effect displaces the pixels. The type is FLOAT. The default value is 0.0f. |
D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECTValue: 1 The effect extracts the intensity from this color channel and uses it to spatially displace the image in the X direction. The type is D2D1_CHANNEL_SELECTOR. The default value is D2D1_CHANNEL_SELECTOR_A |
D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECTValue: 2 The effect extracts the intensity from this color channel and uses it to spatially displace the image in the Y direction. The type is D2D1_CHANNEL_SELECTOR. The default value is D2D1_CHANNEL_SELECTOR_A |
D2D1_DISPLACEMENTMAP_PROP_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |