Class Index | File Index

Classes


Class CAAT.WebGL.ColorProgram


Extends CAAT.WebGL.Program.

Defined in: ColorProgram.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
int32 Array for color Buffer
 
Float32 Array for vertex buffer.
 
GLBuffer for vertex buffer.
Fields borrowed from class CAAT.WebGL.Program:
gl, shaderProgram
Method Summary
Method Attributes Method Name and Description
<private>  
__init(gl)
 
 
 
 
setColor(colorArray)
Methods borrowed from class CAAT.WebGL.Program:
create, getDomShader, getShader, setAlpha, setMatrixUniform, useProgram
Class Detail
CAAT.WebGL.ColorProgram()
Field Detail
colorBuffer
int32 Array for color Buffer

vertexPositionArray
Float32 Array for vertex buffer.

vertexPositionBuffer
GLBuffer for vertex buffer.
Method Detail
<private> __init(gl)
Parameters:
gl

getFragmentShader()

getVertexShader()

initialize()

setColor(colorArray)
Parameters:
colorArray

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 01 2013 04:59:20 GMT-0700 (PDT)