compileShader method

void compileShader(
  1. WebGLShader shader
)

The WebGLRenderingContext.compileShader() method of the WebGL API compiles a GLSL shader into binary data so that it can be used by a WebGLProgram.

Implementation

external void compileShader(WebGLShader shader);