new PIXI.filters.PixelateFilter()
This filter applies a pixelate effect making display objects appear 'blocky'.
Extends
Members
-
paddingnumber
-
The extra padding that the filter might need
-
sizePIXI.Point
-
This a point that describes the size of the blocks.
x is the width of the block and y is the height. -
uniformsobject
-
The uniforms as an object
Methods
-
inherited applyFilter(renderer, input, output, clear)
-
Applies the filter
Name Type Description renderer
PIXI.WebGLRenderer The renderer to retrieve the filter from
input
PIXI.RenderTarget output
PIXI.RenderTarget clear
boolean Whether or not we want to clear the outputTarget
-
inherited getShader(renderer)
-
Grabs a shader from the current renderer
Name Type Description renderer
PIXI.WebGLRenderer The renderer to retrieve the shader from
-
inherited syncUniform()
-
Syncs a uniform between the class object and the shaders.