API Docs for: 2.0.0
Show:

BlurFilter Class

The BlurFilter applies a Gaussian blur to an object. The strength of the blur can be set for x- and y-axis separately (always relative to the stage).

Constructor

BlurFilter

()

Methods

syncUniforms

()

Syncs the uniforms between the class object and the shaders.

Properties

blur

Number the strength of the blur

Sets the strength of both the blurX and blurY properties simultaneously

Default: 2

blurX

Number the strength of the blurX

Sets the strength of the blurX property

Default: 2

blurY

Number the strength of the blurY

Sets the strength of the blurY property

Default: 2

fragmentSrc

Array private

padding

Number

passes

Array an array of filter objects private

An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. For example the blur filter has two passes blurX and blurY.

shaders

Array an array of shaders private

uniforms

Object private