Class CAAT.WebGL.Program
				
				
			
				
				
				
					
Defined in:  Program.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Field Attributes | Field Name and Description | 
|---|---|
| 
								
								 Canvas 3D context. 
							 | 
						|
| Method Attributes | Method Name and Description | 
|---|---|
| <private> | 
								 __init(gl)
								 
								
							 | 
						
| 
								 create()
								 
								
							 | 
						|
| 
								 getDomShader(gl, id)
								 
								
							 | 
						|
| 
								 getShader(gl, type, str)
								 
								
							 | 
						|
| 
								 setAlpha(alpha)
								 
								Set fragment shader's alpha composite value. 
							 | 
						|
| 
								 setMatrixUniform(caatMatrix4)
								 
								
							 | 
						|
					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()