API Docs for: 2.0.0
Show:

SepiaFilter Class

This applies a sepia effect to your Display Objects.

Constructor

SepiaFilter

()

Methods

syncUniforms

()

Syncs the uniforms between the class object and the shaders.

Properties

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.

sepia

Number

The strength of the sepia. 1 will apply the full sepia effect, 0 will make the object its normal color.

shaders

Array an array of shaders private

uniforms

Object private