Filter2to2

constructor(shader: Shader?)(source)

Creates a Filter2to2 instance with an optional shader. The shader defines the graphics pipeline used for rendering.

Parameters

shader

An optional Shader instance that implements the rendering logic. Pass null to rely on default behavior.