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_astc , typescript_type = "WEBGL_compressed_texture_astc")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `WebglCompressedTextureAstc` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
13     pub type WebglCompressedTextureAstc;
14     # [wasm_bindgen (method , structural , js_class = "WEBGL_compressed_texture_astc" , js_name = getSupportedProfiles)]
15     #[doc = "The `getSupportedProfiles()` method."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
get_supported_profiles(this: &WebglCompressedTextureAstc) -> Option<::js_sys::Array>20     pub fn get_supported_profiles(this: &WebglCompressedTextureAstc) -> Option<::js_sys::Array>;
21 }
22 impl WebglCompressedTextureAstc {
23     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_4x4_KHR` const."]
24     #[doc = ""]
25     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
26     pub const COMPRESSED_RGBA_ASTC_4X4_KHR: u32 = 37808u64 as u32;
27     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_5x4_KHR` const."]
28     #[doc = ""]
29     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
30     pub const COMPRESSED_RGBA_ASTC_5X4_KHR: u32 = 37809u64 as u32;
31     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_5x5_KHR` const."]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
34     pub const COMPRESSED_RGBA_ASTC_5X5_KHR: u32 = 37810u64 as u32;
35     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_6x5_KHR` const."]
36     #[doc = ""]
37     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
38     pub const COMPRESSED_RGBA_ASTC_6X5_KHR: u32 = 37811u64 as u32;
39     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_6x6_KHR` const."]
40     #[doc = ""]
41     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
42     pub const COMPRESSED_RGBA_ASTC_6X6_KHR: u32 = 37812u64 as u32;
43     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_8x5_KHR` const."]
44     #[doc = ""]
45     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
46     pub const COMPRESSED_RGBA_ASTC_8X5_KHR: u32 = 37813u64 as u32;
47     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_8x6_KHR` const."]
48     #[doc = ""]
49     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
50     pub const COMPRESSED_RGBA_ASTC_8X6_KHR: u32 = 37814u64 as u32;
51     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_8x8_KHR` const."]
52     #[doc = ""]
53     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
54     pub const COMPRESSED_RGBA_ASTC_8X8_KHR: u32 = 37815u64 as u32;
55     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x5_KHR` const."]
56     #[doc = ""]
57     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
58     pub const COMPRESSED_RGBA_ASTC_10X5_KHR: u32 = 37816u64 as u32;
59     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x6_KHR` const."]
60     #[doc = ""]
61     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
62     pub const COMPRESSED_RGBA_ASTC_10X6_KHR: u32 = 37817u64 as u32;
63     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x8_KHR` const."]
64     #[doc = ""]
65     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
66     pub const COMPRESSED_RGBA_ASTC_10X8_KHR: u32 = 37818u64 as u32;
67     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x10_KHR` const."]
68     #[doc = ""]
69     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
70     pub const COMPRESSED_RGBA_ASTC_10X10_KHR: u32 = 37819u64 as u32;
71     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_12x10_KHR` const."]
72     #[doc = ""]
73     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
74     pub const COMPRESSED_RGBA_ASTC_12X10_KHR: u32 = 37820u64 as u32;
75     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_12x12_KHR` const."]
76     #[doc = ""]
77     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
78     pub const COMPRESSED_RGBA_ASTC_12X12_KHR: u32 = 37821u64 as u32;
79     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR` const."]
80     #[doc = ""]
81     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
82     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_4X4_KHR: u32 = 37840u64 as u32;
83     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR` const."]
84     #[doc = ""]
85     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
86     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_5X4_KHR: u32 = 37841u64 as u32;
87     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR` const."]
88     #[doc = ""]
89     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
90     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_5X5_KHR: u32 = 37842u64 as u32;
91     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR` const."]
92     #[doc = ""]
93     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
94     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_6X5_KHR: u32 = 37843u64 as u32;
95     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR` const."]
96     #[doc = ""]
97     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
98     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_6X6_KHR: u32 = 37844u64 as u32;
99     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR` const."]
100     #[doc = ""]
101     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
102     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_8X5_KHR: u32 = 37845u64 as u32;
103     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR` const."]
104     #[doc = ""]
105     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
106     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_8X6_KHR: u32 = 37846u64 as u32;
107     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR` const."]
108     #[doc = ""]
109     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
110     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_8X8_KHR: u32 = 37847u64 as u32;
111     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR` const."]
112     #[doc = ""]
113     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
114     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X5_KHR: u32 = 37848u64 as u32;
115     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR` const."]
116     #[doc = ""]
117     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
118     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X6_KHR: u32 = 37849u64 as u32;
119     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR` const."]
120     #[doc = ""]
121     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
122     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X8_KHR: u32 = 37850u64 as u32;
123     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR` const."]
124     #[doc = ""]
125     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
126     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X10_KHR: u32 = 37851u64 as u32;
127     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR` const."]
128     #[doc = ""]
129     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
130     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_12X10_KHR: u32 = 37852u64 as u32;
131     #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR` const."]
132     #[doc = ""]
133     #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
134     pub const COMPRESSED_SRGB8_ALPHA8_ASTC_12X12_KHR: u32 = 37853u64 as u32;
135 }
136