AbstractFilter#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 code: pixi/filters/AbstractFilter.js (Line 5)
doc_phaser
2017-02-14 10:35:46
Comments
Leave a Comment

Please login to continue.