The FLSL Compiler.
Altough the compiler can be used in runtime, it is totally not recommended.
The compiler computes lots of pre-proccesing and validation code that are not well suited for a runtime environment.
Use the Flaer3D FLSL compiler tool to compile the flsl files.
public static var libs:Vector.<ByteArray>
Static pre compiled flsl libraries to link on the compilation proccess.
public static function compile(source:String):ByteArray
Compiles a flsl source code and returns its compiled ByteArray.
Parameters
| source:String — The source code of the flsl file to be compiled.
|
Returns | ByteArray — A ByteArray with the compiled source code.
|
Wed Feb 12 2014, 05:16 AM -03:00