Property Optimization
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
Optimization
The level of performance optimization. The default value is ShadowOptimization.Quality.
public EffectPropertyAccessor<ShadowOptimization> Optimization { get; }
Property Value
Remarks
NOTE: When using this class, the default value of this property is Quality, not Balanced as documented by Direct2D. If you create this effect using CreateEffect(in DeviceEffectID), the default value will be Balanced.