OpenFL Haxe port of AbstractEffect and IEffect.