Packagelaya.webgl.utils
Classpublic class ShaderCompile
InheritanceShaderCompile Inheritance Object



Public Methods
 MethodDefined By
  
ShaderCompile(name:Number, vs:String, ps:String, nameMap:*, includeFiles:*)
ShaderCompile
  
createShader(define:*, shaderName:*, createShader:Function):Shader
ShaderCompile
Public Constants
 ConstantDefined By
  IFDEF_ELSE : int = 2
[static]
ShaderCompile
  IFDEF_NO : int = 0
[static]
ShaderCompile
  IFDEF_YES : int = 1
[static]
ShaderCompile
Constructor Detail
ShaderCompile()Constructor
public function ShaderCompile(name:Number, vs:String, ps:String, nameMap:*, includeFiles:*)



Parameters
name:Number
 
vs:String
 
ps:String
 
nameMap:*
 
includeFiles:*
Method Detail
createShader()method
public function createShader(define:*, shaderName:*, createShader:Function):Shader

Parameters

define:*
 
shaderName:*
 
createShader:Function

Returns
Shader
Constant Detail
IFDEF_ELSEConstant
public static const IFDEF_ELSE:int = 2

IFDEF_NOConstant 
public static const IFDEF_NO:int = 0

IFDEF_YESConstant 
public static const IFDEF_YES:int = 1