attachShader method

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

Implementation

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