| Package | flare.materials.filters |
| Class | public class ColorFilter |
| Inheritance | ColorFilter FLSLFilter FLSLScope FLSL Object |
| Property | Defined By | ||
|---|---|---|---|
| a : Number | ColorFilter | ||
| b : Number | ColorFilter | ||
![]() | 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 | |
| color : uint | ColorFilter | ||
| g : Number | ColorFilter | ||
![]() | name : String
The name of the flsl object. | FLSL | |
![]() | params : Dictionary
Contains a collection of flsl public declarations. | FLSLScope | |
![]() | passes : int [read-only]
Returns the number of passes required by the filter. | FLSLFilter | |
| r : Number | ColorFilter | ||
![]() | semantic : String
The semantic which the object is associated. | FLSL | |
![]() | techniqueName : String
The name of the thecnique to use. | FLSLFilter | |
| Method | Defined By | ||
|---|---|---|---|
ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String) | ColorFilter | ||
![]() | 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 | |
![]() | 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 | |
| a | property |
a:Number public function get a():Number public function set a(value:Number):void| b | property |
b:Number public function get b():Number public function set b(value:Number):void| color | property |
color:uint public function get color():uint public function set color(value:uint):void| g | property |
g:Number public function get g():Number public function set g(value:Number):void| r | property |
r:Number public function get r():Number public function set r(value:Number):void| ColorFilter | () | Constructor |
public function ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)color:int (default = 0xffffff) | |
alpha:Number (default = 1) | |
blendMode:String (default = NaN) |