| // Copyright (c) 2025, 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. |
| // |
| // API docs from [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web). |
| // Attributions and copyright licensing by Mozilla Contributors is licensed |
| // under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/. |
| |
| // Generated from Web IDL definitions. |
| |
| // ignore_for_file: unintended_html_in_doc_comment |
| |
| @JS() |
| library; |
| |
| import 'dart:js_interop'; |
| |
| import 'webgl1.dart'; |
| |
| extension type WEBGL_compressed_texture_etc._(JSObject _) implements JSObject { |
| static const GLenum COMPRESSED_R11_EAC = 37488; |
| |
| static const GLenum COMPRESSED_SIGNED_R11_EAC = 37489; |
| |
| static const GLenum COMPRESSED_RG11_EAC = 37490; |
| |
| static const GLenum COMPRESSED_SIGNED_RG11_EAC = 37491; |
| |
| static const GLenum COMPRESSED_RGB8_ETC2 = 37492; |
| |
| static const GLenum COMPRESSED_SRGB8_ETC2 = 37493; |
| |
| static const GLenum COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37494; |
| |
| static const GLenum COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37495; |
| |
| static const GLenum COMPRESSED_RGBA8_ETC2_EAC = 37496; |
| |
| static const GLenum COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 37497; |
| } |