Table of Contents

Method SmoothProgressive

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

SmoothProgressive(RenderTexture, RenderTexture, Texture, int, int)

Applies Vista's iterative smooth filter progressively and yields after a configurable number of iterations.

public static IEnumerator SmoothProgressive(RenderTexture targetRT, RenderTexture tempRT, Texture maskTexture, int iterationCount, int iterationPerFrame)

Parameters

targetRT RenderTexture

The destination texture that also acts as the initial source.

tempRT RenderTexture

Temporary texture used for ping-pong rendering. Must match targetRT resolution.

maskTexture Texture

Optional mask controlling where smoothing applies. Null is treated as white.

iterationCount int

Total number of smoothing iterations to execute.

iterationPerFrame int

Number of iterations processed between yields.

Returns

IEnumerator