uniform1iv method

void uniform1iv(
  1. UniformLocation location,
  2. List<int> v
)

Implementation

void uniform1iv(UniformLocation location, List<int> v){
  int count = v.length;
  final valuePtr = calloc<Int32>(count);
  valuePtr.asTypedList(count).setAll(0, v);
  gl.glUniform1iv(location.id, count, valuePtr);
  calloc.free(valuePtr);
  checkError('uniform1iv');
}