new SepiaFilter()
This applies a sepia effect to your Display Objects.
- Source:
Extends
Members
-
padding :number
-
The extra padding that the filter might need
Type:
- number
- Inherited From:
- Source:
-
uniforms :object
-
The uniforms as an object
Type:
- object
- Inherited From:
- Source:
Methods
-
applyFilter(renderer, input, output, clear)
-
Applies the filter
Parameters:
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 From:
- Source:
-
getShader(renderer)
-
Grabs a shader from the current renderer
Parameters:
Name Type Description renderer
PIXI.WebGLRenderer The renderer to retrieve the shader from
- Inherited From:
- Source:
-
syncUniform()
-
Syncs a uniform between the class object and the shaders.
- Inherited From:
- Source: