Constructor

@:value({ quality : 1., linear : 0., gain : 1., radius : 1. })new(radius:Float = 1., gain:Float = 1., linear:Float = 0., quality:Float = 1.)

Variables

gain:Float

How much the blur increases or decreases the color amount (default = 1)

linear:Float

Set linear blur instead of gaussian (default = 0).

quality:Float

Adjust how much quality/speed tradeoff we want (default = 1)

radius:Float

How far in pixels the blur will go.

Methods

apply(ctx:RenderContext, src:Texture, ?output:Texture):Void

Inherited Variables

Inherited Methods

Defined by ScreenFx

inlineaddShader<T>(s:T):T

dispose():Void

inlinegetShader<T>(cl:Class<T>):T

inlineremoveShader(s:Shader):Bool

render():Void