new PIXI.filters.InvertFilter()
This inverts your Display Objects colors.
Extends
Members
-
invertnumber
-
The strength of the invert.
1
will fully invert the colors, and
0
will make the object its normal color. -
paddingnumber
-
The extra padding that the filter might need
-
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.