attachShader method

void attachShader(
  1. Program program,
  2. WebGLShader shader
)

Implementation

void attachShader(Program program, WebGLShader shader) {
  startCheck('attachShader');
  gl.glAttachShader(program.id, shader.id);
  checkError('attachShader');
}