getShaderParameter method

dynamic getShaderParameter(
  1. dynamic v0,
  2. dynamic v1
)

Implementation

getShaderParameter(v0, v1) {
  var _pointer = calloc<Int32>();
  glGetShaderiv(v0, v1, _pointer);

  final _v = _pointer.value;
  calloc.free(_pointer);

  return _v;
}