GLDrawCreateShader CallableGLDrawCreateShader(gl, source, type): WebGLShaderCreates a shader for the current WebGL context from a given sourceParametersgl: WebGL2RenderingContextWebGL contextsource: stringSource of the shader to createtype: numberThe type of the shader to createReturns WebGLShaderThe created WebGL shader
Creates a shader for the current WebGL context from a given source