blob: 81e96b2b4d779f14d4eacd5f461c682d6d7d31c6 [file]
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore_for_file: unused_import
import 'dart:js_interop';
import 'package:js/js.dart' hide JS;
@JS('WEBGL_lose_context')
@staticInterop
class WEBGL_lose_context {
external factory WEBGL_lose_context();
}
extension WEBGLLoseContextExtension on WEBGL_lose_context {
external JSVoid loseContext();
external JSVoid restoreContext();
}