the current renderer instance
Optionaloptions: { strength?: number; textureSize?: number[] } = {}effect options
Optionalstrength?: numberblur strength in texels
OptionaltextureSize?: number[]texture dimensions [width, height]
whether this effect is active (false in Canvas mode)
destroy this shader effect
set the blur strength
blur strength in texels
set the texture size
texture width in pixels
texture height in pixels
Set the uniform to the given value
the uniform name
the value to assign to that uniform
A shader effect that applies a box blur to the sprite. Commonly used for background defocus, depth-of-field simulation, or UI backdrop blur.
See
Renderable.shader for usage
Example