Filter

constructor(shader: Shader?)(source)

Creates a new filter instance, optionally initializing it with a shader or shader watcher.

Parameters

shader

The optional Shader instance to be used by the filter.