Package | flare.materials.filters |
Class | public class TextureMaskFilter |
Inheritance | TextureMaskFilter FLSLFilter FLSLScope FLSL Object |
Method | Defined By | ||
---|---|---|---|
TextureMaskFilter(texture:Texture3D = null, channel:int = 0, threshold:Number = 0.5, technique:String) | TextureMaskFilter | ||
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 | ||
---|---|---|---|
ALPHA : String = alpha [static] | TextureMaskFilter | ||
BLUE : String = blue [static] | TextureMaskFilter | ||
GREEN : String = green [static] | TextureMaskFilter | ||
RED : String = red [static] | TextureMaskFilter |
TextureMaskFilter | () | Constructor |
public function TextureMaskFilter(texture:Texture3D = null, channel:int = 0, threshold:Number = 0.5, technique:String)
texture:Texture3D (default = null )
| |
channel:int (default = 0 )
| |
threshold:Number (default = 0.5 )
| |
technique:String (default = NaN )
|
ALPHA | Constant |
public static const ALPHA:String = alpha
BLUE | Constant |
public static const BLUE:String = blue
GREEN | Constant |
public static const GREEN:String = green
RED | Constant |
public static const RED:String = red