Package | flare.materials.filters |
Class | public class SpecularMapFilter |
Inheritance | SpecularMapFilter 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 | ||
channel : int | SpecularMapFilter | ||
enabled : Boolean = true | FLSLFilter | ||
level : Number | SpecularMapFilter | ||
name : String
The name of the flsl object. | FLSL | ||
offsetX : Number | SpecularMapFilter | ||
offsetY : Number | SpecularMapFilter | ||
params : Object
Contains a collection of flsl public declarations. | FLSLScope | ||
passes : int [read-only]
Returns the number of passes required by the filter. | FLSLFilter | ||
power : Number | SpecularMapFilter | ||
repeatX : Number | SpecularMapFilter | ||
repeatY : Number | SpecularMapFilter | ||
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 | SpecularMapFilter |
Method | Defined By | ||
---|---|---|---|
SpecularMapFilter(texture:Texture3D = null, power:Number = 50, level:Number = 1, channel:int = 0) | SpecularMapFilter | ||
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 |
channel | property |
channel:int
public function get channel():int
public function set channel(value:int):void
level | property |
level:Number
public function get level():Number
public function set level(value:Number):void
offsetX | property |
offsetX:Number
public function get offsetX():Number
public function set offsetX(value:Number):void
offsetY | property |
offsetY:Number
public function get offsetY():Number
public function set offsetY(value:Number):void
power | property |
power:Number
public function get power():Number
public function set power(value:Number):void
repeatX | property |
repeatX:Number
public function get repeatX():Number
public function set repeatX(value:Number):void
repeatY | property |
repeatY:Number
public function get repeatY():Number
public function set repeatY(value:Number):void
texture | property |
texture:Texture3D
public function get texture():Texture3D
public function set texture(value:Texture3D):void
SpecularMapFilter | () | Constructor |
public function SpecularMapFilter(texture:Texture3D = null, power:Number = 50, level:Number = 1, channel:int = 0)
texture:Texture3D (default = null )
| |
power:Number (default = 50 )
| |
level:Number (default = 1 )
| |
channel:int (default = 0 )
|