Package | flare.materials.filters |
Class | public class ColorMatrixFilter |
Inheritance | ColorMatrixFilter FLSLFilter FLSLScope FLSL Object |
Property | Defined By | ||
---|---|---|---|
agalVersion : int = 1 [static] | FLSL | ||
blendMode : String
The blend mode used to blend between the fragment shaders. | FLSLFilter | ||
byteCode : ByteArray
Sets or gets the flsl byteCode associated with the filter. | FLSLFilter | ||
enabled : Boolean = true | FLSLFilter | ||
name : String
The name of the flsl object. | FLSL | ||
params : Object
Contains a collection of flsl public declarations. | FLSLScope | ||
passes : int [read-only]
Returns the number of passes required by the filter. | FLSLFilter | ||
semantic : String
The semantic which the object is associated. | FLSL | ||
source : String | FLSLFilter | ||
techniqueName : String
The name of the thecnique to use. | FLSLFilter | ||
values : Vector.<Number> | ColorMatrixFilter |
Method | Defined By | ||
---|---|---|---|
ColorMatrixFilter(values:Vector.<Number> = null)
Creates a new ColorMatrixFilter
| ColorMatrixFilter | ||
bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope. | FLSLScope | ||
build():void
This forces to all materials containing this filter to be recompiled. | FLSLFilter | ||
call(ns:String, params:Array = null):uint
Call to a function stored in the scope. | FLSLScope | ||
FLSLFilter | |||
getTechniqueNames():Array
Retirms all technique names available in the scope. | FLSLScope | ||
process(scope:FLSLShader):void
This method is called when the filters are being proccessed by the associated Shader3D. | FLSLFilter |
Constant | Defined By | ||
---|---|---|---|
GRAY : Vector.<Number> [static] | ColorMatrixFilter |
values | property |
values:Vector.<Number>
public function get values():Vector.<Number>
public function set values(value:Vector.<Number>):void
ColorMatrixFilter | () | Constructor |
public function ColorMatrixFilter(values:Vector.<Number> = null)
Creates a new ColorMatrixFilter
Parametersvalues:Vector.<Number> (default = null ) — a vector with 16 float values representing a 4x4 matrix.
|
GRAY | Constant |
public static const GRAY:Vector.<Number>