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.
WebGLShader
MDN Reference
The
WebGLShaderis part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.MDN Reference