uniform4iv method

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

Implementation

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