Enum ShadowOptimization
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
The level of performance optimization for the Shadow effect.
D2D1_SHADOW_OPTIMIZATION
public enum ShadowOptimization
Fields
Speed = 0
Applies internal optimizations such as pre-scaling at relatively small radii. Uses linear filtering.
Balanced = 1
Uses the same optimization thresholds as Speed mode, but uses trilinear filtering.
Quality = 2
Only uses internal optimizations with large blur radii, where approximations are less likely to be visible. Uses trilinear filtering.