Packageflare.flsl
Classpublic class FLSLCompiler
InheritanceFLSLCompiler Inheritance Object

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 Properties
 PropertyDefined By
  libs : Vector.<ByteArray>
[static] Static pre compiled flsl libraries to link on the compilation proccess.
FLSLCompiler
Public Methods
 MethodDefined By
  
compile(source:String):ByteArray
[static] Compiles a flsl source code and returns its compiled ByteArray.
FLSLCompiler
Property Detail
libsproperty
public static var libs:Vector.<ByteArray>

Static pre compiled flsl libraries to link on the compilation proccess.

Method Detail
compile()method
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.