AbstractFilter Class
This is the base class for creating a pixi.js filter. Currently only webGL supports filters. If you want to make a custom filter this should be your base class.
Constructor
AbstractFilter
(
-
[fragmentSrc]
-
[uniforms]
Parameters:
-
[fragmentSrc]
Arrayoptional -
[uniforms]
Dynamic optional
Methods
syncUniforms
()
Syncs the uniforms between the class object and the shaders.
Properties
dirty
Bool
padding
Float
passes
ArrayAn 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.