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