PIXI. AbstractFilter

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 - pixi/filters/AbstractFilter.js, line 5

Members

dirty :Boolean

Source - pixi/filters/AbstractFilter.js, line 32

padding :Number

Source - pixi/filters/AbstractFilter.js, line 38

Methods

syncUniforms()

Syncs the uniforms between the class object and the shaders.

Source - pixi/filters/AbstractFilter.js, line 61
Phaser Copyright © 2012-2016 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.3 on Fri Jul 01 2016 16:56:01 GMT+0100 (GMT Daylight Time) using the DocStrap template.