getUniformLocation method

dynamic getUniformLocation(
  1. dynamic v0,
  2. String name
)

Implementation

getUniformLocation(v0, String name) {
  final locationName = name.toNativeUtf8();
  final location = glGetUniformLocation(v0, locationName.cast<Int8>());
  calloc.free(locationName);
  return location;
}