Package | flare.materials.filters |
Class | public class EnvironmentMapFilter |
Inheritance | EnvironmentMapFilter FLSLFilter FLSLScope FLSL Object |
Property | Defined By | ||
---|---|---|---|
agalVersion : int = 1 [static] | FLSL | ||
alpha : Number | EnvironmentMapFilter | ||
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 | ||
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 | ||
scaleX : Number | EnvironmentMapFilter | ||
scaleY : Number | EnvironmentMapFilter | ||
semantic : String
The semantic which the object is associated. | FLSL | ||
source : String | FLSLFilter | ||
techniqueName : String
The name of the thecnique to use. | FLSLFilter | ||
texture : Texture3D | EnvironmentMapFilter |
Method | Defined By | ||
---|---|---|---|
EnvironmentMapFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String) | EnvironmentMapFilter | ||
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 | ||
---|---|---|---|
PER_PIXEL : String = perPixel [static] | EnvironmentMapFilter | ||
PER_VERTEX : String = perVertex [static] | EnvironmentMapFilter |
alpha | property |
alpha:Number
public function get alpha():Number
public function set alpha(value:Number):void
scaleX | property |
scaleX:Number
public function get scaleX():Number
public function set scaleX(value:Number):void
scaleY | property |
scaleY:Number
public function get scaleY():Number
public function set scaleY(value:Number):void
texture | property |
texture:Texture3D
public function get texture():Texture3D
public function set texture(value:Texture3D):void
EnvironmentMapFilter | () | Constructor |
public function EnvironmentMapFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String)
texture:Texture3D (default = null )
| |
blendMode:String (default = NaN )
| |
alpha:Number (default = 1 )
| |
techniqueName:String (default = NaN )
|
PER_PIXEL | Constant |
public static const PER_PIXEL:String = perPixel
PER_VERTEX | Constant |
public static const PER_VERTEX:String = perVertex