Enum ShadowOptimization2
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public enum ShadowOptimization2
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.
HighQuality = 3
No internal optimizations are applied, and no shortcuts are taken to improve performance. This produces the highest quality output, but performance is significantly reduced.
This is typically only necesary for images that are gamma corrected, or those with a low dynamic range, such as when amplifying with a high gamma value, such as seen in Paint.NET's built-in Gaussian Blur and Bokeh effects.
It is not recommended to use this with software rendering.