uniform2uiv method

dynamic uniform2uiv(
  1. int location,
  2. Uint32List value
)

Implementation

uniform2uiv(int location, Uint32List value) {
  int count = value.length;
  final valuePtr = calloc<Uint32>(count);
  valuePtr.asTypedList(count).setAll(0, value);
  gl.glUniform2uiv(location, count, valuePtr);
  calloc.free(valuePtr);
}