Class Index | File Index

Classes


Class Shader

This class is meant to be subclassed for every glsl shader. uniforms and attributes have to be specified in initUniforms and initAttributes
Defined in: Shader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Shader(name, vertexShader, fragmentShader)
Method Summary
Method Attributes Method Name and Description
 
 
 
 
 
Class Detail
Shader(name, vertexShader, fragmentShader)
Parameters:
name
vertexShader
fragmentShader
Method Detail
initAttributes()

initUniforms()

relink()

setFragmentShaderName(name)
Parameters:
name

setVertexShaderName(name)
Parameters:
name

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jun 09 2013 12:38:12 GMT+0200 (CEST)