Table of Contents

Property Granularity

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll

Granularity

Specifies the number of histogram bins/buckets that are used when rendering the effect.
The range is [4, 256], the default is 51.

public EffectPropertyAccessor<int> Granularity { get; }

Property Value

EffectPropertyAccessor<int>

Remarks

This corresponds to the "legacy" Oil Painting effect's "Coarseness" property, in which the number of histogram bins was equal to one plus Coarseness. Its range was [3, 255] with a default of 50, which is why this new implementation of the effect has a range of [4, 256] and a default value of 51.