createShader method
The WebGLRenderingContext
method createShader()
of the
WebGL API
creates a
WebGLShader that can then be configured further using
WebGLRenderingContext.shaderSource and
WebGLRenderingContext.compileShader.
Implementation
external WebGLShader? createShader(GLenum type);