PixelateFilter Class
This filter applies a pixelate effect making display objects appear 'blocky'.
Constructor
PixelateFilter
()
Methods
syncUniforms
()
Syncs the uniforms between the class object and the shaders.
Properties
dirty
Boolean
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
size
Point
This a point that describes the size of the blocks. x is the width of the block and y is the height.