API Docs for: 2.0.0
Show:

AbstractFilter Class

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.

Constructor

AbstractFilter

(
  • fragmentSrc
  • uniforms
)

Parameters:

  • fragmentSrc Array

    The fragment source in an array of strings.

  • uniforms Object

    An object containing the uniforms for this filter.

Item Index

Methods

Methods

syncUniforms

()

Syncs the uniforms between the class object and the shaders.

Properties

dirty

Boolean

fragmentSrc

Array private

padding

Number

passes

Array an array of filter objects private

An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. For example the blur filter has two passes blurX and blurY.

shaders

Array an array of shaders private

uniforms

Object private