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 = EXT_sRGB , typescript_type = "EXT_sRGB" ) ] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `ExtSRgb` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"] 13 pub type ExtSRgb; 14 } 15 impl ExtSRgb { 16 #[doc = "The `EXT_sRGB.SRGB_EXT` const."] 17 #[doc = ""] 18 #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"] 19 pub const SRGB_EXT: u32 = 35904u64 as u32; 20 #[doc = "The `EXT_sRGB.SRGB_ALPHA_EXT` const."] 21 #[doc = ""] 22 #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"] 23 pub const SRGB_ALPHA_EXT: u32 = 35906u64 as u32; 24 #[doc = "The `EXT_sRGB.SRGB8_ALPHA8_EXT` const."] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"] 27 pub const SRGB8_ALPHA8_EXT: u32 = 35907u64 as u32; 28 #[doc = "The `EXT_sRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT` const."] 29 #[doc = ""] 30 #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"] 31 pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: u32 = 33296u64 as u32; 32 } 33