Class: PIXI.AbstractFilter
Constructor
new AbstractFilter(fragmentSrc, uniforms)
This is the base class for creating a PIXI filter. Currently only webGL supports filters.
If you want to make a custom filter this should be your base class.
Parameters
Name | Type | Description |
---|---|---|
fragmentSrc | Array | The fragment source in an array of strings. |
uniforms | Object | An object containing the uniforms for this filter. |
- Source code: pixi/filters/AbstractFilter.js (Line 5)
Public Properties
- Source code: pixi/filters/AbstractFilter.js (Line 32)
- Source code: pixi/filters/AbstractFilter.js (Line 38)
dirty : boolean
padding : number
Public Methods
- Source code: pixi/filters/AbstractFilter.js (Line 61)
syncUniforms()
Syncs the uniforms between the class object and the shaders.
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/PIXI.AbstractFilter.html