Packageflare.flsl
Classpublic class FLSLDisassembler
InheritanceFLSLDisassembler Inheritance FLSL Inheritance Object

Helper class to trace binary AGAL code as strings.



Public Properties
 PropertyDefined By
 InheritedagalVersion : int = 1
[static]
FLSL
 Inheritedname : String
The name of the flsl object.
FLSL
 Inheritedsemantic : String
The semantic which the object is associated.
FLSL
Public Methods
 MethodDefined By
  
print(vtx:ByteArray, frg:ByteArray):String
[static] Returns both, vertex and fragment codes as a string value.
FLSLDisassembler
  
printFragment(bytes:ByteArray):String
[static] Returns only vertex shader as a string value.
FLSLDisassembler
  
[static]
FLSLDisassembler
  
printVertex(bytes:ByteArray):String
[static] Returns only vertex shader as a string value.
FLSLDisassembler
Method Detail
print()method
public static function print(vtx:ByteArray, frg:ByteArray):String

Returns both, vertex and fragment codes as a string value.

Parameters

vtx:ByteArray — The vertex binary AGAL code.
 
frg:ByteArray — The fragment binary AGAL code.

Returns
String — A string with the vertex and fragment shaders.
printFragment()method 
public static function printFragment(bytes:ByteArray):String

Returns only vertex shader as a string value.

Parameters

bytes:ByteArray — The fragment binary AGAL code.

Returns
String — A string with the fragment shader.
printProgram()method 
public static function printProgram(flsl:FLSLProgram):String

Parameters

flsl:FLSLProgram

Returns
String
printVertex()method 
public static function printVertex(bytes:ByteArray):String

Returns only vertex shader as a string value.

Parameters

bytes:ByteArray — The vertex binary AGAL code.

Returns
String — A string with the vertex shader.