new ColorStepFilter()
This lowers the color depth of your image by the given amount, producing an image with a smaller palette.
- Source code: pixi/filters/ColorStepFilter.js, line 5
Extends
Public Properties
-
dirty : boolean
-
- Inherited From
- Source code: pixi/filters/AbstractFilter.js, line 31
-
padding : number
-
- Inherited From
- Source code: pixi/filters/AbstractFilter.js, line 37
-
step : number
-
The number of steps to reduce the palette by.
- Source code: pixi/filters/ColorStepFilter.js, line 41
Public Methods
-
syncUniforms()
-
Syncs the uniforms between the class object and the shaders.
- Inherited From
- Source code: pixi/filters/AbstractFilter.js, line 60