loadDynamicFunction<FN extends Function> function
Implementation
Pointer<NativeFunction<FN>> loadDynamicFunction<FN extends Function>(
String name) {
if (_glGetProcAddress != null) {
final address = _glGetProcAddress!(name.toNativeUtf8());
return Pointer<NativeFunction<FN>>.fromAddress(address);
} else {
return Pointer<NativeFunction<FN>>.fromAddress(0);
}
}