Filter1to1

constructor(shader: Shader? = null, watcher: ShaderWatcher? = null)(source)

Creates a Filter1to1 with the specified shader and watcher.

Parameters

shader

The Shader instance used for applying the visual effect. Can be null if no specific shader functionality is needed.

watcher

An optional ShaderWatcher instance that monitors the shader.