Package | flare.materials.filters |
Class | public class AlphaMaskFilter |
Inheritance | AlphaMaskFilter FLSLFilter FLSLScope FLSL Object |
Property | Defined By | ||
---|---|---|---|
agalVersion : int = 1 [static] | FLSL | ||
blendMode : String [override] | AlphaMaskFilter | ||
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 [override] | AlphaMaskFilter | ||
threshold : Number | AlphaMaskFilter |
Method | Defined By | ||
---|---|---|---|
AlphaMaskFilter(threshold:Number = 0.5) | AlphaMaskFilter | ||
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 |
blendMode | property |
blendMode:String
[override] public function get blendMode():String
public function set blendMode(value:String):void
techniqueName | property |
techniqueName:String
[override] public function get techniqueName():String
public function set techniqueName(value:String):void
threshold | property |
threshold:Number
public function get threshold():Number
public function set threshold(value:Number):void
AlphaMaskFilter | () | Constructor |
public function AlphaMaskFilter(threshold:Number = 0.5)
threshold:Number (default = 0.5 )
|