getExtension method
Implementation
Object? getExtension(String key) {
startCheck('getExtension');
if (Platform.isMacOS) {
return getExtensionMacos(key);
}
Pointer _v = gl.glGetString(WebGL.EXTENSIONS);
checkError('getExtension');
String _vstr = _v.cast<Utf8>().toDartString();
List<String> _extensions = _vstr.split(" ");
// calloc.free(_v);
return _extensions;
}