Initialize ShaderProgram object.
WebGLRenderingContext to use for the shaders and program.
Sources for both vertex and fragment shaders to be used.
The name of the program (useful in debugging).
Gets the compiled WebGLProgram.
Gets the attribute location for the provided name.
Name of the attribute to locate.
Gets the uniform location for the provided name.
Name of the uniform to locate.
Loads the provided sources into a compiled program.
Source for the vertex shader.
Source for the fragment shader.
Thin wrapper around WebGLProgram, and WebGLShader to simplify usage.