Packageflare.flsl
Classpublic class FLSLShader
InheritanceFLSLShader Inheritance FLSLScope Inheritance FLSL Inheritance Object

The FLSLShader class is an utiliy helper used to proccess different flsl filters that are in different scopes. Do not use this class directly, see Shader3D on materials package.

See also

Shader3D


Public Properties
 PropertyDefined By
  currentPass : int
[read-only] Returns the current pass index being proccessed.
FLSLShader
 Inheritedname : String
The name of the flsl object.
FLSL
  outputFragment : uint
FLSLShader
  outputVertex : uint
FLSLShader
 Inheritedparams : Dictionary
Contains a collection of flsl public declarations.
FLSLScope
 Inheritedsemantic : String
The semantic which the object is associated.
FLSL
Public Methods
 MethodDefined By
  
FLSLShader(name:String = null)
FLSLShader
 Inherited
bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope.
FLSLScope
  
FLSLShader
 Inherited
call(ns:String, params:Array = null):uint
Call to a function stored in the scope.
FLSLScope
 Inherited
Retirms all technique names available in the scope.
FLSLScope
  
init(pass:int):void
FLSLShader
  
process(filter:FLSLFilter):void
FLSLShader
Property Detail
currentPassproperty
currentPass:int  [read-only]

Returns the current pass index being proccessed.


Implementation
    public function get currentPass():int
outputFragmentproperty 
public var outputFragment:uint

outputVertexproperty 
public var outputVertex:uint

Constructor Detail
FLSLShader()Constructor
public function FLSLShader(name:String = null)



Parameters
name:String (default = null)
Method Detail
build()method
public function build():FLSLProgram

Returns
FLSLProgram
init()method 
public function init(pass:int):void

Parameters

pass:int

process()method 
public function process(filter:FLSLFilter):void

Parameters

filter:FLSLFilter