Creates a Filter2to2 instance with an optional shader. The shader defines the graphics pipeline used for rendering.
An optional Shader instance that implements the rendering logic. Pass null to rely on default behavior.
Shader
null