getProgramParameter method

WebGLParameter getProgramParameter(
  1. Program program,
  2. int pname
)

Implementation

WebGLParameter getProgramParameter(Program program, int pname) {
  startCheck('getProgramParameter');
  final status = calloc<Int32>();
  gl.glGetProgramiv(program.id, pname, status);
  final _v = status.value;
  calloc.free(status);
  checkError('getProgramParameter');
  return WebGLParameter(_v);
}