getAttribLocation method
Implementation
UniformLocation getAttribLocation(Program program, String name) {
startCheck('getAttribLocation');
final locationName = name.toNativeUtf8();
final location = gl.glGetAttribLocation(program.id, locationName.cast());
checkError('getAttribLocation');
calloc.free(locationName);
return UniformLocation(location);
}