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.
Indicates how a strongly-typed effect property maps to an underlying Direct2D effect property. This enumeration supports the Windows.UI.Composition API and is not meant to be used directly in your code.
Syntax
typedef enum GRAPHICS_EFFECT_PROPERTY_MAPPING {
GRAPHICS_EFFECT_PROPERTY_MAPPING_UNKNOWN,
GRAPHICS_EFFECT_PROPERTY_MAPPING_DIRECT,
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORX,
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORY,
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORZ,
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORW,
GRAPHICS_EFFECT_PROPERTY_MAPPING_RECT_TO_VECTOR4,
GRAPHICS_EFFECT_PROPERTY_MAPPING_RADIANS_TO_DEGREES,
GRAPHICS_EFFECT_PROPERTY_MAPPING_COLORMATRIX_ALPHA_MODE,
GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR3,
GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR4
} ;
Constants
GRAPHICS_EFFECT_PROPERTY_MAPPING_UNKNOWNSpecifies that the value cannot be mapped to a Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_DIRECTSpecifies that the value can be set as-is on the Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORXSpecifies that the value maps to the X component of a vector-typed Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORYSpecifies that the value maps to the Y component of a vector-typed Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORZSpecifies that the value maps to the Z component of a vector-typed Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORWSpecifies that the value maps to the W component of a vector-typed Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_RECT_TO_VECTOR4Specifies that a rect value maps to a Vector4 Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_RADIANS_TO_DEGREESSpecifies that the value needs to be converted from radians to degrees before being set on the Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_COLORMATRIX_ALPHA_MODESpecifies a color matrix alpha mode enum value needs to be converted to the equivalent Direct2D enum value before being set on the effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR3Specifies that a Windows.UI.Color value needs to be converted to an RGB Vector3 before being set on the Direct2D effect property. |
GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR4Specifies that a Windows.UI.Color value needs to be converted to an RGBA Vector4 before being set on the Direct2D effect property. |
Requirements
| Requirement | Value |
|---|---|
| Header | windows.graphics.effects.interop.h |