maxcountryman_web_sys/features/
gen_WebglCompressedTextureEtc.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_etc , typescript_type = "WEBGL_compressed_texture_etc")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `WebglCompressedTextureEtc` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
13    pub type WebglCompressedTextureEtc;
14}
15impl WebglCompressedTextureEtc {
16    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_R11_EAC` const."]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
19    pub const COMPRESSED_R11_EAC: u32 = 37488u64 as u32;
20    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SIGNED_R11_EAC` const."]
21    #[doc = ""]
22    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
23    pub const COMPRESSED_SIGNED_R11_EAC: u32 = 37489u64 as u32;
24    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RG11_EAC` const."]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
27    pub const COMPRESSED_RG11_EAC: u32 = 37490u64 as u32;
28    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SIGNED_RG11_EAC` const."]
29    #[doc = ""]
30    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
31    pub const COMPRESSED_SIGNED_RG11_EAC: u32 = 37491u64 as u32;
32    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGB8_ETC2` const."]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
35    pub const COMPRESSED_RGB8_ETC2: u32 = 37492u64 as u32;
36    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_ETC2` const."]
37    #[doc = ""]
38    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
39    pub const COMPRESSED_SRGB8_ETC2: u32 = 37493u64 as u32;
40    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2` const."]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
43    pub const COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37494u64 as u32;
44    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2` const."]
45    #[doc = ""]
46    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
47    pub const COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37495u64 as u32;
48    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGBA8_ETC2_EAC` const."]
49    #[doc = ""]
50    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
51    pub const COMPRESSED_RGBA8_ETC2_EAC: u32 = 37496u64 as u32;
52    #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC` const."]
53    #[doc = ""]
54    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
55    pub const COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: u32 = 37497u64 as u32;
56}