Deletes a specific shader object.
- shader [in]
This method does not return a value.
If shader is attached to a program object, it's flagged for deletion until it's no longer attached to the object. A shader needs to be detached with detachShader before it can be deleted.
|gl.INVALID_VALUE||If the shader isn't generated by WebGL.|