Package | flare.materials.filters |
Class | public class AlphaMaskFilter |
Inheritance | AlphaMaskFilter ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | 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 | |
![]() | 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 | |
![]() | semantic : String
The semantic which the object is associated. | FLSL | |
![]() | techniqueName : String
The name of the thecnique to use. | FLSLFilter | |
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 | |
![]() | 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 |
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 )
|