examples.states

..
BloomFilterState

BloomFilterState controls the BloomFilter example. It sets up controls to modify the brightness threshold and the number of blur passes. Very high values will introduce noticeble lag.

Controls

Controls provide a sprite group which can contain a collection of controls which can control the various aspects of the shader active in the demo.

DemoState

DemoState provides a highlevel state class providing functions needed by all demo states.

GrayscalePixelationShaderState

The GrayscalePixelationShaderState provides the demo driver for the GrayscalePixelationShader.

GrayscaleShaderState

The GrayscaleShaderState provides the demo driver for the GrayscaleShader.

ImageData

ImagesState

ImageState is a FlxState providing a selection of images and sprite to which shader effects may be applied.

MenuState

MenuState provides a menu page for example shaders and filters.

MultiShaderState

MultiShaderState controls the MultiShaderFilter example. This demonstrates how you can combine two regular shaders into a single filter. In this example we use a grayscale and a pixelation shader.

PixelationShaderState

The PixelationShaderState provides the demo driver for the PixelationShader.

RippleShaderState

SaturationShaderState

The SaturationShaderState provides the demo driver for the SaturationShader.

ShakeShaderState

The ShakeShaderState provides the demo driver for the ShakeShader.

ThresholdShaderState

The ThresholdShaderState provides the demo driver for the ThresholdShader.