WebGLShader
The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.
interface WebGLShader {}
var WebGLShader: {
prototype: WebGLShader;
new (): WebGLShader;
};The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.