web_sys/features/
gen_WebglCompressedTextureEtc.rs

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