Packageflare.materials.filters
Classpublic class ColorMatrixFilter
InheritanceColorMatrixFilter Inheritance FLSLFilter Inheritance FLSLScope Inheritance FLSL Inheritance Object



Public Properties
 PropertyDefined By
 InheritedagalVersion : int = 1
[static]
FLSL
 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
 Inheritedenabled : Boolean = true
FLSLFilter
 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
 Inheritedsemantic : String
The semantic which the object is associated.
FLSL
 Inheritedsource : String
FLSLFilter
 InheritedtechniqueName : String
The name of the thecnique to use.
FLSLFilter
  values : Vector.<Number>
ColorMatrixFilter
Public Methods
 MethodDefined By
  
ColorMatrixFilter(values:Vector.<Number> = null)
Creates a new ColorMatrixFilter
ColorMatrixFilter
 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
Public Constants
 ConstantDefined By
  GRAY : Vector.<Number>
[static]
ColorMatrixFilter
Property Detail
valuesproperty
values:Vector.<Number>


Implementation
    public function get values():Vector.<Number>
    public function set values(value:Vector.<Number>):void
Constructor Detail
ColorMatrixFilter()Constructor
public function ColorMatrixFilter(values:Vector.<Number> = null)

Creates a new ColorMatrixFilter

Parameters
values:Vector.<Number> (default = null) — a vector with 16 float values representing a 4x4 matrix.
Constant Detail
GRAYConstant
public static const GRAY:Vector.<Number>