Skip to main content

web_sys/features/
gen_WebGlRenderingContext.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLRenderingContext , typescript_type = "WebGLRenderingContext")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `WebGlRenderingContext` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
14    pub type WebGlRenderingContext;
15    # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = canvas)]
16    #[doc = "Getter for the `canvas` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/canvas)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
21    pub fn canvas(this: &WebGlRenderingContext) -> Option<::js_sys::Object>;
22    # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = drawingBufferWidth)]
23    #[doc = "Getter for the `drawingBufferWidth` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferWidth)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
28    pub fn drawing_buffer_width(this: &WebGlRenderingContext) -> i32;
29    # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = drawingBufferHeight)]
30    #[doc = "Getter for the `drawingBufferHeight` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferHeight)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
35    pub fn drawing_buffer_height(this: &WebGlRenderingContext) -> i32;
36    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
37    #[doc = "The `bufferData()` method."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
42    pub fn buffer_data_with_i32(this: &WebGlRenderingContext, target: u32, size: i32, usage: u32);
43    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
44    #[doc = "The `bufferData()` method."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
49    pub fn buffer_data_with_f64(this: &WebGlRenderingContext, target: u32, size: f64, usage: u32);
50    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
51    #[doc = "The `bufferData()` method."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
56    pub fn buffer_data_with_opt_array_buffer(
57        this: &WebGlRenderingContext,
58        target: u32,
59        data: Option<&::js_sys::ArrayBuffer>,
60        usage: u32,
61    );
62    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
63    #[doc = "The `bufferData()` method."]
64    #[doc = ""]
65    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
66    #[doc = ""]
67    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
68    pub fn buffer_data_with_array_buffer_view(
69        this: &WebGlRenderingContext,
70        target: u32,
71        data: &::js_sys::Object,
72        usage: u32,
73    );
74    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
75    #[doc = "The `bufferData()` method."]
76    #[doc = ""]
77    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
78    #[doc = ""]
79    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
80    pub fn buffer_data_with_u8_array(
81        this: &WebGlRenderingContext,
82        target: u32,
83        data: &[u8],
84        usage: u32,
85    );
86    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
87    #[doc = "The `bufferData()` method."]
88    #[doc = ""]
89    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
90    #[doc = ""]
91    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
92    pub fn buffer_data_with_js_u8_array(
93        this: &WebGlRenderingContext,
94        target: u32,
95        data: &::js_sys::Uint8Array,
96        usage: u32,
97    );
98    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
99    #[doc = "The `bufferSubData()` method."]
100    #[doc = ""]
101    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
102    #[doc = ""]
103    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
104    pub fn buffer_sub_data_with_i32_and_array_buffer(
105        this: &WebGlRenderingContext,
106        target: u32,
107        offset: i32,
108        data: &::js_sys::ArrayBuffer,
109    );
110    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
111    #[doc = "The `bufferSubData()` method."]
112    #[doc = ""]
113    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
114    #[doc = ""]
115    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
116    pub fn buffer_sub_data_with_f64_and_array_buffer(
117        this: &WebGlRenderingContext,
118        target: u32,
119        offset: f64,
120        data: &::js_sys::ArrayBuffer,
121    );
122    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
123    #[doc = "The `bufferSubData()` method."]
124    #[doc = ""]
125    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
126    #[doc = ""]
127    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
128    pub fn buffer_sub_data_with_i32_and_array_buffer_view(
129        this: &WebGlRenderingContext,
130        target: u32,
131        offset: i32,
132        data: &::js_sys::Object,
133    );
134    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
135    #[doc = "The `bufferSubData()` method."]
136    #[doc = ""]
137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
140    pub fn buffer_sub_data_with_f64_and_array_buffer_view(
141        this: &WebGlRenderingContext,
142        target: u32,
143        offset: f64,
144        data: &::js_sys::Object,
145    );
146    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
147    #[doc = "The `bufferSubData()` method."]
148    #[doc = ""]
149    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
150    #[doc = ""]
151    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
152    pub fn buffer_sub_data_with_i32_and_u8_array(
153        this: &WebGlRenderingContext,
154        target: u32,
155        offset: i32,
156        data: &[u8],
157    );
158    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
159    #[doc = "The `bufferSubData()` method."]
160    #[doc = ""]
161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
162    #[doc = ""]
163    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
164    pub fn buffer_sub_data_with_f64_and_u8_array(
165        this: &WebGlRenderingContext,
166        target: u32,
167        offset: f64,
168        data: &[u8],
169    );
170    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
171    #[doc = "The `bufferSubData()` method."]
172    #[doc = ""]
173    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
174    #[doc = ""]
175    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
176    pub fn buffer_sub_data_with_i32_and_js_u8_array(
177        this: &WebGlRenderingContext,
178        target: u32,
179        offset: i32,
180        data: &::js_sys::Uint8Array,
181    );
182    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
183    #[doc = "The `bufferSubData()` method."]
184    #[doc = ""]
185    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
186    #[doc = ""]
187    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
188    pub fn buffer_sub_data_with_f64_and_js_u8_array(
189        this: &WebGlRenderingContext,
190        target: u32,
191        offset: f64,
192        data: &::js_sys::Uint8Array,
193    );
194    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = commit)]
195    #[doc = "The `commit()` method."]
196    #[doc = ""]
197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/commit)"]
198    #[doc = ""]
199    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
200    pub fn commit(this: &WebGlRenderingContext);
201    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
202    #[doc = "The `compressedTexImage2D()` method."]
203    #[doc = ""]
204    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
205    #[doc = ""]
206    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
207    pub fn compressed_tex_image_2d_with_array_buffer_view(
208        this: &WebGlRenderingContext,
209        target: u32,
210        level: i32,
211        internalformat: u32,
212        width: i32,
213        height: i32,
214        border: i32,
215        data: &::js_sys::Object,
216    );
217    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
218    #[doc = "The `compressedTexImage2D()` method."]
219    #[doc = ""]
220    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
221    #[doc = ""]
222    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
223    pub fn compressed_tex_image_2d_with_u8_array(
224        this: &WebGlRenderingContext,
225        target: u32,
226        level: i32,
227        internalformat: u32,
228        width: i32,
229        height: i32,
230        border: i32,
231        data: &[u8],
232    );
233    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
234    #[doc = "The `compressedTexImage2D()` method."]
235    #[doc = ""]
236    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
237    #[doc = ""]
238    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
239    pub fn compressed_tex_image_2d_with_js_u8_array(
240        this: &WebGlRenderingContext,
241        target: u32,
242        level: i32,
243        internalformat: u32,
244        width: i32,
245        height: i32,
246        border: i32,
247        data: &::js_sys::Uint8Array,
248    );
249    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
250    #[doc = "The `compressedTexSubImage2D()` method."]
251    #[doc = ""]
252    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
253    #[doc = ""]
254    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
255    pub fn compressed_tex_sub_image_2d_with_array_buffer_view(
256        this: &WebGlRenderingContext,
257        target: u32,
258        level: i32,
259        xoffset: i32,
260        yoffset: i32,
261        width: i32,
262        height: i32,
263        format: u32,
264        data: &::js_sys::Object,
265    );
266    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
267    #[doc = "The `compressedTexSubImage2D()` method."]
268    #[doc = ""]
269    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
270    #[doc = ""]
271    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
272    pub fn compressed_tex_sub_image_2d_with_u8_array(
273        this: &WebGlRenderingContext,
274        target: u32,
275        level: i32,
276        xoffset: i32,
277        yoffset: i32,
278        width: i32,
279        height: i32,
280        format: u32,
281        data: &mut [u8],
282    );
283    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
284    #[doc = "The `compressedTexSubImage2D()` method."]
285    #[doc = ""]
286    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
287    #[doc = ""]
288    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
289    pub fn compressed_tex_sub_image_2d_with_js_u8_array(
290        this: &WebGlRenderingContext,
291        target: u32,
292        level: i32,
293        xoffset: i32,
294        yoffset: i32,
295        width: i32,
296        height: i32,
297        format: u32,
298        data: &::js_sys::Uint8Array,
299    );
300    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
301    #[doc = "The `readPixels()` method."]
302    #[doc = ""]
303    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
304    #[doc = ""]
305    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
306    pub fn read_pixels_with_opt_array_buffer_view(
307        this: &WebGlRenderingContext,
308        x: i32,
309        y: i32,
310        width: i32,
311        height: i32,
312        format: u32,
313        type_: u32,
314        pixels: Option<&::js_sys::Object>,
315    ) -> Result<(), JsValue>;
316    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
317    #[doc = "The `readPixels()` method."]
318    #[doc = ""]
319    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
320    #[doc = ""]
321    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
322    pub fn read_pixels_with_opt_u8_array(
323        this: &WebGlRenderingContext,
324        x: i32,
325        y: i32,
326        width: i32,
327        height: i32,
328        format: u32,
329        type_: u32,
330        pixels: Option<&mut [u8]>,
331    ) -> Result<(), JsValue>;
332    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
333    #[doc = "The `readPixels()` method."]
334    #[doc = ""]
335    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
336    #[doc = ""]
337    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
338    pub fn read_pixels_with_opt_js_u8_array(
339        this: &WebGlRenderingContext,
340        x: i32,
341        y: i32,
342        width: i32,
343        height: i32,
344        format: u32,
345        type_: u32,
346        pixels: Option<&::js_sys::Uint8Array>,
347    ) -> Result<(), JsValue>;
348    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
349    #[doc = "The `texImage2D()` method."]
350    #[doc = ""]
351    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
352    #[doc = ""]
353    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
354    pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
355        this: &WebGlRenderingContext,
356        target: u32,
357        level: i32,
358        internalformat: i32,
359        width: i32,
360        height: i32,
361        border: i32,
362        format: u32,
363        type_: u32,
364        pixels: Option<&::js_sys::Object>,
365    ) -> Result<(), JsValue>;
366    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
367    #[doc = "The `texImage2D()` method."]
368    #[doc = ""]
369    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
370    #[doc = ""]
371    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
372    pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
373        this: &WebGlRenderingContext,
374        target: u32,
375        level: i32,
376        internalformat: i32,
377        width: i32,
378        height: i32,
379        border: i32,
380        format: u32,
381        type_: u32,
382        pixels: Option<&[u8]>,
383    ) -> Result<(), JsValue>;
384    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
385    #[doc = "The `texImage2D()` method."]
386    #[doc = ""]
387    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
388    #[doc = ""]
389    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
390    pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_js_u8_array(
391        this: &WebGlRenderingContext,
392        target: u32,
393        level: i32,
394        internalformat: i32,
395        width: i32,
396        height: i32,
397        border: i32,
398        format: u32,
399        type_: u32,
400        pixels: Option<&::js_sys::Uint8Array>,
401    ) -> Result<(), JsValue>;
402    #[cfg(feature = "ImageBitmap")]
403    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
404    #[doc = "The `texImage2D()` method."]
405    #[doc = ""]
406    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
407    #[doc = ""]
408    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*"]
409    pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
410        this: &WebGlRenderingContext,
411        target: u32,
412        level: i32,
413        internalformat: i32,
414        format: u32,
415        type_: u32,
416        pixels: &ImageBitmap,
417    ) -> Result<(), JsValue>;
418    #[cfg(feature = "ImageData")]
419    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
420    #[doc = "The `texImage2D()` method."]
421    #[doc = ""]
422    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
423    #[doc = ""]
424    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*"]
425    pub fn tex_image_2d_with_u32_and_u32_and_image_data(
426        this: &WebGlRenderingContext,
427        target: u32,
428        level: i32,
429        internalformat: i32,
430        format: u32,
431        type_: u32,
432        pixels: &ImageData,
433    ) -> Result<(), JsValue>;
434    #[cfg(feature = "HtmlImageElement")]
435    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
436    #[doc = "The `texImage2D()` method."]
437    #[doc = ""]
438    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
439    #[doc = ""]
440    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*"]
441    pub fn tex_image_2d_with_u32_and_u32_and_image(
442        this: &WebGlRenderingContext,
443        target: u32,
444        level: i32,
445        internalformat: i32,
446        format: u32,
447        type_: u32,
448        image: &HtmlImageElement,
449    ) -> Result<(), JsValue>;
450    #[cfg(feature = "HtmlCanvasElement")]
451    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
452    #[doc = "The `texImage2D()` method."]
453    #[doc = ""]
454    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
455    #[doc = ""]
456    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*"]
457    pub fn tex_image_2d_with_u32_and_u32_and_canvas(
458        this: &WebGlRenderingContext,
459        target: u32,
460        level: i32,
461        internalformat: i32,
462        format: u32,
463        type_: u32,
464        canvas: &HtmlCanvasElement,
465    ) -> Result<(), JsValue>;
466    #[cfg(feature = "HtmlVideoElement")]
467    # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
468    #[doc = "The `texImage2D()` method."]
469    #[doc = ""]
470    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
471    #[doc = ""]
472    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*"]
473    pub fn tex_image_2d_with_u32_and_u32_and_video(
474        this: &WebGlRenderingContext,
475        target: u32,
476        level: i32,
477        internalformat: i32,
478        format: u32,
479        type_: u32,
480        video: &HtmlVideoElement,
481    ) -> Result<(), JsValue>;
482    #[cfg(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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
493    pub fn tex_image_2d(
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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
652    pub fn tex_sub_image_2d(
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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1872    pub fn make_xr_compatible(
1873        this: &WebGlRenderingContext,
1874    ) -> ::js_sys::Promise<::js_sys::Undefined>;
1875    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = pixelStorei)]
1876    #[doc = "The `pixelStorei()` method."]
1877    #[doc = ""]
1878    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/pixelStorei)"]
1879    #[doc = ""]
1880    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1881    pub fn pixel_storei(this: &WebGlRenderingContext, pname: u32, param: i32);
1882    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = polygonOffset)]
1883    #[doc = "The `polygonOffset()` method."]
1884    #[doc = ""]
1885    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/polygonOffset)"]
1886    #[doc = ""]
1887    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1888    pub fn polygon_offset(this: &WebGlRenderingContext, factor: f32, units: f32);
1889    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = renderbufferStorage)]
1890    #[doc = "The `renderbufferStorage()` method."]
1891    #[doc = ""]
1892    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage)"]
1893    #[doc = ""]
1894    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1895    pub fn renderbuffer_storage(
1896        this: &WebGlRenderingContext,
1897        target: u32,
1898        internalformat: u32,
1899        width: i32,
1900        height: i32,
1901    );
1902    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = sampleCoverage)]
1903    #[doc = "The `sampleCoverage()` method."]
1904    #[doc = ""]
1905    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/sampleCoverage)"]
1906    #[doc = ""]
1907    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1908    pub fn sample_coverage(this: &WebGlRenderingContext, value: f32, invert: bool);
1909    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = scissor)]
1910    #[doc = "The `scissor()` method."]
1911    #[doc = ""]
1912    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/scissor)"]
1913    #[doc = ""]
1914    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1915    pub fn scissor(this: &WebGlRenderingContext, x: i32, y: i32, width: i32, height: i32);
1916    #[cfg(feature = "WebGlShader")]
1917    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = shaderSource)]
1918    #[doc = "The `shaderSource()` method."]
1919    #[doc = ""]
1920    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/shaderSource)"]
1921    #[doc = ""]
1922    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
1923    pub fn shader_source(this: &WebGlRenderingContext, shader: &WebGlShader, source: &str);
1924    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilFunc)]
1925    #[doc = "The `stencilFunc()` method."]
1926    #[doc = ""]
1927    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFunc)"]
1928    #[doc = ""]
1929    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1930    pub fn stencil_func(this: &WebGlRenderingContext, func: u32, ref_: i32, mask: u32);
1931    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilFuncSeparate)]
1932    #[doc = "The `stencilFuncSeparate()` method."]
1933    #[doc = ""]
1934    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate)"]
1935    #[doc = ""]
1936    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1937    pub fn stencil_func_separate(
1938        this: &WebGlRenderingContext,
1939        face: u32,
1940        func: u32,
1941        ref_: i32,
1942        mask: u32,
1943    );
1944    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMask)]
1945    #[doc = "The `stencilMask()` method."]
1946    #[doc = ""]
1947    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMask)"]
1948    #[doc = ""]
1949    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1950    pub fn stencil_mask(this: &WebGlRenderingContext, mask: u32);
1951    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMaskSeparate)]
1952    #[doc = "The `stencilMaskSeparate()` method."]
1953    #[doc = ""]
1954    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate)"]
1955    #[doc = ""]
1956    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1957    pub fn stencil_mask_separate(this: &WebGlRenderingContext, face: u32, mask: u32);
1958    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilOp)]
1959    #[doc = "The `stencilOp()` method."]
1960    #[doc = ""]
1961    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOp)"]
1962    #[doc = ""]
1963    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1964    pub fn stencil_op(this: &WebGlRenderingContext, fail: u32, zfail: u32, zpass: u32);
1965    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilOpSeparate)]
1966    #[doc = "The `stencilOpSeparate()` method."]
1967    #[doc = ""]
1968    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOpSeparate)"]
1969    #[doc = ""]
1970    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1971    pub fn stencil_op_separate(
1972        this: &WebGlRenderingContext,
1973        face: u32,
1974        fail: u32,
1975        zfail: u32,
1976        zpass: u32,
1977    );
1978    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = texParameterf)]
1979    #[doc = "The `texParameterf()` method."]
1980    #[doc = ""]
1981    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameterf)"]
1982    #[doc = ""]
1983    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1984    pub fn tex_parameterf(this: &WebGlRenderingContext, target: u32, pname: u32, param: f32);
1985    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = texParameteri)]
1986    #[doc = "The `texParameteri()` method."]
1987    #[doc = ""]
1988    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameteri)"]
1989    #[doc = ""]
1990    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
1991    pub fn tex_parameteri(this: &WebGlRenderingContext, target: u32, pname: u32, param: i32);
1992    #[cfg(feature = "WebGlUniformLocation")]
1993    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1f)]
1994    #[doc = "The `uniform1f()` method."]
1995    #[doc = ""]
1996    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1f)"]
1997    #[doc = ""]
1998    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
1999    pub fn uniform1f(this: &WebGlRenderingContext, location: Option<&WebGlUniformLocation>, x: f32);
2000    #[cfg(feature = "WebGlUniformLocation")]
2001    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1i)]
2002    #[doc = "The `uniform1i()` method."]
2003    #[doc = ""]
2004    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1i)"]
2005    #[doc = ""]
2006    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2007    pub fn uniform1i(this: &WebGlRenderingContext, location: Option<&WebGlUniformLocation>, x: i32);
2008    #[cfg(feature = "WebGlUniformLocation")]
2009    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2f)]
2010    #[doc = "The `uniform2f()` method."]
2011    #[doc = ""]
2012    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2f)"]
2013    #[doc = ""]
2014    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2015    pub fn uniform2f(
2016        this: &WebGlRenderingContext,
2017        location: Option<&WebGlUniformLocation>,
2018        x: f32,
2019        y: f32,
2020    );
2021    #[cfg(feature = "WebGlUniformLocation")]
2022    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2i)]
2023    #[doc = "The `uniform2i()` method."]
2024    #[doc = ""]
2025    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2i)"]
2026    #[doc = ""]
2027    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2028    pub fn uniform2i(
2029        this: &WebGlRenderingContext,
2030        location: Option<&WebGlUniformLocation>,
2031        x: i32,
2032        y: i32,
2033    );
2034    #[cfg(feature = "WebGlUniformLocation")]
2035    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3f)]
2036    #[doc = "The `uniform3f()` method."]
2037    #[doc = ""]
2038    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3f)"]
2039    #[doc = ""]
2040    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2041    pub fn uniform3f(
2042        this: &WebGlRenderingContext,
2043        location: Option<&WebGlUniformLocation>,
2044        x: f32,
2045        y: f32,
2046        z: f32,
2047    );
2048    #[cfg(feature = "WebGlUniformLocation")]
2049    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3i)]
2050    #[doc = "The `uniform3i()` method."]
2051    #[doc = ""]
2052    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3i)"]
2053    #[doc = ""]
2054    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2055    pub fn uniform3i(
2056        this: &WebGlRenderingContext,
2057        location: Option<&WebGlUniformLocation>,
2058        x: i32,
2059        y: i32,
2060        z: i32,
2061    );
2062    #[cfg(feature = "WebGlUniformLocation")]
2063    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4f)]
2064    #[doc = "The `uniform4f()` method."]
2065    #[doc = ""]
2066    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4f)"]
2067    #[doc = ""]
2068    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2069    pub fn uniform4f(
2070        this: &WebGlRenderingContext,
2071        location: Option<&WebGlUniformLocation>,
2072        x: f32,
2073        y: f32,
2074        z: f32,
2075        w: f32,
2076    );
2077    #[cfg(feature = "WebGlUniformLocation")]
2078    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4i)]
2079    #[doc = "The `uniform4i()` method."]
2080    #[doc = ""]
2081    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4i)"]
2082    #[doc = ""]
2083    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
2084    pub fn uniform4i(
2085        this: &WebGlRenderingContext,
2086        location: Option<&WebGlUniformLocation>,
2087        x: i32,
2088        y: i32,
2089        z: i32,
2090        w: i32,
2091    );
2092    #[cfg(feature = "WebGlProgram")]
2093    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = useProgram)]
2094    #[doc = "The `useProgram()` method."]
2095    #[doc = ""]
2096    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/useProgram)"]
2097    #[doc = ""]
2098    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
2099    pub fn use_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>);
2100    #[cfg(feature = "WebGlProgram")]
2101    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = validateProgram)]
2102    #[doc = "The `validateProgram()` method."]
2103    #[doc = ""]
2104    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/validateProgram)"]
2105    #[doc = ""]
2106    #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
2107    pub fn validate_program(this: &WebGlRenderingContext, program: &WebGlProgram);
2108    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1f)]
2109    #[doc = "The `vertexAttrib1f()` method."]
2110    #[doc = ""]
2111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1f)"]
2112    #[doc = ""]
2113    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2114    pub fn vertex_attrib1f(this: &WebGlRenderingContext, indx: u32, x: f32);
2115    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
2116    #[doc = "The `vertexAttrib1fv()` method."]
2117    #[doc = ""]
2118    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
2119    #[doc = ""]
2120    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2121    pub fn vertex_attrib1fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2122    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
2123    #[doc = "The `vertexAttrib1fv()` method."]
2124    #[doc = ""]
2125    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
2126    #[doc = ""]
2127    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2128    pub fn vertex_attrib1fv_with_js_f32_array(
2129        this: &WebGlRenderingContext,
2130        indx: u32,
2131        values: &::js_sys::Float32Array,
2132    );
2133    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
2134    #[doc = "The `vertexAttrib1fv()` method."]
2135    #[doc = ""]
2136    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
2137    #[doc = ""]
2138    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2139    pub fn vertex_attrib1fv_with_f32_sequence(
2140        this: &WebGlRenderingContext,
2141        indx: u32,
2142        values: &::wasm_bindgen::JsValue,
2143    );
2144    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2f)]
2145    #[doc = "The `vertexAttrib2f()` method."]
2146    #[doc = ""]
2147    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2f)"]
2148    #[doc = ""]
2149    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2150    pub fn vertex_attrib2f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32);
2151    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
2152    #[doc = "The `vertexAttrib2fv()` method."]
2153    #[doc = ""]
2154    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
2155    #[doc = ""]
2156    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2157    pub fn vertex_attrib2fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2158    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
2159    #[doc = "The `vertexAttrib2fv()` method."]
2160    #[doc = ""]
2161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
2162    #[doc = ""]
2163    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2164    pub fn vertex_attrib2fv_with_js_f32_array(
2165        this: &WebGlRenderingContext,
2166        indx: u32,
2167        values: &::js_sys::Float32Array,
2168    );
2169    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
2170    #[doc = "The `vertexAttrib2fv()` method."]
2171    #[doc = ""]
2172    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
2173    #[doc = ""]
2174    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2175    pub fn vertex_attrib2fv_with_f32_sequence(
2176        this: &WebGlRenderingContext,
2177        indx: u32,
2178        values: &::wasm_bindgen::JsValue,
2179    );
2180    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3f)]
2181    #[doc = "The `vertexAttrib3f()` method."]
2182    #[doc = ""]
2183    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3f)"]
2184    #[doc = ""]
2185    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2186    pub fn vertex_attrib3f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32, z: f32);
2187    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
2188    #[doc = "The `vertexAttrib3fv()` method."]
2189    #[doc = ""]
2190    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
2191    #[doc = ""]
2192    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2193    pub fn vertex_attrib3fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2194    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
2195    #[doc = "The `vertexAttrib3fv()` method."]
2196    #[doc = ""]
2197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
2198    #[doc = ""]
2199    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2200    pub fn vertex_attrib3fv_with_js_f32_array(
2201        this: &WebGlRenderingContext,
2202        indx: u32,
2203        values: &::js_sys::Float32Array,
2204    );
2205    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
2206    #[doc = "The `vertexAttrib3fv()` method."]
2207    #[doc = ""]
2208    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
2209    #[doc = ""]
2210    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2211    pub fn vertex_attrib3fv_with_f32_sequence(
2212        this: &WebGlRenderingContext,
2213        indx: u32,
2214        values: &::wasm_bindgen::JsValue,
2215    );
2216    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4f)]
2217    #[doc = "The `vertexAttrib4f()` method."]
2218    #[doc = ""]
2219    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4f)"]
2220    #[doc = ""]
2221    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2222    pub fn vertex_attrib4f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32, z: f32, w: f32);
2223    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
2224    #[doc = "The `vertexAttrib4fv()` method."]
2225    #[doc = ""]
2226    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
2227    #[doc = ""]
2228    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2229    pub fn vertex_attrib4fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
2230    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
2231    #[doc = "The `vertexAttrib4fv()` method."]
2232    #[doc = ""]
2233    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
2234    #[doc = ""]
2235    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2236    pub fn vertex_attrib4fv_with_js_f32_array(
2237        this: &WebGlRenderingContext,
2238        indx: u32,
2239        values: &::js_sys::Float32Array,
2240    );
2241    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
2242    #[doc = "The `vertexAttrib4fv()` method."]
2243    #[doc = ""]
2244    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
2245    #[doc = ""]
2246    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2247    pub fn vertex_attrib4fv_with_f32_sequence(
2248        this: &WebGlRenderingContext,
2249        indx: u32,
2250        values: &::wasm_bindgen::JsValue,
2251    );
2252    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer)]
2253    #[doc = "The `vertexAttribPointer()` method."]
2254    #[doc = ""]
2255    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)"]
2256    #[doc = ""]
2257    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2258    pub fn vertex_attrib_pointer_with_i32(
2259        this: &WebGlRenderingContext,
2260        indx: u32,
2261        size: i32,
2262        type_: u32,
2263        normalized: bool,
2264        stride: i32,
2265        offset: i32,
2266    );
2267    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer)]
2268    #[doc = "The `vertexAttribPointer()` method."]
2269    #[doc = ""]
2270    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)"]
2271    #[doc = ""]
2272    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2273    pub fn vertex_attrib_pointer_with_f64(
2274        this: &WebGlRenderingContext,
2275        indx: u32,
2276        size: i32,
2277        type_: u32,
2278        normalized: bool,
2279        stride: i32,
2280        offset: f64,
2281    );
2282    # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = viewport)]
2283    #[doc = "The `viewport()` method."]
2284    #[doc = ""]
2285    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/viewport)"]
2286    #[doc = ""]
2287    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2288    pub fn viewport(this: &WebGlRenderingContext, x: i32, y: i32, width: i32, height: i32);
2289}
2290impl WebGlRenderingContext {
2291    #[doc = "The `WebGLRenderingContext.DEPTH_BUFFER_BIT` const."]
2292    #[doc = ""]
2293    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2294    pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
2295    #[doc = "The `WebGLRenderingContext.STENCIL_BUFFER_BIT` const."]
2296    #[doc = ""]
2297    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2298    pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
2299    #[doc = "The `WebGLRenderingContext.COLOR_BUFFER_BIT` const."]
2300    #[doc = ""]
2301    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2302    pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
2303    #[doc = "The `WebGLRenderingContext.POINTS` const."]
2304    #[doc = ""]
2305    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2306    pub const POINTS: u32 = 0u64 as u32;
2307    #[doc = "The `WebGLRenderingContext.LINES` const."]
2308    #[doc = ""]
2309    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2310    pub const LINES: u32 = 1u64 as u32;
2311    #[doc = "The `WebGLRenderingContext.LINE_LOOP` const."]
2312    #[doc = ""]
2313    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2314    pub const LINE_LOOP: u32 = 2u64 as u32;
2315    #[doc = "The `WebGLRenderingContext.LINE_STRIP` const."]
2316    #[doc = ""]
2317    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2318    pub const LINE_STRIP: u32 = 3u64 as u32;
2319    #[doc = "The `WebGLRenderingContext.TRIANGLES` const."]
2320    #[doc = ""]
2321    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2322    pub const TRIANGLES: u32 = 4u64 as u32;
2323    #[doc = "The `WebGLRenderingContext.TRIANGLE_STRIP` const."]
2324    #[doc = ""]
2325    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2326    pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
2327    #[doc = "The `WebGLRenderingContext.TRIANGLE_FAN` const."]
2328    #[doc = ""]
2329    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2330    pub const TRIANGLE_FAN: u32 = 6u64 as u32;
2331    #[doc = "The `WebGLRenderingContext.ZERO` const."]
2332    #[doc = ""]
2333    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2334    pub const ZERO: u32 = 0i64 as u32;
2335    #[doc = "The `WebGLRenderingContext.ONE` const."]
2336    #[doc = ""]
2337    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2338    pub const ONE: u32 = 1u64 as u32;
2339    #[doc = "The `WebGLRenderingContext.SRC_COLOR` const."]
2340    #[doc = ""]
2341    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2342    pub const SRC_COLOR: u32 = 768u64 as u32;
2343    #[doc = "The `WebGLRenderingContext.ONE_MINUS_SRC_COLOR` const."]
2344    #[doc = ""]
2345    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2346    pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
2347    #[doc = "The `WebGLRenderingContext.SRC_ALPHA` const."]
2348    #[doc = ""]
2349    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2350    pub const SRC_ALPHA: u32 = 770u64 as u32;
2351    #[doc = "The `WebGLRenderingContext.ONE_MINUS_SRC_ALPHA` const."]
2352    #[doc = ""]
2353    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2354    pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
2355    #[doc = "The `WebGLRenderingContext.DST_ALPHA` const."]
2356    #[doc = ""]
2357    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2358    pub const DST_ALPHA: u32 = 772u64 as u32;
2359    #[doc = "The `WebGLRenderingContext.ONE_MINUS_DST_ALPHA` const."]
2360    #[doc = ""]
2361    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2362    pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
2363    #[doc = "The `WebGLRenderingContext.DST_COLOR` const."]
2364    #[doc = ""]
2365    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2366    pub const DST_COLOR: u32 = 774u64 as u32;
2367    #[doc = "The `WebGLRenderingContext.ONE_MINUS_DST_COLOR` const."]
2368    #[doc = ""]
2369    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2370    pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
2371    #[doc = "The `WebGLRenderingContext.SRC_ALPHA_SATURATE` const."]
2372    #[doc = ""]
2373    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2374    pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
2375    #[doc = "The `WebGLRenderingContext.FUNC_ADD` const."]
2376    #[doc = ""]
2377    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2378    pub const FUNC_ADD: u32 = 32774u64 as u32;
2379    #[doc = "The `WebGLRenderingContext.BLEND_EQUATION` const."]
2380    #[doc = ""]
2381    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2382    pub const BLEND_EQUATION: u32 = 32777u64 as u32;
2383    #[doc = "The `WebGLRenderingContext.BLEND_EQUATION_RGB` const."]
2384    #[doc = ""]
2385    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2386    pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
2387    #[doc = "The `WebGLRenderingContext.BLEND_EQUATION_ALPHA` const."]
2388    #[doc = ""]
2389    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2390    pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
2391    #[doc = "The `WebGLRenderingContext.FUNC_SUBTRACT` const."]
2392    #[doc = ""]
2393    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2394    pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
2395    #[doc = "The `WebGLRenderingContext.FUNC_REVERSE_SUBTRACT` const."]
2396    #[doc = ""]
2397    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2398    pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
2399    #[doc = "The `WebGLRenderingContext.BLEND_DST_RGB` const."]
2400    #[doc = ""]
2401    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2402    pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
2403    #[doc = "The `WebGLRenderingContext.BLEND_SRC_RGB` const."]
2404    #[doc = ""]
2405    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2406    pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
2407    #[doc = "The `WebGLRenderingContext.BLEND_DST_ALPHA` const."]
2408    #[doc = ""]
2409    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2410    pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
2411    #[doc = "The `WebGLRenderingContext.BLEND_SRC_ALPHA` const."]
2412    #[doc = ""]
2413    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2414    pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
2415    #[doc = "The `WebGLRenderingContext.CONSTANT_COLOR` const."]
2416    #[doc = ""]
2417    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2418    pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
2419    #[doc = "The `WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
2420    #[doc = ""]
2421    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2422    pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
2423    #[doc = "The `WebGLRenderingContext.CONSTANT_ALPHA` const."]
2424    #[doc = ""]
2425    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2426    pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
2427    #[doc = "The `WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
2428    #[doc = ""]
2429    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2430    pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
2431    #[doc = "The `WebGLRenderingContext.BLEND_COLOR` const."]
2432    #[doc = ""]
2433    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2434    pub const BLEND_COLOR: u32 = 32773u64 as u32;
2435    #[doc = "The `WebGLRenderingContext.ARRAY_BUFFER` const."]
2436    #[doc = ""]
2437    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2438    pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
2439    #[doc = "The `WebGLRenderingContext.ELEMENT_ARRAY_BUFFER` const."]
2440    #[doc = ""]
2441    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2442    pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
2443    #[doc = "The `WebGLRenderingContext.ARRAY_BUFFER_BINDING` const."]
2444    #[doc = ""]
2445    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2446    pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
2447    #[doc = "The `WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
2448    #[doc = ""]
2449    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2450    pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
2451    #[doc = "The `WebGLRenderingContext.STREAM_DRAW` const."]
2452    #[doc = ""]
2453    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2454    pub const STREAM_DRAW: u32 = 35040u64 as u32;
2455    #[doc = "The `WebGLRenderingContext.STATIC_DRAW` const."]
2456    #[doc = ""]
2457    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2458    pub const STATIC_DRAW: u32 = 35044u64 as u32;
2459    #[doc = "The `WebGLRenderingContext.DYNAMIC_DRAW` const."]
2460    #[doc = ""]
2461    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2462    pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
2463    #[doc = "The `WebGLRenderingContext.BUFFER_SIZE` const."]
2464    #[doc = ""]
2465    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2466    pub const BUFFER_SIZE: u32 = 34660u64 as u32;
2467    #[doc = "The `WebGLRenderingContext.BUFFER_USAGE` const."]
2468    #[doc = ""]
2469    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2470    pub const BUFFER_USAGE: u32 = 34661u64 as u32;
2471    #[doc = "The `WebGLRenderingContext.CURRENT_VERTEX_ATTRIB` const."]
2472    #[doc = ""]
2473    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2474    pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
2475    #[doc = "The `WebGLRenderingContext.FRONT` const."]
2476    #[doc = ""]
2477    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2478    pub const FRONT: u32 = 1028u64 as u32;
2479    #[doc = "The `WebGLRenderingContext.BACK` const."]
2480    #[doc = ""]
2481    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2482    pub const BACK: u32 = 1029u64 as u32;
2483    #[doc = "The `WebGLRenderingContext.FRONT_AND_BACK` const."]
2484    #[doc = ""]
2485    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2486    pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
2487    #[doc = "The `WebGLRenderingContext.CULL_FACE` const."]
2488    #[doc = ""]
2489    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2490    pub const CULL_FACE: u32 = 2884u64 as u32;
2491    #[doc = "The `WebGLRenderingContext.BLEND` const."]
2492    #[doc = ""]
2493    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2494    pub const BLEND: u32 = 3042u64 as u32;
2495    #[doc = "The `WebGLRenderingContext.DITHER` const."]
2496    #[doc = ""]
2497    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2498    pub const DITHER: u32 = 3024u64 as u32;
2499    #[doc = "The `WebGLRenderingContext.STENCIL_TEST` const."]
2500    #[doc = ""]
2501    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2502    pub const STENCIL_TEST: u32 = 2960u64 as u32;
2503    #[doc = "The `WebGLRenderingContext.DEPTH_TEST` const."]
2504    #[doc = ""]
2505    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2506    pub const DEPTH_TEST: u32 = 2929u64 as u32;
2507    #[doc = "The `WebGLRenderingContext.SCISSOR_TEST` const."]
2508    #[doc = ""]
2509    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2510    pub const SCISSOR_TEST: u32 = 3089u64 as u32;
2511    #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_FILL` const."]
2512    #[doc = ""]
2513    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2514    pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
2515    #[doc = "The `WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
2516    #[doc = ""]
2517    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2518    pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
2519    #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE` const."]
2520    #[doc = ""]
2521    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2522    pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
2523    #[doc = "The `WebGLRenderingContext.NO_ERROR` const."]
2524    #[doc = ""]
2525    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2526    pub const NO_ERROR: u32 = 0i64 as u32;
2527    #[doc = "The `WebGLRenderingContext.INVALID_ENUM` const."]
2528    #[doc = ""]
2529    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2530    pub const INVALID_ENUM: u32 = 1280u64 as u32;
2531    #[doc = "The `WebGLRenderingContext.INVALID_VALUE` const."]
2532    #[doc = ""]
2533    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2534    pub const INVALID_VALUE: u32 = 1281u64 as u32;
2535    #[doc = "The `WebGLRenderingContext.INVALID_OPERATION` const."]
2536    #[doc = ""]
2537    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2538    pub const INVALID_OPERATION: u32 = 1282u64 as u32;
2539    #[doc = "The `WebGLRenderingContext.OUT_OF_MEMORY` const."]
2540    #[doc = ""]
2541    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2542    pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
2543    #[doc = "The `WebGLRenderingContext.CW` const."]
2544    #[doc = ""]
2545    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2546    pub const CW: u32 = 2304u64 as u32;
2547    #[doc = "The `WebGLRenderingContext.CCW` const."]
2548    #[doc = ""]
2549    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2550    pub const CCW: u32 = 2305u64 as u32;
2551    #[doc = "The `WebGLRenderingContext.LINE_WIDTH` const."]
2552    #[doc = ""]
2553    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2554    pub const LINE_WIDTH: u32 = 2849u64 as u32;
2555    #[doc = "The `WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
2556    #[doc = ""]
2557    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2558    pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
2559    #[doc = "The `WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
2560    #[doc = ""]
2561    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2562    pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
2563    #[doc = "The `WebGLRenderingContext.CULL_FACE_MODE` const."]
2564    #[doc = ""]
2565    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2566    pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
2567    #[doc = "The `WebGLRenderingContext.FRONT_FACE` const."]
2568    #[doc = ""]
2569    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2570    pub const FRONT_FACE: u32 = 2886u64 as u32;
2571    #[doc = "The `WebGLRenderingContext.DEPTH_RANGE` const."]
2572    #[doc = ""]
2573    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2574    pub const DEPTH_RANGE: u32 = 2928u64 as u32;
2575    #[doc = "The `WebGLRenderingContext.DEPTH_WRITEMASK` const."]
2576    #[doc = ""]
2577    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2578    pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
2579    #[doc = "The `WebGLRenderingContext.DEPTH_CLEAR_VALUE` const."]
2580    #[doc = ""]
2581    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2582    pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
2583    #[doc = "The `WebGLRenderingContext.DEPTH_FUNC` const."]
2584    #[doc = ""]
2585    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2586    pub const DEPTH_FUNC: u32 = 2932u64 as u32;
2587    #[doc = "The `WebGLRenderingContext.STENCIL_CLEAR_VALUE` const."]
2588    #[doc = ""]
2589    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2590    pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
2591    #[doc = "The `WebGLRenderingContext.STENCIL_FUNC` const."]
2592    #[doc = ""]
2593    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2594    pub const STENCIL_FUNC: u32 = 2962u64 as u32;
2595    #[doc = "The `WebGLRenderingContext.STENCIL_FAIL` const."]
2596    #[doc = ""]
2597    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2598    pub const STENCIL_FAIL: u32 = 2964u64 as u32;
2599    #[doc = "The `WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
2600    #[doc = ""]
2601    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2602    pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
2603    #[doc = "The `WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
2604    #[doc = ""]
2605    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2606    pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
2607    #[doc = "The `WebGLRenderingContext.STENCIL_REF` const."]
2608    #[doc = ""]
2609    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2610    pub const STENCIL_REF: u32 = 2967u64 as u32;
2611    #[doc = "The `WebGLRenderingContext.STENCIL_VALUE_MASK` const."]
2612    #[doc = ""]
2613    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2614    pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
2615    #[doc = "The `WebGLRenderingContext.STENCIL_WRITEMASK` const."]
2616    #[doc = ""]
2617    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2618    pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
2619    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_FUNC` const."]
2620    #[doc = ""]
2621    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2622    pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
2623    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_FAIL` const."]
2624    #[doc = ""]
2625    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2626    pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
2627    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
2628    #[doc = ""]
2629    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2630    pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
2631    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
2632    #[doc = ""]
2633    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2634    pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
2635    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_REF` const."]
2636    #[doc = ""]
2637    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2638    pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
2639    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_VALUE_MASK` const."]
2640    #[doc = ""]
2641    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2642    pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
2643    #[doc = "The `WebGLRenderingContext.STENCIL_BACK_WRITEMASK` const."]
2644    #[doc = ""]
2645    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2646    pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
2647    #[doc = "The `WebGLRenderingContext.VIEWPORT` const."]
2648    #[doc = ""]
2649    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2650    pub const VIEWPORT: u32 = 2978u64 as u32;
2651    #[doc = "The `WebGLRenderingContext.SCISSOR_BOX` const."]
2652    #[doc = ""]
2653    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2654    pub const SCISSOR_BOX: u32 = 3088u64 as u32;
2655    #[doc = "The `WebGLRenderingContext.COLOR_CLEAR_VALUE` const."]
2656    #[doc = ""]
2657    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2658    pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
2659    #[doc = "The `WebGLRenderingContext.COLOR_WRITEMASK` const."]
2660    #[doc = ""]
2661    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2662    pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
2663    #[doc = "The `WebGLRenderingContext.UNPACK_ALIGNMENT` const."]
2664    #[doc = ""]
2665    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2666    pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
2667    #[doc = "The `WebGLRenderingContext.PACK_ALIGNMENT` const."]
2668    #[doc = ""]
2669    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2670    pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
2671    #[doc = "The `WebGLRenderingContext.MAX_TEXTURE_SIZE` const."]
2672    #[doc = ""]
2673    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2674    pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
2675    #[doc = "The `WebGLRenderingContext.MAX_VIEWPORT_DIMS` const."]
2676    #[doc = ""]
2677    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2678    pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
2679    #[doc = "The `WebGLRenderingContext.SUBPIXEL_BITS` const."]
2680    #[doc = ""]
2681    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2682    pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
2683    #[doc = "The `WebGLRenderingContext.RED_BITS` const."]
2684    #[doc = ""]
2685    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2686    pub const RED_BITS: u32 = 3410u64 as u32;
2687    #[doc = "The `WebGLRenderingContext.GREEN_BITS` const."]
2688    #[doc = ""]
2689    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2690    pub const GREEN_BITS: u32 = 3411u64 as u32;
2691    #[doc = "The `WebGLRenderingContext.BLUE_BITS` const."]
2692    #[doc = ""]
2693    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2694    pub const BLUE_BITS: u32 = 3412u64 as u32;
2695    #[doc = "The `WebGLRenderingContext.ALPHA_BITS` const."]
2696    #[doc = ""]
2697    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2698    pub const ALPHA_BITS: u32 = 3413u64 as u32;
2699    #[doc = "The `WebGLRenderingContext.DEPTH_BITS` const."]
2700    #[doc = ""]
2701    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2702    pub const DEPTH_BITS: u32 = 3414u64 as u32;
2703    #[doc = "The `WebGLRenderingContext.STENCIL_BITS` const."]
2704    #[doc = ""]
2705    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2706    pub const STENCIL_BITS: u32 = 3415u64 as u32;
2707    #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_UNITS` const."]
2708    #[doc = ""]
2709    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2710    pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
2711    #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_FACTOR` const."]
2712    #[doc = ""]
2713    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2714    pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
2715    #[doc = "The `WebGLRenderingContext.TEXTURE_BINDING_2D` const."]
2716    #[doc = ""]
2717    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2718    pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
2719    #[doc = "The `WebGLRenderingContext.SAMPLE_BUFFERS` const."]
2720    #[doc = ""]
2721    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2722    pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
2723    #[doc = "The `WebGLRenderingContext.SAMPLES` const."]
2724    #[doc = ""]
2725    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2726    pub const SAMPLES: u32 = 32937u64 as u32;
2727    #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE_VALUE` const."]
2728    #[doc = ""]
2729    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2730    pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
2731    #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE_INVERT` const."]
2732    #[doc = ""]
2733    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2734    pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
2735    #[doc = "The `WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
2736    #[doc = ""]
2737    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2738    pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
2739    #[doc = "The `WebGLRenderingContext.DONT_CARE` const."]
2740    #[doc = ""]
2741    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2742    pub const DONT_CARE: u32 = 4352u64 as u32;
2743    #[doc = "The `WebGLRenderingContext.FASTEST` const."]
2744    #[doc = ""]
2745    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2746    pub const FASTEST: u32 = 4353u64 as u32;
2747    #[doc = "The `WebGLRenderingContext.NICEST` const."]
2748    #[doc = ""]
2749    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2750    pub const NICEST: u32 = 4354u64 as u32;
2751    #[doc = "The `WebGLRenderingContext.GENERATE_MIPMAP_HINT` const."]
2752    #[doc = ""]
2753    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2754    pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
2755    #[doc = "The `WebGLRenderingContext.BYTE` const."]
2756    #[doc = ""]
2757    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2758    pub const BYTE: u32 = 5120u64 as u32;
2759    #[doc = "The `WebGLRenderingContext.UNSIGNED_BYTE` const."]
2760    #[doc = ""]
2761    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2762    pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
2763    #[doc = "The `WebGLRenderingContext.SHORT` const."]
2764    #[doc = ""]
2765    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2766    pub const SHORT: u32 = 5122u64 as u32;
2767    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT` const."]
2768    #[doc = ""]
2769    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2770    pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
2771    #[doc = "The `WebGLRenderingContext.INT` const."]
2772    #[doc = ""]
2773    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2774    pub const INT: u32 = 5124u64 as u32;
2775    #[doc = "The `WebGLRenderingContext.UNSIGNED_INT` const."]
2776    #[doc = ""]
2777    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2778    pub const UNSIGNED_INT: u32 = 5125u64 as u32;
2779    #[doc = "The `WebGLRenderingContext.FLOAT` const."]
2780    #[doc = ""]
2781    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2782    pub const FLOAT: u32 = 5126u64 as u32;
2783    #[doc = "The `WebGLRenderingContext.DEPTH_COMPONENT` const."]
2784    #[doc = ""]
2785    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2786    pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
2787    #[doc = "The `WebGLRenderingContext.ALPHA` const."]
2788    #[doc = ""]
2789    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2790    pub const ALPHA: u32 = 6406u64 as u32;
2791    #[doc = "The `WebGLRenderingContext.RGB` const."]
2792    #[doc = ""]
2793    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2794    pub const RGB: u32 = 6407u64 as u32;
2795    #[doc = "The `WebGLRenderingContext.RGBA` const."]
2796    #[doc = ""]
2797    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2798    pub const RGBA: u32 = 6408u64 as u32;
2799    #[doc = "The `WebGLRenderingContext.LUMINANCE` const."]
2800    #[doc = ""]
2801    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2802    pub const LUMINANCE: u32 = 6409u64 as u32;
2803    #[doc = "The `WebGLRenderingContext.LUMINANCE_ALPHA` const."]
2804    #[doc = ""]
2805    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2806    pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
2807    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
2808    #[doc = ""]
2809    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2810    pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
2811    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
2812    #[doc = ""]
2813    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2814    pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
2815    #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_5_6_5` const."]
2816    #[doc = ""]
2817    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2818    pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
2819    #[doc = "The `WebGLRenderingContext.FRAGMENT_SHADER` const."]
2820    #[doc = ""]
2821    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2822    pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
2823    #[doc = "The `WebGLRenderingContext.VERTEX_SHADER` const."]
2824    #[doc = ""]
2825    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2826    pub const VERTEX_SHADER: u32 = 35633u64 as u32;
2827    #[doc = "The `WebGLRenderingContext.MAX_VERTEX_ATTRIBS` const."]
2828    #[doc = ""]
2829    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2830    pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
2831    #[doc = "The `WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
2832    #[doc = ""]
2833    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2834    pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
2835    #[doc = "The `WebGLRenderingContext.MAX_VARYING_VECTORS` const."]
2836    #[doc = ""]
2837    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2838    pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
2839    #[doc = "The `WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
2840    #[doc = ""]
2841    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2842    pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
2843    #[doc = "The `WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
2844    #[doc = ""]
2845    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2846    pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
2847    #[doc = "The `WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
2848    #[doc = ""]
2849    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2850    pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
2851    #[doc = "The `WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
2852    #[doc = ""]
2853    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2854    pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
2855    #[doc = "The `WebGLRenderingContext.SHADER_TYPE` const."]
2856    #[doc = ""]
2857    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2858    pub const SHADER_TYPE: u32 = 35663u64 as u32;
2859    #[doc = "The `WebGLRenderingContext.DELETE_STATUS` const."]
2860    #[doc = ""]
2861    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2862    pub const DELETE_STATUS: u32 = 35712u64 as u32;
2863    #[doc = "The `WebGLRenderingContext.LINK_STATUS` const."]
2864    #[doc = ""]
2865    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2866    pub const LINK_STATUS: u32 = 35714u64 as u32;
2867    #[doc = "The `WebGLRenderingContext.VALIDATE_STATUS` const."]
2868    #[doc = ""]
2869    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2870    pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
2871    #[doc = "The `WebGLRenderingContext.ATTACHED_SHADERS` const."]
2872    #[doc = ""]
2873    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2874    pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
2875    #[doc = "The `WebGLRenderingContext.ACTIVE_UNIFORMS` const."]
2876    #[doc = ""]
2877    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2878    pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
2879    #[doc = "The `WebGLRenderingContext.ACTIVE_ATTRIBUTES` const."]
2880    #[doc = ""]
2881    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2882    pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
2883    #[doc = "The `WebGLRenderingContext.SHADING_LANGUAGE_VERSION` const."]
2884    #[doc = ""]
2885    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2886    pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
2887    #[doc = "The `WebGLRenderingContext.CURRENT_PROGRAM` const."]
2888    #[doc = ""]
2889    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2890    pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
2891    #[doc = "The `WebGLRenderingContext.NEVER` const."]
2892    #[doc = ""]
2893    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2894    pub const NEVER: u32 = 512u64 as u32;
2895    #[doc = "The `WebGLRenderingContext.LESS` const."]
2896    #[doc = ""]
2897    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2898    pub const LESS: u32 = 513u64 as u32;
2899    #[doc = "The `WebGLRenderingContext.EQUAL` const."]
2900    #[doc = ""]
2901    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2902    pub const EQUAL: u32 = 514u64 as u32;
2903    #[doc = "The `WebGLRenderingContext.LEQUAL` const."]
2904    #[doc = ""]
2905    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2906    pub const LEQUAL: u32 = 515u64 as u32;
2907    #[doc = "The `WebGLRenderingContext.GREATER` const."]
2908    #[doc = ""]
2909    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2910    pub const GREATER: u32 = 516u64 as u32;
2911    #[doc = "The `WebGLRenderingContext.NOTEQUAL` const."]
2912    #[doc = ""]
2913    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2914    pub const NOTEQUAL: u32 = 517u64 as u32;
2915    #[doc = "The `WebGLRenderingContext.GEQUAL` const."]
2916    #[doc = ""]
2917    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2918    pub const GEQUAL: u32 = 518u64 as u32;
2919    #[doc = "The `WebGLRenderingContext.ALWAYS` const."]
2920    #[doc = ""]
2921    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2922    pub const ALWAYS: u32 = 519u64 as u32;
2923    #[doc = "The `WebGLRenderingContext.KEEP` const."]
2924    #[doc = ""]
2925    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2926    pub const KEEP: u32 = 7680u64 as u32;
2927    #[doc = "The `WebGLRenderingContext.REPLACE` const."]
2928    #[doc = ""]
2929    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2930    pub const REPLACE: u32 = 7681u64 as u32;
2931    #[doc = "The `WebGLRenderingContext.INCR` const."]
2932    #[doc = ""]
2933    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2934    pub const INCR: u32 = 7682u64 as u32;
2935    #[doc = "The `WebGLRenderingContext.DECR` const."]
2936    #[doc = ""]
2937    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2938    pub const DECR: u32 = 7683u64 as u32;
2939    #[doc = "The `WebGLRenderingContext.INVERT` const."]
2940    #[doc = ""]
2941    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2942    pub const INVERT: u32 = 5386u64 as u32;
2943    #[doc = "The `WebGLRenderingContext.INCR_WRAP` const."]
2944    #[doc = ""]
2945    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2946    pub const INCR_WRAP: u32 = 34055u64 as u32;
2947    #[doc = "The `WebGLRenderingContext.DECR_WRAP` const."]
2948    #[doc = ""]
2949    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2950    pub const DECR_WRAP: u32 = 34056u64 as u32;
2951    #[doc = "The `WebGLRenderingContext.VENDOR` const."]
2952    #[doc = ""]
2953    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2954    pub const VENDOR: u32 = 7936u64 as u32;
2955    #[doc = "The `WebGLRenderingContext.RENDERER` const."]
2956    #[doc = ""]
2957    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2958    pub const RENDERER: u32 = 7937u64 as u32;
2959    #[doc = "The `WebGLRenderingContext.VERSION` const."]
2960    #[doc = ""]
2961    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2962    pub const VERSION: u32 = 7938u64 as u32;
2963    #[doc = "The `WebGLRenderingContext.NEAREST` const."]
2964    #[doc = ""]
2965    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2966    pub const NEAREST: u32 = 9728u64 as u32;
2967    #[doc = "The `WebGLRenderingContext.LINEAR` const."]
2968    #[doc = ""]
2969    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2970    pub const LINEAR: u32 = 9729u64 as u32;
2971    #[doc = "The `WebGLRenderingContext.NEAREST_MIPMAP_NEAREST` const."]
2972    #[doc = ""]
2973    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2974    pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
2975    #[doc = "The `WebGLRenderingContext.LINEAR_MIPMAP_NEAREST` const."]
2976    #[doc = ""]
2977    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2978    pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
2979    #[doc = "The `WebGLRenderingContext.NEAREST_MIPMAP_LINEAR` const."]
2980    #[doc = ""]
2981    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2982    pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
2983    #[doc = "The `WebGLRenderingContext.LINEAR_MIPMAP_LINEAR` const."]
2984    #[doc = ""]
2985    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2986    pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
2987    #[doc = "The `WebGLRenderingContext.TEXTURE_MAG_FILTER` const."]
2988    #[doc = ""]
2989    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2990    pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
2991    #[doc = "The `WebGLRenderingContext.TEXTURE_MIN_FILTER` const."]
2992    #[doc = ""]
2993    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2994    pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
2995    #[doc = "The `WebGLRenderingContext.TEXTURE_WRAP_S` const."]
2996    #[doc = ""]
2997    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
2998    pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
2999    #[doc = "The `WebGLRenderingContext.TEXTURE_WRAP_T` const."]
3000    #[doc = ""]
3001    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3002    pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
3003    #[doc = "The `WebGLRenderingContext.TEXTURE_2D` const."]
3004    #[doc = ""]
3005    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3006    pub const TEXTURE_2D: u32 = 3553u64 as u32;
3007    #[doc = "The `WebGLRenderingContext.TEXTURE` const."]
3008    #[doc = ""]
3009    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3010    pub const TEXTURE: u32 = 5890u64 as u32;
3011    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP` const."]
3012    #[doc = ""]
3013    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3014    pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
3015    #[doc = "The `WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
3016    #[doc = ""]
3017    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3018    pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
3019    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
3020    #[doc = ""]
3021    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3022    pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
3023    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
3024    #[doc = ""]
3025    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3026    pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
3027    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
3028    #[doc = ""]
3029    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3030    pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
3031    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
3032    #[doc = ""]
3033    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3034    pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
3035    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
3036    #[doc = ""]
3037    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3038    pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
3039    #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
3040    #[doc = ""]
3041    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3042    pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
3043    #[doc = "The `WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
3044    #[doc = ""]
3045    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3046    pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
3047    #[doc = "The `WebGLRenderingContext.TEXTURE0` const."]
3048    #[doc = ""]
3049    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3050    pub const TEXTURE0: u32 = 33984u64 as u32;
3051    #[doc = "The `WebGLRenderingContext.TEXTURE1` const."]
3052    #[doc = ""]
3053    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3054    pub const TEXTURE1: u32 = 33985u64 as u32;
3055    #[doc = "The `WebGLRenderingContext.TEXTURE2` const."]
3056    #[doc = ""]
3057    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3058    pub const TEXTURE2: u32 = 33986u64 as u32;
3059    #[doc = "The `WebGLRenderingContext.TEXTURE3` const."]
3060    #[doc = ""]
3061    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3062    pub const TEXTURE3: u32 = 33987u64 as u32;
3063    #[doc = "The `WebGLRenderingContext.TEXTURE4` const."]
3064    #[doc = ""]
3065    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3066    pub const TEXTURE4: u32 = 33988u64 as u32;
3067    #[doc = "The `WebGLRenderingContext.TEXTURE5` const."]
3068    #[doc = ""]
3069    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3070    pub const TEXTURE5: u32 = 33989u64 as u32;
3071    #[doc = "The `WebGLRenderingContext.TEXTURE6` const."]
3072    #[doc = ""]
3073    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3074    pub const TEXTURE6: u32 = 33990u64 as u32;
3075    #[doc = "The `WebGLRenderingContext.TEXTURE7` const."]
3076    #[doc = ""]
3077    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3078    pub const TEXTURE7: u32 = 33991u64 as u32;
3079    #[doc = "The `WebGLRenderingContext.TEXTURE8` const."]
3080    #[doc = ""]
3081    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3082    pub const TEXTURE8: u32 = 33992u64 as u32;
3083    #[doc = "The `WebGLRenderingContext.TEXTURE9` const."]
3084    #[doc = ""]
3085    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3086    pub const TEXTURE9: u32 = 33993u64 as u32;
3087    #[doc = "The `WebGLRenderingContext.TEXTURE10` const."]
3088    #[doc = ""]
3089    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3090    pub const TEXTURE10: u32 = 33994u64 as u32;
3091    #[doc = "The `WebGLRenderingContext.TEXTURE11` const."]
3092    #[doc = ""]
3093    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3094    pub const TEXTURE11: u32 = 33995u64 as u32;
3095    #[doc = "The `WebGLRenderingContext.TEXTURE12` const."]
3096    #[doc = ""]
3097    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3098    pub const TEXTURE12: u32 = 33996u64 as u32;
3099    #[doc = "The `WebGLRenderingContext.TEXTURE13` const."]
3100    #[doc = ""]
3101    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3102    pub const TEXTURE13: u32 = 33997u64 as u32;
3103    #[doc = "The `WebGLRenderingContext.TEXTURE14` const."]
3104    #[doc = ""]
3105    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3106    pub const TEXTURE14: u32 = 33998u64 as u32;
3107    #[doc = "The `WebGLRenderingContext.TEXTURE15` const."]
3108    #[doc = ""]
3109    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3110    pub const TEXTURE15: u32 = 33999u64 as u32;
3111    #[doc = "The `WebGLRenderingContext.TEXTURE16` const."]
3112    #[doc = ""]
3113    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3114    pub const TEXTURE16: u32 = 34000u64 as u32;
3115    #[doc = "The `WebGLRenderingContext.TEXTURE17` const."]
3116    #[doc = ""]
3117    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3118    pub const TEXTURE17: u32 = 34001u64 as u32;
3119    #[doc = "The `WebGLRenderingContext.TEXTURE18` const."]
3120    #[doc = ""]
3121    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3122    pub const TEXTURE18: u32 = 34002u64 as u32;
3123    #[doc = "The `WebGLRenderingContext.TEXTURE19` const."]
3124    #[doc = ""]
3125    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3126    pub const TEXTURE19: u32 = 34003u64 as u32;
3127    #[doc = "The `WebGLRenderingContext.TEXTURE20` const."]
3128    #[doc = ""]
3129    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3130    pub const TEXTURE20: u32 = 34004u64 as u32;
3131    #[doc = "The `WebGLRenderingContext.TEXTURE21` const."]
3132    #[doc = ""]
3133    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3134    pub const TEXTURE21: u32 = 34005u64 as u32;
3135    #[doc = "The `WebGLRenderingContext.TEXTURE22` const."]
3136    #[doc = ""]
3137    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3138    pub const TEXTURE22: u32 = 34006u64 as u32;
3139    #[doc = "The `WebGLRenderingContext.TEXTURE23` const."]
3140    #[doc = ""]
3141    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3142    pub const TEXTURE23: u32 = 34007u64 as u32;
3143    #[doc = "The `WebGLRenderingContext.TEXTURE24` const."]
3144    #[doc = ""]
3145    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3146    pub const TEXTURE24: u32 = 34008u64 as u32;
3147    #[doc = "The `WebGLRenderingContext.TEXTURE25` const."]
3148    #[doc = ""]
3149    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3150    pub const TEXTURE25: u32 = 34009u64 as u32;
3151    #[doc = "The `WebGLRenderingContext.TEXTURE26` const."]
3152    #[doc = ""]
3153    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3154    pub const TEXTURE26: u32 = 34010u64 as u32;
3155    #[doc = "The `WebGLRenderingContext.TEXTURE27` const."]
3156    #[doc = ""]
3157    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3158    pub const TEXTURE27: u32 = 34011u64 as u32;
3159    #[doc = "The `WebGLRenderingContext.TEXTURE28` const."]
3160    #[doc = ""]
3161    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3162    pub const TEXTURE28: u32 = 34012u64 as u32;
3163    #[doc = "The `WebGLRenderingContext.TEXTURE29` const."]
3164    #[doc = ""]
3165    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3166    pub const TEXTURE29: u32 = 34013u64 as u32;
3167    #[doc = "The `WebGLRenderingContext.TEXTURE30` const."]
3168    #[doc = ""]
3169    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3170    pub const TEXTURE30: u32 = 34014u64 as u32;
3171    #[doc = "The `WebGLRenderingContext.TEXTURE31` const."]
3172    #[doc = ""]
3173    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3174    pub const TEXTURE31: u32 = 34015u64 as u32;
3175    #[doc = "The `WebGLRenderingContext.ACTIVE_TEXTURE` const."]
3176    #[doc = ""]
3177    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3178    pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
3179    #[doc = "The `WebGLRenderingContext.REPEAT` const."]
3180    #[doc = ""]
3181    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3182    pub const REPEAT: u32 = 10497u64 as u32;
3183    #[doc = "The `WebGLRenderingContext.CLAMP_TO_EDGE` const."]
3184    #[doc = ""]
3185    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3186    pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
3187    #[doc = "The `WebGLRenderingContext.MIRRORED_REPEAT` const."]
3188    #[doc = ""]
3189    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3190    pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
3191    #[doc = "The `WebGLRenderingContext.FLOAT_VEC2` const."]
3192    #[doc = ""]
3193    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3194    pub const FLOAT_VEC2: u32 = 35664u64 as u32;
3195    #[doc = "The `WebGLRenderingContext.FLOAT_VEC3` const."]
3196    #[doc = ""]
3197    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3198    pub const FLOAT_VEC3: u32 = 35665u64 as u32;
3199    #[doc = "The `WebGLRenderingContext.FLOAT_VEC4` const."]
3200    #[doc = ""]
3201    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3202    pub const FLOAT_VEC4: u32 = 35666u64 as u32;
3203    #[doc = "The `WebGLRenderingContext.INT_VEC2` const."]
3204    #[doc = ""]
3205    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3206    pub const INT_VEC2: u32 = 35667u64 as u32;
3207    #[doc = "The `WebGLRenderingContext.INT_VEC3` const."]
3208    #[doc = ""]
3209    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3210    pub const INT_VEC3: u32 = 35668u64 as u32;
3211    #[doc = "The `WebGLRenderingContext.INT_VEC4` const."]
3212    #[doc = ""]
3213    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3214    pub const INT_VEC4: u32 = 35669u64 as u32;
3215    #[doc = "The `WebGLRenderingContext.BOOL` const."]
3216    #[doc = ""]
3217    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3218    pub const BOOL: u32 = 35670u64 as u32;
3219    #[doc = "The `WebGLRenderingContext.BOOL_VEC2` const."]
3220    #[doc = ""]
3221    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3222    pub const BOOL_VEC2: u32 = 35671u64 as u32;
3223    #[doc = "The `WebGLRenderingContext.BOOL_VEC3` const."]
3224    #[doc = ""]
3225    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3226    pub const BOOL_VEC3: u32 = 35672u64 as u32;
3227    #[doc = "The `WebGLRenderingContext.BOOL_VEC4` const."]
3228    #[doc = ""]
3229    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3230    pub const BOOL_VEC4: u32 = 35673u64 as u32;
3231    #[doc = "The `WebGLRenderingContext.FLOAT_MAT2` const."]
3232    #[doc = ""]
3233    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3234    pub const FLOAT_MAT2: u32 = 35674u64 as u32;
3235    #[doc = "The `WebGLRenderingContext.FLOAT_MAT3` const."]
3236    #[doc = ""]
3237    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3238    pub const FLOAT_MAT3: u32 = 35675u64 as u32;
3239    #[doc = "The `WebGLRenderingContext.FLOAT_MAT4` const."]
3240    #[doc = ""]
3241    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3242    pub const FLOAT_MAT4: u32 = 35676u64 as u32;
3243    #[doc = "The `WebGLRenderingContext.SAMPLER_2D` const."]
3244    #[doc = ""]
3245    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3246    pub const SAMPLER_2D: u32 = 35678u64 as u32;
3247    #[doc = "The `WebGLRenderingContext.SAMPLER_CUBE` const."]
3248    #[doc = ""]
3249    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3250    pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
3251    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
3252    #[doc = ""]
3253    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3254    pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
3255    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
3256    #[doc = ""]
3257    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3258    pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
3259    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
3260    #[doc = ""]
3261    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3262    pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
3263    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
3264    #[doc = ""]
3265    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3266    pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
3267    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
3268    #[doc = ""]
3269    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3270    pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
3271    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
3272    #[doc = ""]
3273    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3274    pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
3275    #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
3276    #[doc = ""]
3277    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3278    pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
3279    #[doc = "The `WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
3280    #[doc = ""]
3281    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3282    pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
3283    #[doc = "The `WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
3284    #[doc = ""]
3285    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3286    pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
3287    #[doc = "The `WebGLRenderingContext.COMPILE_STATUS` const."]
3288    #[doc = ""]
3289    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3290    pub const COMPILE_STATUS: u32 = 35713u64 as u32;
3291    #[doc = "The `WebGLRenderingContext.LOW_FLOAT` const."]
3292    #[doc = ""]
3293    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3294    pub const LOW_FLOAT: u32 = 36336u64 as u32;
3295    #[doc = "The `WebGLRenderingContext.MEDIUM_FLOAT` const."]
3296    #[doc = ""]
3297    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3298    pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
3299    #[doc = "The `WebGLRenderingContext.HIGH_FLOAT` const."]
3300    #[doc = ""]
3301    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3302    pub const HIGH_FLOAT: u32 = 36338u64 as u32;
3303    #[doc = "The `WebGLRenderingContext.LOW_INT` const."]
3304    #[doc = ""]
3305    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3306    pub const LOW_INT: u32 = 36339u64 as u32;
3307    #[doc = "The `WebGLRenderingContext.MEDIUM_INT` const."]
3308    #[doc = ""]
3309    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3310    pub const MEDIUM_INT: u32 = 36340u64 as u32;
3311    #[doc = "The `WebGLRenderingContext.HIGH_INT` const."]
3312    #[doc = ""]
3313    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3314    pub const HIGH_INT: u32 = 36341u64 as u32;
3315    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER` const."]
3316    #[doc = ""]
3317    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3318    pub const FRAMEBUFFER: u32 = 36160u64 as u32;
3319    #[doc = "The `WebGLRenderingContext.RENDERBUFFER` const."]
3320    #[doc = ""]
3321    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3322    pub const RENDERBUFFER: u32 = 36161u64 as u32;
3323    #[doc = "The `WebGLRenderingContext.RGBA4` const."]
3324    #[doc = ""]
3325    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3326    pub const RGBA4: u32 = 32854u64 as u32;
3327    #[doc = "The `WebGLRenderingContext.RGB5_A1` const."]
3328    #[doc = ""]
3329    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3330    pub const RGB5_A1: u32 = 32855u64 as u32;
3331    #[doc = "The `WebGLRenderingContext.RGB565` const."]
3332    #[doc = ""]
3333    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3334    pub const RGB565: u32 = 36194u64 as u32;
3335    #[doc = "The `WebGLRenderingContext.DEPTH_COMPONENT16` const."]
3336    #[doc = ""]
3337    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3338    pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
3339    #[doc = "The `WebGLRenderingContext.STENCIL_INDEX8` const."]
3340    #[doc = ""]
3341    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3342    pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
3343    #[doc = "The `WebGLRenderingContext.DEPTH_STENCIL` const."]
3344    #[doc = ""]
3345    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3346    pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
3347    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_WIDTH` const."]
3348    #[doc = ""]
3349    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3350    pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
3351    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_HEIGHT` const."]
3352    #[doc = ""]
3353    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3354    pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
3355    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
3356    #[doc = ""]
3357    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3358    pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
3359    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_RED_SIZE` const."]
3360    #[doc = ""]
3361    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3362    pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
3363    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
3364    #[doc = ""]
3365    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3366    pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
3367    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
3368    #[doc = ""]
3369    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3370    pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
3371    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
3372    #[doc = ""]
3373    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3374    pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
3375    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
3376    #[doc = ""]
3377    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3378    pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
3379    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
3380    #[doc = ""]
3381    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3382    pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
3383    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
3384    #[doc = ""]
3385    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3386    pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
3387    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
3388    #[doc = ""]
3389    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3390    pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
3391    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
3392    #[doc = ""]
3393    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3394    pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
3395    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
3396    #[doc = ""]
3397    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3398    pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
3399    #[doc = "The `WebGLRenderingContext.COLOR_ATTACHMENT0` const."]
3400    #[doc = ""]
3401    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3402    pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
3403    #[doc = "The `WebGLRenderingContext.DEPTH_ATTACHMENT` const."]
3404    #[doc = ""]
3405    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3406    pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
3407    #[doc = "The `WebGLRenderingContext.STENCIL_ATTACHMENT` const."]
3408    #[doc = ""]
3409    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3410    pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
3411    #[doc = "The `WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
3412    #[doc = ""]
3413    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3414    pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
3415    #[doc = "The `WebGLRenderingContext.NONE` const."]
3416    #[doc = ""]
3417    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3418    pub const NONE: u32 = 0i64 as u32;
3419    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_COMPLETE` const."]
3420    #[doc = ""]
3421    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3422    pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
3423    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
3424    #[doc = ""]
3425    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3426    pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
3427    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
3428    #[doc = ""]
3429    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3430    pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
3431    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
3432    #[doc = ""]
3433    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3434    pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
3435    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
3436    #[doc = ""]
3437    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3438    pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
3439    #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_BINDING` const."]
3440    #[doc = ""]
3441    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3442    pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
3443    #[doc = "The `WebGLRenderingContext.RENDERBUFFER_BINDING` const."]
3444    #[doc = ""]
3445    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3446    pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
3447    #[doc = "The `WebGLRenderingContext.MAX_RENDERBUFFER_SIZE` const."]
3448    #[doc = ""]
3449    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3450    pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
3451    #[doc = "The `WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
3452    #[doc = ""]
3453    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3454    pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
3455    #[doc = "The `WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
3456    #[doc = ""]
3457    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3458    pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
3459    #[doc = "The `WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
3460    #[doc = ""]
3461    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3462    pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
3463    #[doc = "The `WebGLRenderingContext.CONTEXT_LOST_WEBGL` const."]
3464    #[doc = ""]
3465    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3466    pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
3467    #[doc = "The `WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
3468    #[doc = ""]
3469    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3470    pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
3471    #[doc = "The `WebGLRenderingContext.BROWSER_DEFAULT_WEBGL` const."]
3472    #[doc = ""]
3473    #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
3474    pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
3475}