Class Index | File Index

Classes


Class CAAT.WebGL.Program


Defined in: Program.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
gl
Canvas 3D context.
 
Method Summary
Method Attributes Method Name and Description
<private>  
__init(gl)
 
 
getDomShader(gl, id)
 
 
getShader(gl, type, str)
 
 
 
setAlpha(alpha)
Set fragment shader's alpha composite value.
 
setMatrixUniform(caatMatrix4)
 
Class Detail
CAAT.WebGL.Program()
Field Detail
gl
Canvas 3D context.

shaderProgram
Method Detail
<private> __init(gl)
Parameters:
gl

create()

getDomShader(gl, id)
Parameters:
gl
id

getFragmentShader()

getShader(gl, type, str)
Parameters:
gl
type
str

getVertexShader()

initialize()

setAlpha(alpha)
Set fragment shader's alpha composite value.
Parameters:
alpha
{number} float value 0..1.

setMatrixUniform(caatMatrix4)
Parameters:
caatMatrix4

useProgram()

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