Table of Contents

Property SeedInstance

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

SeedInstance

Gets or sets a seed for random number generation. The default value is auto-generated at instantiation time.

public DynamicImage.ValuePropertyAccessor<int> SeedInstance { get; }

Property Value

DynamicImage.ValuePropertyAccessor<int>

Remarks

Typically the Seed property is user configurable with a "Reseed" button that just increments its value, while SeedInstance is generated once per effect instance. If two effect instances have the same value for both seed properties, rendering output will be identical for both.
Sample maps that are participating in multisampled rendering for the same effect instance should all have the same values for Seed and SeedInstance.