uniform2iv method

void uniform2iv(
  1. int location,
  2. int count,
  3. List<num> value
)

Implementation

void uniform2iv(int location, int count, List<num> value) {
  int count = 2;
  final valuePtr = calloc<Int32>(count);
  valuePtr[0] = value[0].toInt();
  valuePtr[1] = value[1].toInt();

  return gl.glUniform2iv(location, count, valuePtr);
}