Packageflare.materials.filters
Classpublic class ColorFilter
InheritanceColorFilter Inheritance FLSLFilter Inheritance FLSLScope Inheritance FLSL Inheritance Object



Public Properties
 PropertyDefined By
  a : Number
ColorFilter
 InheritedagalVersion : int = 1
[static]
FLSL
  b : Number
ColorFilter
 InheritedblendMode : String
The blend mode used to blend between the fragment shaders.
FLSLFilter
 InheritedbyteCode : ByteArray
Sets or gets the flsl byteCode associated with the filter.
FLSLFilter
  color : uint
ColorFilter
 Inheritedenabled : Boolean = true
FLSLFilter
  g : Number
ColorFilter
 Inheritedname : String
The name of the flsl object.
FLSL
 Inheritedparams : Object
Contains a collection of flsl public declarations.
FLSLScope
 Inheritedpasses : int
[read-only] Returns the number of passes required by the filter.
FLSLFilter
  r : Number
ColorFilter
 Inheritedsemantic : String
The semantic which the object is associated.
FLSL
 Inheritedsource : String
FLSLFilter
 InheritedtechniqueName : String
The name of the thecnique to use.
FLSLFilter
Public Methods
 MethodDefined By
  
ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)
ColorFilter
 Inherited
bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope.
FLSLScope
 Inherited
build():void
This forces to all materials containing this filter to be recompiled.
FLSLFilter
 Inherited
call(ns:String, params:Array = null):uint
Call to a function stored in the scope.
FLSLScope
 Inherited
FLSLFilter
 Inherited
Retirms all technique names available in the scope.
FLSLScope
 Inherited
process(scope:FLSLShader):void
This method is called when the filters are being proccessed by the associated Shader3D.
FLSLFilter
Property Detail
aproperty
a:Number


Implementation
    public function get a():Number
    public function set a(value:Number):void
bproperty 
b:Number


Implementation
    public function get b():Number
    public function set b(value:Number):void
colorproperty 
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
gproperty 
g:Number


Implementation
    public function get g():Number
    public function set g(value:Number):void
rproperty 
r:Number


Implementation
    public function get r():Number
    public function set r(value:Number):void
Constructor Detail
ColorFilter()Constructor
public function ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)



Parameters
color:int (default = 0xffffff)
 
alpha:Number (default = 1)
 
blendMode:String (default = NaN)