useProgram method

void useProgram(
  1. Program? program
)

Implementation

void useProgram(Program? program) {
  startCheck('useProgram');
  gl.glUseProgram(program?.id  ?? nullptr.address);
  checkError('useProgram');
}