Skip to content

ShaderFilter

shader()’s filter.

enabled: boolean

Off: skipped, as if not in the list (cheaper than taking it out and back).

Filter.enabled


readonly uniforms: Record<string, number | Float32Array>

The uniforms: set numbers (f.uniforms.uAmount = 0.5) or change arrays in place (f.uniforms.uCenter[0] = x).


padding: number

Stage units the effect reaches past the node’s pixels.