Class Index | File Index

Classes


Class Shader

Represents a WebGL shader.
Defined in: benchgl.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Shader(type, source)
Creates a new Shader.
Field Summary
Field Attributes Field Name and Description
<static>  
Shader.Fragment
Static container for the default fragment shaders.
<static>  
Shader.Vertex
Static container for the default vertex shaders.
Method Summary
Method Attributes Method Name and Description
 
Destroys this Shader.
Class Detail
Shader(type, source)
Creates a new Shader.
Parameters:
{Number} type
The WebGL type of this shader.
{String} source
The source string for the shader.
Field Detail
<static> Shader.Fragment
Static container for the default fragment shaders.

<static> Shader.Vertex
Static container for the default vertex shaders.
Method Detail
destroy()
Destroys this Shader.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu May 19 2011 00:47:49 GMT+0200 (CEST)