attachShader method

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

Implementation

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