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