GLDrawCreateShader
Callable
Parameters
gl: WebGL2RenderingContext
WebGL context
source: string
Source of the shader to create
type: number
The type of the shader to create
Returns WebGLShader
- The created WebGL shader
WebGL context
Source of the shader to create
The type of the shader to create
Creates a shader for the current WebGL context from a given source