Package | flare.materials.filters |
Class | public class NormalMapFilter |
Inheritance | NormalMapFilter ![]() ![]() ![]() ![]() |
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 | NormalMapFilter | ||
![]() | enabled : Boolean = true | FLSLFilter | |
![]() | name : String
The name of the flsl object. | FLSL | |
offsetX : Number | NormalMapFilter | ||
offsetY : Number | NormalMapFilter | ||
![]() | params : Dictionary
Contains a collection of flsl public declarations. | FLSLScope | |
![]() | passes : int [read-only]
Returns the number of passes required by the filter. | FLSLFilter | |
repeatX : Number | NormalMapFilter | ||
repeatY : Number | NormalMapFilter | ||
![]() | semantic : String
The semantic which the object is associated. | FLSL | |
![]() | techniqueName : String
The name of the thecnique to use. | FLSLFilter | |
texture : Texture3D | NormalMapFilter | ||
![]() | url : String | FLSLFilter |
Method | Defined By | ||
---|---|---|---|
NormalMapFilter(texture:Texture3D = null, channel:int = 0, techniqueName:String) | NormalMapFilter | ||
![]() | 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 | ||
---|---|---|---|
VERSION1 : String = main [static] | NormalMapFilter | ||
VERSION2 : String = main2 [static] | NormalMapFilter |
channel | property |
channel:int
public function get channel():int
public function set channel(value:int):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
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
NormalMapFilter | () | Constructor |
public function NormalMapFilter(texture:Texture3D = null, channel:int = 0, techniqueName:String)
texture:Texture3D (default = null )
| |
channel:int (default = 0 )
| |
techniqueName:String (default = NaN )
|
VERSION1 | Constant |
public static const VERSION1:String = main
VERSION2 | Constant |
public static const VERSION2:String = main2