GrayFilter Class
This greyscales the palette of your Display Objects.
Constructor
GrayFilter
()
Methods
syncUniforms
()
Syncs the uniforms between the class object and the shaders.
Properties
dirty
Boolean
fragmentSrc
Array
private
gray
Number
The strength of the gray. 1 will make the object black and white, 0 will make the object its normal color.
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.