uniform1fv(location, List<num> value) { var arrayPointer = toPointer(value); glUniform1fv(location, value.length ~/ 1, arrayPointer); calloc.free(arrayPointer); return; }