| // 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; |
| |
| import 'webgl1.dart'; |
| |
| @JS('WEBGL_debug_shaders') |
| @staticInterop |
| class WEBGL_debug_shaders { |
| external factory WEBGL_debug_shaders(); |
| } |
| |
| extension WEBGLDebugShadersExtension on WEBGL_debug_shaders { |
| external JSString getTranslatedShaderSource(WebGLShader shader); |
| } |