public function FLSLShader(byteCode:ByteArray = null, techniqueName:String = null)
Creates a new FLSL shader namespace.
This class is necesary to compile flsl shaders.
This object represents a gobal top level scope/namespace where you can bind another
namespaces, functions and variables.
Parameters | byteCode:ByteArray (default = null ) — If you pass a FLSL byte code,
the shader will be atomatically compiled and the scope will be disposed inmediatelly.
This is the same as calling bind, build and dispose.
Using this parameter you will not be able to bind additional namespaces.
|
|
| techniqueName:String (default = null ) — An optional tecchnique name to compile.
If this parameter is null, the first technique is used.
|