Skip to main content

web_sys/features/
gen_WebGlRenderingContext.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLRenderingContext , typescript_type = "WebGLRenderingContext")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `WebGlRenderingContext` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
14    pub type WebGlRenderingContext;
15    # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = canvas)]
16    #[doc = "Getter for the `canvas` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/canvas)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
21    pub fn canvas(this: &WebGlRenderingContext) -> Option<::js_sys::Object>;
22    # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = drawingBufferWidth)]
23    #[doc = "Getter for the `drawingBufferWidth` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferWidth)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
28    pub fn drawing_buffer_width(this: &WebGlRenderingContext) -> i32;
29    # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = drawingBufferHeight)]
30    #[doc = "Getter for the `drawingBufferHeight` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferHeight)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
35    pub fn drawing_buffer_height(this: &WebGlRenderingContext) -> i32;
36    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
37    #[doc = "The `bufferData()` method."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
42    pub fn buffer_data_with_i32(this: &WebGlRenderingContext, target: u32, size: i32, usage: u32);
43    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
44    #[doc = "The `bufferData()` method."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
49    pub fn buffer_data_with_f64(this: &WebGlRenderingContext, target: u32, size: f64, usage: u32);
50    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
51    #[doc = "The `bufferData()` method."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
56    pub fn buffer_data_with_opt_array_buffer(
57        this: &WebGlRenderingContext,
58        target: u32,
59        data: Option<&::js_sys::ArrayBuffer>,
60        usage: u32,
61    );
62    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
63    #[doc = "The `bufferData()` method."]
64    #[doc = ""]
65    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
66    #[doc = ""]
67    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
68    pub fn buffer_data_with_array_buffer_view(
69        this: &WebGlRenderingContext,
70        target: u32,
71        data: &::js_sys::Object,
72        usage: u32,
73    );
74    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
75    #[doc = "The `bufferData()` method."]
76    #[doc = ""]
77    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
78    #[doc = ""]
79    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
80    pub fn buffer_data_with_u8_array(
81        this: &WebGlRenderingContext,
82        target: u32,
83        data: &[u8],
84        usage: u32,
85    );
86    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
87    #[doc = "The `bufferData()` method."]
88    #[doc = ""]
89    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
90    #[doc = ""]
91    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
92    pub fn buffer_data_with_js_u8_array(
93        this: &WebGlRenderingContext,
94        target: u32,
95        data: &::js_sys::Uint8Array,
96        usage: u32,
97    );
98    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
99    #[doc = "The `bufferSubData()` method."]
100    #[doc = ""]
101    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
102    #[doc = ""]
103    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
104    pub fn buffer_sub_data_with_i32_and_array_buffer(
105        this: &WebGlRenderingContext,
106        target: u32,
107        offset: i32,
108        data: &::js_sys::ArrayBuffer,
109    );
110    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
111    #[doc = "The `bufferSubData()` method."]
112    #[doc = ""]
113    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
114    #[doc = ""]
115    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
116    pub fn buffer_sub_data_with_f64_and_array_buffer(
117        this: &WebGlRenderingContext,
118        target: u32,
119        offset: f64,
120        data: &::js_sys::ArrayBuffer,
121    );
122    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
123    #[doc = "The `bufferSubData()` method."]
124    #[doc = ""]
125    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
126    #[doc = ""]
127    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
128    pub fn buffer_sub_data_with_i32_and_array_buffer_view(
129        this: &WebGlRenderingContext,
130        target: u32,
131        offset: i32,
132        data: &::js_sys::Object,
133    );
134    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
135    #[doc = "The `bufferSubData()` method."]
136    #[doc = ""]
137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
140    pub fn buffer_sub_data_with_f64_and_array_buffer_view(
141        this: &WebGlRenderingContext,
142        target: u32,
143        offset: f64,
144        data: &::js_sys::Object,
145    );
146    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
147    #[doc = "The `bufferSubData()` method."]
148    #[doc = ""]
149    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
150    #[doc = ""]
151    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
152    pub fn buffer_sub_data_with_i32_and_u8_array(
153        this: &WebGlRenderingContext,
154        target: u32,
155        offset: i32,
156        data: &[u8],
157    );
158    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
159    #[doc = "The `bufferSubData()` method."]
160    #[doc = ""]
161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
162    #[doc = ""]
163    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
164    pub fn buffer_sub_data_with_f64_and_u8_array(
165        this: &WebGlRenderingContext,
166        target: u32,
167        offset: f64,
168        data: &[u8],
169    );
170    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
171    #[doc = "The `bufferSubData()` method."]
172    #[doc = ""]
173    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
174    #[doc = ""]
175    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
176    pub fn buffer_sub_data_with_i32_and_js_u8_array(
177        this: &WebGlRenderingContext,
178        target: u32,
179        offset: i32,
180        data: &::js_sys::Uint8Array,
181    );
182    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
183    #[doc = "The `bufferSubData()` method."]
184    #[doc = ""]
185    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
186    #[doc = ""]
187    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
188    pub fn buffer_sub_data_with_f64_and_js_u8_array(
189        this: &WebGlRenderingContext,
190        target: u32,
191        offset: f64,
192        data: &::js_sys::Uint8Array,
193    );
194    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = commit)]
195    #[doc = "The `commit()` method."]
196    #[doc = ""]
197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/commit)"]
198    #[doc = ""]
199    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
200    pub fn commit(this: &WebGlRenderingContext);
201    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
202    #[doc = "The `compressedTexImage2D()` method."]
203    #[doc = ""]
204    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
205    #[doc = ""]
206    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
207    pub fn compressed_tex_image_2d_with_array_buffer_view(
208        this: &WebGlRenderingContext,
209        target: u32,
210        level: i32,
211        internalformat: u32,
212        width: i32,
213        height: i32,
214        border: i32,
215        data: &::js_sys::Object,
216    );
217    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
218    #[doc = "The `compressedTexImage2D()` method."]
219    #[doc = ""]
220    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
221    #[doc = ""]
222    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
223    pub fn compressed_tex_image_2d_with_u8_array(
224        this: &WebGlRenderingContext,
225        target: u32,
226        level: i32,
227        internalformat: u32,
228        width: i32,
229        height: i32,
230        border: i32,
231        data: &[u8],
232    );
233    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
234    #[doc = "The `compressedTexImage2D()` method."]
235    #[doc = ""]
236    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
237    #[doc = ""]
238    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
239    pub fn compressed_tex_image_2d_with_js_u8_array(
240        this: &WebGlRenderingContext,
241        target: u32,
242        level: i32,
243        internalformat: u32,
244        width: i32,
245        height: i32,
246        border: i32,
247        data: &::js_sys::Uint8Array,
248    );
249    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
250    #[doc = "The `compressedTexSubImage2D()` method."]
251    #[doc = ""]
252    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
253    #[doc = ""]
254    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
255    pub fn compressed_tex_sub_image_2d_with_array_buffer_view(
256        this: &WebGlRenderingContext,
257        target: u32,
258        level: i32,
259        xoffset: i32,
260        yoffset: i32,
261        width: i32,
262        height: i32,
263        format: u32,
264        data: &::js_sys::Object,
265    );
266    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
267    #[doc = "The `compressedTexSubImage2D()` method."]
268    #[doc = ""]
269    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
270    #[doc = ""]
271    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
272    pub fn compressed_tex_sub_image_2d_with_u8_array(
273        this: &WebGlRenderingContext,
274        target: u32,
275        level: i32,
276        xoffset: i32,
277        yoffset: i32,
278        width: i32,
279        height: i32,
280        format: u32,
281        data: &mut [u8],
282    );
283    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
284    #[doc = "The `compressedTexSubImage2D()` method."]
285    #[doc = ""]
286    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
287    #[doc = ""]
288    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
289    pub fn compressed_tex_sub_image_2d_with_js_u8_array(
290        this: &WebGlRenderingContext,
291        target: u32,
292        level: i32,
293        xoffset: i32,
294        yoffset: i32,
295        width: i32,
296        height: i32,
297        format: u32,
298        data: &::js_sys::Uint8Array,
299    );
300    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
301    #[doc = "The `readPixels()` method."]
302    #[doc = ""]
303    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
304    #[doc = ""]
305    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
306    pub fn read_pixels_with_opt_array_buffer_view(
307        this: &WebGlRenderingContext,
308        x: i32,
309        y: i32,
310        width: i32,
311        height: i32,
312        format: u32,
313        type_: u32,
314        pixels: Option<&::js_sys::Object>,
315    ) -> Result<(), JsValue>;
316    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
317    #[doc = "The `readPixels()` method."]
318    #[doc = ""]
319    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
320    #[doc = ""]
321    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
322    pub fn read_pixels_with_opt_u8_array(
323        this: &WebGlRenderingContext,
324        x: i32,
325        y: i32,
326        width: i32,
327        height: i32,
328        format: u32,
329        type_: u32,
330        pixels: Option<&mut [u8]>,
331    ) -> Result<(), JsValue>;
332    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
333    #[doc = "The `readPixels()` method."]
334    #[doc = ""]
335    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
336    #[doc = ""]
337    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
338    pub fn read_pixels_with_opt_js_u8_array(
339        this: &WebGlRenderingContext,
340        x: i32,
341        y: i32,
342        width: i32,
343        height: i32,
344        format: u32,
345        type_: u32,
346        pixels: Option<&::js_sys::Uint8Array>,
347    ) -> Result<(), JsValue>;
348    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
349    #[doc = "The `texImage2D()` method."]
350    #[doc = ""]
351    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
352    #[doc = ""]
353    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
354    pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
355        this: &WebGlRenderingContext,
356        target: u32,
357        level: i32,
358        internalformat: i32,
359        width: i32,
360        height: i32,
361        border: i32,
362        format: u32,
363        type_: u32,
364        pixels: Option<&::js_sys::Object>,
365    ) -> Result<(), JsValue>;
366    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
367    #[doc = "The `texImage2D()` method."]
368    #[doc = ""]
369    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
370    #[doc = ""]
371    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
372    pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
373        this: &WebGlRenderingContext,
374        target: u32,
375        level: i32,
376        internalformat: i32,
377        width: i32,
378        height: i32,
379        border: i32,
380        format: u32,
381        type_: u32,
382        pixels: Option<&[u8]>,
383    ) -> Result<(), JsValue>;
384    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
385    #[doc = "The `texImage2D()` method."]
386    #[doc = ""]
387    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
388    #[doc = ""]
389    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
390    pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_js_u8_array(
391        this: &WebGlRenderingContext,
392        target: u32,
393        level: i32,
394        internalformat: i32,
395        width: i32,
396        height: i32,
397        border: i32,
398        format: u32,
399        type_: u32,
400        pixels: Option<&::js_sys::Uint8Array>,
401    ) -> Result<(), JsValue>;
402    #[cfg(feature = "ImageBitmap")]
403    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
404    #[doc = "The `texImage2D()` method."]
405    #[doc = ""]
406    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
407    #[doc = ""]
408    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*"]
409    pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
410        this: &WebGlRenderingContext,
411        target: u32,
412        level: i32,
413        internalformat: i32,
414        format: u32,
415        type_: u32,
416        pixels: &ImageBitmap,
417    ) -> Result<(), JsValue>;
418    #[cfg(feature = "ImageData")]
419    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
420    #[doc = "The `texImage2D()` method."]
421    #[doc = ""]
422    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
423    #[doc = ""]
424    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*"]
425    pub fn tex_image_2d_with_u32_and_u32_and_image_data(
426        this: &WebGlRenderingContext,
427        target: u32,
428        level: i32,
429        internalformat: i32,
430        format: u32,
431        type_: u32,
432        pixels: &ImageData,
433    ) -> Result<(), JsValue>;
434    #[cfg(feature = "HtmlImageElement")]
435    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
436    #[doc = "The `texImage2D()` method."]
437    #[doc = ""]
438    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
439    #[doc = ""]
440    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*"]
441    pub fn tex_image_2d_with_u32_and_u32_and_image(
442        this: &WebGlRenderingContext,
443        target: u32,
444        level: i32,
445        internalformat: i32,
446        format: u32,
447        type_: u32,
448        image: &HtmlImageElement,
449    ) -> Result<(), JsValue>;
450    #[cfg(feature = "HtmlCanvasElement")]
451    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
452    #[doc = "The `texImage2D()` method."]
453    #[doc = ""]
454    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
455    #[doc = ""]
456    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*"]
457    pub fn tex_image_2d_with_u32_and_u32_and_canvas(
458        this: &WebGlRenderingContext,
459        target: u32,
460        level: i32,
461        internalformat: i32,
462        format: u32,
463        type_: u32,
464        canvas: &HtmlCanvasElement,
465    ) -> Result<(), JsValue>;
466    #[cfg(feature = "HtmlVideoElement")]
467    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
468    #[doc = "The `texImage2D()` method."]
469    #[doc = ""]
470    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
471    #[doc = ""]
472    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*"]
473    pub fn tex_image_2d_with_u32_and_u32_and_video(
474        this: &WebGlRenderingContext,
475        target: u32,
476        level: i32,
477        internalformat: i32,
478        format: u32,
479        type_: u32,
480        video: &HtmlVideoElement,
481    ) -> Result<(), JsValue>;
482    #[cfg(feature = "VideoFrame")]
483    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
484    #[doc = "The `texImage2D()` method."]
485    #[doc = ""]
486    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
487    #[doc = ""]
488    #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGlRenderingContext`*"]
489    pub fn tex_image_2d_with_u32_and_u32_and_video_frame(
490        this: &WebGlRenderingContext,
491        target: u32,
492        level: i32,
493        internalformat: i32,
494        format: u32,
495        type_: u32,
496        video_frame: &VideoFrame,
497    ) -> Result<(), JsValue>;
498    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
499    #[doc = "The `texSubImage2D()` method."]
500    #[doc = ""]
501    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
502    #[doc = ""]
503    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
504    pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
505        this: &WebGlRenderingContext,
506        target: u32,
507        level: i32,
508        xoffset: i32,
509        yoffset: i32,
510        width: i32,
511        height: i32,
512        format: u32,
513        type_: u32,
514        pixels: Option<&::js_sys::Object>,
515    ) -> Result<(), JsValue>;
516    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
517    #[doc = "The `texSubImage2D()` method."]
518    #[doc = ""]
519    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
520    #[doc = ""]
521    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
522    pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
523        this: &WebGlRenderingContext,
524        target: u32,
525        level: i32,
526        xoffset: i32,
527        yoffset: i32,
528        width: i32,
529        height: i32,
530        format: u32,
531        type_: u32,
532        pixels: Option<&[u8]>,
533    ) -> Result<(), JsValue>;
534    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
535    #[doc = "The `texSubImage2D()` method."]
536    #[doc = ""]
537    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
538    #[doc = ""]
539    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
540    pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array(
541        this: &WebGlRenderingContext,
542        target: u32,
543        level: i32,
544        xoffset: i32,
545        yoffset: i32,
546        width: i32,
547        height: i32,
548        format: u32,
549        type_: u32,
550        pixels: Option<&::js_sys::Uint8Array>,
551    ) -> Result<(), JsValue>;
552    #[cfg(feature = "ImageBitmap")]
553    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
554    #[doc = "The `texSubImage2D()` method."]
555    #[doc = ""]
556    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
557    #[doc = ""]
558    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*"]
559    pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
560        this: &WebGlRenderingContext,
561        target: u32,
562        level: i32,
563        xoffset: i32,
564        yoffset: i32,
565        format: u32,
566        type_: u32,
567        pixels: &ImageBitmap,
568    ) -> Result<(), JsValue>;
569    #[cfg(feature = "ImageData")]
570    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
571    #[doc = "The `texSubImage2D()` method."]
572    #[doc = ""]
573    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
574    #[doc = ""]
575    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*"]
576    pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
577        this: &WebGlRenderingContext,
578        target: u32,
579        level: i32,
580        xoffset: i32,
581        yoffset: i32,
582        format: u32,
583        type_: u32,
584        pixels: &ImageData,
585    ) -> Result<(), JsValue>;
586    #[cfg(feature = "HtmlImageElement")]
587    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
588    #[doc = "The `texSubImage2D()` method."]
589    #[doc = ""]
590    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
591    #[doc = ""]
592    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*"]
593    pub fn tex_sub_image_2d_with_u32_and_u32_and_image(
594        this: &WebGlRenderingContext,
595        target: u32,
596        level: i32,
597        xoffset: i32,
598        yoffset: i32,
599        format: u32,
600        type_: u32,
601        image: &HtmlImageElement,
602    ) -> Result<(), JsValue>;
603    #[cfg(feature = "HtmlCanvasElement")]
604    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
605    #[doc = "The `texSubImage2D()` method."]
606    #[doc = ""]
607    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
608    #[doc = ""]
609    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*"]
610    pub fn tex_sub_image_2d_with_u32_and_u32_and_canvas(
611        this: &WebGlRenderingContext,
612        target: u32,
613        level: i32,
614        xoffset: i32,
615        yoffset: i32,
616        format: u32,
617        type_: u32,
618        canvas: &HtmlCanvasElement,
619    ) -> Result<(), JsValue>;
620    #[cfg(feature = "HtmlVideoElement")]
621    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
622    #[doc = "The `texSubImage2D()` method."]
623    #[doc = ""]
624    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
625    #[doc = ""]
626    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*"]
627    pub fn tex_sub_image_2d_with_u32_and_u32_and_video(
628        this: &WebGlRenderingContext,
629        target: u32,
630        level: i32,
631        xoffset: i32,
632        yoffset: i32,
633        format: u32,
634        type_: u32,
635        video: &HtmlVideoElement,
636    ) -> Result<(), JsValue>;
637    #[cfg(feature = "VideoFrame")]
638    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
639    #[doc = "The `texSubImage2D()` method."]
640    #[doc = ""]
641    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
642    #[doc = ""]
643    #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGlRenderingContext`*"]
644    pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame(
645        this: &WebGlRenderingContext,
646        target: u32,
647        level: i32,
648        xoffset: i32,
649        yoffset: i32,
650        format: u32,
651        type_: u32,
652        video_frame: &VideoFrame,
653    ) -> Result<(), JsValue>;
654    #[cfg(feature = "WebGlUniformLocation")]
655    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv)]
656    #[doc = "The `uniform1fv()` method."]
657    #[doc = ""]
658    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)"]
659    #[doc = ""]
660    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
661    pub fn uniform1fv_with_f32_array(
662        this: &WebGlRenderingContext,
663        location: Option<&WebGlUniformLocation>,
664        data: &[f32],
665    );
666    #[cfg(feature = "WebGlUniformLocation")]
667    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv)]
668    #[doc = "The `uniform1fv()` method."]
669    #[doc = ""]
670    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)"]
671    #[doc = ""]
672    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
673    pub fn uniform1fv_with_js_f32_array(
674        this: &WebGlRenderingContext,
675        location: Option<&WebGlUniformLocation>,
676        data: &::js_sys::Float32Array,
677    );
678    #[cfg(feature = "WebGlUniformLocation")]
679    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv)]
680    #[doc = "The `uniform1fv()` method."]
681    #[doc = ""]
682    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)"]
683    #[doc = ""]
684    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
685    pub fn uniform1fv_with_f32_sequence(
686        this: &WebGlRenderingContext,
687        location: Option<&WebGlUniformLocation>,
688        data: &::wasm_bindgen::JsValue,
689    );
690    #[cfg(feature = "WebGlUniformLocation")]
691    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv)]
692    #[doc = "The `uniform1iv()` method."]
693    #[doc = ""]
694    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)"]
695    #[doc = ""]
696    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
697    pub fn uniform1iv_with_i32_array(
698        this: &WebGlRenderingContext,
699        location: Option<&WebGlUniformLocation>,
700        data: &[i32],
701    );
702    #[cfg(feature = "WebGlUniformLocation")]
703    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv)]
704    #[doc = "The `uniform1iv()` method."]
705    #[doc = ""]
706    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)"]
707    #[doc = ""]
708    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
709    pub fn uniform1iv_with_js_i32_array(
710        this: &WebGlRenderingContext,
711        location: Option<&WebGlUniformLocation>,
712        data: &::js_sys::Int32Array,
713    );
714    #[cfg(feature = "WebGlUniformLocation")]
715    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv)]
716    #[doc = "The `uniform1iv()` method."]
717    #[doc = ""]
718    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)"]
719    #[doc = ""]
720    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
721    pub fn uniform1iv_with_i32_sequence(
722        this: &WebGlRenderingContext,
723        location: Option<&WebGlUniformLocation>,
724        data: &::wasm_bindgen::JsValue,
725    );
726    #[cfg(feature = "WebGlUniformLocation")]
727    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv)]
728    #[doc = "The `uniform2fv()` method."]
729    #[doc = ""]
730    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)"]
731    #[doc = ""]
732    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
733    pub fn uniform2fv_with_f32_array(
734        this: &WebGlRenderingContext,
735        location: Option<&WebGlUniformLocation>,
736        data: &[f32],
737    );
738    #[cfg(feature = "WebGlUniformLocation")]
739    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv)]
740    #[doc = "The `uniform2fv()` method."]
741    #[doc = ""]
742    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)"]
743    #[doc = ""]
744    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
745    pub fn uniform2fv_with_js_f32_array(
746        this: &WebGlRenderingContext,
747        location: Option<&WebGlUniformLocation>,
748        data: &::js_sys::Float32Array,
749    );
750    #[cfg(feature = "WebGlUniformLocation")]
751    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv)]
752    #[doc = "The `uniform2fv()` method."]
753    #[doc = ""]
754    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)"]
755    #[doc = ""]
756    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
757    pub fn uniform2fv_with_f32_sequence(
758        this: &WebGlRenderingContext,
759        location: Option<&WebGlUniformLocation>,
760        data: &::wasm_bindgen::JsValue,
761    );
762    #[cfg(feature = "WebGlUniformLocation")]
763    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv)]
764    #[doc = "The `uniform2iv()` method."]
765    #[doc = ""]
766    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)"]
767    #[doc = ""]
768    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
769    pub fn uniform2iv_with_i32_array(
770        this: &WebGlRenderingContext,
771        location: Option<&WebGlUniformLocation>,
772        data: &[i32],
773    );
774    #[cfg(feature = "WebGlUniformLocation")]
775    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv)]
776    #[doc = "The `uniform2iv()` method."]
777    #[doc = ""]
778    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)"]
779    #[doc = ""]
780    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
781    pub fn uniform2iv_with_js_i32_array(
782        this: &WebGlRenderingContext,
783        location: Option<&WebGlUniformLocation>,
784        data: &::js_sys::Int32Array,
785    );
786    #[cfg(feature = "WebGlUniformLocation")]
787    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv)]
788    #[doc = "The `uniform2iv()` method."]
789    #[doc = ""]
790    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)"]
791    #[doc = ""]
792    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
793    pub fn uniform2iv_with_i32_sequence(
794        this: &WebGlRenderingContext,
795        location: Option<&WebGlUniformLocation>,
796        data: &::wasm_bindgen::JsValue,
797    );
798    #[cfg(feature = "WebGlUniformLocation")]
799    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv)]
800    #[doc = "The `uniform3fv()` method."]
801    #[doc = ""]
802    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)"]
803    #[doc = ""]
804    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
805    pub fn uniform3fv_with_f32_array(
806        this: &WebGlRenderingContext,
807        location: Option<&WebGlUniformLocation>,
808        data: &[f32],
809    );
810    #[cfg(feature = "WebGlUniformLocation")]
811    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv)]
812    #[doc = "The `uniform3fv()` method."]
813    #[doc = ""]
814    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)"]
815    #[doc = ""]
816    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
817    pub fn uniform3fv_with_js_f32_array(
818        this: &WebGlRenderingContext,
819        location: Option<&WebGlUniformLocation>,
820        data: &::js_sys::Float32Array,
821    );
822    #[cfg(feature = "WebGlUniformLocation")]
823    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv)]
824    #[doc = "The `uniform3fv()` method."]
825    #[doc = ""]
826    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)"]
827    #[doc = ""]
828    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
829    pub fn uniform3fv_with_f32_sequence(
830        this: &WebGlRenderingContext,
831        location: Option<&WebGlUniformLocation>,
832        data: &::wasm_bindgen::JsValue,
833    );
834    #[cfg(feature = "WebGlUniformLocation")]
835    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv)]
836    #[doc = "The `uniform3iv()` method."]
837    #[doc = ""]
838    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)"]
839    #[doc = ""]
840    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
841    pub fn uniform3iv_with_i32_array(
842        this: &WebGlRenderingContext,
843        location: Option<&WebGlUniformLocation>,
844        data: &[i32],
845    );
846    #[cfg(feature = "WebGlUniformLocation")]
847    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv)]
848    #[doc = "The `uniform3iv()` method."]
849    #[doc = ""]
850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)"]
851    #[doc = ""]
852    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
853    pub fn uniform3iv_with_js_i32_array(
854        this: &WebGlRenderingContext,
855        location: Option<&WebGlUniformLocation>,
856        data: &::js_sys::Int32Array,
857    );
858    #[cfg(feature = "WebGlUniformLocation")]
859    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv)]
860    #[doc = "The `uniform3iv()` method."]
861    #[doc = ""]
862    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)"]
863    #[doc = ""]
864    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
865    pub fn uniform3iv_with_i32_sequence(
866        this: &WebGlRenderingContext,
867        location: Option<&WebGlUniformLocation>,
868        data: &::wasm_bindgen::JsValue,
869    );
870    #[cfg(feature = "WebGlUniformLocation")]
871    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv)]
872    #[doc = "The `uniform4fv()` method."]
873    #[doc = ""]
874    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)"]
875    #[doc = ""]
876    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
877    pub fn uniform4fv_with_f32_array(
878        this: &WebGlRenderingContext,
879        location: Option<&WebGlUniformLocation>,
880        data: &[f32],
881    );
882    #[cfg(feature = "WebGlUniformLocation")]
883    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv)]
884    #[doc = "The `uniform4fv()` method."]
885    #[doc = ""]
886    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)"]
887    #[doc = ""]
888    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
889    pub fn uniform4fv_with_js_f32_array(
890        this: &WebGlRenderingContext,
891        location: Option<&WebGlUniformLocation>,
892        data: &::js_sys::Float32Array,
893    );
894    #[cfg(feature = "WebGlUniformLocation")]
895    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv)]
896    #[doc = "The `uniform4fv()` method."]
897    #[doc = ""]
898    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)"]
899    #[doc = ""]
900    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
901    pub fn uniform4fv_with_f32_sequence(
902        this: &WebGlRenderingContext,
903        location: Option<&WebGlUniformLocation>,
904        data: &::wasm_bindgen::JsValue,
905    );
906    #[cfg(feature = "WebGlUniformLocation")]
907    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv)]
908    #[doc = "The `uniform4iv()` method."]
909    #[doc = ""]
910    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)"]
911    #[doc = ""]
912    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
913    pub fn uniform4iv_with_i32_array(
914        this: &WebGlRenderingContext,
915        location: Option<&WebGlUniformLocation>,
916        data: &[i32],
917    );
918    #[cfg(feature = "WebGlUniformLocation")]
919    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv)]
920    #[doc = "The `uniform4iv()` method."]
921    #[doc = ""]
922    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)"]
923    #[doc = ""]
924    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
925    pub fn uniform4iv_with_js_i32_array(
926        this: &WebGlRenderingContext,
927        location: Option<&WebGlUniformLocation>,
928        data: &::js_sys::Int32Array,
929    );
930    #[cfg(feature = "WebGlUniformLocation")]
931    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv)]
932    #[doc = "The `uniform4iv()` method."]
933    #[doc = ""]
934    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)"]
935    #[doc = ""]
936    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
937    pub fn uniform4iv_with_i32_sequence(
938        this: &WebGlRenderingContext,
939        location: Option<&WebGlUniformLocation>,
940        data: &::wasm_bindgen::JsValue,
941    );
942    #[cfg(feature = "WebGlUniformLocation")]
943    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv)]
944    #[doc = "The `uniformMatrix2fv()` method."]
945    #[doc = ""]
946    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)"]
947    #[doc = ""]
948    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
949    pub fn uniform_matrix2fv_with_f32_array(
950        this: &WebGlRenderingContext,
951        location: Option<&WebGlUniformLocation>,
952        transpose: bool,
953        data: &[f32],
954    );
955    #[cfg(feature = "WebGlUniformLocation")]
956    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv)]
957    #[doc = "The `uniformMatrix2fv()` method."]
958    #[doc = ""]
959    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)"]
960    #[doc = ""]
961    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
962    pub fn uniform_matrix2fv_with_js_f32_array(
963        this: &WebGlRenderingContext,
964        location: Option<&WebGlUniformLocation>,
965        transpose: bool,
966        data: &::js_sys::Float32Array,
967    );
968    #[cfg(feature = "WebGlUniformLocation")]
969    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv)]
970    #[doc = "The `uniformMatrix2fv()` method."]
971    #[doc = ""]
972    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)"]
973    #[doc = ""]
974    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
975    pub fn uniform_matrix2fv_with_f32_sequence(
976        this: &WebGlRenderingContext,
977        location: Option<&WebGlUniformLocation>,
978        transpose: bool,
979        data: &::wasm_bindgen::JsValue,
980    );
981    #[cfg(feature = "WebGlUniformLocation")]
982    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv)]
983    #[doc = "The `uniformMatrix3fv()` method."]
984    #[doc = ""]
985    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)"]
986    #[doc = ""]
987    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
988    pub fn uniform_matrix3fv_with_f32_array(
989        this: &WebGlRenderingContext,
990        location: Option<&WebGlUniformLocation>,
991        transpose: bool,
992        data: &[f32],
993    );
994    #[cfg(feature = "WebGlUniformLocation")]
995    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv)]
996    #[doc = "The `uniformMatrix3fv()` method."]
997    #[doc = ""]
998    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)"]
999    #[doc = ""]
1000    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1001    pub fn uniform_matrix3fv_with_js_f32_array(
1002        this: &WebGlRenderingContext,
1003        location: Option<&WebGlUniformLocation>,
1004        transpose: bool,
1005        data: &::js_sys::Float32Array,
1006    );
1007    #[cfg(feature = "WebGlUniformLocation")]
1008    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv)]
1009    #[doc = "The `uniformMatrix3fv()` method."]
1010    #[doc = ""]
1011    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)"]
1012    #[doc = ""]
1013    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1014    pub fn uniform_matrix3fv_with_f32_sequence(
1015        this: &WebGlRenderingContext,
1016        location: Option<&WebGlUniformLocation>,
1017        transpose: bool,
1018        data: &::wasm_bindgen::JsValue,
1019    );
1020    #[cfg(feature = "WebGlUniformLocation")]
1021    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv)]
1022    #[doc = "The `uniformMatrix4fv()` method."]
1023    #[doc = ""]
1024    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)"]
1025    #[doc = ""]
1026    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1027    pub fn uniform_matrix4fv_with_f32_array(
1028        this: &WebGlRenderingContext,
1029        location: Option<&WebGlUniformLocation>,
1030        transpose: bool,
1031        data: &[f32],
1032    );
1033    #[cfg(feature = "WebGlUniformLocation")]
1034    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv)]
1035    #[doc = "The `uniformMatrix4fv()` method."]
1036    #[doc = ""]
1037    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)"]
1038    #[doc = ""]
1039    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1040    pub fn uniform_matrix4fv_with_js_f32_array(
1041        this: &WebGlRenderingContext,
1042        location: Option<&WebGlUniformLocation>,
1043        transpose: bool,
1044        data: &::js_sys::Float32Array,
1045    );
1046    #[cfg(feature = "WebGlUniformLocation")]
1047    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv)]
1048    #[doc = "The `uniformMatrix4fv()` method."]
1049    #[doc = ""]
1050    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)"]
1051    #[doc = ""]
1052    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1053    pub fn uniform_matrix4fv_with_f32_sequence(
1054        this: &WebGlRenderingContext,
1055        location: Option<&WebGlUniformLocation>,
1056        transpose: bool,
1057        data: &::wasm_bindgen::JsValue,
1058    );
1059    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = activeTexture)]
1060    #[doc = "The `activeTexture()` method."]
1061    #[doc = ""]
1062    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/activeTexture)"]
1063    #[doc = ""]
1064    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1065    pub fn active_texture(this: &WebGlRenderingContext, texture: u32);
1066    #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
1067    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = attachShader)]
1068    #[doc = "The `attachShader()` method."]
1069    #[doc = ""]
1070    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/attachShader)"]
1071    #[doc = ""]
1072    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*"]
1073    pub fn attach_shader(
1074        this: &WebGlRenderingContext,
1075        program: &WebGlProgram,
1076        shader: &WebGlShader,
1077    );
1078    #[cfg(feature = "WebGlProgram")]
1079    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindAttribLocation)]
1080    #[doc = "The `bindAttribLocation()` method."]
1081    #[doc = ""]
1082    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindAttribLocation)"]
1083    #[doc = ""]
1084    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1085    pub fn bind_attrib_location(
1086        this: &WebGlRenderingContext,
1087        program: &WebGlProgram,
1088        index: u32,
1089        name: &str,
1090    );
1091    #[cfg(feature = "WebGlBuffer")]
1092    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindBuffer)]
1093    #[doc = "The `bindBuffer()` method."]
1094    #[doc = ""]
1095    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindBuffer)"]
1096    #[doc = ""]
1097    #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
1098    pub fn bind_buffer(this: &WebGlRenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
1099    #[cfg(feature = "WebGlFramebuffer")]
1100    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindFramebuffer)]
1101    #[doc = "The `bindFramebuffer()` method."]
1102    #[doc = ""]
1103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindFramebuffer)"]
1104    #[doc = ""]
1105    #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
1106    pub fn bind_framebuffer(
1107        this: &WebGlRenderingContext,
1108        target: u32,
1109        framebuffer: Option<&WebGlFramebuffer>,
1110    );
1111    #[cfg(feature = "WebGlRenderbuffer")]
1112    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindRenderbuffer)]
1113    #[doc = "The `bindRenderbuffer()` method."]
1114    #[doc = ""]
1115    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindRenderbuffer)"]
1116    #[doc = ""]
1117    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
1118    pub fn bind_renderbuffer(
1119        this: &WebGlRenderingContext,
1120        target: u32,
1121        renderbuffer: Option<&WebGlRenderbuffer>,
1122    );
1123    #[cfg(feature = "WebGlTexture")]
1124    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindTexture)]
1125    #[doc = "The `bindTexture()` method."]
1126    #[doc = ""]
1127    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindTexture)"]
1128    #[doc = ""]
1129    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
1130    pub fn bind_texture(this: &WebGlRenderingContext, target: u32, texture: Option<&WebGlTexture>);
1131    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendColor)]
1132    #[doc = "The `blendColor()` method."]
1133    #[doc = ""]
1134    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendColor)"]
1135    #[doc = ""]
1136    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1137    pub fn blend_color(this: &WebGlRenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
1138    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendEquation)]
1139    #[doc = "The `blendEquation()` method."]
1140    #[doc = ""]
1141    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquation)"]
1142    #[doc = ""]
1143    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1144    pub fn blend_equation(this: &WebGlRenderingContext, mode: u32);
1145    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendEquationSeparate)]
1146    #[doc = "The `blendEquationSeparate()` method."]
1147    #[doc = ""]
1148    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquationSeparate)"]
1149    #[doc = ""]
1150    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1151    pub fn blend_equation_separate(this: &WebGlRenderingContext, mode_rgb: u32, mode_alpha: u32);
1152    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendFunc)]
1153    #[doc = "The `blendFunc()` method."]
1154    #[doc = ""]
1155    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFunc)"]
1156    #[doc = ""]
1157    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1158    pub fn blend_func(this: &WebGlRenderingContext, sfactor: u32, dfactor: u32);
1159    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendFuncSeparate)]
1160    #[doc = "The `blendFuncSeparate()` method."]
1161    #[doc = ""]
1162    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFuncSeparate)"]
1163    #[doc = ""]
1164    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1165    pub fn blend_func_separate(
1166        this: &WebGlRenderingContext,
1167        src_rgb: u32,
1168        dst_rgb: u32,
1169        src_alpha: u32,
1170        dst_alpha: u32,
1171    );
1172    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = checkFramebufferStatus)]
1173    #[doc = "The `checkFramebufferStatus()` method."]
1174    #[doc = ""]
1175    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus)"]
1176    #[doc = ""]
1177    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1178    pub fn check_framebuffer_status(this: &WebGlRenderingContext, target: u32) -> u32;
1179    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clear)]
1180    #[doc = "The `clear()` method."]
1181    #[doc = ""]
1182    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clear)"]
1183    #[doc = ""]
1184    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1185    pub fn clear(this: &WebGlRenderingContext, mask: u32);
1186    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clearColor)]
1187    #[doc = "The `clearColor()` method."]
1188    #[doc = ""]
1189    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearColor)"]
1190    #[doc = ""]
1191    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1192    pub fn clear_color(this: &WebGlRenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
1193    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clearDepth)]
1194    #[doc = "The `clearDepth()` method."]
1195    #[doc = ""]
1196    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearDepth)"]
1197    #[doc = ""]
1198    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1199    pub fn clear_depth(this: &WebGlRenderingContext, depth: f32);
1200    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clearStencil)]
1201    #[doc = "The `clearStencil()` method."]
1202    #[doc = ""]
1203    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearStencil)"]
1204    #[doc = ""]
1205    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1206    pub fn clear_stencil(this: &WebGlRenderingContext, s: i32);
1207    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = colorMask)]
1208    #[doc = "The `colorMask()` method."]
1209    #[doc = ""]
1210    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/colorMask)"]
1211    #[doc = ""]
1212    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1213    pub fn color_mask(
1214        this: &WebGlRenderingContext,
1215        red: bool,
1216        green: bool,
1217        blue: bool,
1218        alpha: bool,
1219    );
1220    #[cfg(feature = "WebGlShader")]
1221    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compileShader)]
1222    #[doc = "The `compileShader()` method."]
1223    #[doc = ""]
1224    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compileShader)"]
1225    #[doc = ""]
1226    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1227    pub fn compile_shader(this: &WebGlRenderingContext, shader: &WebGlShader);
1228    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = copyTexImage2D)]
1229    #[doc = "The `copyTexImage2D()` method."]
1230    #[doc = ""]
1231    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexImage2D)"]
1232    #[doc = ""]
1233    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1234    pub fn copy_tex_image_2d(
1235        this: &WebGlRenderingContext,
1236        target: u32,
1237        level: i32,
1238        internalformat: u32,
1239        x: i32,
1240        y: i32,
1241        width: i32,
1242        height: i32,
1243        border: i32,
1244    );
1245    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = copyTexSubImage2D)]
1246    #[doc = "The `copyTexSubImage2D()` method."]
1247    #[doc = ""]
1248    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D)"]
1249    #[doc = ""]
1250    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1251    pub fn copy_tex_sub_image_2d(
1252        this: &WebGlRenderingContext,
1253        target: u32,
1254        level: i32,
1255        xoffset: i32,
1256        yoffset: i32,
1257        x: i32,
1258        y: i32,
1259        width: i32,
1260        height: i32,
1261    );
1262    #[cfg(feature = "WebGlBuffer")]
1263    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createBuffer)]
1264    #[doc = "The `createBuffer()` method."]
1265    #[doc = ""]
1266    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createBuffer)"]
1267    #[doc = ""]
1268    #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
1269    pub fn create_buffer(this: &WebGlRenderingContext) -> Option<WebGlBuffer>;
1270    #[cfg(feature = "WebGlFramebuffer")]
1271    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createFramebuffer)]
1272    #[doc = "The `createFramebuffer()` method."]
1273    #[doc = ""]
1274    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createFramebuffer)"]
1275    #[doc = ""]
1276    #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
1277    pub fn create_framebuffer(this: &WebGlRenderingContext) -> Option<WebGlFramebuffer>;
1278    #[cfg(feature = "WebGlProgram")]
1279    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createProgram)]
1280    #[doc = "The `createProgram()` method."]
1281    #[doc = ""]
1282    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createProgram)"]
1283    #[doc = ""]
1284    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1285    pub fn create_program(this: &WebGlRenderingContext) -> Option<WebGlProgram>;
1286    #[cfg(feature = "WebGlRenderbuffer")]
1287    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createRenderbuffer)]
1288    #[doc = "The `createRenderbuffer()` method."]
1289    #[doc = ""]
1290    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createRenderbuffer)"]
1291    #[doc = ""]
1292    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
1293    pub fn create_renderbuffer(this: &WebGlRenderingContext) -> Option<WebGlRenderbuffer>;
1294    #[cfg(feature = "WebGlShader")]
1295    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createShader)]
1296    #[doc = "The `createShader()` method."]
1297    #[doc = ""]
1298    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createShader)"]
1299    #[doc = ""]
1300    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1301    pub fn create_shader(this: &WebGlRenderingContext, type_: u32) -> Option<WebGlShader>;
1302    #[cfg(feature = "WebGlTexture")]
1303    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createTexture)]
1304    #[doc = "The `createTexture()` method."]
1305    #[doc = ""]
1306    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createTexture)"]
1307    #[doc = ""]
1308    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
1309    pub fn create_texture(this: &WebGlRenderingContext) -> Option<WebGlTexture>;
1310    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = cullFace)]
1311    #[doc = "The `cullFace()` method."]
1312    #[doc = ""]
1313    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/cullFace)"]
1314    #[doc = ""]
1315    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1316    pub fn cull_face(this: &WebGlRenderingContext, mode: u32);
1317    #[cfg(feature = "WebGlBuffer")]
1318    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteBuffer)]
1319    #[doc = "The `deleteBuffer()` method."]
1320    #[doc = ""]
1321    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteBuffer)"]
1322    #[doc = ""]
1323    #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
1324    pub fn delete_buffer(this: &WebGlRenderingContext, buffer: Option<&WebGlBuffer>);
1325    #[cfg(feature = "WebGlFramebuffer")]
1326    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteFramebuffer)]
1327    #[doc = "The `deleteFramebuffer()` method."]
1328    #[doc = ""]
1329    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteFramebuffer)"]
1330    #[doc = ""]
1331    #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
1332    pub fn delete_framebuffer(this: &WebGlRenderingContext, framebuffer: Option<&WebGlFramebuffer>);
1333    #[cfg(feature = "WebGlProgram")]
1334    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteProgram)]
1335    #[doc = "The `deleteProgram()` method."]
1336    #[doc = ""]
1337    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteProgram)"]
1338    #[doc = ""]
1339    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1340    pub fn delete_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>);
1341    #[cfg(feature = "WebGlRenderbuffer")]
1342    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteRenderbuffer)]
1343    #[doc = "The `deleteRenderbuffer()` method."]
1344    #[doc = ""]
1345    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer)"]
1346    #[doc = ""]
1347    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
1348    pub fn delete_renderbuffer(
1349        this: &WebGlRenderingContext,
1350        renderbuffer: Option<&WebGlRenderbuffer>,
1351    );
1352    #[cfg(feature = "WebGlShader")]
1353    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteShader)]
1354    #[doc = "The `deleteShader()` method."]
1355    #[doc = ""]
1356    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteShader)"]
1357    #[doc = ""]
1358    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1359    pub fn delete_shader(this: &WebGlRenderingContext, shader: Option<&WebGlShader>);
1360    #[cfg(feature = "WebGlTexture")]
1361    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteTexture)]
1362    #[doc = "The `deleteTexture()` method."]
1363    #[doc = ""]
1364    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteTexture)"]
1365    #[doc = ""]
1366    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
1367    pub fn delete_texture(this: &WebGlRenderingContext, texture: Option<&WebGlTexture>);
1368    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = depthFunc)]
1369    #[doc = "The `depthFunc()` method."]
1370    #[doc = ""]
1371    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthFunc)"]
1372    #[doc = ""]
1373    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1374    pub fn depth_func(this: &WebGlRenderingContext, func: u32);
1375    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = depthMask)]
1376    #[doc = "The `depthMask()` method."]
1377    #[doc = ""]
1378    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthMask)"]
1379    #[doc = ""]
1380    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1381    pub fn depth_mask(this: &WebGlRenderingContext, flag: bool);
1382    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = depthRange)]
1383    #[doc = "The `depthRange()` method."]
1384    #[doc = ""]
1385    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthRange)"]
1386    #[doc = ""]
1387    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1388    pub fn depth_range(this: &WebGlRenderingContext, z_near: f32, z_far: f32);
1389    #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
1390    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = detachShader)]
1391    #[doc = "The `detachShader()` method."]
1392    #[doc = ""]
1393    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/detachShader)"]
1394    #[doc = ""]
1395    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*"]
1396    pub fn detach_shader(
1397        this: &WebGlRenderingContext,
1398        program: &WebGlProgram,
1399        shader: &WebGlShader,
1400    );
1401    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = disable)]
1402    #[doc = "The `disable()` method."]
1403    #[doc = ""]
1404    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disable)"]
1405    #[doc = ""]
1406    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1407    pub fn disable(this: &WebGlRenderingContext, cap: u32);
1408    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = disableVertexAttribArray)]
1409    #[doc = "The `disableVertexAttribArray()` method."]
1410    #[doc = ""]
1411    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray)"]
1412    #[doc = ""]
1413    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1414    pub fn disable_vertex_attrib_array(this: &WebGlRenderingContext, index: u32);
1415    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = drawArrays)]
1416    #[doc = "The `drawArrays()` method."]
1417    #[doc = ""]
1418    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawArrays)"]
1419    #[doc = ""]
1420    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1421    pub fn draw_arrays(this: &WebGlRenderingContext, mode: u32, first: i32, count: i32);
1422    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = drawElements)]
1423    #[doc = "The `drawElements()` method."]
1424    #[doc = ""]
1425    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)"]
1426    #[doc = ""]
1427    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1428    pub fn draw_elements_with_i32(
1429        this: &WebGlRenderingContext,
1430        mode: u32,
1431        count: i32,
1432        type_: u32,
1433        offset: i32,
1434    );
1435    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = drawElements)]
1436    #[doc = "The `drawElements()` method."]
1437    #[doc = ""]
1438    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)"]
1439    #[doc = ""]
1440    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1441    pub fn draw_elements_with_f64(
1442        this: &WebGlRenderingContext,
1443        mode: u32,
1444        count: i32,
1445        type_: u32,
1446        offset: f64,
1447    );
1448    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = enable)]
1449    #[doc = "The `enable()` method."]
1450    #[doc = ""]
1451    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enable)"]
1452    #[doc = ""]
1453    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1454    pub fn enable(this: &WebGlRenderingContext, cap: u32);
1455    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = enableVertexAttribArray)]
1456    #[doc = "The `enableVertexAttribArray()` method."]
1457    #[doc = ""]
1458    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray)"]
1459    #[doc = ""]
1460    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1461    pub fn enable_vertex_attrib_array(this: &WebGlRenderingContext, index: u32);
1462    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = finish)]
1463    #[doc = "The `finish()` method."]
1464    #[doc = ""]
1465    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/finish)"]
1466    #[doc = ""]
1467    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1468    pub fn finish(this: &WebGlRenderingContext);
1469    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = flush)]
1470    #[doc = "The `flush()` method."]
1471    #[doc = ""]
1472    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/flush)"]
1473    #[doc = ""]
1474    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1475    pub fn flush(this: &WebGlRenderingContext);
1476    #[cfg(feature = "WebGlRenderbuffer")]
1477    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = framebufferRenderbuffer)]
1478    #[doc = "The `framebufferRenderbuffer()` method."]
1479    #[doc = ""]
1480    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer)"]
1481    #[doc = ""]
1482    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
1483    pub fn framebuffer_renderbuffer(
1484        this: &WebGlRenderingContext,
1485        target: u32,
1486        attachment: u32,
1487        renderbuffertarget: u32,
1488        renderbuffer: Option<&WebGlRenderbuffer>,
1489    );
1490    #[cfg(feature = "WebGlTexture")]
1491    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = framebufferTexture2D)]
1492    #[doc = "The `framebufferTexture2D()` method."]
1493    #[doc = ""]
1494    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferTexture2D)"]
1495    #[doc = ""]
1496    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
1497    pub fn framebuffer_texture_2d(
1498        this: &WebGlRenderingContext,
1499        target: u32,
1500        attachment: u32,
1501        textarget: u32,
1502        texture: Option<&WebGlTexture>,
1503        level: i32,
1504    );
1505    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = frontFace)]
1506    #[doc = "The `frontFace()` method."]
1507    #[doc = ""]
1508    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/frontFace)"]
1509    #[doc = ""]
1510    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1511    pub fn front_face(this: &WebGlRenderingContext, mode: u32);
1512    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = generateMipmap)]
1513    #[doc = "The `generateMipmap()` method."]
1514    #[doc = ""]
1515    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/generateMipmap)"]
1516    #[doc = ""]
1517    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1518    pub fn generate_mipmap(this: &WebGlRenderingContext, target: u32);
1519    #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
1520    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getActiveAttrib)]
1521    #[doc = "The `getActiveAttrib()` method."]
1522    #[doc = ""]
1523    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveAttrib)"]
1524    #[doc = ""]
1525    #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*"]
1526    pub fn get_active_attrib(
1527        this: &WebGlRenderingContext,
1528        program: &WebGlProgram,
1529        index: u32,
1530    ) -> Option<WebGlActiveInfo>;
1531    #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
1532    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getActiveUniform)]
1533    #[doc = "The `getActiveUniform()` method."]
1534    #[doc = ""]
1535    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveUniform)"]
1536    #[doc = ""]
1537    #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*"]
1538    pub fn get_active_uniform(
1539        this: &WebGlRenderingContext,
1540        program: &WebGlProgram,
1541        index: u32,
1542    ) -> Option<WebGlActiveInfo>;
1543    #[cfg(feature = "WebGlProgram")]
1544    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getAttachedShaders)]
1545    #[doc = "The `getAttachedShaders()` method."]
1546    #[doc = ""]
1547    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttachedShaders)"]
1548    #[doc = ""]
1549    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1550    pub fn get_attached_shaders(
1551        this: &WebGlRenderingContext,
1552        program: &WebGlProgram,
1553    ) -> Option<::js_sys::Array>;
1554    #[cfg(feature = "WebGlProgram")]
1555    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getAttribLocation)]
1556    #[doc = "The `getAttribLocation()` method."]
1557    #[doc = ""]
1558    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttribLocation)"]
1559    #[doc = ""]
1560    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1561    pub fn get_attrib_location(
1562        this: &WebGlRenderingContext,
1563        program: &WebGlProgram,
1564        name: &str,
1565    ) -> i32;
1566    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getBufferParameter)]
1567    #[doc = "The `getBufferParameter()` method."]
1568    #[doc = ""]
1569    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getBufferParameter)"]
1570    #[doc = ""]
1571    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1572    pub fn get_buffer_parameter(
1573        this: &WebGlRenderingContext,
1574        target: u32,
1575        pname: u32,
1576    ) -> ::wasm_bindgen::JsValue;
1577    #[cfg(feature = "WebGlContextAttributes")]
1578    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getContextAttributes)]
1579    #[doc = "The `getContextAttributes()` method."]
1580    #[doc = ""]
1581    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getContextAttributes)"]
1582    #[doc = ""]
1583    #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`, `WebGlRenderingContext`*"]
1584    pub fn get_context_attributes(this: &WebGlRenderingContext) -> Option<WebGlContextAttributes>;
1585    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getError)]
1586    #[doc = "The `getError()` method."]
1587    #[doc = ""]
1588    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getError)"]
1589    #[doc = ""]
1590    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1591    pub fn get_error(this: &WebGlRenderingContext) -> u32;
1592    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getExtension)]
1593    #[doc = "The `getExtension()` method."]
1594    #[doc = ""]
1595    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getExtension)"]
1596    #[doc = ""]
1597    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1598    pub fn get_extension(
1599        this: &WebGlRenderingContext,
1600        name: &str,
1601    ) -> Result<Option<::js_sys::Object>, JsValue>;
1602    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getFramebufferAttachmentParameter)]
1603    #[doc = "The `getFramebufferAttachmentParameter()` method."]
1604    #[doc = ""]
1605    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter)"]
1606    #[doc = ""]
1607    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1608    pub fn get_framebuffer_attachment_parameter(
1609        this: &WebGlRenderingContext,
1610        target: u32,
1611        attachment: u32,
1612        pname: u32,
1613    ) -> Result<::wasm_bindgen::JsValue, JsValue>;
1614    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getParameter)]
1615    #[doc = "The `getParameter()` method."]
1616    #[doc = ""]
1617    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getParameter)"]
1618    #[doc = ""]
1619    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1620    pub fn get_parameter(
1621        this: &WebGlRenderingContext,
1622        pname: u32,
1623    ) -> Result<::wasm_bindgen::JsValue, JsValue>;
1624    #[cfg(feature = "WebGlProgram")]
1625    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getProgramInfoLog)]
1626    #[doc = "The `getProgramInfoLog()` method."]
1627    #[doc = ""]
1628    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramInfoLog)"]
1629    #[doc = ""]
1630    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1631    pub fn get_program_info_log(
1632        this: &WebGlRenderingContext,
1633        program: &WebGlProgram,
1634    ) -> Option<::alloc::string::String>;
1635    #[cfg(feature = "WebGlProgram")]
1636    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getProgramParameter)]
1637    #[doc = "The `getProgramParameter()` method."]
1638    #[doc = ""]
1639    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramParameter)"]
1640    #[doc = ""]
1641    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1642    pub fn get_program_parameter(
1643        this: &WebGlRenderingContext,
1644        program: &WebGlProgram,
1645        pname: u32,
1646    ) -> ::wasm_bindgen::JsValue;
1647    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getRenderbufferParameter)]
1648    #[doc = "The `getRenderbufferParameter()` method."]
1649    #[doc = ""]
1650    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter)"]
1651    #[doc = ""]
1652    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1653    pub fn get_renderbuffer_parameter(
1654        this: &WebGlRenderingContext,
1655        target: u32,
1656        pname: u32,
1657    ) -> ::wasm_bindgen::JsValue;
1658    #[cfg(feature = "WebGlShader")]
1659    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderInfoLog)]
1660    #[doc = "The `getShaderInfoLog()` method."]
1661    #[doc = ""]
1662    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderInfoLog)"]
1663    #[doc = ""]
1664    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1665    pub fn get_shader_info_log(
1666        this: &WebGlRenderingContext,
1667        shader: &WebGlShader,
1668    ) -> Option<::alloc::string::String>;
1669    #[cfg(feature = "WebGlShader")]
1670    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderParameter)]
1671    #[doc = "The `getShaderParameter()` method."]
1672    #[doc = ""]
1673    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderParameter)"]
1674    #[doc = ""]
1675    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1676    pub fn get_shader_parameter(
1677        this: &WebGlRenderingContext,
1678        shader: &WebGlShader,
1679        pname: u32,
1680    ) -> ::wasm_bindgen::JsValue;
1681    #[cfg(feature = "WebGlShaderPrecisionFormat")]
1682    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderPrecisionFormat)]
1683    #[doc = "The `getShaderPrecisionFormat()` method."]
1684    #[doc = ""]
1685    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat)"]
1686    #[doc = ""]
1687    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShaderPrecisionFormat`*"]
1688    pub fn get_shader_precision_format(
1689        this: &WebGlRenderingContext,
1690        shadertype: u32,
1691        precisiontype: u32,
1692    ) -> Option<WebGlShaderPrecisionFormat>;
1693    #[cfg(feature = "WebGlShader")]
1694    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderSource)]
1695    #[doc = "The `getShaderSource()` method."]
1696    #[doc = ""]
1697    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderSource)"]
1698    #[doc = ""]
1699    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1700    pub fn get_shader_source(
1701        this: &WebGlRenderingContext,
1702        shader: &WebGlShader,
1703    ) -> Option<::alloc::string::String>;
1704    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getSupportedExtensions)]
1705    #[doc = "The `getSupportedExtensions()` method."]
1706    #[doc = ""]
1707    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getSupportedExtensions)"]
1708    #[doc = ""]
1709    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1710    pub fn get_supported_extensions(this: &WebGlRenderingContext) -> Option<::js_sys::Array>;
1711    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getTexParameter)]
1712    #[doc = "The `getTexParameter()` method."]
1713    #[doc = ""]
1714    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getTexParameter)"]
1715    #[doc = ""]
1716    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1717    pub fn get_tex_parameter(
1718        this: &WebGlRenderingContext,
1719        target: u32,
1720        pname: u32,
1721    ) -> ::wasm_bindgen::JsValue;
1722    #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
1723    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getUniform)]
1724    #[doc = "The `getUniform()` method."]
1725    #[doc = ""]
1726    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniform)"]
1727    #[doc = ""]
1728    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1729    pub fn get_uniform(
1730        this: &WebGlRenderingContext,
1731        program: &WebGlProgram,
1732        location: &WebGlUniformLocation,
1733    ) -> ::wasm_bindgen::JsValue;
1734    #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
1735    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getUniformLocation)]
1736    #[doc = "The `getUniformLocation()` method."]
1737    #[doc = ""]
1738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniformLocation)"]
1739    #[doc = ""]
1740    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1741    pub fn get_uniform_location(
1742        this: &WebGlRenderingContext,
1743        program: &WebGlProgram,
1744        name: &str,
1745    ) -> Option<WebGlUniformLocation>;
1746    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getVertexAttrib)]
1747    #[doc = "The `getVertexAttrib()` method."]
1748    #[doc = ""]
1749    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttrib)"]
1750    #[doc = ""]
1751    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1752    pub fn get_vertex_attrib(
1753        this: &WebGlRenderingContext,
1754        index: u32,
1755        pname: u32,
1756    ) -> Result<::wasm_bindgen::JsValue, JsValue>;
1757    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getVertexAttribOffset)]
1758    #[doc = "The `getVertexAttribOffset()` method."]
1759    #[doc = ""]
1760    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset)"]
1761    #[doc = ""]
1762    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1763    pub fn get_vertex_attrib_offset(this: &WebGlRenderingContext, index: u32, pname: u32) -> f64;
1764    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = hint)]
1765    #[doc = "The `hint()` method."]
1766    #[doc = ""]
1767    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/hint)"]
1768    #[doc = ""]
1769    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1770    pub fn hint(this: &WebGlRenderingContext, target: u32, mode: u32);
1771    #[cfg(feature = "WebGlBuffer")]
1772    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isBuffer)]
1773    #[doc = "The `isBuffer()` method."]
1774    #[doc = ""]
1775    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isBuffer)"]
1776    #[doc = ""]
1777    #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
1778    pub fn is_buffer(this: &WebGlRenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
1779    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isContextLost)]
1780    #[doc = "The `isContextLost()` method."]
1781    #[doc = ""]
1782    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isContextLost)"]
1783    #[doc = ""]
1784    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1785    pub fn is_context_lost(this: &WebGlRenderingContext) -> bool;
1786    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isEnabled)]
1787    #[doc = "The `isEnabled()` method."]
1788    #[doc = ""]
1789    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isEnabled)"]
1790    #[doc = ""]
1791    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1792    pub fn is_enabled(this: &WebGlRenderingContext, cap: u32) -> bool;
1793    #[cfg(feature = "WebGlFramebuffer")]
1794    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isFramebuffer)]
1795    #[doc = "The `isFramebuffer()` method."]
1796    #[doc = ""]
1797    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isFramebuffer)"]
1798    #[doc = ""]
1799    #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
1800    pub fn is_framebuffer(
1801        this: &WebGlRenderingContext,
1802        framebuffer: Option<&WebGlFramebuffer>,
1803    ) -> bool;
1804    #[cfg(feature = "WebGlProgram")]
1805    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isProgram)]
1806    #[doc = "The `isProgram()` method."]
1807    #[doc = ""]
1808    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isProgram)"]
1809    #[doc = ""]
1810    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1811    pub fn is_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>) -> bool;
1812    #[cfg(feature = "WebGlRenderbuffer")]
1813    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isRenderbuffer)]
1814    #[doc = "The `isRenderbuffer()` method."]
1815    #[doc = ""]
1816    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isRenderbuffer)"]
1817    #[doc = ""]
1818    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
1819    pub fn is_renderbuffer(
1820        this: &WebGlRenderingContext,
1821        renderbuffer: Option<&WebGlRenderbuffer>,
1822    ) -> bool;
1823    #[cfg(feature = "WebGlShader")]
1824    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isShader)]
1825    #[doc = "The `isShader()` method."]
1826    #[doc = ""]
1827    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isShader)"]
1828    #[doc = ""]
1829    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1830    pub fn is_shader(this: &WebGlRenderingContext, shader: Option<&WebGlShader>) -> bool;
1831    #[cfg(feature = "WebGlTexture")]
1832    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isTexture)]
1833    #[doc = "The `isTexture()` method."]
1834    #[doc = ""]
1835    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isTexture)"]
1836    #[doc = ""]
1837    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
1838    pub fn is_texture(this: &WebGlRenderingContext, texture: Option<&WebGlTexture>) -> bool;
1839    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = lineWidth)]
1840    #[doc = "The `lineWidth()` method."]
1841    #[doc = ""]
1842    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/lineWidth)"]
1843    #[doc = ""]
1844    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1845    pub fn line_width(this: &WebGlRenderingContext, width: f32);
1846    #[cfg(feature = "WebGlProgram")]
1847    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = linkProgram)]
1848    #[doc = "The `linkProgram()` method."]
1849    #[doc = ""]
1850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/linkProgram)"]
1851    #[doc = ""]
1852    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
1853    pub fn link_program(this: &WebGlRenderingContext, program: &WebGlProgram);
1854    #[cfg(web_sys_unstable_apis)]
1855    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = makeXRCompatible)]
1856    #[doc = "The `makeXRCompatible()` method."]
1857    #[doc = ""]
1858    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/makeXRCompatible)"]
1859    #[doc = ""]
1860    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1861    #[doc = ""]
1862    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1863    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1864    pub fn make_xr_compatible(
1865        this: &WebGlRenderingContext,
1866    ) -> ::js_sys::Promise<::js_sys::Undefined>;
1867    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = pixelStorei)]
1868    #[doc = "The `pixelStorei()` method."]
1869    #[doc = ""]
1870    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/pixelStorei)"]
1871    #[doc = ""]
1872    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1873    pub fn pixel_storei(this: &WebGlRenderingContext, pname: u32, param: i32);
1874    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = polygonOffset)]
1875    #[doc = "The `polygonOffset()` method."]
1876    #[doc = ""]
1877    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/polygonOffset)"]
1878    #[doc = ""]
1879    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1880    pub fn polygon_offset(this: &WebGlRenderingContext, factor: f32, units: f32);
1881    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = renderbufferStorage)]
1882    #[doc = "The `renderbufferStorage()` method."]
1883    #[doc = ""]
1884    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage)"]
1885    #[doc = ""]
1886    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1887    pub fn renderbuffer_storage(
1888        this: &WebGlRenderingContext,
1889        target: u32,
1890        internalformat: u32,
1891        width: i32,
1892        height: i32,
1893    );
1894    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = sampleCoverage)]
1895    #[doc = "The `sampleCoverage()` method."]
1896    #[doc = ""]
1897    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/sampleCoverage)"]
1898    #[doc = ""]
1899    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1900    pub fn sample_coverage(this: &WebGlRenderingContext, value: f32, invert: bool);
1901    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = scissor)]
1902    #[doc = "The `scissor()` method."]
1903    #[doc = ""]
1904    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/scissor)"]
1905    #[doc = ""]
1906    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1907    pub fn scissor(this: &WebGlRenderingContext, x: i32, y: i32, width: i32, height: i32);
1908    #[cfg(feature = "WebGlShader")]
1909    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = shaderSource)]
1910    #[doc = "The `shaderSource()` method."]
1911    #[doc = ""]
1912    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/shaderSource)"]
1913    #[doc = ""]
1914    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1915    pub fn shader_source(this: &WebGlRenderingContext, shader: &WebGlShader, source: &str);
1916    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilFunc)]
1917    #[doc = "The `stencilFunc()` method."]
1918    #[doc = ""]
1919    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFunc)"]
1920    #[doc = ""]
1921    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1922    pub fn stencil_func(this: &WebGlRenderingContext, func: u32, ref_: i32, mask: u32);
1923    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilFuncSeparate)]
1924    #[doc = "The `stencilFuncSeparate()` method."]
1925    #[doc = ""]
1926    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate)"]
1927    #[doc = ""]
1928    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1929    pub fn stencil_func_separate(
1930        this: &WebGlRenderingContext,
1931        face: u32,
1932        func: u32,
1933        ref_: i32,
1934        mask: u32,
1935    );
1936    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMask)]
1937    #[doc = "The `stencilMask()` method."]
1938    #[doc = ""]
1939    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMask)"]
1940    #[doc = ""]
1941    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1942    pub fn stencil_mask(this: &WebGlRenderingContext, mask: u32);
1943    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMaskSeparate)]
1944    #[doc = "The `stencilMaskSeparate()` method."]
1945    #[doc = ""]
1946    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate)"]
1947    #[doc = ""]
1948    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1949    pub fn stencil_mask_separate(this: &WebGlRenderingContext, face: u32, mask: u32);
1950    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilOp)]
1951    #[doc = "The `stencilOp()` method."]
1952    #[doc = ""]
1953    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOp)"]
1954    #[doc = ""]
1955    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1956    pub fn stencil_op(this: &WebGlRenderingContext, fail: u32, zfail: u32, zpass: u32);
1957    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilOpSeparate)]
1958    #[doc = "The `stencilOpSeparate()` method."]
1959    #[doc = ""]
1960    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOpSeparate)"]
1961    #[doc = ""]
1962    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1963    pub fn stencil_op_separate(
1964        this: &WebGlRenderingContext,
1965        face: u32,
1966        fail: u32,
1967        zfail: u32,
1968        zpass: u32,
1969    );
1970    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = texParameterf)]
1971    #[doc = "The `texParameterf()` method."]
1972    #[doc = ""]
1973    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameterf)"]
1974    #[doc = ""]
1975    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1976    pub fn tex_parameterf(this: &WebGlRenderingContext, target: u32, pname: u32, param: f32);
1977    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = texParameteri)]
1978    #[doc = "The `texParameteri()` method."]
1979    #[doc = ""]
1980    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameteri)"]
1981    #[doc = ""]
1982    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1983    pub fn tex_parameteri(this: &WebGlRenderingContext, target: u32, pname: u32, param: i32);
1984    #[cfg(feature = "WebGlUniformLocation")]
1985    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1f)]
1986    #[doc = "The `uniform1f()` method."]
1987    #[doc = ""]
1988    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1f)"]
1989    #[doc = ""]
1990    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1991    pub fn uniform1f(this: &WebGlRenderingContext, location: Option<&WebGlUniformLocation>, x: f32);
1992    #[cfg(feature = "WebGlUniformLocation")]
1993    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1i)]
1994    #[doc = "The `uniform1i()` method."]
1995    #[doc = ""]
1996    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1i)"]
1997    #[doc = ""]
1998    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1999    pub fn uniform1i(this: &WebGlRenderingContext, location: Option<&WebGlUniformLocation>, x: i32);
2000    #[cfg(feature = "WebGlUniformLocation")]
2001    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2f)]
2002    #[doc = "The `uniform2f()` method."]
2003    #[doc = ""]
2004    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2f)"]
2005    #[doc = ""]
2006    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2007    pub fn uniform2f(
2008        this: &WebGlRenderingContext,
2009        location: Option<&WebGlUniformLocation>,
2010        x: f32,
2011        y: f32,
2012    );
2013    #[cfg(feature = "WebGlUniformLocation")]
2014    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2i)]
2015    #[doc = "The `uniform2i()` method."]
2016    #[doc = ""]
2017    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2i)"]
2018    #[doc = ""]
2019    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2020    pub fn uniform2i(
2021        this: &WebGlRenderingContext,
2022        location: Option<&WebGlUniformLocation>,
2023        x: i32,
2024        y: i32,
2025    );
2026    #[cfg(feature = "WebGlUniformLocation")]
2027    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3f)]
2028    #[doc = "The `uniform3f()` method."]
2029    #[doc = ""]
2030    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3f)"]
2031    #[doc = ""]
2032    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2033    pub fn uniform3f(
2034        this: &WebGlRenderingContext,
2035        location: Option<&WebGlUniformLocation>,
2036        x: f32,
2037        y: f32,
2038        z: f32,
2039    );
2040    #[cfg(feature = "WebGlUniformLocation")]
2041    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3i)]
2042    #[doc = "The `uniform3i()` method."]
2043    #[doc = ""]
2044    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3i)"]
2045    #[doc = ""]
2046    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2047    pub fn uniform3i(
2048        this: &WebGlRenderingContext,
2049        location: Option<&WebGlUniformLocation>,
2050        x: i32,
2051        y: i32,
2052        z: i32,
2053    );
2054    #[cfg(feature = "WebGlUniformLocation")]
2055    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4f)]
2056    #[doc = "The `uniform4f()` method."]
2057    #[doc = ""]
2058    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4f)"]
2059    #[doc = ""]
2060    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2061    pub fn uniform4f(
2062        this: &WebGlRenderingContext,
2063        location: Option<&WebGlUniformLocation>,
2064        x: f32,
2065        y: f32,
2066        z: f32,
2067        w: f32,
2068    );
2069    #[cfg(feature = "WebGlUniformLocation")]
2070    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4i)]
2071    #[doc = "The `uniform4i()` method."]
2072    #[doc = ""]
2073    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4i)"]
2074    #[doc = ""]
2075    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2076    pub fn uniform4i(
2077        this: &WebGlRenderingContext,
2078        location: Option<&WebGlUniformLocation>,
2079        x: i32,
2080        y: i32,
2081        z: i32,
2082        w: i32,
2083    );
2084    #[cfg(feature = "WebGlProgram")]
2085    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = useProgram)]
2086    #[doc = "The `useProgram()` method."]
2087    #[doc = ""]
2088    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/useProgram)"]
2089    #[doc = ""]
2090    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
2091    pub fn use_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>);
2092    #[cfg(feature = "WebGlProgram")]
2093    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = validateProgram)]
2094    #[doc = "The `validateProgram()` method."]
2095    #[doc = ""]
2096    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/validateProgram)"]
2097    #[doc = ""]
2098    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
2099    pub fn validate_program(this: &WebGlRenderingContext, program: &WebGlProgram);
2100    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1f)]
2101    #[doc = "The `vertexAttrib1f()` method."]
2102    #[doc = ""]
2103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1f)"]
2104    #[doc = ""]
2105    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2106    pub fn vertex_attrib1f(this: &WebGlRenderingContext, indx: u32, x: f32);
2107    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
2108    #[doc = "The `vertexAttrib1fv()` method."]
2109    #[doc = ""]
2110    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
2111    #[doc = ""]
2112    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2113    pub fn vertex_attrib1fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2114    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
2115    #[doc = "The `vertexAttrib1fv()` method."]
2116    #[doc = ""]
2117    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
2118    #[doc = ""]
2119    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2120    pub fn vertex_attrib1fv_with_js_f32_array(
2121        this: &WebGlRenderingContext,
2122        indx: u32,
2123        values: &::js_sys::Float32Array,
2124    );
2125    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
2126    #[doc = "The `vertexAttrib1fv()` method."]
2127    #[doc = ""]
2128    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
2129    #[doc = ""]
2130    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2131    pub fn vertex_attrib1fv_with_f32_sequence(
2132        this: &WebGlRenderingContext,
2133        indx: u32,
2134        values: &::wasm_bindgen::JsValue,
2135    );
2136    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2f)]
2137    #[doc = "The `vertexAttrib2f()` method."]
2138    #[doc = ""]
2139    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2f)"]
2140    #[doc = ""]
2141    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2142    pub fn vertex_attrib2f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32);
2143    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
2144    #[doc = "The `vertexAttrib2fv()` method."]
2145    #[doc = ""]
2146    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
2147    #[doc = ""]
2148    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2149    pub fn vertex_attrib2fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2150    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
2151    #[doc = "The `vertexAttrib2fv()` method."]
2152    #[doc = ""]
2153    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
2154    #[doc = ""]
2155    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2156    pub fn vertex_attrib2fv_with_js_f32_array(
2157        this: &WebGlRenderingContext,
2158        indx: u32,
2159        values: &::js_sys::Float32Array,
2160    );
2161    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
2162    #[doc = "The `vertexAttrib2fv()` method."]
2163    #[doc = ""]
2164    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
2165    #[doc = ""]
2166    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2167    pub fn vertex_attrib2fv_with_f32_sequence(
2168        this: &WebGlRenderingContext,
2169        indx: u32,
2170        values: &::wasm_bindgen::JsValue,
2171    );
2172    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3f)]
2173    #[doc = "The `vertexAttrib3f()` method."]
2174    #[doc = ""]
2175    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3f)"]
2176    #[doc = ""]
2177    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2178    pub fn vertex_attrib3f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32, z: f32);
2179    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
2180    #[doc = "The `vertexAttrib3fv()` method."]
2181    #[doc = ""]
2182    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
2183    #[doc = ""]
2184    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2185    pub fn vertex_attrib3fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2186    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
2187    #[doc = "The `vertexAttrib3fv()` method."]
2188    #[doc = ""]
2189    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
2190    #[doc = ""]
2191    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2192    pub fn vertex_attrib3fv_with_js_f32_array(
2193        this: &WebGlRenderingContext,
2194        indx: u32,
2195        values: &::js_sys::Float32Array,
2196    );
2197    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
2198    #[doc = "The `vertexAttrib3fv()` method."]
2199    #[doc = ""]
2200    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
2201    #[doc = ""]
2202    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2203    pub fn vertex_attrib3fv_with_f32_sequence(
2204        this: &WebGlRenderingContext,
2205        indx: u32,
2206        values: &::wasm_bindgen::JsValue,
2207    );
2208    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4f)]
2209    #[doc = "The `vertexAttrib4f()` method."]
2210    #[doc = ""]
2211    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4f)"]
2212    #[doc = ""]
2213    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2214    pub fn vertex_attrib4f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32, z: f32, w: f32);
2215    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
2216    #[doc = "The `vertexAttrib4fv()` method."]
2217    #[doc = ""]
2218    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
2219    #[doc = ""]
2220    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2221    pub fn vertex_attrib4fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2222    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
2223    #[doc = "The `vertexAttrib4fv()` method."]
2224    #[doc = ""]
2225    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
2226    #[doc = ""]
2227    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2228    pub fn vertex_attrib4fv_with_js_f32_array(
2229        this: &WebGlRenderingContext,
2230        indx: u32,
2231        values: &::js_sys::Float32Array,
2232    );
2233    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
2234    #[doc = "The `vertexAttrib4fv()` method."]
2235    #[doc = ""]
2236    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
2237    #[doc = ""]
2238    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2239    pub fn vertex_attrib4fv_with_f32_sequence(
2240        this: &WebGlRenderingContext,
2241        indx: u32,
2242        values: &::wasm_bindgen::JsValue,
2243    );
2244    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer)]
2245    #[doc = "The `vertexAttribPointer()` method."]
2246    #[doc = ""]
2247    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)"]
2248    #[doc = ""]
2249    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2250    pub fn vertex_attrib_pointer_with_i32(
2251        this: &WebGlRenderingContext,
2252        indx: u32,
2253        size: i32,
2254        type_: u32,
2255        normalized: bool,
2256        stride: i32,
2257        offset: i32,
2258    );
2259    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer)]
2260    #[doc = "The `vertexAttribPointer()` method."]
2261    #[doc = ""]
2262    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)"]
2263    #[doc = ""]
2264    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2265    pub fn vertex_attrib_pointer_with_f64(
2266        this: &WebGlRenderingContext,
2267        indx: u32,
2268        size: i32,
2269        type_: u32,
2270        normalized: bool,
2271        stride: i32,
2272        offset: f64,
2273    );
2274    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = viewport)]
2275    #[doc = "The `viewport()` method."]
2276    #[doc = ""]
2277    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/viewport)"]
2278    #[doc = ""]
2279    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2280    pub fn viewport(this: &WebGlRenderingContext, x: i32, y: i32, width: i32, height: i32);
2281}
2282impl WebGlRenderingContext {
2283    #[doc = "The `WebGLRenderingContext.DEPTH_BUFFER_BIT` const."]
2284    #[doc = ""]
2285    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2286    pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
2287    #[doc = "The `WebGLRenderingContext.STENCIL_BUFFER_BIT` const."]
2288    #[doc = ""]
2289    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2290    pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
2291    #[doc = "The `WebGLRenderingContext.COLOR_BUFFER_BIT` const."]
2292    #[doc = ""]
2293    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2294    pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
2295    #[doc = "The `WebGLRenderingContext.POINTS` const."]
2296    #[doc = ""]
2297    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2298    pub const POINTS: u32 = 0u64 as u32;
2299    #[doc = "The `WebGLRenderingContext.LINES` const."]
2300    #[doc = ""]
2301    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2302    pub const LINES: u32 = 1u64 as u32;
2303    #[doc = "The `WebGLRenderingContext.LINE_LOOP` const."]
2304    #[doc = ""]
2305    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2306    pub const LINE_LOOP: u32 = 2u64 as u32;
2307    #[doc = "The `WebGLRenderingContext.LINE_STRIP` const."]
2308    #[doc = ""]
2309    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2310    pub const LINE_STRIP: u32 = 3u64 as u32;
2311    #[doc = "The `WebGLRenderingContext.TRIANGLES` const."]
2312    #[doc = ""]
2313    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2314    pub const TRIANGLES: u32 = 4u64 as u32;
2315    #[doc = "The `WebGLRenderingContext.TRIANGLE_STRIP` const."]
2316    #[doc = ""]
2317    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2318    pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
2319    #[doc = "The `WebGLRenderingContext.TRIANGLE_FAN` const."]
2320    #[doc = ""]
2321    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2322    pub const TRIANGLE_FAN: u32 = 6u64 as u32;
2323    #[doc = "The `WebGLRenderingContext.ZERO` const."]
2324    #[doc = ""]
2325    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2326    pub const ZERO: u32 = 0i64 as u32;
2327    #[doc = "The `WebGLRenderingContext.ONE` const."]
2328    #[doc = ""]
2329    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2330    pub const ONE: u32 = 1u64 as u32;
2331    #[doc = "The `WebGLRenderingContext.SRC_COLOR` const."]
2332    #[doc = ""]
2333    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2334    pub const SRC_COLOR: u32 = 768u64 as u32;
2335    #[doc = "The `WebGLRenderingContext.ONE_MINUS_SRC_COLOR` const."]
2336    #[doc = ""]
2337    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2338    pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
2339    #[doc = "The `WebGLRenderingContext.SRC_ALPHA` const."]
2340    #[doc = ""]
2341    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2342    pub const SRC_ALPHA: u32 = 770u64 as u32;
2343    #[doc = "The `WebGLRenderingContext.ONE_MINUS_SRC_ALPHA` const."]
2344    #[doc = ""]
2345    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2346    pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
2347    #[doc = "The `WebGLRenderingContext.DST_ALPHA` const."]
2348    #[doc = ""]
2349    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2350    pub const DST_ALPHA: u32 = 772u64 as u32;
2351    #[doc = "The `WebGLRenderingContext.ONE_MINUS_DST_ALPHA` const."]
2352    #[doc = ""]
2353    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2354    pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
2355    #[doc = "The `WebGLRenderingContext.DST_COLOR` const."]
2356    #[doc = ""]
2357    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2358    pub const DST_COLOR: u32 = 774u64 as u32;
2359    #[doc = "The `WebGLRenderingContext.ONE_MINUS_DST_COLOR` const."]
2360    #[doc = ""]
2361    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2362    pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
2363    #[doc = "The `WebGLRenderingContext.SRC_ALPHA_SATURATE` const."]
2364    #[doc = ""]
2365    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2366    pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
2367    #[doc = "The `WebGLRenderingContext.FUNC_ADD` const."]
2368    #[doc = ""]
2369    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2370    pub const FUNC_ADD: u32 = 32774u64 as u32;
2371    #[doc = "The `WebGLRenderingContext.BLEND_EQUATION` const."]
2372    #[doc = ""]
2373    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2374    pub const BLEND_EQUATION: u32 = 32777u64 as u32;
2375    #[doc = "The `WebGLRenderingContext.BLEND_EQUATION_RGB` const."]
2376    #[doc = ""]
2377    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2378    pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
2379    #[doc = "The `WebGLRenderingContext.BLEND_EQUATION_ALPHA` const."]
2380    #[doc = ""]
2381    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2382    pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
2383    #[doc = "The `WebGLRenderingContext.FUNC_SUBTRACT` const."]
2384    #[doc = ""]
2385    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2386    pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
2387    #[doc = "The `WebGLRenderingContext.FUNC_REVERSE_SUBTRACT` const."]
2388    #[doc = ""]
2389    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2390    pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
2391    #[doc = "The `WebGLRenderingContext.BLEND_DST_RGB` const."]
2392    #[doc = ""]
2393    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2394    pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
2395    #[doc = "The `WebGLRenderingContext.BLEND_SRC_RGB` const."]
2396    #[doc = ""]
2397    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2398    pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
2399    #[doc = "The `WebGLRenderingContext.BLEND_DST_ALPHA` const."]
2400    #[doc = ""]
2401    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2402    pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
2403    #[doc = "The `WebGLRenderingContext.BLEND_SRC_ALPHA` const."]
2404    #[doc = ""]
2405    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2406    pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
2407    #[doc = "The `WebGLRenderingContext.CONSTANT_COLOR` const."]
2408    #[doc = ""]
2409    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2410    pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
2411    #[doc = "The `WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
2412    #[doc = ""]
2413    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2414    pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
2415    #[doc = "The `WebGLRenderingContext.CONSTANT_ALPHA` const."]
2416    #[doc = ""]
2417    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2418    pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
2419    #[doc = "The `WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
2420    #[doc = ""]
2421    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2422    pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
2423    #[doc = "The `WebGLRenderingContext.BLEND_COLOR` const."]
2424    #[doc = ""]
2425    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2426    pub const BLEND_COLOR: u32 = 32773u64 as u32;
2427    #[doc = "The `WebGLRenderingContext.ARRAY_BUFFER` const."]
2428    #[doc = ""]
2429    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2430    pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
2431    #[doc = "The `WebGLRenderingContext.ELEMENT_ARRAY_BUFFER` const."]
2432    #[doc = ""]
2433    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2434    pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
2435    #[doc = "The `WebGLRenderingContext.ARRAY_BUFFER_BINDING` const."]
2436    #[doc = ""]
2437    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2438    pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
2439    #[doc = "The `WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
2440    #[doc = ""]
2441    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2442    pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
2443    #[doc = "The `WebGLRenderingContext.STREAM_DRAW` const."]
2444    #[doc = ""]
2445    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2446    pub const STREAM_DRAW: u32 = 35040u64 as u32;
2447    #[doc = "The `WebGLRenderingContext.STATIC_DRAW` const."]
2448    #[doc = ""]
2449    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2450    pub const STATIC_DRAW: u32 = 35044u64 as u32;
2451    #[doc = "The `WebGLRenderingContext.DYNAMIC_DRAW` const."]
2452    #[doc = ""]
2453    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2454    pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
2455    #[doc = "The `WebGLRenderingContext.BUFFER_SIZE` const."]
2456    #[doc = ""]
2457    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2458    pub const BUFFER_SIZE: u32 = 34660u64 as u32;
2459    #[doc = "The `WebGLRenderingContext.BUFFER_USAGE` const."]
2460    #[doc = ""]
2461    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2462    pub const BUFFER_USAGE: u32 = 34661u64 as u32;
2463    #[doc = "The `WebGLRenderingContext.CURRENT_VERTEX_ATTRIB` const."]
2464    #[doc = ""]
2465    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2466    pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
2467    #[doc = "The `WebGLRenderingContext.FRONT` const."]
2468    #[doc = ""]
2469    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2470    pub const FRONT: u32 = 1028u64 as u32;
2471    #[doc = "The `WebGLRenderingContext.BACK` const."]
2472    #[doc = ""]
2473    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2474    pub const BACK: u32 = 1029u64 as u32;
2475    #[doc = "The `WebGLRenderingContext.FRONT_AND_BACK` const."]
2476    #[doc = ""]
2477    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2478    pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
2479    #[doc = "The `WebGLRenderingContext.CULL_FACE` const."]
2480    #[doc = ""]
2481    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2482    pub const CULL_FACE: u32 = 2884u64 as u32;
2483    #[doc = "The `WebGLRenderingContext.BLEND` const."]
2484    #[doc = ""]
2485    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2486    pub const BLEND: u32 = 3042u64 as u32;
2487    #[doc = "The `WebGLRenderingContext.DITHER` const."]
2488    #[doc = ""]
2489    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2490    pub const DITHER: u32 = 3024u64 as u32;
2491    #[doc = "The `WebGLRenderingContext.STENCIL_TEST` const."]
2492    #[doc = ""]
2493    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2494    pub const STENCIL_TEST: u32 = 2960u64 as u32;
2495    #[doc = "The `WebGLRenderingContext.DEPTH_TEST` const."]
2496    #[doc = ""]
2497    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2498    pub const DEPTH_TEST: u32 = 2929u64 as u32;
2499    #[doc = "The `WebGLRenderingContext.SCISSOR_TEST` const."]
2500    #[doc = ""]
2501    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2502    pub const SCISSOR_TEST: u32 = 3089u64 as u32;
2503    #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_FILL` const."]
2504    #[doc = ""]
2505    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2506    pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
2507    #[doc = "The `WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
2508    #[doc = ""]
2509    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2510    pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
2511    #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE` const."]
2512    #[doc = ""]
2513    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2514    pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
2515    #[doc = "The `WebGLRenderingContext.NO_ERROR` const."]
2516    #[doc = ""]
2517    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2518    pub const NO_ERROR: u32 = 0i64 as u32;
2519    #[doc = "The `WebGLRenderingContext.INVALID_ENUM` const."]
2520    #[doc = ""]
2521    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2522    pub const INVALID_ENUM: u32 = 1280u64 as u32;
2523    #[doc = "The `WebGLRenderingContext.INVALID_VALUE` const."]
2524    #[doc = ""]
2525    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2526    pub const INVALID_VALUE: u32 = 1281u64 as u32;
2527    #[doc = "The `WebGLRenderingContext.INVALID_OPERATION` const."]
2528    #[doc = ""]
2529    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2530    pub const INVALID_OPERATION: u32 = 1282u64 as u32;
2531    #[doc = "The `WebGLRenderingContext.OUT_OF_MEMORY` const."]
2532    #[doc = ""]
2533    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2534    pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
2535    #[doc = "The `WebGLRenderingContext.CW` const."]
2536    #[doc = ""]
2537    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2538    pub const CW: u32 = 2304u64 as u32;
2539    #[doc = "The `WebGLRenderingContext.CCW` const."]
2540    #[doc = ""]
2541    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2542    pub const CCW: u32 = 2305u64 as u32;
2543    #[doc = "The `WebGLRenderingContext.LINE_WIDTH` const."]
2544    #[doc = ""]
2545    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2546    pub const LINE_WIDTH: u32 = 2849u64 as u32;
2547    #[doc = "The `WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
2548    #[doc = ""]
2549    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2550    pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
2551    #[doc = "The `WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
2552    #[doc = ""]
2553    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2554    pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
2555    #[doc = "The `WebGLRenderingContext.CULL_FACE_MODE` const."]
2556    #[doc = ""]
2557    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2558    pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
2559    #[doc = "The `WebGLRenderingContext.FRONT_FACE` const."]
2560    #[doc = ""]
2561    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2562    pub const FRONT_FACE: u32 = 2886u64 as u32;
2563    #[doc = "The `WebGLRenderingContext.DEPTH_RANGE` const."]
2564    #[doc = ""]
2565    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2566    pub const DEPTH_RANGE: u32 = 2928u64 as u32;
2567    #[doc = "The `WebGLRenderingContext.DEPTH_WRITEMASK` const."]
2568    #[doc = ""]
2569    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2570    pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
2571    #[doc = "The `WebGLRenderingContext.DEPTH_CLEAR_VALUE` const."]
2572    #[doc = ""]
2573    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2574    pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
2575    #[doc = "The `WebGLRenderingContext.DEPTH_FUNC` const."]
2576    #[doc = ""]
2577    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2578    pub const DEPTH_FUNC: u32 = 2932u64 as u32;
2579    #[doc = "The `WebGLRenderingContext.STENCIL_CLEAR_VALUE` const."]
2580    #[doc = ""]
2581    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2582    pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
2583    #[doc = "The `WebGLRenderingContext.STENCIL_FUNC` const."]
2584    #[doc = ""]
2585    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2586    pub const STENCIL_FUNC: u32 = 2962u64 as u32;
2587    #[doc = "The `WebGLRenderingContext.STENCIL_FAIL` const."]
2588    #[doc = ""]
2589    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2590    pub const STENCIL_FAIL: u32 = 2964u64 as u32;
2591    #[doc = "The `WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
2592    #[doc = ""]
2593    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2594    pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
2595    #[doc = "The `WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
2596    #[doc = ""]
2597    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2598    pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
2599    #[doc = "The `WebGLRenderingContext.STENCIL_REF` const."]
2600    #[doc = ""]
2601    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2602    pub const STENCIL_REF: u32 = 2967u64 as u32;
2603    #[doc = "The `WebGLRenderingContext.STENCIL_VALUE_MASK` const."]
2604    #[doc = ""]
2605    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2606    pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
2607    #[doc = "The `WebGLRenderingContext.STENCIL_WRITEMASK` const."]
2608    #[doc = ""]
2609    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2610    pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
2611    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_FUNC` const."]
2612    #[doc = ""]
2613    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2614    pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
2615    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_FAIL` const."]
2616    #[doc = ""]
2617    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2618    pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
2619    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
2620    #[doc = ""]
2621    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2622    pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
2623    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
2624    #[doc = ""]
2625    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2626    pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
2627    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_REF` const."]
2628    #[doc = ""]
2629    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2630    pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
2631    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_VALUE_MASK` const."]
2632    #[doc = ""]
2633    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2634    pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
2635    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_WRITEMASK` const."]
2636    #[doc = ""]
2637    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2638    pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
2639    #[doc = "The `WebGLRenderingContext.VIEWPORT` const."]
2640    #[doc = ""]
2641    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2642    pub const VIEWPORT: u32 = 2978u64 as u32;
2643    #[doc = "The `WebGLRenderingContext.SCISSOR_BOX` const."]
2644    #[doc = ""]
2645    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2646    pub const SCISSOR_BOX: u32 = 3088u64 as u32;
2647    #[doc = "The `WebGLRenderingContext.COLOR_CLEAR_VALUE` const."]
2648    #[doc = ""]
2649    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2650    pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
2651    #[doc = "The `WebGLRenderingContext.COLOR_WRITEMASK` const."]
2652    #[doc = ""]
2653    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2654    pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
2655    #[doc = "The `WebGLRenderingContext.UNPACK_ALIGNMENT` const."]
2656    #[doc = ""]
2657    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2658    pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
2659    #[doc = "The `WebGLRenderingContext.PACK_ALIGNMENT` const."]
2660    #[doc = ""]
2661    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2662    pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
2663    #[doc = "The `WebGLRenderingContext.MAX_TEXTURE_SIZE` const."]
2664    #[doc = ""]
2665    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2666    pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
2667    #[doc = "The `WebGLRenderingContext.MAX_VIEWPORT_DIMS` const."]
2668    #[doc = ""]
2669    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2670    pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
2671    #[doc = "The `WebGLRenderingContext.SUBPIXEL_BITS` const."]
2672    #[doc = ""]
2673    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2674    pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
2675    #[doc = "The `WebGLRenderingContext.RED_BITS` const."]
2676    #[doc = ""]
2677    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2678    pub const RED_BITS: u32 = 3410u64 as u32;
2679    #[doc = "The `WebGLRenderingContext.GREEN_BITS` const."]
2680    #[doc = ""]
2681    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2682    pub const GREEN_BITS: u32 = 3411u64 as u32;
2683    #[doc = "The `WebGLRenderingContext.BLUE_BITS` const."]
2684    #[doc = ""]
2685    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2686    pub const BLUE_BITS: u32 = 3412u64 as u32;
2687    #[doc = "The `WebGLRenderingContext.ALPHA_BITS` const."]
2688    #[doc = ""]
2689    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2690    pub const ALPHA_BITS: u32 = 3413u64 as u32;
2691    #[doc = "The `WebGLRenderingContext.DEPTH_BITS` const."]
2692    #[doc = ""]
2693    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2694    pub const DEPTH_BITS: u32 = 3414u64 as u32;
2695    #[doc = "The `WebGLRenderingContext.STENCIL_BITS` const."]
2696    #[doc = ""]
2697    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2698    pub const STENCIL_BITS: u32 = 3415u64 as u32;
2699    #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_UNITS` const."]
2700    #[doc = ""]
2701    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2702    pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
2703    #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_FACTOR` const."]
2704    #[doc = ""]
2705    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2706    pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
2707    #[doc = "The `WebGLRenderingContext.TEXTURE_BINDING_2D` const."]
2708    #[doc = ""]
2709    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2710    pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
2711    #[doc = "The `WebGLRenderingContext.SAMPLE_BUFFERS` const."]
2712    #[doc = ""]
2713    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2714    pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
2715    #[doc = "The `WebGLRenderingContext.SAMPLES` const."]
2716    #[doc = ""]
2717    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2718    pub const SAMPLES: u32 = 32937u64 as u32;
2719    #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE_VALUE` const."]
2720    #[doc = ""]
2721    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2722    pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
2723    #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE_INVERT` const."]
2724    #[doc = ""]
2725    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2726    pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
2727    #[doc = "The `WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
2728    #[doc = ""]
2729    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2730    pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
2731    #[doc = "The `WebGLRenderingContext.DONT_CARE` const."]
2732    #[doc = ""]
2733    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2734    pub const DONT_CARE: u32 = 4352u64 as u32;
2735    #[doc = "The `WebGLRenderingContext.FASTEST` const."]
2736    #[doc = ""]
2737    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2738    pub const FASTEST: u32 = 4353u64 as u32;
2739    #[doc = "The `WebGLRenderingContext.NICEST` const."]
2740    #[doc = ""]
2741    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2742    pub const NICEST: u32 = 4354u64 as u32;
2743    #[doc = "The `WebGLRenderingContext.GENERATE_MIPMAP_HINT` const."]
2744    #[doc = ""]
2745    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2746    pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
2747    #[doc = "The `WebGLRenderingContext.BYTE` const."]
2748    #[doc = ""]
2749    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2750    pub const BYTE: u32 = 5120u64 as u32;
2751    #[doc = "The `WebGLRenderingContext.UNSIGNED_BYTE` const."]
2752    #[doc = ""]
2753    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2754    pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
2755    #[doc = "The `WebGLRenderingContext.SHORT` const."]
2756    #[doc = ""]
2757    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2758    pub const SHORT: u32 = 5122u64 as u32;
2759    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT` const."]
2760    #[doc = ""]
2761    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2762    pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
2763    #[doc = "The `WebGLRenderingContext.INT` const."]
2764    #[doc = ""]
2765    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2766    pub const INT: u32 = 5124u64 as u32;
2767    #[doc = "The `WebGLRenderingContext.UNSIGNED_INT` const."]
2768    #[doc = ""]
2769    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2770    pub const UNSIGNED_INT: u32 = 5125u64 as u32;
2771    #[doc = "The `WebGLRenderingContext.FLOAT` const."]
2772    #[doc = ""]
2773    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2774    pub const FLOAT: u32 = 5126u64 as u32;
2775    #[doc = "The `WebGLRenderingContext.DEPTH_COMPONENT` const."]
2776    #[doc = ""]
2777    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2778    pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
2779    #[doc = "The `WebGLRenderingContext.ALPHA` const."]
2780    #[doc = ""]
2781    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2782    pub const ALPHA: u32 = 6406u64 as u32;
2783    #[doc = "The `WebGLRenderingContext.RGB` const."]
2784    #[doc = ""]
2785    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2786    pub const RGB: u32 = 6407u64 as u32;
2787    #[doc = "The `WebGLRenderingContext.RGBA` const."]
2788    #[doc = ""]
2789    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2790    pub const RGBA: u32 = 6408u64 as u32;
2791    #[doc = "The `WebGLRenderingContext.LUMINANCE` const."]
2792    #[doc = ""]
2793    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2794    pub const LUMINANCE: u32 = 6409u64 as u32;
2795    #[doc = "The `WebGLRenderingContext.LUMINANCE_ALPHA` const."]
2796    #[doc = ""]
2797    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2798    pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
2799    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
2800    #[doc = ""]
2801    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2802    pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
2803    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
2804    #[doc = ""]
2805    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2806    pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
2807    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_5_6_5` const."]
2808    #[doc = ""]
2809    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2810    pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
2811    #[doc = "The `WebGLRenderingContext.FRAGMENT_SHADER` const."]
2812    #[doc = ""]
2813    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2814    pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
2815    #[doc = "The `WebGLRenderingContext.VERTEX_SHADER` const."]
2816    #[doc = ""]
2817    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2818    pub const VERTEX_SHADER: u32 = 35633u64 as u32;
2819    #[doc = "The `WebGLRenderingContext.MAX_VERTEX_ATTRIBS` const."]
2820    #[doc = ""]
2821    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2822    pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
2823    #[doc = "The `WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
2824    #[doc = ""]
2825    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2826    pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
2827    #[doc = "The `WebGLRenderingContext.MAX_VARYING_VECTORS` const."]
2828    #[doc = ""]
2829    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2830    pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
2831    #[doc = "The `WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
2832    #[doc = ""]
2833    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2834    pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
2835    #[doc = "The `WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
2836    #[doc = ""]
2837    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2838    pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
2839    #[doc = "The `WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
2840    #[doc = ""]
2841    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2842    pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
2843    #[doc = "The `WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
2844    #[doc = ""]
2845    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2846    pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
2847    #[doc = "The `WebGLRenderingContext.SHADER_TYPE` const."]
2848    #[doc = ""]
2849    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2850    pub const SHADER_TYPE: u32 = 35663u64 as u32;
2851    #[doc = "The `WebGLRenderingContext.DELETE_STATUS` const."]
2852    #[doc = ""]
2853    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2854    pub const DELETE_STATUS: u32 = 35712u64 as u32;
2855    #[doc = "The `WebGLRenderingContext.LINK_STATUS` const."]
2856    #[doc = ""]
2857    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2858    pub const LINK_STATUS: u32 = 35714u64 as u32;
2859    #[doc = "The `WebGLRenderingContext.VALIDATE_STATUS` const."]
2860    #[doc = ""]
2861    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2862    pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
2863    #[doc = "The `WebGLRenderingContext.ATTACHED_SHADERS` const."]
2864    #[doc = ""]
2865    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2866    pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
2867    #[doc = "The `WebGLRenderingContext.ACTIVE_UNIFORMS` const."]
2868    #[doc = ""]
2869    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2870    pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
2871    #[doc = "The `WebGLRenderingContext.ACTIVE_ATTRIBUTES` const."]
2872    #[doc = ""]
2873    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2874    pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
2875    #[doc = "The `WebGLRenderingContext.SHADING_LANGUAGE_VERSION` const."]
2876    #[doc = ""]
2877    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2878    pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
2879    #[doc = "The `WebGLRenderingContext.CURRENT_PROGRAM` const."]
2880    #[doc = ""]
2881    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2882    pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
2883    #[doc = "The `WebGLRenderingContext.NEVER` const."]
2884    #[doc = ""]
2885    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2886    pub const NEVER: u32 = 512u64 as u32;
2887    #[doc = "The `WebGLRenderingContext.LESS` const."]
2888    #[doc = ""]
2889    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2890    pub const LESS: u32 = 513u64 as u32;
2891    #[doc = "The `WebGLRenderingContext.EQUAL` const."]
2892    #[doc = ""]
2893    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2894    pub const EQUAL: u32 = 514u64 as u32;
2895    #[doc = "The `WebGLRenderingContext.LEQUAL` const."]
2896    #[doc = ""]
2897    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2898    pub const LEQUAL: u32 = 515u64 as u32;
2899    #[doc = "The `WebGLRenderingContext.GREATER` const."]
2900    #[doc = ""]
2901    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2902    pub const GREATER: u32 = 516u64 as u32;
2903    #[doc = "The `WebGLRenderingContext.NOTEQUAL` const."]
2904    #[doc = ""]
2905    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2906    pub const NOTEQUAL: u32 = 517u64 as u32;
2907    #[doc = "The `WebGLRenderingContext.GEQUAL` const."]
2908    #[doc = ""]
2909    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2910    pub const GEQUAL: u32 = 518u64 as u32;
2911    #[doc = "The `WebGLRenderingContext.ALWAYS` const."]
2912    #[doc = ""]
2913    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2914    pub const ALWAYS: u32 = 519u64 as u32;
2915    #[doc = "The `WebGLRenderingContext.KEEP` const."]
2916    #[doc = ""]
2917    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2918    pub const KEEP: u32 = 7680u64 as u32;
2919    #[doc = "The `WebGLRenderingContext.REPLACE` const."]
2920    #[doc = ""]
2921    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2922    pub const REPLACE: u32 = 7681u64 as u32;
2923    #[doc = "The `WebGLRenderingContext.INCR` const."]
2924    #[doc = ""]
2925    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2926    pub const INCR: u32 = 7682u64 as u32;
2927    #[doc = "The `WebGLRenderingContext.DECR` const."]
2928    #[doc = ""]
2929    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2930    pub const DECR: u32 = 7683u64 as u32;
2931    #[doc = "The `WebGLRenderingContext.INVERT` const."]
2932    #[doc = ""]
2933    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2934    pub const INVERT: u32 = 5386u64 as u32;
2935    #[doc = "The `WebGLRenderingContext.INCR_WRAP` const."]
2936    #[doc = ""]
2937    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2938    pub const INCR_WRAP: u32 = 34055u64 as u32;
2939    #[doc = "The `WebGLRenderingContext.DECR_WRAP` const."]
2940    #[doc = ""]
2941    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2942    pub const DECR_WRAP: u32 = 34056u64 as u32;
2943    #[doc = "The `WebGLRenderingContext.VENDOR` const."]
2944    #[doc = ""]
2945    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2946    pub const VENDOR: u32 = 7936u64 as u32;
2947    #[doc = "The `WebGLRenderingContext.RENDERER` const."]
2948    #[doc = ""]
2949    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2950    pub const RENDERER: u32 = 7937u64 as u32;
2951    #[doc = "The `WebGLRenderingContext.VERSION` const."]
2952    #[doc = ""]
2953    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2954    pub const VERSION: u32 = 7938u64 as u32;
2955    #[doc = "The `WebGLRenderingContext.NEAREST` const."]
2956    #[doc = ""]
2957    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2958    pub const NEAREST: u32 = 9728u64 as u32;
2959    #[doc = "The `WebGLRenderingContext.LINEAR` const."]
2960    #[doc = ""]
2961    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2962    pub const LINEAR: u32 = 9729u64 as u32;
2963    #[doc = "The `WebGLRenderingContext.NEAREST_MIPMAP_NEAREST` const."]
2964    #[doc = ""]
2965    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2966    pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
2967    #[doc = "The `WebGLRenderingContext.LINEAR_MIPMAP_NEAREST` const."]
2968    #[doc = ""]
2969    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2970    pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
2971    #[doc = "The `WebGLRenderingContext.NEAREST_MIPMAP_LINEAR` const."]
2972    #[doc = ""]
2973    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2974    pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
2975    #[doc = "The `WebGLRenderingContext.LINEAR_MIPMAP_LINEAR` const."]
2976    #[doc = ""]
2977    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2978    pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
2979    #[doc = "The `WebGLRenderingContext.TEXTURE_MAG_FILTER` const."]
2980    #[doc = ""]
2981    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2982    pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
2983    #[doc = "The `WebGLRenderingContext.TEXTURE_MIN_FILTER` const."]
2984    #[doc = ""]
2985    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2986    pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
2987    #[doc = "The `WebGLRenderingContext.TEXTURE_WRAP_S` const."]
2988    #[doc = ""]
2989    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2990    pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
2991    #[doc = "The `WebGLRenderingContext.TEXTURE_WRAP_T` const."]
2992    #[doc = ""]
2993    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2994    pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
2995    #[doc = "The `WebGLRenderingContext.TEXTURE_2D` const."]
2996    #[doc = ""]
2997    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2998    pub const TEXTURE_2D: u32 = 3553u64 as u32;
2999    #[doc = "The `WebGLRenderingContext.TEXTURE` const."]
3000    #[doc = ""]
3001    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3002    pub const TEXTURE: u32 = 5890u64 as u32;
3003    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP` const."]
3004    #[doc = ""]
3005    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3006    pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
3007    #[doc = "The `WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
3008    #[doc = ""]
3009    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3010    pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
3011    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
3012    #[doc = ""]
3013    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3014    pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
3015    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
3016    #[doc = ""]
3017    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3018    pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
3019    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
3020    #[doc = ""]
3021    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3022    pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
3023    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
3024    #[doc = ""]
3025    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3026    pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
3027    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
3028    #[doc = ""]
3029    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3030    pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
3031    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
3032    #[doc = ""]
3033    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3034    pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
3035    #[doc = "The `WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
3036    #[doc = ""]
3037    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3038    pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
3039    #[doc = "The `WebGLRenderingContext.TEXTURE0` const."]
3040    #[doc = ""]
3041    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3042    pub const TEXTURE0: u32 = 33984u64 as u32;
3043    #[doc = "The `WebGLRenderingContext.TEXTURE1` const."]
3044    #[doc = ""]
3045    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3046    pub const TEXTURE1: u32 = 33985u64 as u32;
3047    #[doc = "The `WebGLRenderingContext.TEXTURE2` const."]
3048    #[doc = ""]
3049    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3050    pub const TEXTURE2: u32 = 33986u64 as u32;
3051    #[doc = "The `WebGLRenderingContext.TEXTURE3` const."]
3052    #[doc = ""]
3053    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3054    pub const TEXTURE3: u32 = 33987u64 as u32;
3055    #[doc = "The `WebGLRenderingContext.TEXTURE4` const."]
3056    #[doc = ""]
3057    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3058    pub const TEXTURE4: u32 = 33988u64 as u32;
3059    #[doc = "The `WebGLRenderingContext.TEXTURE5` const."]
3060    #[doc = ""]
3061    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3062    pub const TEXTURE5: u32 = 33989u64 as u32;
3063    #[doc = "The `WebGLRenderingContext.TEXTURE6` const."]
3064    #[doc = ""]
3065    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3066    pub const TEXTURE6: u32 = 33990u64 as u32;
3067    #[doc = "The `WebGLRenderingContext.TEXTURE7` const."]
3068    #[doc = ""]
3069    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3070    pub const TEXTURE7: u32 = 33991u64 as u32;
3071    #[doc = "The `WebGLRenderingContext.TEXTURE8` const."]
3072    #[doc = ""]
3073    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3074    pub const TEXTURE8: u32 = 33992u64 as u32;
3075    #[doc = "The `WebGLRenderingContext.TEXTURE9` const."]
3076    #[doc = ""]
3077    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3078    pub const TEXTURE9: u32 = 33993u64 as u32;
3079    #[doc = "The `WebGLRenderingContext.TEXTURE10` const."]
3080    #[doc = ""]
3081    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3082    pub const TEXTURE10: u32 = 33994u64 as u32;
3083    #[doc = "The `WebGLRenderingContext.TEXTURE11` const."]
3084    #[doc = ""]
3085    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3086    pub const TEXTURE11: u32 = 33995u64 as u32;
3087    #[doc = "The `WebGLRenderingContext.TEXTURE12` const."]
3088    #[doc = ""]
3089    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3090    pub const TEXTURE12: u32 = 33996u64 as u32;
3091    #[doc = "The `WebGLRenderingContext.TEXTURE13` const."]
3092    #[doc = ""]
3093    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3094    pub const TEXTURE13: u32 = 33997u64 as u32;
3095    #[doc = "The `WebGLRenderingContext.TEXTURE14` const."]
3096    #[doc = ""]
3097    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3098    pub const TEXTURE14: u32 = 33998u64 as u32;
3099    #[doc = "The `WebGLRenderingContext.TEXTURE15` const."]
3100    #[doc = ""]
3101    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3102    pub const TEXTURE15: u32 = 33999u64 as u32;
3103    #[doc = "The `WebGLRenderingContext.TEXTURE16` const."]
3104    #[doc = ""]
3105    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3106    pub const TEXTURE16: u32 = 34000u64 as u32;
3107    #[doc = "The `WebGLRenderingContext.TEXTURE17` const."]
3108    #[doc = ""]
3109    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3110    pub const TEXTURE17: u32 = 34001u64 as u32;
3111    #[doc = "The `WebGLRenderingContext.TEXTURE18` const."]
3112    #[doc = ""]
3113    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3114    pub const TEXTURE18: u32 = 34002u64 as u32;
3115    #[doc = "The `WebGLRenderingContext.TEXTURE19` const."]
3116    #[doc = ""]
3117    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3118    pub const TEXTURE19: u32 = 34003u64 as u32;
3119    #[doc = "The `WebGLRenderingContext.TEXTURE20` const."]
3120    #[doc = ""]
3121    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3122    pub const TEXTURE20: u32 = 34004u64 as u32;
3123    #[doc = "The `WebGLRenderingContext.TEXTURE21` const."]
3124    #[doc = ""]
3125    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3126    pub const TEXTURE21: u32 = 34005u64 as u32;
3127    #[doc = "The `WebGLRenderingContext.TEXTURE22` const."]
3128    #[doc = ""]
3129    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3130    pub const TEXTURE22: u32 = 34006u64 as u32;
3131    #[doc = "The `WebGLRenderingContext.TEXTURE23` const."]
3132    #[doc = ""]
3133    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3134    pub const TEXTURE23: u32 = 34007u64 as u32;
3135    #[doc = "The `WebGLRenderingContext.TEXTURE24` const."]
3136    #[doc = ""]
3137    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3138    pub const TEXTURE24: u32 = 34008u64 as u32;
3139    #[doc = "The `WebGLRenderingContext.TEXTURE25` const."]
3140    #[doc = ""]
3141    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3142    pub const TEXTURE25: u32 = 34009u64 as u32;
3143    #[doc = "The `WebGLRenderingContext.TEXTURE26` const."]
3144    #[doc = ""]
3145    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3146    pub const TEXTURE26: u32 = 34010u64 as u32;
3147    #[doc = "The `WebGLRenderingContext.TEXTURE27` const."]
3148    #[doc = ""]
3149    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3150    pub const TEXTURE27: u32 = 34011u64 as u32;
3151    #[doc = "The `WebGLRenderingContext.TEXTURE28` const."]
3152    #[doc = ""]
3153    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3154    pub const TEXTURE28: u32 = 34012u64 as u32;
3155    #[doc = "The `WebGLRenderingContext.TEXTURE29` const."]
3156    #[doc = ""]
3157    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3158    pub const TEXTURE29: u32 = 34013u64 as u32;
3159    #[doc = "The `WebGLRenderingContext.TEXTURE30` const."]
3160    #[doc = ""]
3161    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3162    pub const TEXTURE30: u32 = 34014u64 as u32;
3163    #[doc = "The `WebGLRenderingContext.TEXTURE31` const."]
3164    #[doc = ""]
3165    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3166    pub const TEXTURE31: u32 = 34015u64 as u32;
3167    #[doc = "The `WebGLRenderingContext.ACTIVE_TEXTURE` const."]
3168    #[doc = ""]
3169    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3170    pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
3171    #[doc = "The `WebGLRenderingContext.REPEAT` const."]
3172    #[doc = ""]
3173    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3174    pub const REPEAT: u32 = 10497u64 as u32;
3175    #[doc = "The `WebGLRenderingContext.CLAMP_TO_EDGE` const."]
3176    #[doc = ""]
3177    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3178    pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
3179    #[doc = "The `WebGLRenderingContext.MIRRORED_REPEAT` const."]
3180    #[doc = ""]
3181    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3182    pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
3183    #[doc = "The `WebGLRenderingContext.FLOAT_VEC2` const."]
3184    #[doc = ""]
3185    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3186    pub const FLOAT_VEC2: u32 = 35664u64 as u32;
3187    #[doc = "The `WebGLRenderingContext.FLOAT_VEC3` const."]
3188    #[doc = ""]
3189    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3190    pub const FLOAT_VEC3: u32 = 35665u64 as u32;
3191    #[doc = "The `WebGLRenderingContext.FLOAT_VEC4` const."]
3192    #[doc = ""]
3193    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3194    pub const FLOAT_VEC4: u32 = 35666u64 as u32;
3195    #[doc = "The `WebGLRenderingContext.INT_VEC2` const."]
3196    #[doc = ""]
3197    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3198    pub const INT_VEC2: u32 = 35667u64 as u32;
3199    #[doc = "The `WebGLRenderingContext.INT_VEC3` const."]
3200    #[doc = ""]
3201    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3202    pub const INT_VEC3: u32 = 35668u64 as u32;
3203    #[doc = "The `WebGLRenderingContext.INT_VEC4` const."]
3204    #[doc = ""]
3205    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3206    pub const INT_VEC4: u32 = 35669u64 as u32;
3207    #[doc = "The `WebGLRenderingContext.BOOL` const."]
3208    #[doc = ""]
3209    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3210    pub const BOOL: u32 = 35670u64 as u32;
3211    #[doc = "The `WebGLRenderingContext.BOOL_VEC2` const."]
3212    #[doc = ""]
3213    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3214    pub const BOOL_VEC2: u32 = 35671u64 as u32;
3215    #[doc = "The `WebGLRenderingContext.BOOL_VEC3` const."]
3216    #[doc = ""]
3217    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3218    pub const BOOL_VEC3: u32 = 35672u64 as u32;
3219    #[doc = "The `WebGLRenderingContext.BOOL_VEC4` const."]
3220    #[doc = ""]
3221    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3222    pub const BOOL_VEC4: u32 = 35673u64 as u32;
3223    #[doc = "The `WebGLRenderingContext.FLOAT_MAT2` const."]
3224    #[doc = ""]
3225    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3226    pub const FLOAT_MAT2: u32 = 35674u64 as u32;
3227    #[doc = "The `WebGLRenderingContext.FLOAT_MAT3` const."]
3228    #[doc = ""]
3229    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3230    pub const FLOAT_MAT3: u32 = 35675u64 as u32;
3231    #[doc = "The `WebGLRenderingContext.FLOAT_MAT4` const."]
3232    #[doc = ""]
3233    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3234    pub const FLOAT_MAT4: u32 = 35676u64 as u32;
3235    #[doc = "The `WebGLRenderingContext.SAMPLER_2D` const."]
3236    #[doc = ""]
3237    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3238    pub const SAMPLER_2D: u32 = 35678u64 as u32;
3239    #[doc = "The `WebGLRenderingContext.SAMPLER_CUBE` const."]
3240    #[doc = ""]
3241    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3242    pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
3243    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
3244    #[doc = ""]
3245    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3246    pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
3247    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
3248    #[doc = ""]
3249    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3250    pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
3251    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
3252    #[doc = ""]
3253    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3254    pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
3255    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
3256    #[doc = ""]
3257    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3258    pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
3259    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
3260    #[doc = ""]
3261    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3262    pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
3263    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
3264    #[doc = ""]
3265    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3266    pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
3267    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
3268    #[doc = ""]
3269    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3270    pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
3271    #[doc = "The `WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
3272    #[doc = ""]
3273    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3274    pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
3275    #[doc = "The `WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
3276    #[doc = ""]
3277    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3278    pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
3279    #[doc = "The `WebGLRenderingContext.COMPILE_STATUS` const."]
3280    #[doc = ""]
3281    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3282    pub const COMPILE_STATUS: u32 = 35713u64 as u32;
3283    #[doc = "The `WebGLRenderingContext.LOW_FLOAT` const."]
3284    #[doc = ""]
3285    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3286    pub const LOW_FLOAT: u32 = 36336u64 as u32;
3287    #[doc = "The `WebGLRenderingContext.MEDIUM_FLOAT` const."]
3288    #[doc = ""]
3289    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3290    pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
3291    #[doc = "The `WebGLRenderingContext.HIGH_FLOAT` const."]
3292    #[doc = ""]
3293    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3294    pub const HIGH_FLOAT: u32 = 36338u64 as u32;
3295    #[doc = "The `WebGLRenderingContext.LOW_INT` const."]
3296    #[doc = ""]
3297    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3298    pub const LOW_INT: u32 = 36339u64 as u32;
3299    #[doc = "The `WebGLRenderingContext.MEDIUM_INT` const."]
3300    #[doc = ""]
3301    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3302    pub const MEDIUM_INT: u32 = 36340u64 as u32;
3303    #[doc = "The `WebGLRenderingContext.HIGH_INT` const."]
3304    #[doc = ""]
3305    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3306    pub const HIGH_INT: u32 = 36341u64 as u32;
3307    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER` const."]
3308    #[doc = ""]
3309    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3310    pub const FRAMEBUFFER: u32 = 36160u64 as u32;
3311    #[doc = "The `WebGLRenderingContext.RENDERBUFFER` const."]
3312    #[doc = ""]
3313    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3314    pub const RENDERBUFFER: u32 = 36161u64 as u32;
3315    #[doc = "The `WebGLRenderingContext.RGBA4` const."]
3316    #[doc = ""]
3317    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3318    pub const RGBA4: u32 = 32854u64 as u32;
3319    #[doc = "The `WebGLRenderingContext.RGB5_A1` const."]
3320    #[doc = ""]
3321    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3322    pub const RGB5_A1: u32 = 32855u64 as u32;
3323    #[doc = "The `WebGLRenderingContext.RGB565` const."]
3324    #[doc = ""]
3325    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3326    pub const RGB565: u32 = 36194u64 as u32;
3327    #[doc = "The `WebGLRenderingContext.DEPTH_COMPONENT16` const."]
3328    #[doc = ""]
3329    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3330    pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
3331    #[doc = "The `WebGLRenderingContext.STENCIL_INDEX8` const."]
3332    #[doc = ""]
3333    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3334    pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
3335    #[doc = "The `WebGLRenderingContext.DEPTH_STENCIL` const."]
3336    #[doc = ""]
3337    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3338    pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
3339    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_WIDTH` const."]
3340    #[doc = ""]
3341    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3342    pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
3343    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_HEIGHT` const."]
3344    #[doc = ""]
3345    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3346    pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
3347    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
3348    #[doc = ""]
3349    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3350    pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
3351    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_RED_SIZE` const."]
3352    #[doc = ""]
3353    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3354    pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
3355    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
3356    #[doc = ""]
3357    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3358    pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
3359    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
3360    #[doc = ""]
3361    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3362    pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
3363    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
3364    #[doc = ""]
3365    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3366    pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
3367    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
3368    #[doc = ""]
3369    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3370    pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
3371    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
3372    #[doc = ""]
3373    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3374    pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
3375    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
3376    #[doc = ""]
3377    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3378    pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
3379    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
3380    #[doc = ""]
3381    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3382    pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
3383    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
3384    #[doc = ""]
3385    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3386    pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
3387    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
3388    #[doc = ""]
3389    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3390    pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
3391    #[doc = "The `WebGLRenderingContext.COLOR_ATTACHMENT0` const."]
3392    #[doc = ""]
3393    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3394    pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
3395    #[doc = "The `WebGLRenderingContext.DEPTH_ATTACHMENT` const."]
3396    #[doc = ""]
3397    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3398    pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
3399    #[doc = "The `WebGLRenderingContext.STENCIL_ATTACHMENT` const."]
3400    #[doc = ""]
3401    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3402    pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
3403    #[doc = "The `WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
3404    #[doc = ""]
3405    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3406    pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
3407    #[doc = "The `WebGLRenderingContext.NONE` const."]
3408    #[doc = ""]
3409    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3410    pub const NONE: u32 = 0i64 as u32;
3411    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_COMPLETE` const."]
3412    #[doc = ""]
3413    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3414    pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
3415    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
3416    #[doc = ""]
3417    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3418    pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
3419    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
3420    #[doc = ""]
3421    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3422    pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
3423    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
3424    #[doc = ""]
3425    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3426    pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
3427    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
3428    #[doc = ""]
3429    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3430    pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
3431    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_BINDING` const."]
3432    #[doc = ""]
3433    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3434    pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
3435    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_BINDING` const."]
3436    #[doc = ""]
3437    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3438    pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
3439    #[doc = "The `WebGLRenderingContext.MAX_RENDERBUFFER_SIZE` const."]
3440    #[doc = ""]
3441    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3442    pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
3443    #[doc = "The `WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
3444    #[doc = ""]
3445    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3446    pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
3447    #[doc = "The `WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
3448    #[doc = ""]
3449    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3450    pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
3451    #[doc = "The `WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
3452    #[doc = ""]
3453    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3454    pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
3455    #[doc = "The `WebGLRenderingContext.CONTEXT_LOST_WEBGL` const."]
3456    #[doc = ""]
3457    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3458    pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
3459    #[doc = "The `WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
3460    #[doc = ""]
3461    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3462    pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
3463    #[doc = "The `WebGLRenderingContext.BROWSER_DEFAULT_WEBGL` const."]
3464    #[doc = ""]
3465    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3466    pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
3467}