Package | flare.flsl |
Class | public class FLSLScope |
Inheritance | FLSLScope ![]() ![]() |
Subclasses | FLSLFilter, FLSLShader |
Property | Defined By | ||
---|---|---|---|
![]() | agalVersion : int = 1 [static] | FLSL | |
![]() | name : String
The name of the flsl object. | FLSL | |
params : Dictionary
Contains a collection of flsl public declarations. | FLSLScope | ||
![]() | semantic : String
The semantic which the object is associated. | FLSL |
Method | Defined By | ||
---|---|---|---|
FLSLScope(name:String = null)
Creates a new FLSLSCope object. | FLSLScope | ||
bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope. | FLSLScope | ||
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 |
params | property |
public var params:Dictionary
Contains a collection of flsl public declarations. Params may contain cero or many FLSL object such as FLSLParam, FLSLMatrix and FLSLSampler objects.
See also
FLSLScope | () | Constructor |
public function FLSLScope(name:String = null)
Creates a new FLSLSCope object.
Parametersname:String (default = null ) — The name of the scope.
|
bind | () | method |
public function bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope.
Parameters
byteCode:ByteArray — The flsl compiled code.
|
call | () | method |
public function call(ns:String, params:Array = null):uint
Call to a function stored in the scope.
Parameters
ns:String — The full path of the function for example: myNamespace.myFunction.
| |
params:Array (default = null ) — An array of uint pointer registers to pass as a parameter.
|
uint — An uint pointer to the register.
|
getTechniqueNames | () | method |
public function getTechniqueNames():Array
Retirms all technique names available in the scope.
ReturnsArray — An array with all the technique names.
|