Package | flare.materials.filters |
Class | public class SelfColorFilter |
Inheritance | SelfColorFilter 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 | ||
color : uint | SelfColorFilter | ||
enabled : Boolean = true | FLSLFilter | ||
level : Number | SelfColorFilter | ||
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 |
Method | Defined By | ||
---|---|---|---|
SelfColorFilter(color:int = 0x0, level:Number = 1) | SelfColorFilter | ||
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 |
color | property |
color:uint
public function get color():uint
public function set color(value:uint):void
level | property |
level:Number
public function get level():Number
public function set level(value:Number):void
SelfColorFilter | () | Constructor |
public function SelfColorFilter(color:int = 0x0, level:Number = 1)
color:int (default = 0x0 )
| |
level:Number (default = 1 )
|