D2D1_SHADOW_OPTIMIZATION enumeration (d2d1effects.h)
The level of performance optimization for the Shadow effect.
Syntax
typedef enum D2D1_SHADOW_OPTIMIZATION {
D2D1_SHADOW_OPTIMIZATION_SPEED = 0,
D2D1_SHADOW_OPTIMIZATION_BALANCED = 1,
D2D1_SHADOW_OPTIMIZATION_QUALITY = 2,
D2D1_SHADOW_OPTIMIZATION_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_SHADOW_OPTIMIZATION_SPEED Value: 0 Applies internal optimizations such as pre-scaling at relatively small radii. Uses linear filtering. |
D2D1_SHADOW_OPTIMIZATION_BALANCED Value: 1 Uses the same optimization thresholds as Speed mode, but uses trilinear filtering. |
D2D1_SHADOW_OPTIMIZATION_QUALITY Value: 2 Only uses internal optimizations with large blur radii, where approximations are less likely to be visible. Uses trilinear filtering. |
D2D1_SHADOW_OPTIMIZATION_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1effects.h |