new PIXI.filters.ColorStepFilter()
This lowers the color depth of your image by the given amount, producing an image with a smaller palette.
Extends
Members
-
paddingnumber
-
The extra padding that the filter might need
-
stepnumber
-
The number of steps to reduce the palette by.
-
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.