getUniformLocation method

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

Implementation

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