1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_s3tc_srgb , typescript_type = "WEBGL_compressed_texture_s3tc_srgb")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `WebglCompressedTextureS3tcSrgb` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"] 13 pub type WebglCompressedTextureS3tcSrgb; 14 } 15 impl WebglCompressedTextureS3tcSrgb { 16 #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_S3TC_DXT1_EXT` const."] 17 #[doc = ""] 18 #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"] 19 pub const COMPRESSED_SRGB_S3TC_DXT1_EXT: u32 = 35916u64 as u32; 20 #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT` const."] 21 #[doc = ""] 22 #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"] 23 pub const COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: u32 = 35917u64 as u32; 24 #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT` const."] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"] 27 pub const COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: u32 = 35918u64 as u32; 28 #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT` const."] 29 #[doc = ""] 30 #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"] 31 pub const COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: u32 = 35919u64 as u32; 32 } 33