Filter2to1

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

Creates a new instance of the Filter2to1 class.

Parameters

shader

An optional shader instance, defining the filter's processing logic.

watcher

An optional shader watcher instance to track and manage shader changes.