Table of Contents

Property AlphaMode

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

AlphaMode

Specifies the alpha mode for the input and output.
If set to Premultiplied, the input will be unpremultiplied, noise will be added, and then the result will be premultiplied.
If set to Straight, noise will be added without any alpha space conversion.
The default is Premultiplied.

public EffectPropertyAccessor<PdnAddNoiseAlphaMode> AlphaMode { get; }

Property Value

EffectPropertyAccessor<PdnAddNoiseAlphaMode>