web_sys/features/
gen_WebglCompressedTexturePvrtc.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_pvrtc , typescript_type = "WEBGL_compressed_texture_pvrtc")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `WebglCompressedTexturePvrtc` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_pvrtc)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
14    pub type WebglCompressedTexturePvrtc;
15}
16impl WebglCompressedTexturePvrtc {
17    #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG` const."]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
20    pub const COMPRESSED_RGB_PVRTC_4BPPV1_IMG: u32 = 35840u64 as u32;
21    #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG` const."]
22    #[doc = ""]
23    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
24    pub const COMPRESSED_RGB_PVRTC_2BPPV1_IMG: u32 = 35841u64 as u32;
25    #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG` const."]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
28    pub const COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: u32 = 35842u64 as u32;
29    #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG` const."]
30    #[doc = ""]
31    #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
32    pub const COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: u32 = 35843u64 as u32;
33}