1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "::js_sys::Object",
9 js_name = "WebGL2RenderingContext",
10 typescript_type = "WebGL2RenderingContext"
11 )]
12 #[derive(Debug, Clone, PartialEq, Eq)]
13 #[doc = "The `WebGl2RenderingContext` class."]
14 #[doc = ""]
15 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext)"]
16 #[doc = ""]
17 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
18 pub type WebGl2RenderingContext;
19 #[wasm_bindgen(
20 method,
21 getter,
22 js_class = "WebGL2RenderingContext",
23 js_name = "canvas"
24 )]
25 #[doc = "Getter for the `canvas` field of this object."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
30 pub fn canvas(this: &WebGl2RenderingContext) -> Option<::js_sys::Object>;
31 #[wasm_bindgen(
32 method,
33 getter,
34 js_class = "WebGL2RenderingContext",
35 js_name = "drawingBufferWidth"
36 )]
37 #[doc = "Getter for the `drawingBufferWidth` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
42 pub fn drawing_buffer_width(this: &WebGl2RenderingContext) -> i32;
43 #[wasm_bindgen(
44 method,
45 getter,
46 js_class = "WebGL2RenderingContext",
47 js_name = "drawingBufferHeight"
48 )]
49 #[doc = "Getter for the `drawingBufferHeight` field of this object."]
50 #[doc = ""]
51 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)"]
52 #[doc = ""]
53 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
54 pub fn drawing_buffer_height(this: &WebGl2RenderingContext) -> i32;
55 #[cfg(feature = "WebGlQuery")]
56 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "beginQuery")]
57 #[doc = "The `beginQuery()` method."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
62 pub fn begin_query(this: &WebGl2RenderingContext, target: u32, query: &WebGlQuery);
63 #[wasm_bindgen(
64 method,
65 js_class = "WebGL2RenderingContext",
66 js_name = "beginTransformFeedback"
67 )]
68 #[doc = "The `beginTransformFeedback()` method."]
69 #[doc = ""]
70 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)"]
71 #[doc = ""]
72 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
73 pub fn begin_transform_feedback(this: &WebGl2RenderingContext, primitive_mode: u32);
74 #[cfg(feature = "WebGlBuffer")]
75 #[wasm_bindgen(
76 method,
77 js_class = "WebGL2RenderingContext",
78 js_name = "bindBufferBase"
79 )]
80 #[doc = "The `bindBufferBase()` method."]
81 #[doc = ""]
82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)"]
83 #[doc = ""]
84 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
85 pub fn bind_buffer_base(
86 this: &WebGl2RenderingContext,
87 target: u32,
88 index: u32,
89 buffer: Option<&WebGlBuffer>,
90 );
91 #[cfg(feature = "WebGlBuffer")]
92 #[wasm_bindgen(
93 method,
94 js_class = "WebGL2RenderingContext",
95 js_name = "bindBufferRange"
96 )]
97 #[doc = "The `bindBufferRange()` method."]
98 #[doc = ""]
99 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
100 #[doc = ""]
101 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
102 pub fn bind_buffer_range_with_i32_and_i32(
103 this: &WebGl2RenderingContext,
104 target: u32,
105 index: u32,
106 buffer: Option<&WebGlBuffer>,
107 offset: i32,
108 size: i32,
109 );
110 #[cfg(feature = "WebGlBuffer")]
111 #[wasm_bindgen(
112 method,
113 js_class = "WebGL2RenderingContext",
114 js_name = "bindBufferRange"
115 )]
116 #[doc = "The `bindBufferRange()` method."]
117 #[doc = ""]
118 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
119 #[doc = ""]
120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
121 pub fn bind_buffer_range_with_f64_and_i32(
122 this: &WebGl2RenderingContext,
123 target: u32,
124 index: u32,
125 buffer: Option<&WebGlBuffer>,
126 offset: f64,
127 size: i32,
128 );
129 #[cfg(feature = "WebGlBuffer")]
130 #[wasm_bindgen(
131 method,
132 js_class = "WebGL2RenderingContext",
133 js_name = "bindBufferRange"
134 )]
135 #[doc = "The `bindBufferRange()` method."]
136 #[doc = ""]
137 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
138 #[doc = ""]
139 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
140 pub fn bind_buffer_range_with_i32_and_f64(
141 this: &WebGl2RenderingContext,
142 target: u32,
143 index: u32,
144 buffer: Option<&WebGlBuffer>,
145 offset: i32,
146 size: f64,
147 );
148 #[cfg(feature = "WebGlBuffer")]
149 #[wasm_bindgen(
150 method,
151 js_class = "WebGL2RenderingContext",
152 js_name = "bindBufferRange"
153 )]
154 #[doc = "The `bindBufferRange()` method."]
155 #[doc = ""]
156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
157 #[doc = ""]
158 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
159 pub fn bind_buffer_range_with_f64_and_f64(
160 this: &WebGl2RenderingContext,
161 target: u32,
162 index: u32,
163 buffer: Option<&WebGlBuffer>,
164 offset: f64,
165 size: f64,
166 );
167 #[cfg(feature = "WebGlSampler")]
168 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bindSampler")]
169 #[doc = "The `bindSampler()` method."]
170 #[doc = ""]
171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)"]
172 #[doc = ""]
173 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
174 pub fn bind_sampler(this: &WebGl2RenderingContext, unit: u32, sampler: Option<&WebGlSampler>);
175 #[cfg(feature = "WebGlTransformFeedback")]
176 #[wasm_bindgen(
177 method,
178 js_class = "WebGL2RenderingContext",
179 js_name = "bindTransformFeedback"
180 )]
181 #[doc = "The `bindTransformFeedback()` method."]
182 #[doc = ""]
183 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)"]
184 #[doc = ""]
185 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
186 pub fn bind_transform_feedback(
187 this: &WebGl2RenderingContext,
188 target: u32,
189 tf: Option<&WebGlTransformFeedback>,
190 );
191 #[cfg(feature = "WebGlVertexArrayObject")]
192 #[wasm_bindgen(
193 method,
194 js_class = "WebGL2RenderingContext",
195 js_name = "bindVertexArray"
196 )]
197 #[doc = "The `bindVertexArray()` method."]
198 #[doc = ""]
199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)"]
200 #[doc = ""]
201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
202 pub fn bind_vertex_array(this: &WebGl2RenderingContext, array: Option<&WebGlVertexArrayObject>);
203 #[wasm_bindgen(
204 method,
205 js_class = "WebGL2RenderingContext",
206 js_name = "blitFramebuffer"
207 )]
208 #[doc = "The `blitFramebuffer()` method."]
209 #[doc = ""]
210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)"]
211 #[doc = ""]
212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
213 pub fn blit_framebuffer(
214 this: &WebGl2RenderingContext,
215 src_x0: i32,
216 src_y0: i32,
217 src_x1: i32,
218 src_y1: i32,
219 dst_x0: i32,
220 dst_y0: i32,
221 dst_x1: i32,
222 dst_y1: i32,
223 mask: u32,
224 filter: u32,
225 );
226 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
227 #[doc = "The `bufferData()` method."]
228 #[doc = ""]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
230 #[doc = ""]
231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
232 pub fn buffer_data_with_i32(this: &WebGl2RenderingContext, target: u32, size: i32, usage: u32);
233 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
234 #[doc = "The `bufferData()` method."]
235 #[doc = ""]
236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
237 #[doc = ""]
238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
239 pub fn buffer_data_with_f64(this: &WebGl2RenderingContext, target: u32, size: f64, usage: u32);
240 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
241 #[doc = "The `bufferData()` method."]
242 #[doc = ""]
243 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
244 #[doc = ""]
245 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
246 pub fn buffer_data_with_opt_array_buffer(
247 this: &WebGl2RenderingContext,
248 target: u32,
249 src_data: Option<&::js_sys::ArrayBuffer>,
250 usage: u32,
251 );
252 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
253 #[doc = "The `bufferData()` method."]
254 #[doc = ""]
255 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
256 #[doc = ""]
257 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
258 pub fn buffer_data_with_array_buffer_view(
259 this: &WebGl2RenderingContext,
260 target: u32,
261 src_data: &::js_sys::Object,
262 usage: u32,
263 );
264 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
265 #[doc = "The `bufferData()` method."]
266 #[doc = ""]
267 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
268 #[doc = ""]
269 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
270 pub fn buffer_data_with_u8_array(
271 this: &WebGl2RenderingContext,
272 target: u32,
273 src_data: &[u8],
274 usage: u32,
275 );
276 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
277 #[doc = "The `bufferData()` method."]
278 #[doc = ""]
279 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
280 #[doc = ""]
281 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
282 pub fn buffer_data_with_js_u8_array(
283 this: &WebGl2RenderingContext,
284 target: u32,
285 src_data: &::js_sys::Uint8Array,
286 usage: u32,
287 );
288 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
289 #[doc = "The `bufferData()` method."]
290 #[doc = ""]
291 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
292 #[doc = ""]
293 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
294 pub fn buffer_data_with_array_buffer_view_and_src_offset(
295 this: &WebGl2RenderingContext,
296 target: u32,
297 src_data: &::js_sys::Object,
298 usage: u32,
299 src_offset: u32,
300 );
301 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
302 #[doc = "The `bufferData()` method."]
303 #[doc = ""]
304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
305 #[doc = ""]
306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
307 pub fn buffer_data_with_u8_array_and_src_offset(
308 this: &WebGl2RenderingContext,
309 target: u32,
310 src_data: &[u8],
311 usage: u32,
312 src_offset: u32,
313 );
314 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
315 #[doc = "The `bufferData()` method."]
316 #[doc = ""]
317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
318 #[doc = ""]
319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
320 pub fn buffer_data_with_js_u8_array_and_src_offset(
321 this: &WebGl2RenderingContext,
322 target: u32,
323 src_data: &::js_sys::Uint8Array,
324 usage: u32,
325 src_offset: u32,
326 );
327 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
328 #[doc = "The `bufferData()` method."]
329 #[doc = ""]
330 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
331 #[doc = ""]
332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
333 pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length(
334 this: &WebGl2RenderingContext,
335 target: u32,
336 src_data: &::js_sys::Object,
337 usage: u32,
338 src_offset: u32,
339 length: u32,
340 );
341 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
342 #[doc = "The `bufferData()` method."]
343 #[doc = ""]
344 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
345 #[doc = ""]
346 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
347 pub fn buffer_data_with_u8_array_and_src_offset_and_length(
348 this: &WebGl2RenderingContext,
349 target: u32,
350 src_data: &[u8],
351 usage: u32,
352 src_offset: u32,
353 length: u32,
354 );
355 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferData")]
356 #[doc = "The `bufferData()` method."]
357 #[doc = ""]
358 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
359 #[doc = ""]
360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
361 pub fn buffer_data_with_js_u8_array_and_src_offset_and_length(
362 this: &WebGl2RenderingContext,
363 target: u32,
364 src_data: &::js_sys::Uint8Array,
365 usage: u32,
366 src_offset: u32,
367 length: u32,
368 );
369 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
370 #[doc = "The `bufferSubData()` method."]
371 #[doc = ""]
372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
373 #[doc = ""]
374 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
375 pub fn buffer_sub_data_with_i32_and_array_buffer(
376 this: &WebGl2RenderingContext,
377 target: u32,
378 offset: i32,
379 src_data: &::js_sys::ArrayBuffer,
380 );
381 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
382 #[doc = "The `bufferSubData()` method."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
387 pub fn buffer_sub_data_with_f64_and_array_buffer(
388 this: &WebGl2RenderingContext,
389 target: u32,
390 offset: f64,
391 src_data: &::js_sys::ArrayBuffer,
392 );
393 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
394 #[doc = "The `bufferSubData()` method."]
395 #[doc = ""]
396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
397 #[doc = ""]
398 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
399 pub fn buffer_sub_data_with_i32_and_array_buffer_view(
400 this: &WebGl2RenderingContext,
401 target: u32,
402 offset: i32,
403 src_data: &::js_sys::Object,
404 );
405 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
406 #[doc = "The `bufferSubData()` method."]
407 #[doc = ""]
408 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
409 #[doc = ""]
410 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
411 pub fn buffer_sub_data_with_f64_and_array_buffer_view(
412 this: &WebGl2RenderingContext,
413 target: u32,
414 offset: f64,
415 src_data: &::js_sys::Object,
416 );
417 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
418 #[doc = "The `bufferSubData()` method."]
419 #[doc = ""]
420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
421 #[doc = ""]
422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
423 pub fn buffer_sub_data_with_i32_and_u8_array(
424 this: &WebGl2RenderingContext,
425 target: u32,
426 offset: i32,
427 src_data: &[u8],
428 );
429 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
430 #[doc = "The `bufferSubData()` method."]
431 #[doc = ""]
432 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
433 #[doc = ""]
434 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
435 pub fn buffer_sub_data_with_f64_and_u8_array(
436 this: &WebGl2RenderingContext,
437 target: u32,
438 offset: f64,
439 src_data: &[u8],
440 );
441 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
442 #[doc = "The `bufferSubData()` method."]
443 #[doc = ""]
444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
445 #[doc = ""]
446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
447 pub fn buffer_sub_data_with_i32_and_js_u8_array(
448 this: &WebGl2RenderingContext,
449 target: u32,
450 offset: i32,
451 src_data: &::js_sys::Uint8Array,
452 );
453 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
454 #[doc = "The `bufferSubData()` method."]
455 #[doc = ""]
456 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
457 #[doc = ""]
458 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
459 pub fn buffer_sub_data_with_f64_and_js_u8_array(
460 this: &WebGl2RenderingContext,
461 target: u32,
462 offset: f64,
463 src_data: &::js_sys::Uint8Array,
464 );
465 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
466 #[doc = "The `bufferSubData()` method."]
467 #[doc = ""]
468 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
469 #[doc = ""]
470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
471 pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset(
472 this: &WebGl2RenderingContext,
473 target: u32,
474 dst_byte_offset: i32,
475 src_data: &::js_sys::Object,
476 src_offset: u32,
477 );
478 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
479 #[doc = "The `bufferSubData()` method."]
480 #[doc = ""]
481 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
482 #[doc = ""]
483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
484 pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset(
485 this: &WebGl2RenderingContext,
486 target: u32,
487 dst_byte_offset: f64,
488 src_data: &::js_sys::Object,
489 src_offset: u32,
490 );
491 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
492 #[doc = "The `bufferSubData()` method."]
493 #[doc = ""]
494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
495 #[doc = ""]
496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
497 pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset(
498 this: &WebGl2RenderingContext,
499 target: u32,
500 dst_byte_offset: i32,
501 src_data: &[u8],
502 src_offset: u32,
503 );
504 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
505 #[doc = "The `bufferSubData()` method."]
506 #[doc = ""]
507 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
508 #[doc = ""]
509 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
510 pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset(
511 this: &WebGl2RenderingContext,
512 target: u32,
513 dst_byte_offset: f64,
514 src_data: &[u8],
515 src_offset: u32,
516 );
517 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
518 #[doc = "The `bufferSubData()` method."]
519 #[doc = ""]
520 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
521 #[doc = ""]
522 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
523 pub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset(
524 this: &WebGl2RenderingContext,
525 target: u32,
526 dst_byte_offset: i32,
527 src_data: &::js_sys::Uint8Array,
528 src_offset: u32,
529 );
530 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
531 #[doc = "The `bufferSubData()` method."]
532 #[doc = ""]
533 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
534 #[doc = ""]
535 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
536 pub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset(
537 this: &WebGl2RenderingContext,
538 target: u32,
539 dst_byte_offset: f64,
540 src_data: &::js_sys::Uint8Array,
541 src_offset: u32,
542 );
543 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
544 #[doc = "The `bufferSubData()` method."]
545 #[doc = ""]
546 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
547 #[doc = ""]
548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
549 pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length(
550 this: &WebGl2RenderingContext,
551 target: u32,
552 dst_byte_offset: i32,
553 src_data: &::js_sys::Object,
554 src_offset: u32,
555 length: u32,
556 );
557 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
558 #[doc = "The `bufferSubData()` method."]
559 #[doc = ""]
560 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
561 #[doc = ""]
562 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
563 pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length(
564 this: &WebGl2RenderingContext,
565 target: u32,
566 dst_byte_offset: f64,
567 src_data: &::js_sys::Object,
568 src_offset: u32,
569 length: u32,
570 );
571 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
572 #[doc = "The `bufferSubData()` method."]
573 #[doc = ""]
574 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
575 #[doc = ""]
576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
577 pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length(
578 this: &WebGl2RenderingContext,
579 target: u32,
580 dst_byte_offset: i32,
581 src_data: &[u8],
582 src_offset: u32,
583 length: u32,
584 );
585 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
586 #[doc = "The `bufferSubData()` method."]
587 #[doc = ""]
588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
589 #[doc = ""]
590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
591 pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length(
592 this: &WebGl2RenderingContext,
593 target: u32,
594 dst_byte_offset: f64,
595 src_data: &[u8],
596 src_offset: u32,
597 length: u32,
598 );
599 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
600 #[doc = "The `bufferSubData()` method."]
601 #[doc = ""]
602 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
603 #[doc = ""]
604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
605 pub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset_and_length(
606 this: &WebGl2RenderingContext,
607 target: u32,
608 dst_byte_offset: i32,
609 src_data: &::js_sys::Uint8Array,
610 src_offset: u32,
611 length: u32,
612 );
613 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bufferSubData")]
614 #[doc = "The `bufferSubData()` method."]
615 #[doc = ""]
616 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
617 #[doc = ""]
618 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
619 pub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset_and_length(
620 this: &WebGl2RenderingContext,
621 target: u32,
622 dst_byte_offset: f64,
623 src_data: &::js_sys::Uint8Array,
624 src_offset: u32,
625 length: u32,
626 );
627 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfi")]
628 #[doc = "The `clearBufferfi()` method."]
629 #[doc = ""]
630 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)"]
631 #[doc = ""]
632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
633 pub fn clear_bufferfi(
634 this: &WebGl2RenderingContext,
635 buffer: u32,
636 drawbuffer: i32,
637 depth: f32,
638 stencil: i32,
639 );
640 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfv")]
641 #[doc = "The `clearBufferfv()` method."]
642 #[doc = ""]
643 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
644 #[doc = ""]
645 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
646 pub fn clear_bufferfv_with_f32_array(
647 this: &WebGl2RenderingContext,
648 buffer: u32,
649 drawbuffer: i32,
650 values: &[f32],
651 );
652 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfv")]
653 #[doc = "The `clearBufferfv()` method."]
654 #[doc = ""]
655 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
656 #[doc = ""]
657 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
658 pub fn clear_bufferfv_with_js_f32_array(
659 this: &WebGl2RenderingContext,
660 buffer: u32,
661 drawbuffer: i32,
662 values: &::js_sys::Float32Array,
663 );
664 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfv")]
665 #[doc = "The `clearBufferfv()` method."]
666 #[doc = ""]
667 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
668 #[doc = ""]
669 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
670 pub fn clear_bufferfv_with_f32_sequence(
671 this: &WebGl2RenderingContext,
672 buffer: u32,
673 drawbuffer: i32,
674 values: &::wasm_bindgen::JsValue,
675 );
676 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfv")]
677 #[doc = "The `clearBufferfv()` method."]
678 #[doc = ""]
679 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
680 #[doc = ""]
681 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
682 pub fn clear_bufferfv_with_f32_array_and_src_offset(
683 this: &WebGl2RenderingContext,
684 buffer: u32,
685 drawbuffer: i32,
686 values: &[f32],
687 src_offset: u32,
688 );
689 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfv")]
690 #[doc = "The `clearBufferfv()` method."]
691 #[doc = ""]
692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
693 #[doc = ""]
694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
695 pub fn clear_bufferfv_with_js_f32_array_and_src_offset(
696 this: &WebGl2RenderingContext,
697 buffer: u32,
698 drawbuffer: i32,
699 values: &::js_sys::Float32Array,
700 src_offset: u32,
701 );
702 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferfv")]
703 #[doc = "The `clearBufferfv()` method."]
704 #[doc = ""]
705 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
706 #[doc = ""]
707 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
708 pub fn clear_bufferfv_with_f32_sequence_and_src_offset(
709 this: &WebGl2RenderingContext,
710 buffer: u32,
711 drawbuffer: i32,
712 values: &::wasm_bindgen::JsValue,
713 src_offset: u32,
714 );
715 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferiv")]
716 #[doc = "The `clearBufferiv()` method."]
717 #[doc = ""]
718 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
719 #[doc = ""]
720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
721 pub fn clear_bufferiv_with_i32_array(
722 this: &WebGl2RenderingContext,
723 buffer: u32,
724 drawbuffer: i32,
725 values: &[i32],
726 );
727 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferiv")]
728 #[doc = "The `clearBufferiv()` method."]
729 #[doc = ""]
730 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
731 #[doc = ""]
732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
733 pub fn clear_bufferiv_with_js_i32_array(
734 this: &WebGl2RenderingContext,
735 buffer: u32,
736 drawbuffer: i32,
737 values: &::js_sys::Int32Array,
738 );
739 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferiv")]
740 #[doc = "The `clearBufferiv()` method."]
741 #[doc = ""]
742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
743 #[doc = ""]
744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
745 pub fn clear_bufferiv_with_i32_sequence(
746 this: &WebGl2RenderingContext,
747 buffer: u32,
748 drawbuffer: i32,
749 values: &::wasm_bindgen::JsValue,
750 );
751 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferiv")]
752 #[doc = "The `clearBufferiv()` method."]
753 #[doc = ""]
754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
755 #[doc = ""]
756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
757 pub fn clear_bufferiv_with_i32_array_and_src_offset(
758 this: &WebGl2RenderingContext,
759 buffer: u32,
760 drawbuffer: i32,
761 values: &[i32],
762 src_offset: u32,
763 );
764 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferiv")]
765 #[doc = "The `clearBufferiv()` method."]
766 #[doc = ""]
767 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
768 #[doc = ""]
769 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
770 pub fn clear_bufferiv_with_js_i32_array_and_src_offset(
771 this: &WebGl2RenderingContext,
772 buffer: u32,
773 drawbuffer: i32,
774 values: &::js_sys::Int32Array,
775 src_offset: u32,
776 );
777 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearBufferiv")]
778 #[doc = "The `clearBufferiv()` method."]
779 #[doc = ""]
780 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
781 #[doc = ""]
782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
783 pub fn clear_bufferiv_with_i32_sequence_and_src_offset(
784 this: &WebGl2RenderingContext,
785 buffer: u32,
786 drawbuffer: i32,
787 values: &::wasm_bindgen::JsValue,
788 src_offset: u32,
789 );
790 #[wasm_bindgen(
791 method,
792 js_class = "WebGL2RenderingContext",
793 js_name = "clearBufferuiv"
794 )]
795 #[doc = "The `clearBufferuiv()` method."]
796 #[doc = ""]
797 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
798 #[doc = ""]
799 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
800 pub fn clear_bufferuiv_with_u32_array(
801 this: &WebGl2RenderingContext,
802 buffer: u32,
803 drawbuffer: i32,
804 values: &[u32],
805 );
806 #[wasm_bindgen(
807 method,
808 js_class = "WebGL2RenderingContext",
809 js_name = "clearBufferuiv"
810 )]
811 #[doc = "The `clearBufferuiv()` method."]
812 #[doc = ""]
813 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
814 #[doc = ""]
815 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
816 pub fn clear_bufferuiv_with_js_u32_array(
817 this: &WebGl2RenderingContext,
818 buffer: u32,
819 drawbuffer: i32,
820 values: &::js_sys::Uint32Array,
821 );
822 #[wasm_bindgen(
823 method,
824 js_class = "WebGL2RenderingContext",
825 js_name = "clearBufferuiv"
826 )]
827 #[doc = "The `clearBufferuiv()` method."]
828 #[doc = ""]
829 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
830 #[doc = ""]
831 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
832 pub fn clear_bufferuiv_with_u32_sequence(
833 this: &WebGl2RenderingContext,
834 buffer: u32,
835 drawbuffer: i32,
836 values: &::wasm_bindgen::JsValue,
837 );
838 #[wasm_bindgen(
839 method,
840 js_class = "WebGL2RenderingContext",
841 js_name = "clearBufferuiv"
842 )]
843 #[doc = "The `clearBufferuiv()` method."]
844 #[doc = ""]
845 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
846 #[doc = ""]
847 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
848 pub fn clear_bufferuiv_with_u32_array_and_src_offset(
849 this: &WebGl2RenderingContext,
850 buffer: u32,
851 drawbuffer: i32,
852 values: &[u32],
853 src_offset: u32,
854 );
855 #[wasm_bindgen(
856 method,
857 js_class = "WebGL2RenderingContext",
858 js_name = "clearBufferuiv"
859 )]
860 #[doc = "The `clearBufferuiv()` method."]
861 #[doc = ""]
862 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
863 #[doc = ""]
864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
865 pub fn clear_bufferuiv_with_js_u32_array_and_src_offset(
866 this: &WebGl2RenderingContext,
867 buffer: u32,
868 drawbuffer: i32,
869 values: &::js_sys::Uint32Array,
870 src_offset: u32,
871 );
872 #[wasm_bindgen(
873 method,
874 js_class = "WebGL2RenderingContext",
875 js_name = "clearBufferuiv"
876 )]
877 #[doc = "The `clearBufferuiv()` method."]
878 #[doc = ""]
879 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
880 #[doc = ""]
881 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
882 pub fn clear_bufferuiv_with_u32_sequence_and_src_offset(
883 this: &WebGl2RenderingContext,
884 buffer: u32,
885 drawbuffer: i32,
886 values: &::wasm_bindgen::JsValue,
887 src_offset: u32,
888 );
889 #[cfg(feature = "WebGlSync")]
890 #[wasm_bindgen(
891 method,
892 js_class = "WebGL2RenderingContext",
893 js_name = "clientWaitSync"
894 )]
895 #[doc = "The `clientWaitSync()` method."]
896 #[doc = ""]
897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"]
898 #[doc = ""]
899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
900 pub fn client_wait_sync_with_u32(
901 this: &WebGl2RenderingContext,
902 sync: &WebGlSync,
903 flags: u32,
904 timeout: u32,
905 ) -> u32;
906 #[cfg(feature = "WebGlSync")]
907 #[wasm_bindgen(
908 method,
909 js_class = "WebGL2RenderingContext",
910 js_name = "clientWaitSync"
911 )]
912 #[doc = "The `clientWaitSync()` method."]
913 #[doc = ""]
914 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"]
915 #[doc = ""]
916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
917 pub fn client_wait_sync_with_f64(
918 this: &WebGl2RenderingContext,
919 sync: &WebGlSync,
920 flags: u32,
921 timeout: f64,
922 ) -> u32;
923 #[wasm_bindgen(
924 method,
925 js_class = "WebGL2RenderingContext",
926 js_name = "compressedTexImage2D"
927 )]
928 #[doc = "The `compressedTexImage2D()` method."]
929 #[doc = ""]
930 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
931 #[doc = ""]
932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
933 pub fn compressed_tex_image_2d_with_i32_and_i32(
934 this: &WebGl2RenderingContext,
935 target: u32,
936 level: i32,
937 internalformat: u32,
938 width: i32,
939 height: i32,
940 border: i32,
941 image_size: i32,
942 offset: i32,
943 );
944 #[wasm_bindgen(
945 method,
946 js_class = "WebGL2RenderingContext",
947 js_name = "compressedTexImage2D"
948 )]
949 #[doc = "The `compressedTexImage2D()` method."]
950 #[doc = ""]
951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
952 #[doc = ""]
953 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
954 pub fn compressed_tex_image_2d_with_i32_and_f64(
955 this: &WebGl2RenderingContext,
956 target: u32,
957 level: i32,
958 internalformat: u32,
959 width: i32,
960 height: i32,
961 border: i32,
962 image_size: i32,
963 offset: f64,
964 );
965 #[wasm_bindgen(
966 method,
967 js_class = "WebGL2RenderingContext",
968 js_name = "compressedTexImage2D"
969 )]
970 #[doc = "The `compressedTexImage2D()` method."]
971 #[doc = ""]
972 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
973 #[doc = ""]
974 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
975 pub fn compressed_tex_image_2d_with_array_buffer_view(
976 this: &WebGl2RenderingContext,
977 target: u32,
978 level: i32,
979 internalformat: u32,
980 width: i32,
981 height: i32,
982 border: i32,
983 src_data: &::js_sys::Object,
984 );
985 #[wasm_bindgen(
986 method,
987 js_class = "WebGL2RenderingContext",
988 js_name = "compressedTexImage2D"
989 )]
990 #[doc = "The `compressedTexImage2D()` method."]
991 #[doc = ""]
992 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
993 #[doc = ""]
994 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
995 pub fn compressed_tex_image_2d_with_u8_array(
996 this: &WebGl2RenderingContext,
997 target: u32,
998 level: i32,
999 internalformat: u32,
1000 width: i32,
1001 height: i32,
1002 border: i32,
1003 src_data: &[u8],
1004 );
1005 #[wasm_bindgen(
1006 method,
1007 js_class = "WebGL2RenderingContext",
1008 js_name = "compressedTexImage2D"
1009 )]
1010 #[doc = "The `compressedTexImage2D()` method."]
1011 #[doc = ""]
1012 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1013 #[doc = ""]
1014 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1015 pub fn compressed_tex_image_2d_with_js_u8_array(
1016 this: &WebGl2RenderingContext,
1017 target: u32,
1018 level: i32,
1019 internalformat: u32,
1020 width: i32,
1021 height: i32,
1022 border: i32,
1023 src_data: &::js_sys::Uint8Array,
1024 );
1025 #[wasm_bindgen(
1026 method,
1027 js_class = "WebGL2RenderingContext",
1028 js_name = "compressedTexImage2D"
1029 )]
1030 #[doc = "The `compressedTexImage2D()` method."]
1031 #[doc = ""]
1032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1033 #[doc = ""]
1034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1035 pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32(
1036 this: &WebGl2RenderingContext,
1037 target: u32,
1038 level: i32,
1039 internalformat: u32,
1040 width: i32,
1041 height: i32,
1042 border: i32,
1043 src_data: &::js_sys::Object,
1044 src_offset: u32,
1045 );
1046 #[wasm_bindgen(
1047 method,
1048 js_class = "WebGL2RenderingContext",
1049 js_name = "compressedTexImage2D"
1050 )]
1051 #[doc = "The `compressedTexImage2D()` method."]
1052 #[doc = ""]
1053 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1054 #[doc = ""]
1055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1056 pub fn compressed_tex_image_2d_with_u8_array_and_u32(
1057 this: &WebGl2RenderingContext,
1058 target: u32,
1059 level: i32,
1060 internalformat: u32,
1061 width: i32,
1062 height: i32,
1063 border: i32,
1064 src_data: &[u8],
1065 src_offset: u32,
1066 );
1067 #[wasm_bindgen(
1068 method,
1069 js_class = "WebGL2RenderingContext",
1070 js_name = "compressedTexImage2D"
1071 )]
1072 #[doc = "The `compressedTexImage2D()` method."]
1073 #[doc = ""]
1074 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1075 #[doc = ""]
1076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1077 pub fn compressed_tex_image_2d_with_js_u8_array_and_u32(
1078 this: &WebGl2RenderingContext,
1079 target: u32,
1080 level: i32,
1081 internalformat: u32,
1082 width: i32,
1083 height: i32,
1084 border: i32,
1085 src_data: &::js_sys::Uint8Array,
1086 src_offset: u32,
1087 );
1088 #[wasm_bindgen(
1089 method,
1090 js_class = "WebGL2RenderingContext",
1091 js_name = "compressedTexImage2D"
1092 )]
1093 #[doc = "The `compressedTexImage2D()` method."]
1094 #[doc = ""]
1095 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1096 #[doc = ""]
1097 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1098 pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
1099 this: &WebGl2RenderingContext,
1100 target: u32,
1101 level: i32,
1102 internalformat: u32,
1103 width: i32,
1104 height: i32,
1105 border: i32,
1106 src_data: &::js_sys::Object,
1107 src_offset: u32,
1108 src_length_override: u32,
1109 );
1110 #[wasm_bindgen(
1111 method,
1112 js_class = "WebGL2RenderingContext",
1113 js_name = "compressedTexImage2D"
1114 )]
1115 #[doc = "The `compressedTexImage2D()` method."]
1116 #[doc = ""]
1117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1118 #[doc = ""]
1119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1120 pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override(
1121 this: &WebGl2RenderingContext,
1122 target: u32,
1123 level: i32,
1124 internalformat: u32,
1125 width: i32,
1126 height: i32,
1127 border: i32,
1128 src_data: &[u8],
1129 src_offset: u32,
1130 src_length_override: u32,
1131 );
1132 #[wasm_bindgen(
1133 method,
1134 js_class = "WebGL2RenderingContext",
1135 js_name = "compressedTexImage2D"
1136 )]
1137 #[doc = "The `compressedTexImage2D()` method."]
1138 #[doc = ""]
1139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1140 #[doc = ""]
1141 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1142 pub fn compressed_tex_image_2d_with_js_u8_array_and_u32_and_src_length_override(
1143 this: &WebGl2RenderingContext,
1144 target: u32,
1145 level: i32,
1146 internalformat: u32,
1147 width: i32,
1148 height: i32,
1149 border: i32,
1150 src_data: &::js_sys::Uint8Array,
1151 src_offset: u32,
1152 src_length_override: u32,
1153 );
1154 #[wasm_bindgen(
1155 method,
1156 js_class = "WebGL2RenderingContext",
1157 js_name = "compressedTexImage3D"
1158 )]
1159 #[doc = "The `compressedTexImage3D()` method."]
1160 #[doc = ""]
1161 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1162 #[doc = ""]
1163 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1164 pub fn compressed_tex_image_3d_with_i32_and_i32(
1165 this: &WebGl2RenderingContext,
1166 target: u32,
1167 level: i32,
1168 internalformat: u32,
1169 width: i32,
1170 height: i32,
1171 depth: i32,
1172 border: i32,
1173 image_size: i32,
1174 offset: i32,
1175 );
1176 #[wasm_bindgen(
1177 method,
1178 js_class = "WebGL2RenderingContext",
1179 js_name = "compressedTexImage3D"
1180 )]
1181 #[doc = "The `compressedTexImage3D()` method."]
1182 #[doc = ""]
1183 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1184 #[doc = ""]
1185 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1186 pub fn compressed_tex_image_3d_with_i32_and_f64(
1187 this: &WebGl2RenderingContext,
1188 target: u32,
1189 level: i32,
1190 internalformat: u32,
1191 width: i32,
1192 height: i32,
1193 depth: i32,
1194 border: i32,
1195 image_size: i32,
1196 offset: f64,
1197 );
1198 #[wasm_bindgen(
1199 method,
1200 js_class = "WebGL2RenderingContext",
1201 js_name = "compressedTexImage3D"
1202 )]
1203 #[doc = "The `compressedTexImage3D()` method."]
1204 #[doc = ""]
1205 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1206 #[doc = ""]
1207 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1208 pub fn compressed_tex_image_3d_with_array_buffer_view(
1209 this: &WebGl2RenderingContext,
1210 target: u32,
1211 level: i32,
1212 internalformat: u32,
1213 width: i32,
1214 height: i32,
1215 depth: i32,
1216 border: i32,
1217 src_data: &::js_sys::Object,
1218 );
1219 #[wasm_bindgen(
1220 method,
1221 js_class = "WebGL2RenderingContext",
1222 js_name = "compressedTexImage3D"
1223 )]
1224 #[doc = "The `compressedTexImage3D()` method."]
1225 #[doc = ""]
1226 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1227 #[doc = ""]
1228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1229 pub fn compressed_tex_image_3d_with_u8_array(
1230 this: &WebGl2RenderingContext,
1231 target: u32,
1232 level: i32,
1233 internalformat: u32,
1234 width: i32,
1235 height: i32,
1236 depth: i32,
1237 border: i32,
1238 src_data: &[u8],
1239 );
1240 #[wasm_bindgen(
1241 method,
1242 js_class = "WebGL2RenderingContext",
1243 js_name = "compressedTexImage3D"
1244 )]
1245 #[doc = "The `compressedTexImage3D()` method."]
1246 #[doc = ""]
1247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1248 #[doc = ""]
1249 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1250 pub fn compressed_tex_image_3d_with_js_u8_array(
1251 this: &WebGl2RenderingContext,
1252 target: u32,
1253 level: i32,
1254 internalformat: u32,
1255 width: i32,
1256 height: i32,
1257 depth: i32,
1258 border: i32,
1259 src_data: &::js_sys::Uint8Array,
1260 );
1261 #[wasm_bindgen(
1262 method,
1263 js_class = "WebGL2RenderingContext",
1264 js_name = "compressedTexImage3D"
1265 )]
1266 #[doc = "The `compressedTexImage3D()` method."]
1267 #[doc = ""]
1268 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1269 #[doc = ""]
1270 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1271 pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32(
1272 this: &WebGl2RenderingContext,
1273 target: u32,
1274 level: i32,
1275 internalformat: u32,
1276 width: i32,
1277 height: i32,
1278 depth: i32,
1279 border: i32,
1280 src_data: &::js_sys::Object,
1281 src_offset: u32,
1282 );
1283 #[wasm_bindgen(
1284 method,
1285 js_class = "WebGL2RenderingContext",
1286 js_name = "compressedTexImage3D"
1287 )]
1288 #[doc = "The `compressedTexImage3D()` method."]
1289 #[doc = ""]
1290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1291 #[doc = ""]
1292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1293 pub fn compressed_tex_image_3d_with_u8_array_and_u32(
1294 this: &WebGl2RenderingContext,
1295 target: u32,
1296 level: i32,
1297 internalformat: u32,
1298 width: i32,
1299 height: i32,
1300 depth: i32,
1301 border: i32,
1302 src_data: &[u8],
1303 src_offset: u32,
1304 );
1305 #[wasm_bindgen(
1306 method,
1307 js_class = "WebGL2RenderingContext",
1308 js_name = "compressedTexImage3D"
1309 )]
1310 #[doc = "The `compressedTexImage3D()` method."]
1311 #[doc = ""]
1312 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1313 #[doc = ""]
1314 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1315 pub fn compressed_tex_image_3d_with_js_u8_array_and_u32(
1316 this: &WebGl2RenderingContext,
1317 target: u32,
1318 level: i32,
1319 internalformat: u32,
1320 width: i32,
1321 height: i32,
1322 depth: i32,
1323 border: i32,
1324 src_data: &::js_sys::Uint8Array,
1325 src_offset: u32,
1326 );
1327 #[wasm_bindgen(
1328 method,
1329 js_class = "WebGL2RenderingContext",
1330 js_name = "compressedTexImage3D"
1331 )]
1332 #[doc = "The `compressedTexImage3D()` method."]
1333 #[doc = ""]
1334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1335 #[doc = ""]
1336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1337 pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
1338 this: &WebGl2RenderingContext,
1339 target: u32,
1340 level: i32,
1341 internalformat: u32,
1342 width: i32,
1343 height: i32,
1344 depth: i32,
1345 border: i32,
1346 src_data: &::js_sys::Object,
1347 src_offset: u32,
1348 src_length_override: u32,
1349 );
1350 #[wasm_bindgen(
1351 method,
1352 js_class = "WebGL2RenderingContext",
1353 js_name = "compressedTexImage3D"
1354 )]
1355 #[doc = "The `compressedTexImage3D()` method."]
1356 #[doc = ""]
1357 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1358 #[doc = ""]
1359 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1360 pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override(
1361 this: &WebGl2RenderingContext,
1362 target: u32,
1363 level: i32,
1364 internalformat: u32,
1365 width: i32,
1366 height: i32,
1367 depth: i32,
1368 border: i32,
1369 src_data: &[u8],
1370 src_offset: u32,
1371 src_length_override: u32,
1372 );
1373 #[wasm_bindgen(
1374 method,
1375 js_class = "WebGL2RenderingContext",
1376 js_name = "compressedTexImage3D"
1377 )]
1378 #[doc = "The `compressedTexImage3D()` method."]
1379 #[doc = ""]
1380 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1381 #[doc = ""]
1382 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1383 pub fn compressed_tex_image_3d_with_js_u8_array_and_u32_and_src_length_override(
1384 this: &WebGl2RenderingContext,
1385 target: u32,
1386 level: i32,
1387 internalformat: u32,
1388 width: i32,
1389 height: i32,
1390 depth: i32,
1391 border: i32,
1392 src_data: &::js_sys::Uint8Array,
1393 src_offset: u32,
1394 src_length_override: u32,
1395 );
1396 #[wasm_bindgen(
1397 method,
1398 js_class = "WebGL2RenderingContext",
1399 js_name = "compressedTexSubImage2D"
1400 )]
1401 #[doc = "The `compressedTexSubImage2D()` method."]
1402 #[doc = ""]
1403 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1404 #[doc = ""]
1405 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1406 pub fn compressed_tex_sub_image_2d_with_i32_and_i32(
1407 this: &WebGl2RenderingContext,
1408 target: u32,
1409 level: i32,
1410 xoffset: i32,
1411 yoffset: i32,
1412 width: i32,
1413 height: i32,
1414 format: u32,
1415 image_size: i32,
1416 offset: i32,
1417 );
1418 #[wasm_bindgen(
1419 method,
1420 js_class = "WebGL2RenderingContext",
1421 js_name = "compressedTexSubImage2D"
1422 )]
1423 #[doc = "The `compressedTexSubImage2D()` method."]
1424 #[doc = ""]
1425 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1426 #[doc = ""]
1427 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1428 pub fn compressed_tex_sub_image_2d_with_i32_and_f64(
1429 this: &WebGl2RenderingContext,
1430 target: u32,
1431 level: i32,
1432 xoffset: i32,
1433 yoffset: i32,
1434 width: i32,
1435 height: i32,
1436 format: u32,
1437 image_size: i32,
1438 offset: f64,
1439 );
1440 #[wasm_bindgen(
1441 method,
1442 js_class = "WebGL2RenderingContext",
1443 js_name = "compressedTexSubImage2D"
1444 )]
1445 #[doc = "The `compressedTexSubImage2D()` method."]
1446 #[doc = ""]
1447 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1448 #[doc = ""]
1449 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1450 pub fn compressed_tex_sub_image_2d_with_array_buffer_view(
1451 this: &WebGl2RenderingContext,
1452 target: u32,
1453 level: i32,
1454 xoffset: i32,
1455 yoffset: i32,
1456 width: i32,
1457 height: i32,
1458 format: u32,
1459 src_data: &::js_sys::Object,
1460 );
1461 #[wasm_bindgen(
1462 method,
1463 js_class = "WebGL2RenderingContext",
1464 js_name = "compressedTexSubImage2D"
1465 )]
1466 #[doc = "The `compressedTexSubImage2D()` method."]
1467 #[doc = ""]
1468 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1469 #[doc = ""]
1470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1471 pub fn compressed_tex_sub_image_2d_with_u8_array(
1472 this: &WebGl2RenderingContext,
1473 target: u32,
1474 level: i32,
1475 xoffset: i32,
1476 yoffset: i32,
1477 width: i32,
1478 height: i32,
1479 format: u32,
1480 src_data: &mut [u8],
1481 );
1482 #[wasm_bindgen(
1483 method,
1484 js_class = "WebGL2RenderingContext",
1485 js_name = "compressedTexSubImage2D"
1486 )]
1487 #[doc = "The `compressedTexSubImage2D()` method."]
1488 #[doc = ""]
1489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1490 #[doc = ""]
1491 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1492 pub fn compressed_tex_sub_image_2d_with_js_u8_array(
1493 this: &WebGl2RenderingContext,
1494 target: u32,
1495 level: i32,
1496 xoffset: i32,
1497 yoffset: i32,
1498 width: i32,
1499 height: i32,
1500 format: u32,
1501 src_data: &::js_sys::Uint8Array,
1502 );
1503 #[wasm_bindgen(
1504 method,
1505 js_class = "WebGL2RenderingContext",
1506 js_name = "compressedTexSubImage2D"
1507 )]
1508 #[doc = "The `compressedTexSubImage2D()` method."]
1509 #[doc = ""]
1510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1511 #[doc = ""]
1512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1513 pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32(
1514 this: &WebGl2RenderingContext,
1515 target: u32,
1516 level: i32,
1517 xoffset: i32,
1518 yoffset: i32,
1519 width: i32,
1520 height: i32,
1521 format: u32,
1522 src_data: &::js_sys::Object,
1523 src_offset: u32,
1524 );
1525 #[wasm_bindgen(
1526 method,
1527 js_class = "WebGL2RenderingContext",
1528 js_name = "compressedTexSubImage2D"
1529 )]
1530 #[doc = "The `compressedTexSubImage2D()` method."]
1531 #[doc = ""]
1532 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1533 #[doc = ""]
1534 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1535 pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32(
1536 this: &WebGl2RenderingContext,
1537 target: u32,
1538 level: i32,
1539 xoffset: i32,
1540 yoffset: i32,
1541 width: i32,
1542 height: i32,
1543 format: u32,
1544 src_data: &mut [u8],
1545 src_offset: u32,
1546 );
1547 #[wasm_bindgen(
1548 method,
1549 js_class = "WebGL2RenderingContext",
1550 js_name = "compressedTexSubImage2D"
1551 )]
1552 #[doc = "The `compressedTexSubImage2D()` method."]
1553 #[doc = ""]
1554 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1555 #[doc = ""]
1556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1557 pub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32(
1558 this: &WebGl2RenderingContext,
1559 target: u32,
1560 level: i32,
1561 xoffset: i32,
1562 yoffset: i32,
1563 width: i32,
1564 height: i32,
1565 format: u32,
1566 src_data: &::js_sys::Uint8Array,
1567 src_offset: u32,
1568 );
1569 #[wasm_bindgen(
1570 method,
1571 js_class = "WebGL2RenderingContext",
1572 js_name = "compressedTexSubImage2D"
1573 )]
1574 #[doc = "The `compressedTexSubImage2D()` method."]
1575 #[doc = ""]
1576 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1577 #[doc = ""]
1578 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1579 pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
1580 this: &WebGl2RenderingContext,
1581 target: u32,
1582 level: i32,
1583 xoffset: i32,
1584 yoffset: i32,
1585 width: i32,
1586 height: i32,
1587 format: u32,
1588 src_data: &::js_sys::Object,
1589 src_offset: u32,
1590 src_length_override: u32,
1591 );
1592 #[wasm_bindgen(
1593 method,
1594 js_class = "WebGL2RenderingContext",
1595 js_name = "compressedTexSubImage2D"
1596 )]
1597 #[doc = "The `compressedTexSubImage2D()` method."]
1598 #[doc = ""]
1599 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1600 #[doc = ""]
1601 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1602 pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override(
1603 this: &WebGl2RenderingContext,
1604 target: u32,
1605 level: i32,
1606 xoffset: i32,
1607 yoffset: i32,
1608 width: i32,
1609 height: i32,
1610 format: u32,
1611 src_data: &mut [u8],
1612 src_offset: u32,
1613 src_length_override: u32,
1614 );
1615 #[wasm_bindgen(
1616 method,
1617 js_class = "WebGL2RenderingContext",
1618 js_name = "compressedTexSubImage2D"
1619 )]
1620 #[doc = "The `compressedTexSubImage2D()` method."]
1621 #[doc = ""]
1622 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1623 #[doc = ""]
1624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1625 pub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32_and_src_length_override(
1626 this: &WebGl2RenderingContext,
1627 target: u32,
1628 level: i32,
1629 xoffset: i32,
1630 yoffset: i32,
1631 width: i32,
1632 height: i32,
1633 format: u32,
1634 src_data: &::js_sys::Uint8Array,
1635 src_offset: u32,
1636 src_length_override: u32,
1637 );
1638 #[wasm_bindgen(
1639 method,
1640 js_class = "WebGL2RenderingContext",
1641 js_name = "compressedTexSubImage3D"
1642 )]
1643 #[doc = "The `compressedTexSubImage3D()` method."]
1644 #[doc = ""]
1645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1646 #[doc = ""]
1647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1648 pub fn compressed_tex_sub_image_3d_with_i32_and_i32(
1649 this: &WebGl2RenderingContext,
1650 target: u32,
1651 level: i32,
1652 xoffset: i32,
1653 yoffset: i32,
1654 zoffset: i32,
1655 width: i32,
1656 height: i32,
1657 depth: i32,
1658 format: u32,
1659 image_size: i32,
1660 offset: i32,
1661 );
1662 #[wasm_bindgen(
1663 method,
1664 js_class = "WebGL2RenderingContext",
1665 js_name = "compressedTexSubImage3D"
1666 )]
1667 #[doc = "The `compressedTexSubImage3D()` method."]
1668 #[doc = ""]
1669 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1670 #[doc = ""]
1671 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1672 pub fn compressed_tex_sub_image_3d_with_i32_and_f64(
1673 this: &WebGl2RenderingContext,
1674 target: u32,
1675 level: i32,
1676 xoffset: i32,
1677 yoffset: i32,
1678 zoffset: i32,
1679 width: i32,
1680 height: i32,
1681 depth: i32,
1682 format: u32,
1683 image_size: i32,
1684 offset: f64,
1685 );
1686 #[wasm_bindgen(
1687 method,
1688 js_class = "WebGL2RenderingContext",
1689 js_name = "compressedTexSubImage3D"
1690 )]
1691 #[doc = "The `compressedTexSubImage3D()` method."]
1692 #[doc = ""]
1693 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1694 #[doc = ""]
1695 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1696 pub fn compressed_tex_sub_image_3d_with_array_buffer_view(
1697 this: &WebGl2RenderingContext,
1698 target: u32,
1699 level: i32,
1700 xoffset: i32,
1701 yoffset: i32,
1702 zoffset: i32,
1703 width: i32,
1704 height: i32,
1705 depth: i32,
1706 format: u32,
1707 src_data: &::js_sys::Object,
1708 );
1709 #[wasm_bindgen(
1710 method,
1711 js_class = "WebGL2RenderingContext",
1712 js_name = "compressedTexSubImage3D"
1713 )]
1714 #[doc = "The `compressedTexSubImage3D()` method."]
1715 #[doc = ""]
1716 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1717 #[doc = ""]
1718 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1719 pub fn compressed_tex_sub_image_3d_with_u8_array(
1720 this: &WebGl2RenderingContext,
1721 target: u32,
1722 level: i32,
1723 xoffset: i32,
1724 yoffset: i32,
1725 zoffset: i32,
1726 width: i32,
1727 height: i32,
1728 depth: i32,
1729 format: u32,
1730 src_data: &mut [u8],
1731 );
1732 #[wasm_bindgen(
1733 method,
1734 js_class = "WebGL2RenderingContext",
1735 js_name = "compressedTexSubImage3D"
1736 )]
1737 #[doc = "The `compressedTexSubImage3D()` method."]
1738 #[doc = ""]
1739 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1740 #[doc = ""]
1741 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1742 pub fn compressed_tex_sub_image_3d_with_js_u8_array(
1743 this: &WebGl2RenderingContext,
1744 target: u32,
1745 level: i32,
1746 xoffset: i32,
1747 yoffset: i32,
1748 zoffset: i32,
1749 width: i32,
1750 height: i32,
1751 depth: i32,
1752 format: u32,
1753 src_data: &::js_sys::Uint8Array,
1754 );
1755 #[wasm_bindgen(
1756 method,
1757 js_class = "WebGL2RenderingContext",
1758 js_name = "compressedTexSubImage3D"
1759 )]
1760 #[doc = "The `compressedTexSubImage3D()` method."]
1761 #[doc = ""]
1762 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1763 #[doc = ""]
1764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1765 pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32(
1766 this: &WebGl2RenderingContext,
1767 target: u32,
1768 level: i32,
1769 xoffset: i32,
1770 yoffset: i32,
1771 zoffset: i32,
1772 width: i32,
1773 height: i32,
1774 depth: i32,
1775 format: u32,
1776 src_data: &::js_sys::Object,
1777 src_offset: u32,
1778 );
1779 #[wasm_bindgen(
1780 method,
1781 js_class = "WebGL2RenderingContext",
1782 js_name = "compressedTexSubImage3D"
1783 )]
1784 #[doc = "The `compressedTexSubImage3D()` method."]
1785 #[doc = ""]
1786 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1787 #[doc = ""]
1788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1789 pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32(
1790 this: &WebGl2RenderingContext,
1791 target: u32,
1792 level: i32,
1793 xoffset: i32,
1794 yoffset: i32,
1795 zoffset: i32,
1796 width: i32,
1797 height: i32,
1798 depth: i32,
1799 format: u32,
1800 src_data: &mut [u8],
1801 src_offset: u32,
1802 );
1803 #[wasm_bindgen(
1804 method,
1805 js_class = "WebGL2RenderingContext",
1806 js_name = "compressedTexSubImage3D"
1807 )]
1808 #[doc = "The `compressedTexSubImage3D()` method."]
1809 #[doc = ""]
1810 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1811 #[doc = ""]
1812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1813 pub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32(
1814 this: &WebGl2RenderingContext,
1815 target: u32,
1816 level: i32,
1817 xoffset: i32,
1818 yoffset: i32,
1819 zoffset: i32,
1820 width: i32,
1821 height: i32,
1822 depth: i32,
1823 format: u32,
1824 src_data: &::js_sys::Uint8Array,
1825 src_offset: u32,
1826 );
1827 #[wasm_bindgen(
1828 method,
1829 js_class = "WebGL2RenderingContext",
1830 js_name = "compressedTexSubImage3D"
1831 )]
1832 #[doc = "The `compressedTexSubImage3D()` method."]
1833 #[doc = ""]
1834 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1835 #[doc = ""]
1836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1837 pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
1838 this: &WebGl2RenderingContext,
1839 target: u32,
1840 level: i32,
1841 xoffset: i32,
1842 yoffset: i32,
1843 zoffset: i32,
1844 width: i32,
1845 height: i32,
1846 depth: i32,
1847 format: u32,
1848 src_data: &::js_sys::Object,
1849 src_offset: u32,
1850 src_length_override: u32,
1851 );
1852 #[wasm_bindgen(
1853 method,
1854 js_class = "WebGL2RenderingContext",
1855 js_name = "compressedTexSubImage3D"
1856 )]
1857 #[doc = "The `compressedTexSubImage3D()` method."]
1858 #[doc = ""]
1859 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1860 #[doc = ""]
1861 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1862 pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override(
1863 this: &WebGl2RenderingContext,
1864 target: u32,
1865 level: i32,
1866 xoffset: i32,
1867 yoffset: i32,
1868 zoffset: i32,
1869 width: i32,
1870 height: i32,
1871 depth: i32,
1872 format: u32,
1873 src_data: &mut [u8],
1874 src_offset: u32,
1875 src_length_override: u32,
1876 );
1877 #[wasm_bindgen(
1878 method,
1879 js_class = "WebGL2RenderingContext",
1880 js_name = "compressedTexSubImage3D"
1881 )]
1882 #[doc = "The `compressedTexSubImage3D()` method."]
1883 #[doc = ""]
1884 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1885 #[doc = ""]
1886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1887 pub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32_and_src_length_override(
1888 this: &WebGl2RenderingContext,
1889 target: u32,
1890 level: i32,
1891 xoffset: i32,
1892 yoffset: i32,
1893 zoffset: i32,
1894 width: i32,
1895 height: i32,
1896 depth: i32,
1897 format: u32,
1898 src_data: &::js_sys::Uint8Array,
1899 src_offset: u32,
1900 src_length_override: u32,
1901 );
1902 #[wasm_bindgen(
1903 method,
1904 js_class = "WebGL2RenderingContext",
1905 js_name = "copyBufferSubData"
1906 )]
1907 #[doc = "The `copyBufferSubData()` method."]
1908 #[doc = ""]
1909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1910 #[doc = ""]
1911 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1912 pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32(
1913 this: &WebGl2RenderingContext,
1914 read_target: u32,
1915 write_target: u32,
1916 read_offset: i32,
1917 write_offset: i32,
1918 size: i32,
1919 );
1920 #[wasm_bindgen(
1921 method,
1922 js_class = "WebGL2RenderingContext",
1923 js_name = "copyBufferSubData"
1924 )]
1925 #[doc = "The `copyBufferSubData()` method."]
1926 #[doc = ""]
1927 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1928 #[doc = ""]
1929 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1930 pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32(
1931 this: &WebGl2RenderingContext,
1932 read_target: u32,
1933 write_target: u32,
1934 read_offset: f64,
1935 write_offset: i32,
1936 size: i32,
1937 );
1938 #[wasm_bindgen(
1939 method,
1940 js_class = "WebGL2RenderingContext",
1941 js_name = "copyBufferSubData"
1942 )]
1943 #[doc = "The `copyBufferSubData()` method."]
1944 #[doc = ""]
1945 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1946 #[doc = ""]
1947 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1948 pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32(
1949 this: &WebGl2RenderingContext,
1950 read_target: u32,
1951 write_target: u32,
1952 read_offset: i32,
1953 write_offset: f64,
1954 size: i32,
1955 );
1956 #[wasm_bindgen(
1957 method,
1958 js_class = "WebGL2RenderingContext",
1959 js_name = "copyBufferSubData"
1960 )]
1961 #[doc = "The `copyBufferSubData()` method."]
1962 #[doc = ""]
1963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1964 #[doc = ""]
1965 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1966 pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32(
1967 this: &WebGl2RenderingContext,
1968 read_target: u32,
1969 write_target: u32,
1970 read_offset: f64,
1971 write_offset: f64,
1972 size: i32,
1973 );
1974 #[wasm_bindgen(
1975 method,
1976 js_class = "WebGL2RenderingContext",
1977 js_name = "copyBufferSubData"
1978 )]
1979 #[doc = "The `copyBufferSubData()` method."]
1980 #[doc = ""]
1981 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1982 #[doc = ""]
1983 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1984 pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64(
1985 this: &WebGl2RenderingContext,
1986 read_target: u32,
1987 write_target: u32,
1988 read_offset: i32,
1989 write_offset: i32,
1990 size: f64,
1991 );
1992 #[wasm_bindgen(
1993 method,
1994 js_class = "WebGL2RenderingContext",
1995 js_name = "copyBufferSubData"
1996 )]
1997 #[doc = "The `copyBufferSubData()` method."]
1998 #[doc = ""]
1999 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
2000 #[doc = ""]
2001 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2002 pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64(
2003 this: &WebGl2RenderingContext,
2004 read_target: u32,
2005 write_target: u32,
2006 read_offset: f64,
2007 write_offset: i32,
2008 size: f64,
2009 );
2010 #[wasm_bindgen(
2011 method,
2012 js_class = "WebGL2RenderingContext",
2013 js_name = "copyBufferSubData"
2014 )]
2015 #[doc = "The `copyBufferSubData()` method."]
2016 #[doc = ""]
2017 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
2018 #[doc = ""]
2019 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2020 pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64(
2021 this: &WebGl2RenderingContext,
2022 read_target: u32,
2023 write_target: u32,
2024 read_offset: i32,
2025 write_offset: f64,
2026 size: f64,
2027 );
2028 #[wasm_bindgen(
2029 method,
2030 js_class = "WebGL2RenderingContext",
2031 js_name = "copyBufferSubData"
2032 )]
2033 #[doc = "The `copyBufferSubData()` method."]
2034 #[doc = ""]
2035 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
2036 #[doc = ""]
2037 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2038 pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64(
2039 this: &WebGl2RenderingContext,
2040 read_target: u32,
2041 write_target: u32,
2042 read_offset: f64,
2043 write_offset: f64,
2044 size: f64,
2045 );
2046 #[wasm_bindgen(
2047 method,
2048 js_class = "WebGL2RenderingContext",
2049 js_name = "copyTexSubImage3D"
2050 )]
2051 #[doc = "The `copyTexSubImage3D()` method."]
2052 #[doc = ""]
2053 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)"]
2054 #[doc = ""]
2055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2056 pub fn copy_tex_sub_image_3d(
2057 this: &WebGl2RenderingContext,
2058 target: u32,
2059 level: i32,
2060 xoffset: i32,
2061 yoffset: i32,
2062 zoffset: i32,
2063 x: i32,
2064 y: i32,
2065 width: i32,
2066 height: i32,
2067 );
2068 #[cfg(feature = "WebGlQuery")]
2069 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createQuery")]
2070 #[doc = "The `createQuery()` method."]
2071 #[doc = ""]
2072 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)"]
2073 #[doc = ""]
2074 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
2075 pub fn create_query(this: &WebGl2RenderingContext) -> Option<WebGlQuery>;
2076 #[cfg(feature = "WebGlSampler")]
2077 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createSampler")]
2078 #[doc = "The `createSampler()` method."]
2079 #[doc = ""]
2080 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)"]
2081 #[doc = ""]
2082 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2083 pub fn create_sampler(this: &WebGl2RenderingContext) -> Option<WebGlSampler>;
2084 #[cfg(feature = "WebGlTransformFeedback")]
2085 #[wasm_bindgen(
2086 method,
2087 js_class = "WebGL2RenderingContext",
2088 js_name = "createTransformFeedback"
2089 )]
2090 #[doc = "The `createTransformFeedback()` method."]
2091 #[doc = ""]
2092 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)"]
2093 #[doc = ""]
2094 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
2095 pub fn create_transform_feedback(
2096 this: &WebGl2RenderingContext,
2097 ) -> Option<WebGlTransformFeedback>;
2098 #[cfg(feature = "WebGlVertexArrayObject")]
2099 #[wasm_bindgen(
2100 method,
2101 js_class = "WebGL2RenderingContext",
2102 js_name = "createVertexArray"
2103 )]
2104 #[doc = "The `createVertexArray()` method."]
2105 #[doc = ""]
2106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)"]
2107 #[doc = ""]
2108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
2109 pub fn create_vertex_array(this: &WebGl2RenderingContext) -> Option<WebGlVertexArrayObject>;
2110 #[cfg(feature = "WebGlQuery")]
2111 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteQuery")]
2112 #[doc = "The `deleteQuery()` method."]
2113 #[doc = ""]
2114 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)"]
2115 #[doc = ""]
2116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
2117 pub fn delete_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>);
2118 #[cfg(feature = "WebGlSampler")]
2119 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteSampler")]
2120 #[doc = "The `deleteSampler()` method."]
2121 #[doc = ""]
2122 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)"]
2123 #[doc = ""]
2124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2125 pub fn delete_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>);
2126 #[cfg(feature = "WebGlSync")]
2127 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteSync")]
2128 #[doc = "The `deleteSync()` method."]
2129 #[doc = ""]
2130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)"]
2131 #[doc = ""]
2132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
2133 pub fn delete_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>);
2134 #[cfg(feature = "WebGlTransformFeedback")]
2135 #[wasm_bindgen(
2136 method,
2137 js_class = "WebGL2RenderingContext",
2138 js_name = "deleteTransformFeedback"
2139 )]
2140 #[doc = "The `deleteTransformFeedback()` method."]
2141 #[doc = ""]
2142 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)"]
2143 #[doc = ""]
2144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
2145 pub fn delete_transform_feedback(
2146 this: &WebGl2RenderingContext,
2147 tf: Option<&WebGlTransformFeedback>,
2148 );
2149 #[cfg(feature = "WebGlVertexArrayObject")]
2150 #[wasm_bindgen(
2151 method,
2152 js_class = "WebGL2RenderingContext",
2153 js_name = "deleteVertexArray"
2154 )]
2155 #[doc = "The `deleteVertexArray()` method."]
2156 #[doc = ""]
2157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)"]
2158 #[doc = ""]
2159 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
2160 pub fn delete_vertex_array(
2161 this: &WebGl2RenderingContext,
2162 vertex_array: Option<&WebGlVertexArrayObject>,
2163 );
2164 #[wasm_bindgen(
2165 method,
2166 js_class = "WebGL2RenderingContext",
2167 js_name = "drawArraysInstanced"
2168 )]
2169 #[doc = "The `drawArraysInstanced()` method."]
2170 #[doc = ""]
2171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)"]
2172 #[doc = ""]
2173 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2174 pub fn draw_arrays_instanced(
2175 this: &WebGl2RenderingContext,
2176 mode: u32,
2177 first: i32,
2178 count: i32,
2179 instance_count: i32,
2180 );
2181 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawBuffers")]
2182 #[doc = "The `drawBuffers()` method."]
2183 #[doc = ""]
2184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers)"]
2185 #[doc = ""]
2186 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2187 pub fn draw_buffers(this: &WebGl2RenderingContext, buffers: &::wasm_bindgen::JsValue);
2188 #[wasm_bindgen(
2189 method,
2190 js_class = "WebGL2RenderingContext",
2191 js_name = "drawElementsInstanced"
2192 )]
2193 #[doc = "The `drawElementsInstanced()` method."]
2194 #[doc = ""]
2195 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"]
2196 #[doc = ""]
2197 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2198 pub fn draw_elements_instanced_with_i32(
2199 this: &WebGl2RenderingContext,
2200 mode: u32,
2201 count: i32,
2202 type_: u32,
2203 offset: i32,
2204 instance_count: i32,
2205 );
2206 #[wasm_bindgen(
2207 method,
2208 js_class = "WebGL2RenderingContext",
2209 js_name = "drawElementsInstanced"
2210 )]
2211 #[doc = "The `drawElementsInstanced()` method."]
2212 #[doc = ""]
2213 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"]
2214 #[doc = ""]
2215 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2216 pub fn draw_elements_instanced_with_f64(
2217 this: &WebGl2RenderingContext,
2218 mode: u32,
2219 count: i32,
2220 type_: u32,
2221 offset: f64,
2222 instance_count: i32,
2223 );
2224 #[wasm_bindgen(
2225 method,
2226 js_class = "WebGL2RenderingContext",
2227 js_name = "drawRangeElements"
2228 )]
2229 #[doc = "The `drawRangeElements()` method."]
2230 #[doc = ""]
2231 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"]
2232 #[doc = ""]
2233 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2234 pub fn draw_range_elements_with_i32(
2235 this: &WebGl2RenderingContext,
2236 mode: u32,
2237 start: u32,
2238 end: u32,
2239 count: i32,
2240 type_: u32,
2241 offset: i32,
2242 );
2243 #[wasm_bindgen(
2244 method,
2245 js_class = "WebGL2RenderingContext",
2246 js_name = "drawRangeElements"
2247 )]
2248 #[doc = "The `drawRangeElements()` method."]
2249 #[doc = ""]
2250 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"]
2251 #[doc = ""]
2252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2253 pub fn draw_range_elements_with_f64(
2254 this: &WebGl2RenderingContext,
2255 mode: u32,
2256 start: u32,
2257 end: u32,
2258 count: i32,
2259 type_: u32,
2260 offset: f64,
2261 );
2262 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "endQuery")]
2263 #[doc = "The `endQuery()` method."]
2264 #[doc = ""]
2265 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)"]
2266 #[doc = ""]
2267 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2268 pub fn end_query(this: &WebGl2RenderingContext, target: u32);
2269 #[wasm_bindgen(
2270 method,
2271 js_class = "WebGL2RenderingContext",
2272 js_name = "endTransformFeedback"
2273 )]
2274 #[doc = "The `endTransformFeedback()` method."]
2275 #[doc = ""]
2276 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)"]
2277 #[doc = ""]
2278 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2279 pub fn end_transform_feedback(this: &WebGl2RenderingContext);
2280 #[cfg(feature = "WebGlSync")]
2281 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "fenceSync")]
2282 #[doc = "The `fenceSync()` method."]
2283 #[doc = ""]
2284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)"]
2285 #[doc = ""]
2286 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
2287 pub fn fence_sync(
2288 this: &WebGl2RenderingContext,
2289 condition: u32,
2290 flags: u32,
2291 ) -> Option<WebGlSync>;
2292 #[cfg(feature = "WebGlTexture")]
2293 #[wasm_bindgen(
2294 method,
2295 js_class = "WebGL2RenderingContext",
2296 js_name = "framebufferTextureLayer"
2297 )]
2298 #[doc = "The `framebufferTextureLayer()` method."]
2299 #[doc = ""]
2300 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)"]
2301 #[doc = ""]
2302 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
2303 pub fn framebuffer_texture_layer(
2304 this: &WebGl2RenderingContext,
2305 target: u32,
2306 attachment: u32,
2307 texture: Option<&WebGlTexture>,
2308 level: i32,
2309 layer: i32,
2310 );
2311 #[cfg(feature = "WebGlProgram")]
2312 #[wasm_bindgen(
2313 method,
2314 js_class = "WebGL2RenderingContext",
2315 js_name = "getActiveUniformBlockName"
2316 )]
2317 #[doc = "The `getActiveUniformBlockName()` method."]
2318 #[doc = ""]
2319 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)"]
2320 #[doc = ""]
2321 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2322 pub fn get_active_uniform_block_name(
2323 this: &WebGl2RenderingContext,
2324 program: &WebGlProgram,
2325 uniform_block_index: u32,
2326 ) -> Option<::alloc::string::String>;
2327 #[cfg(feature = "WebGlProgram")]
2328 #[wasm_bindgen(
2329 catch,
2330 method,
2331 js_class = "WebGL2RenderingContext",
2332 js_name = "getActiveUniformBlockParameter"
2333 )]
2334 #[doc = "The `getActiveUniformBlockParameter()` method."]
2335 #[doc = ""]
2336 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)"]
2337 #[doc = ""]
2338 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2339 pub fn get_active_uniform_block_parameter(
2340 this: &WebGl2RenderingContext,
2341 program: &WebGlProgram,
2342 uniform_block_index: u32,
2343 pname: u32,
2344 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
2345 #[cfg(feature = "WebGlProgram")]
2346 #[wasm_bindgen(
2347 method,
2348 js_class = "WebGL2RenderingContext",
2349 js_name = "getActiveUniforms"
2350 )]
2351 #[doc = "The `getActiveUniforms()` method."]
2352 #[doc = ""]
2353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms)"]
2354 #[doc = ""]
2355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2356 pub fn get_active_uniforms(
2357 this: &WebGl2RenderingContext,
2358 program: &WebGlProgram,
2359 uniform_indices: &::wasm_bindgen::JsValue,
2360 pname: u32,
2361 ) -> ::wasm_bindgen::JsValue;
2362 #[wasm_bindgen(
2363 method,
2364 js_class = "WebGL2RenderingContext",
2365 js_name = "getBufferSubData"
2366 )]
2367 #[doc = "The `getBufferSubData()` method."]
2368 #[doc = ""]
2369 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2370 #[doc = ""]
2371 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2372 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view(
2373 this: &WebGl2RenderingContext,
2374 target: u32,
2375 src_byte_offset: i32,
2376 dst_data: &::js_sys::Object,
2377 );
2378 #[wasm_bindgen(
2379 method,
2380 js_class = "WebGL2RenderingContext",
2381 js_name = "getBufferSubData"
2382 )]
2383 #[doc = "The `getBufferSubData()` method."]
2384 #[doc = ""]
2385 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2386 #[doc = ""]
2387 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2388 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view(
2389 this: &WebGl2RenderingContext,
2390 target: u32,
2391 src_byte_offset: f64,
2392 dst_data: &::js_sys::Object,
2393 );
2394 #[wasm_bindgen(
2395 method,
2396 js_class = "WebGL2RenderingContext",
2397 js_name = "getBufferSubData"
2398 )]
2399 #[doc = "The `getBufferSubData()` method."]
2400 #[doc = ""]
2401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2402 #[doc = ""]
2403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2404 pub fn get_buffer_sub_data_with_i32_and_u8_array(
2405 this: &WebGl2RenderingContext,
2406 target: u32,
2407 src_byte_offset: i32,
2408 dst_data: &mut [u8],
2409 );
2410 #[wasm_bindgen(
2411 method,
2412 js_class = "WebGL2RenderingContext",
2413 js_name = "getBufferSubData"
2414 )]
2415 #[doc = "The `getBufferSubData()` method."]
2416 #[doc = ""]
2417 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2418 #[doc = ""]
2419 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2420 pub fn get_buffer_sub_data_with_f64_and_u8_array(
2421 this: &WebGl2RenderingContext,
2422 target: u32,
2423 src_byte_offset: f64,
2424 dst_data: &mut [u8],
2425 );
2426 #[wasm_bindgen(
2427 method,
2428 js_class = "WebGL2RenderingContext",
2429 js_name = "getBufferSubData"
2430 )]
2431 #[doc = "The `getBufferSubData()` method."]
2432 #[doc = ""]
2433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2434 #[doc = ""]
2435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2436 pub fn get_buffer_sub_data_with_i32_and_js_u8_array(
2437 this: &WebGl2RenderingContext,
2438 target: u32,
2439 src_byte_offset: i32,
2440 dst_data: &::js_sys::Uint8Array,
2441 );
2442 #[wasm_bindgen(
2443 method,
2444 js_class = "WebGL2RenderingContext",
2445 js_name = "getBufferSubData"
2446 )]
2447 #[doc = "The `getBufferSubData()` method."]
2448 #[doc = ""]
2449 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2450 #[doc = ""]
2451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2452 pub fn get_buffer_sub_data_with_f64_and_js_u8_array(
2453 this: &WebGl2RenderingContext,
2454 target: u32,
2455 src_byte_offset: f64,
2456 dst_data: &::js_sys::Uint8Array,
2457 );
2458 #[wasm_bindgen(
2459 method,
2460 js_class = "WebGL2RenderingContext",
2461 js_name = "getBufferSubData"
2462 )]
2463 #[doc = "The `getBufferSubData()` method."]
2464 #[doc = ""]
2465 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2466 #[doc = ""]
2467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2468 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset(
2469 this: &WebGl2RenderingContext,
2470 target: u32,
2471 src_byte_offset: i32,
2472 dst_data: &::js_sys::Object,
2473 dst_offset: u32,
2474 );
2475 #[wasm_bindgen(
2476 method,
2477 js_class = "WebGL2RenderingContext",
2478 js_name = "getBufferSubData"
2479 )]
2480 #[doc = "The `getBufferSubData()` method."]
2481 #[doc = ""]
2482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2483 #[doc = ""]
2484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2485 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset(
2486 this: &WebGl2RenderingContext,
2487 target: u32,
2488 src_byte_offset: f64,
2489 dst_data: &::js_sys::Object,
2490 dst_offset: u32,
2491 );
2492 #[wasm_bindgen(
2493 method,
2494 js_class = "WebGL2RenderingContext",
2495 js_name = "getBufferSubData"
2496 )]
2497 #[doc = "The `getBufferSubData()` method."]
2498 #[doc = ""]
2499 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2500 #[doc = ""]
2501 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2502 pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset(
2503 this: &WebGl2RenderingContext,
2504 target: u32,
2505 src_byte_offset: i32,
2506 dst_data: &mut [u8],
2507 dst_offset: u32,
2508 );
2509 #[wasm_bindgen(
2510 method,
2511 js_class = "WebGL2RenderingContext",
2512 js_name = "getBufferSubData"
2513 )]
2514 #[doc = "The `getBufferSubData()` method."]
2515 #[doc = ""]
2516 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2517 #[doc = ""]
2518 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2519 pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset(
2520 this: &WebGl2RenderingContext,
2521 target: u32,
2522 src_byte_offset: f64,
2523 dst_data: &mut [u8],
2524 dst_offset: u32,
2525 );
2526 #[wasm_bindgen(
2527 method,
2528 js_class = "WebGL2RenderingContext",
2529 js_name = "getBufferSubData"
2530 )]
2531 #[doc = "The `getBufferSubData()` method."]
2532 #[doc = ""]
2533 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2534 #[doc = ""]
2535 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2536 pub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset(
2537 this: &WebGl2RenderingContext,
2538 target: u32,
2539 src_byte_offset: i32,
2540 dst_data: &::js_sys::Uint8Array,
2541 dst_offset: u32,
2542 );
2543 #[wasm_bindgen(
2544 method,
2545 js_class = "WebGL2RenderingContext",
2546 js_name = "getBufferSubData"
2547 )]
2548 #[doc = "The `getBufferSubData()` method."]
2549 #[doc = ""]
2550 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2551 #[doc = ""]
2552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2553 pub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset(
2554 this: &WebGl2RenderingContext,
2555 target: u32,
2556 src_byte_offset: f64,
2557 dst_data: &::js_sys::Uint8Array,
2558 dst_offset: u32,
2559 );
2560 #[wasm_bindgen(
2561 method,
2562 js_class = "WebGL2RenderingContext",
2563 js_name = "getBufferSubData"
2564 )]
2565 #[doc = "The `getBufferSubData()` method."]
2566 #[doc = ""]
2567 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2568 #[doc = ""]
2569 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2570 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length(
2571 this: &WebGl2RenderingContext,
2572 target: u32,
2573 src_byte_offset: i32,
2574 dst_data: &::js_sys::Object,
2575 dst_offset: u32,
2576 length: u32,
2577 );
2578 #[wasm_bindgen(
2579 method,
2580 js_class = "WebGL2RenderingContext",
2581 js_name = "getBufferSubData"
2582 )]
2583 #[doc = "The `getBufferSubData()` method."]
2584 #[doc = ""]
2585 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2586 #[doc = ""]
2587 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2588 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length(
2589 this: &WebGl2RenderingContext,
2590 target: u32,
2591 src_byte_offset: f64,
2592 dst_data: &::js_sys::Object,
2593 dst_offset: u32,
2594 length: u32,
2595 );
2596 #[wasm_bindgen(
2597 method,
2598 js_class = "WebGL2RenderingContext",
2599 js_name = "getBufferSubData"
2600 )]
2601 #[doc = "The `getBufferSubData()` method."]
2602 #[doc = ""]
2603 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2604 #[doc = ""]
2605 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2606 pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length(
2607 this: &WebGl2RenderingContext,
2608 target: u32,
2609 src_byte_offset: i32,
2610 dst_data: &mut [u8],
2611 dst_offset: u32,
2612 length: u32,
2613 );
2614 #[wasm_bindgen(
2615 method,
2616 js_class = "WebGL2RenderingContext",
2617 js_name = "getBufferSubData"
2618 )]
2619 #[doc = "The `getBufferSubData()` method."]
2620 #[doc = ""]
2621 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2622 #[doc = ""]
2623 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2624 pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length(
2625 this: &WebGl2RenderingContext,
2626 target: u32,
2627 src_byte_offset: f64,
2628 dst_data: &mut [u8],
2629 dst_offset: u32,
2630 length: u32,
2631 );
2632 #[wasm_bindgen(
2633 method,
2634 js_class = "WebGL2RenderingContext",
2635 js_name = "getBufferSubData"
2636 )]
2637 #[doc = "The `getBufferSubData()` method."]
2638 #[doc = ""]
2639 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2640 #[doc = ""]
2641 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2642 pub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset_and_length(
2643 this: &WebGl2RenderingContext,
2644 target: u32,
2645 src_byte_offset: i32,
2646 dst_data: &::js_sys::Uint8Array,
2647 dst_offset: u32,
2648 length: u32,
2649 );
2650 #[wasm_bindgen(
2651 method,
2652 js_class = "WebGL2RenderingContext",
2653 js_name = "getBufferSubData"
2654 )]
2655 #[doc = "The `getBufferSubData()` method."]
2656 #[doc = ""]
2657 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2658 #[doc = ""]
2659 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2660 pub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset_and_length(
2661 this: &WebGl2RenderingContext,
2662 target: u32,
2663 src_byte_offset: f64,
2664 dst_data: &::js_sys::Uint8Array,
2665 dst_offset: u32,
2666 length: u32,
2667 );
2668 #[cfg(feature = "WebGlProgram")]
2669 #[wasm_bindgen(
2670 method,
2671 js_class = "WebGL2RenderingContext",
2672 js_name = "getFragDataLocation"
2673 )]
2674 #[doc = "The `getFragDataLocation()` method."]
2675 #[doc = ""]
2676 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)"]
2677 #[doc = ""]
2678 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2679 pub fn get_frag_data_location(
2680 this: &WebGl2RenderingContext,
2681 program: &WebGlProgram,
2682 name: &str,
2683 ) -> i32;
2684 #[wasm_bindgen(
2685 catch,
2686 method,
2687 js_class = "WebGL2RenderingContext",
2688 js_name = "getIndexedParameter"
2689 )]
2690 #[doc = "The `getIndexedParameter()` method."]
2691 #[doc = ""]
2692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)"]
2693 #[doc = ""]
2694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2695 pub fn get_indexed_parameter(
2696 this: &WebGl2RenderingContext,
2697 target: u32,
2698 index: u32,
2699 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
2700 #[wasm_bindgen(
2701 catch,
2702 method,
2703 js_class = "WebGL2RenderingContext",
2704 js_name = "getInternalformatParameter"
2705 )]
2706 #[doc = "The `getInternalformatParameter()` method."]
2707 #[doc = ""]
2708 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)"]
2709 #[doc = ""]
2710 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2711 pub fn get_internalformat_parameter(
2712 this: &WebGl2RenderingContext,
2713 target: u32,
2714 internalformat: u32,
2715 pname: u32,
2716 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
2717 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "getQuery")]
2718 #[doc = "The `getQuery()` method."]
2719 #[doc = ""]
2720 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)"]
2721 #[doc = ""]
2722 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2723 pub fn get_query(
2724 this: &WebGl2RenderingContext,
2725 target: u32,
2726 pname: u32,
2727 ) -> ::wasm_bindgen::JsValue;
2728 #[cfg(feature = "WebGlQuery")]
2729 #[wasm_bindgen(
2730 method,
2731 js_class = "WebGL2RenderingContext",
2732 js_name = "getQueryParameter"
2733 )]
2734 #[doc = "The `getQueryParameter()` method."]
2735 #[doc = ""]
2736 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)"]
2737 #[doc = ""]
2738 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
2739 pub fn get_query_parameter(
2740 this: &WebGl2RenderingContext,
2741 query: &WebGlQuery,
2742 pname: u32,
2743 ) -> ::wasm_bindgen::JsValue;
2744 #[cfg(feature = "WebGlSampler")]
2745 #[wasm_bindgen(
2746 method,
2747 js_class = "WebGL2RenderingContext",
2748 js_name = "getSamplerParameter"
2749 )]
2750 #[doc = "The `getSamplerParameter()` method."]
2751 #[doc = ""]
2752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)"]
2753 #[doc = ""]
2754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2755 pub fn get_sampler_parameter(
2756 this: &WebGl2RenderingContext,
2757 sampler: &WebGlSampler,
2758 pname: u32,
2759 ) -> ::wasm_bindgen::JsValue;
2760 #[cfg(feature = "WebGlSync")]
2761 #[wasm_bindgen(
2762 method,
2763 js_class = "WebGL2RenderingContext",
2764 js_name = "getSyncParameter"
2765 )]
2766 #[doc = "The `getSyncParameter()` method."]
2767 #[doc = ""]
2768 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)"]
2769 #[doc = ""]
2770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
2771 pub fn get_sync_parameter(
2772 this: &WebGl2RenderingContext,
2773 sync: &WebGlSync,
2774 pname: u32,
2775 ) -> ::wasm_bindgen::JsValue;
2776 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
2777 #[wasm_bindgen(
2778 method,
2779 js_class = "WebGL2RenderingContext",
2780 js_name = "getTransformFeedbackVarying"
2781 )]
2782 #[doc = "The `getTransformFeedbackVarying()` method."]
2783 #[doc = ""]
2784 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)"]
2785 #[doc = ""]
2786 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
2787 pub fn get_transform_feedback_varying(
2788 this: &WebGl2RenderingContext,
2789 program: &WebGlProgram,
2790 index: u32,
2791 ) -> Option<WebGlActiveInfo>;
2792 #[cfg(feature = "WebGlProgram")]
2793 #[wasm_bindgen(
2794 method,
2795 js_class = "WebGL2RenderingContext",
2796 js_name = "getUniformBlockIndex"
2797 )]
2798 #[doc = "The `getUniformBlockIndex()` method."]
2799 #[doc = ""]
2800 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)"]
2801 #[doc = ""]
2802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2803 pub fn get_uniform_block_index(
2804 this: &WebGl2RenderingContext,
2805 program: &WebGlProgram,
2806 uniform_block_name: &str,
2807 ) -> u32;
2808 #[cfg(feature = "WebGlProgram")]
2809 #[wasm_bindgen(
2810 method,
2811 js_class = "WebGL2RenderingContext",
2812 js_name = "getUniformIndices"
2813 )]
2814 #[doc = "The `getUniformIndices()` method."]
2815 #[doc = ""]
2816 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices)"]
2817 #[doc = ""]
2818 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2819 pub fn get_uniform_indices(
2820 this: &WebGl2RenderingContext,
2821 program: &WebGlProgram,
2822 uniform_names: &::wasm_bindgen::JsValue,
2823 ) -> Option<::js_sys::Array>;
2824 #[wasm_bindgen(
2825 catch,
2826 method,
2827 js_class = "WebGL2RenderingContext",
2828 js_name = "invalidateFramebuffer"
2829 )]
2830 #[doc = "The `invalidateFramebuffer()` method."]
2831 #[doc = ""]
2832 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer)"]
2833 #[doc = ""]
2834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2835 pub fn invalidate_framebuffer(
2836 this: &WebGl2RenderingContext,
2837 target: u32,
2838 attachments: &::wasm_bindgen::JsValue,
2839 ) -> Result<(), JsValue>;
2840 #[wasm_bindgen(
2841 catch,
2842 method,
2843 js_class = "WebGL2RenderingContext",
2844 js_name = "invalidateSubFramebuffer"
2845 )]
2846 #[doc = "The `invalidateSubFramebuffer()` method."]
2847 #[doc = ""]
2848 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer)"]
2849 #[doc = ""]
2850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2851 pub fn invalidate_sub_framebuffer(
2852 this: &WebGl2RenderingContext,
2853 target: u32,
2854 attachments: &::wasm_bindgen::JsValue,
2855 x: i32,
2856 y: i32,
2857 width: i32,
2858 height: i32,
2859 ) -> Result<(), JsValue>;
2860 #[cfg(feature = "WebGlQuery")]
2861 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isQuery")]
2862 #[doc = "The `isQuery()` method."]
2863 #[doc = ""]
2864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)"]
2865 #[doc = ""]
2866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
2867 pub fn is_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>) -> bool;
2868 #[cfg(feature = "WebGlSampler")]
2869 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isSampler")]
2870 #[doc = "The `isSampler()` method."]
2871 #[doc = ""]
2872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)"]
2873 #[doc = ""]
2874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2875 pub fn is_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>) -> bool;
2876 #[cfg(feature = "WebGlSync")]
2877 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isSync")]
2878 #[doc = "The `isSync()` method."]
2879 #[doc = ""]
2880 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)"]
2881 #[doc = ""]
2882 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
2883 pub fn is_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>) -> bool;
2884 #[cfg(feature = "WebGlTransformFeedback")]
2885 #[wasm_bindgen(
2886 method,
2887 js_class = "WebGL2RenderingContext",
2888 js_name = "isTransformFeedback"
2889 )]
2890 #[doc = "The `isTransformFeedback()` method."]
2891 #[doc = ""]
2892 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)"]
2893 #[doc = ""]
2894 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
2895 pub fn is_transform_feedback(
2896 this: &WebGl2RenderingContext,
2897 tf: Option<&WebGlTransformFeedback>,
2898 ) -> bool;
2899 #[cfg(feature = "WebGlVertexArrayObject")]
2900 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isVertexArray")]
2901 #[doc = "The `isVertexArray()` method."]
2902 #[doc = ""]
2903 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)"]
2904 #[doc = ""]
2905 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
2906 pub fn is_vertex_array(
2907 this: &WebGl2RenderingContext,
2908 vertex_array: Option<&WebGlVertexArrayObject>,
2909 ) -> bool;
2910 #[wasm_bindgen(
2911 method,
2912 js_class = "WebGL2RenderingContext",
2913 js_name = "pauseTransformFeedback"
2914 )]
2915 #[doc = "The `pauseTransformFeedback()` method."]
2916 #[doc = ""]
2917 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)"]
2918 #[doc = ""]
2919 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2920 pub fn pause_transform_feedback(this: &WebGl2RenderingContext);
2921 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "readBuffer")]
2922 #[doc = "The `readBuffer()` method."]
2923 #[doc = ""]
2924 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)"]
2925 #[doc = ""]
2926 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2927 pub fn read_buffer(this: &WebGl2RenderingContext, src: u32);
2928 #[wasm_bindgen(
2929 catch,
2930 method,
2931 js_class = "WebGL2RenderingContext",
2932 js_name = "readPixels"
2933 )]
2934 #[doc = "The `readPixels()` method."]
2935 #[doc = ""]
2936 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2937 #[doc = ""]
2938 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2939 pub fn read_pixels_with_opt_array_buffer_view(
2940 this: &WebGl2RenderingContext,
2941 x: i32,
2942 y: i32,
2943 width: i32,
2944 height: i32,
2945 format: u32,
2946 type_: u32,
2947 dst_data: Option<&::js_sys::Object>,
2948 ) -> Result<(), JsValue>;
2949 #[wasm_bindgen(
2950 catch,
2951 method,
2952 js_class = "WebGL2RenderingContext",
2953 js_name = "readPixels"
2954 )]
2955 #[doc = "The `readPixels()` method."]
2956 #[doc = ""]
2957 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2958 #[doc = ""]
2959 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2960 pub fn read_pixels_with_opt_u8_array(
2961 this: &WebGl2RenderingContext,
2962 x: i32,
2963 y: i32,
2964 width: i32,
2965 height: i32,
2966 format: u32,
2967 type_: u32,
2968 dst_data: Option<&mut [u8]>,
2969 ) -> Result<(), JsValue>;
2970 #[wasm_bindgen(
2971 catch,
2972 method,
2973 js_class = "WebGL2RenderingContext",
2974 js_name = "readPixels"
2975 )]
2976 #[doc = "The `readPixels()` method."]
2977 #[doc = ""]
2978 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2979 #[doc = ""]
2980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2981 pub fn read_pixels_with_opt_js_u8_array(
2982 this: &WebGl2RenderingContext,
2983 x: i32,
2984 y: i32,
2985 width: i32,
2986 height: i32,
2987 format: u32,
2988 type_: u32,
2989 dst_data: Option<&::js_sys::Uint8Array>,
2990 ) -> Result<(), JsValue>;
2991 #[wasm_bindgen(
2992 catch,
2993 method,
2994 js_class = "WebGL2RenderingContext",
2995 js_name = "readPixels"
2996 )]
2997 #[doc = "The `readPixels()` method."]
2998 #[doc = ""]
2999 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
3000 #[doc = ""]
3001 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3002 pub fn read_pixels_with_i32(
3003 this: &WebGl2RenderingContext,
3004 x: i32,
3005 y: i32,
3006 width: i32,
3007 height: i32,
3008 format: u32,
3009 type_: u32,
3010 offset: i32,
3011 ) -> Result<(), JsValue>;
3012 #[wasm_bindgen(
3013 catch,
3014 method,
3015 js_class = "WebGL2RenderingContext",
3016 js_name = "readPixels"
3017 )]
3018 #[doc = "The `readPixels()` method."]
3019 #[doc = ""]
3020 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
3021 #[doc = ""]
3022 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3023 pub fn read_pixels_with_f64(
3024 this: &WebGl2RenderingContext,
3025 x: i32,
3026 y: i32,
3027 width: i32,
3028 height: i32,
3029 format: u32,
3030 type_: u32,
3031 offset: f64,
3032 ) -> Result<(), JsValue>;
3033 #[wasm_bindgen(
3034 catch,
3035 method,
3036 js_class = "WebGL2RenderingContext",
3037 js_name = "readPixels"
3038 )]
3039 #[doc = "The `readPixels()` method."]
3040 #[doc = ""]
3041 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
3042 #[doc = ""]
3043 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3044 pub fn read_pixels_with_array_buffer_view_and_dst_offset(
3045 this: &WebGl2RenderingContext,
3046 x: i32,
3047 y: i32,
3048 width: i32,
3049 height: i32,
3050 format: u32,
3051 type_: u32,
3052 dst_data: &::js_sys::Object,
3053 dst_offset: u32,
3054 ) -> Result<(), JsValue>;
3055 #[wasm_bindgen(
3056 catch,
3057 method,
3058 js_class = "WebGL2RenderingContext",
3059 js_name = "readPixels"
3060 )]
3061 #[doc = "The `readPixels()` method."]
3062 #[doc = ""]
3063 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
3064 #[doc = ""]
3065 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3066 pub fn read_pixels_with_u8_array_and_dst_offset(
3067 this: &WebGl2RenderingContext,
3068 x: i32,
3069 y: i32,
3070 width: i32,
3071 height: i32,
3072 format: u32,
3073 type_: u32,
3074 dst_data: &mut [u8],
3075 dst_offset: u32,
3076 ) -> Result<(), JsValue>;
3077 #[wasm_bindgen(
3078 catch,
3079 method,
3080 js_class = "WebGL2RenderingContext",
3081 js_name = "readPixels"
3082 )]
3083 #[doc = "The `readPixels()` method."]
3084 #[doc = ""]
3085 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
3086 #[doc = ""]
3087 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3088 pub fn read_pixels_with_js_u8_array_and_dst_offset(
3089 this: &WebGl2RenderingContext,
3090 x: i32,
3091 y: i32,
3092 width: i32,
3093 height: i32,
3094 format: u32,
3095 type_: u32,
3096 dst_data: &::js_sys::Uint8Array,
3097 dst_offset: u32,
3098 ) -> Result<(), JsValue>;
3099 #[wasm_bindgen(
3100 method,
3101 js_class = "WebGL2RenderingContext",
3102 js_name = "renderbufferStorageMultisample"
3103 )]
3104 #[doc = "The `renderbufferStorageMultisample()` method."]
3105 #[doc = ""]
3106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)"]
3107 #[doc = ""]
3108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3109 pub fn renderbuffer_storage_multisample(
3110 this: &WebGl2RenderingContext,
3111 target: u32,
3112 samples: i32,
3113 internalformat: u32,
3114 width: i32,
3115 height: i32,
3116 );
3117 #[wasm_bindgen(
3118 method,
3119 js_class = "WebGL2RenderingContext",
3120 js_name = "resumeTransformFeedback"
3121 )]
3122 #[doc = "The `resumeTransformFeedback()` method."]
3123 #[doc = ""]
3124 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)"]
3125 #[doc = ""]
3126 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3127 pub fn resume_transform_feedback(this: &WebGl2RenderingContext);
3128 #[cfg(feature = "WebGlSampler")]
3129 #[wasm_bindgen(
3130 method,
3131 js_class = "WebGL2RenderingContext",
3132 js_name = "samplerParameterf"
3133 )]
3134 #[doc = "The `samplerParameterf()` method."]
3135 #[doc = ""]
3136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)"]
3137 #[doc = ""]
3138 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
3139 pub fn sampler_parameterf(
3140 this: &WebGl2RenderingContext,
3141 sampler: &WebGlSampler,
3142 pname: u32,
3143 param: f32,
3144 );
3145 #[cfg(feature = "WebGlSampler")]
3146 #[wasm_bindgen(
3147 method,
3148 js_class = "WebGL2RenderingContext",
3149 js_name = "samplerParameteri"
3150 )]
3151 #[doc = "The `samplerParameteri()` method."]
3152 #[doc = ""]
3153 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)"]
3154 #[doc = ""]
3155 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
3156 pub fn sampler_parameteri(
3157 this: &WebGl2RenderingContext,
3158 sampler: &WebGlSampler,
3159 pname: u32,
3160 param: i32,
3161 );
3162 #[wasm_bindgen(
3163 catch,
3164 method,
3165 js_class = "WebGL2RenderingContext",
3166 js_name = "texImage2D"
3167 )]
3168 #[doc = "The `texImage2D()` method."]
3169 #[doc = ""]
3170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3171 #[doc = ""]
3172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3173 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
3174 this: &WebGl2RenderingContext,
3175 target: u32,
3176 level: i32,
3177 internalformat: i32,
3178 width: i32,
3179 height: i32,
3180 border: i32,
3181 format: u32,
3182 type_: u32,
3183 pixels: Option<&::js_sys::Object>,
3184 ) -> Result<(), JsValue>;
3185 #[wasm_bindgen(
3186 catch,
3187 method,
3188 js_class = "WebGL2RenderingContext",
3189 js_name = "texImage2D"
3190 )]
3191 #[doc = "The `texImage2D()` method."]
3192 #[doc = ""]
3193 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3194 #[doc = ""]
3195 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3196 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
3197 this: &WebGl2RenderingContext,
3198 target: u32,
3199 level: i32,
3200 internalformat: i32,
3201 width: i32,
3202 height: i32,
3203 border: i32,
3204 format: u32,
3205 type_: u32,
3206 pixels: Option<&[u8]>,
3207 ) -> Result<(), JsValue>;
3208 #[wasm_bindgen(
3209 catch,
3210 method,
3211 js_class = "WebGL2RenderingContext",
3212 js_name = "texImage2D"
3213 )]
3214 #[doc = "The `texImage2D()` method."]
3215 #[doc = ""]
3216 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3217 #[doc = ""]
3218 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3219 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_js_u8_array(
3220 this: &WebGl2RenderingContext,
3221 target: u32,
3222 level: i32,
3223 internalformat: i32,
3224 width: i32,
3225 height: i32,
3226 border: i32,
3227 format: u32,
3228 type_: u32,
3229 pixels: Option<&::js_sys::Uint8Array>,
3230 ) -> Result<(), JsValue>;
3231 #[cfg(feature = "HtmlCanvasElement")]
3232 #[wasm_bindgen(
3233 catch,
3234 method,
3235 js_class = "WebGL2RenderingContext",
3236 js_name = "texImage2D"
3237 )]
3238 #[doc = "The `texImage2D()` method."]
3239 #[doc = ""]
3240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3241 #[doc = ""]
3242 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3243 pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element(
3244 this: &WebGl2RenderingContext,
3245 target: u32,
3246 level: i32,
3247 internalformat: i32,
3248 format: u32,
3249 type_: u32,
3250 source: &HtmlCanvasElement,
3251 ) -> Result<(), JsValue>;
3252 #[cfg(feature = "HtmlImageElement")]
3253 #[wasm_bindgen(
3254 catch,
3255 method,
3256 js_class = "WebGL2RenderingContext",
3257 js_name = "texImage2D"
3258 )]
3259 #[doc = "The `texImage2D()` method."]
3260 #[doc = ""]
3261 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3262 #[doc = ""]
3263 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3264 pub fn tex_image_2d_with_u32_and_u32_and_html_image_element(
3265 this: &WebGl2RenderingContext,
3266 target: u32,
3267 level: i32,
3268 internalformat: i32,
3269 format: u32,
3270 type_: u32,
3271 source: &HtmlImageElement,
3272 ) -> Result<(), JsValue>;
3273 #[cfg(feature = "HtmlVideoElement")]
3274 #[wasm_bindgen(
3275 catch,
3276 method,
3277 js_class = "WebGL2RenderingContext",
3278 js_name = "texImage2D"
3279 )]
3280 #[doc = "The `texImage2D()` method."]
3281 #[doc = ""]
3282 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3283 #[doc = ""]
3284 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3285 pub fn tex_image_2d_with_u32_and_u32_and_html_video_element(
3286 this: &WebGl2RenderingContext,
3287 target: u32,
3288 level: i32,
3289 internalformat: i32,
3290 format: u32,
3291 type_: u32,
3292 source: &HtmlVideoElement,
3293 ) -> Result<(), JsValue>;
3294 #[cfg(feature = "OffscreenCanvas")]
3295 #[wasm_bindgen(
3296 catch,
3297 method,
3298 js_class = "WebGL2RenderingContext",
3299 js_name = "texImage2D"
3300 )]
3301 #[doc = "The `texImage2D()` method."]
3302 #[doc = ""]
3303 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3304 #[doc = ""]
3305 #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WebGl2RenderingContext`*"]
3306 pub fn tex_image_2d_with_u32_and_u32_and_offscreen_canvas(
3307 this: &WebGl2RenderingContext,
3308 target: u32,
3309 level: i32,
3310 internalformat: i32,
3311 format: u32,
3312 type_: u32,
3313 source: &OffscreenCanvas,
3314 ) -> Result<(), JsValue>;
3315 #[cfg(feature = "VideoFrame")]
3316 #[wasm_bindgen(
3317 catch,
3318 method,
3319 js_class = "WebGL2RenderingContext",
3320 js_name = "texImage2D"
3321 )]
3322 #[doc = "The `texImage2D()` method."]
3323 #[doc = ""]
3324 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3325 #[doc = ""]
3326 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3327 pub fn tex_image_2d_with_u32_and_u32_and_video_frame(
3328 this: &WebGl2RenderingContext,
3329 target: u32,
3330 level: i32,
3331 internalformat: i32,
3332 format: u32,
3333 type_: u32,
3334 source: &VideoFrame,
3335 ) -> Result<(), JsValue>;
3336 #[cfg(feature = "ImageBitmap")]
3337 #[wasm_bindgen(
3338 catch,
3339 method,
3340 js_class = "WebGL2RenderingContext",
3341 js_name = "texImage2D"
3342 )]
3343 #[doc = "The `texImage2D()` method."]
3344 #[doc = ""]
3345 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3346 #[doc = ""]
3347 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3348 pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
3349 this: &WebGl2RenderingContext,
3350 target: u32,
3351 level: i32,
3352 internalformat: i32,
3353 format: u32,
3354 type_: u32,
3355 source: &ImageBitmap,
3356 ) -> Result<(), JsValue>;
3357 #[cfg(feature = "ImageData")]
3358 #[wasm_bindgen(
3359 catch,
3360 method,
3361 js_class = "WebGL2RenderingContext",
3362 js_name = "texImage2D"
3363 )]
3364 #[doc = "The `texImage2D()` method."]
3365 #[doc = ""]
3366 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3367 #[doc = ""]
3368 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3369 pub fn tex_image_2d_with_u32_and_u32_and_image_data(
3370 this: &WebGl2RenderingContext,
3371 target: u32,
3372 level: i32,
3373 internalformat: i32,
3374 format: u32,
3375 type_: u32,
3376 source: &ImageData,
3377 ) -> Result<(), JsValue>;
3378 #[wasm_bindgen(
3379 catch,
3380 method,
3381 js_class = "WebGL2RenderingContext",
3382 js_name = "texImage2D"
3383 )]
3384 #[doc = "The `texImage2D()` method."]
3385 #[doc = ""]
3386 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3387 #[doc = ""]
3388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3389 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32(
3390 this: &WebGl2RenderingContext,
3391 target: u32,
3392 level: i32,
3393 internalformat: i32,
3394 width: i32,
3395 height: i32,
3396 border: i32,
3397 format: u32,
3398 type_: u32,
3399 pbo_offset: i32,
3400 ) -> Result<(), JsValue>;
3401 #[wasm_bindgen(
3402 catch,
3403 method,
3404 js_class = "WebGL2RenderingContext",
3405 js_name = "texImage2D"
3406 )]
3407 #[doc = "The `texImage2D()` method."]
3408 #[doc = ""]
3409 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3410 #[doc = ""]
3411 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3412 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64(
3413 this: &WebGl2RenderingContext,
3414 target: u32,
3415 level: i32,
3416 internalformat: i32,
3417 width: i32,
3418 height: i32,
3419 border: i32,
3420 format: u32,
3421 type_: u32,
3422 pbo_offset: f64,
3423 ) -> Result<(), JsValue>;
3424 #[cfg(feature = "HtmlCanvasElement")]
3425 #[wasm_bindgen(
3426 catch,
3427 method,
3428 js_class = "WebGL2RenderingContext",
3429 js_name = "texImage2D"
3430 )]
3431 #[doc = "The `texImage2D()` method."]
3432 #[doc = ""]
3433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3434 #[doc = ""]
3435 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3436 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element(
3437 this: &WebGl2RenderingContext,
3438 target: u32,
3439 level: i32,
3440 internalformat: i32,
3441 width: i32,
3442 height: i32,
3443 border: i32,
3444 format: u32,
3445 type_: u32,
3446 source: &HtmlCanvasElement,
3447 ) -> Result<(), JsValue>;
3448 #[cfg(feature = "HtmlImageElement")]
3449 #[wasm_bindgen(
3450 catch,
3451 method,
3452 js_class = "WebGL2RenderingContext",
3453 js_name = "texImage2D"
3454 )]
3455 #[doc = "The `texImage2D()` method."]
3456 #[doc = ""]
3457 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3458 #[doc = ""]
3459 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3460 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element(
3461 this: &WebGl2RenderingContext,
3462 target: u32,
3463 level: i32,
3464 internalformat: i32,
3465 width: i32,
3466 height: i32,
3467 border: i32,
3468 format: u32,
3469 type_: u32,
3470 source: &HtmlImageElement,
3471 ) -> Result<(), JsValue>;
3472 #[cfg(feature = "HtmlVideoElement")]
3473 #[wasm_bindgen(
3474 catch,
3475 method,
3476 js_class = "WebGL2RenderingContext",
3477 js_name = "texImage2D"
3478 )]
3479 #[doc = "The `texImage2D()` method."]
3480 #[doc = ""]
3481 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3482 #[doc = ""]
3483 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3484 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element(
3485 this: &WebGl2RenderingContext,
3486 target: u32,
3487 level: i32,
3488 internalformat: i32,
3489 width: i32,
3490 height: i32,
3491 border: i32,
3492 format: u32,
3493 type_: u32,
3494 source: &HtmlVideoElement,
3495 ) -> Result<(), JsValue>;
3496 #[cfg(feature = "OffscreenCanvas")]
3497 #[wasm_bindgen(
3498 catch,
3499 method,
3500 js_class = "WebGL2RenderingContext",
3501 js_name = "texImage2D"
3502 )]
3503 #[doc = "The `texImage2D()` method."]
3504 #[doc = ""]
3505 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3506 #[doc = ""]
3507 #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WebGl2RenderingContext`*"]
3508 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_offscreen_canvas(
3509 this: &WebGl2RenderingContext,
3510 target: u32,
3511 level: i32,
3512 internalformat: i32,
3513 width: i32,
3514 height: i32,
3515 border: i32,
3516 format: u32,
3517 type_: u32,
3518 source: &OffscreenCanvas,
3519 ) -> Result<(), JsValue>;
3520 #[cfg(feature = "VideoFrame")]
3521 #[wasm_bindgen(
3522 catch,
3523 method,
3524 js_class = "WebGL2RenderingContext",
3525 js_name = "texImage2D"
3526 )]
3527 #[doc = "The `texImage2D()` method."]
3528 #[doc = ""]
3529 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3530 #[doc = ""]
3531 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3532 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_video_frame(
3533 this: &WebGl2RenderingContext,
3534 target: u32,
3535 level: i32,
3536 internalformat: i32,
3537 width: i32,
3538 height: i32,
3539 border: i32,
3540 format: u32,
3541 type_: u32,
3542 source: &VideoFrame,
3543 ) -> Result<(), JsValue>;
3544 #[cfg(feature = "ImageBitmap")]
3545 #[wasm_bindgen(
3546 catch,
3547 method,
3548 js_class = "WebGL2RenderingContext",
3549 js_name = "texImage2D"
3550 )]
3551 #[doc = "The `texImage2D()` method."]
3552 #[doc = ""]
3553 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3554 #[doc = ""]
3555 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3556 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap(
3557 this: &WebGl2RenderingContext,
3558 target: u32,
3559 level: i32,
3560 internalformat: i32,
3561 width: i32,
3562 height: i32,
3563 border: i32,
3564 format: u32,
3565 type_: u32,
3566 source: &ImageBitmap,
3567 ) -> Result<(), JsValue>;
3568 #[cfg(feature = "ImageData")]
3569 #[wasm_bindgen(
3570 catch,
3571 method,
3572 js_class = "WebGL2RenderingContext",
3573 js_name = "texImage2D"
3574 )]
3575 #[doc = "The `texImage2D()` method."]
3576 #[doc = ""]
3577 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3578 #[doc = ""]
3579 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3580 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data(
3581 this: &WebGl2RenderingContext,
3582 target: u32,
3583 level: i32,
3584 internalformat: i32,
3585 width: i32,
3586 height: i32,
3587 border: i32,
3588 format: u32,
3589 type_: u32,
3590 source: &ImageData,
3591 ) -> Result<(), JsValue>;
3592 #[wasm_bindgen(
3593 catch,
3594 method,
3595 js_class = "WebGL2RenderingContext",
3596 js_name = "texImage2D"
3597 )]
3598 #[doc = "The `texImage2D()` method."]
3599 #[doc = ""]
3600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3601 #[doc = ""]
3602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3603 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset(
3604 this: &WebGl2RenderingContext,
3605 target: u32,
3606 level: i32,
3607 internalformat: i32,
3608 width: i32,
3609 height: i32,
3610 border: i32,
3611 format: u32,
3612 type_: u32,
3613 src_data: &::js_sys::Object,
3614 src_offset: u32,
3615 ) -> Result<(), JsValue>;
3616 #[wasm_bindgen(
3617 catch,
3618 method,
3619 js_class = "WebGL2RenderingContext",
3620 js_name = "texImage2D"
3621 )]
3622 #[doc = "The `texImage2D()` method."]
3623 #[doc = ""]
3624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3625 #[doc = ""]
3626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3627 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset(
3628 this: &WebGl2RenderingContext,
3629 target: u32,
3630 level: i32,
3631 internalformat: i32,
3632 width: i32,
3633 height: i32,
3634 border: i32,
3635 format: u32,
3636 type_: u32,
3637 src_data: &[u8],
3638 src_offset: u32,
3639 ) -> Result<(), JsValue>;
3640 #[wasm_bindgen(
3641 catch,
3642 method,
3643 js_class = "WebGL2RenderingContext",
3644 js_name = "texImage2D"
3645 )]
3646 #[doc = "The `texImage2D()` method."]
3647 #[doc = ""]
3648 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3649 #[doc = ""]
3650 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3651 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset(
3652 this: &WebGl2RenderingContext,
3653 target: u32,
3654 level: i32,
3655 internalformat: i32,
3656 width: i32,
3657 height: i32,
3658 border: i32,
3659 format: u32,
3660 type_: u32,
3661 src_data: &::js_sys::Uint8Array,
3662 src_offset: u32,
3663 ) -> Result<(), JsValue>;
3664 #[wasm_bindgen(
3665 catch,
3666 method,
3667 js_class = "WebGL2RenderingContext",
3668 js_name = "texImage3D"
3669 )]
3670 #[doc = "The `texImage3D()` method."]
3671 #[doc = ""]
3672 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3673 #[doc = ""]
3674 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3675 pub fn tex_image_3d_with_i32(
3676 this: &WebGl2RenderingContext,
3677 target: u32,
3678 level: i32,
3679 internalformat: i32,
3680 width: i32,
3681 height: i32,
3682 depth: i32,
3683 border: i32,
3684 format: u32,
3685 type_: u32,
3686 pbo_offset: i32,
3687 ) -> Result<(), JsValue>;
3688 #[wasm_bindgen(
3689 catch,
3690 method,
3691 js_class = "WebGL2RenderingContext",
3692 js_name = "texImage3D"
3693 )]
3694 #[doc = "The `texImage3D()` method."]
3695 #[doc = ""]
3696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3697 #[doc = ""]
3698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3699 pub fn tex_image_3d_with_f64(
3700 this: &WebGl2RenderingContext,
3701 target: u32,
3702 level: i32,
3703 internalformat: i32,
3704 width: i32,
3705 height: i32,
3706 depth: i32,
3707 border: i32,
3708 format: u32,
3709 type_: u32,
3710 pbo_offset: f64,
3711 ) -> Result<(), JsValue>;
3712 #[cfg(feature = "HtmlCanvasElement")]
3713 #[wasm_bindgen(
3714 catch,
3715 method,
3716 js_class = "WebGL2RenderingContext",
3717 js_name = "texImage3D"
3718 )]
3719 #[doc = "The `texImage3D()` method."]
3720 #[doc = ""]
3721 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3722 #[doc = ""]
3723 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3724 pub fn tex_image_3d_with_html_canvas_element(
3725 this: &WebGl2RenderingContext,
3726 target: u32,
3727 level: i32,
3728 internalformat: i32,
3729 width: i32,
3730 height: i32,
3731 depth: i32,
3732 border: i32,
3733 format: u32,
3734 type_: u32,
3735 source: &HtmlCanvasElement,
3736 ) -> Result<(), JsValue>;
3737 #[cfg(feature = "HtmlImageElement")]
3738 #[wasm_bindgen(
3739 catch,
3740 method,
3741 js_class = "WebGL2RenderingContext",
3742 js_name = "texImage3D"
3743 )]
3744 #[doc = "The `texImage3D()` method."]
3745 #[doc = ""]
3746 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3747 #[doc = ""]
3748 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3749 pub fn tex_image_3d_with_html_image_element(
3750 this: &WebGl2RenderingContext,
3751 target: u32,
3752 level: i32,
3753 internalformat: i32,
3754 width: i32,
3755 height: i32,
3756 depth: i32,
3757 border: i32,
3758 format: u32,
3759 type_: u32,
3760 source: &HtmlImageElement,
3761 ) -> Result<(), JsValue>;
3762 #[cfg(feature = "HtmlVideoElement")]
3763 #[wasm_bindgen(
3764 catch,
3765 method,
3766 js_class = "WebGL2RenderingContext",
3767 js_name = "texImage3D"
3768 )]
3769 #[doc = "The `texImage3D()` method."]
3770 #[doc = ""]
3771 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3772 #[doc = ""]
3773 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3774 pub fn tex_image_3d_with_html_video_element(
3775 this: &WebGl2RenderingContext,
3776 target: u32,
3777 level: i32,
3778 internalformat: i32,
3779 width: i32,
3780 height: i32,
3781 depth: i32,
3782 border: i32,
3783 format: u32,
3784 type_: u32,
3785 source: &HtmlVideoElement,
3786 ) -> Result<(), JsValue>;
3787 #[cfg(feature = "OffscreenCanvas")]
3788 #[wasm_bindgen(
3789 catch,
3790 method,
3791 js_class = "WebGL2RenderingContext",
3792 js_name = "texImage3D"
3793 )]
3794 #[doc = "The `texImage3D()` method."]
3795 #[doc = ""]
3796 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3797 #[doc = ""]
3798 #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WebGl2RenderingContext`*"]
3799 pub fn tex_image_3d_with_offscreen_canvas(
3800 this: &WebGl2RenderingContext,
3801 target: u32,
3802 level: i32,
3803 internalformat: i32,
3804 width: i32,
3805 height: i32,
3806 depth: i32,
3807 border: i32,
3808 format: u32,
3809 type_: u32,
3810 source: &OffscreenCanvas,
3811 ) -> Result<(), JsValue>;
3812 #[cfg(feature = "VideoFrame")]
3813 #[wasm_bindgen(
3814 catch,
3815 method,
3816 js_class = "WebGL2RenderingContext",
3817 js_name = "texImage3D"
3818 )]
3819 #[doc = "The `texImage3D()` method."]
3820 #[doc = ""]
3821 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3822 #[doc = ""]
3823 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3824 pub fn tex_image_3d_with_video_frame(
3825 this: &WebGl2RenderingContext,
3826 target: u32,
3827 level: i32,
3828 internalformat: i32,
3829 width: i32,
3830 height: i32,
3831 depth: i32,
3832 border: i32,
3833 format: u32,
3834 type_: u32,
3835 source: &VideoFrame,
3836 ) -> Result<(), JsValue>;
3837 #[cfg(feature = "ImageBitmap")]
3838 #[wasm_bindgen(
3839 catch,
3840 method,
3841 js_class = "WebGL2RenderingContext",
3842 js_name = "texImage3D"
3843 )]
3844 #[doc = "The `texImage3D()` method."]
3845 #[doc = ""]
3846 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3847 #[doc = ""]
3848 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3849 pub fn tex_image_3d_with_image_bitmap(
3850 this: &WebGl2RenderingContext,
3851 target: u32,
3852 level: i32,
3853 internalformat: i32,
3854 width: i32,
3855 height: i32,
3856 depth: i32,
3857 border: i32,
3858 format: u32,
3859 type_: u32,
3860 source: &ImageBitmap,
3861 ) -> Result<(), JsValue>;
3862 #[cfg(feature = "ImageData")]
3863 #[wasm_bindgen(
3864 catch,
3865 method,
3866 js_class = "WebGL2RenderingContext",
3867 js_name = "texImage3D"
3868 )]
3869 #[doc = "The `texImage3D()` method."]
3870 #[doc = ""]
3871 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3872 #[doc = ""]
3873 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3874 pub fn tex_image_3d_with_image_data(
3875 this: &WebGl2RenderingContext,
3876 target: u32,
3877 level: i32,
3878 internalformat: i32,
3879 width: i32,
3880 height: i32,
3881 depth: i32,
3882 border: i32,
3883 format: u32,
3884 type_: u32,
3885 source: &ImageData,
3886 ) -> Result<(), JsValue>;
3887 #[wasm_bindgen(
3888 catch,
3889 method,
3890 js_class = "WebGL2RenderingContext",
3891 js_name = "texImage3D"
3892 )]
3893 #[doc = "The `texImage3D()` method."]
3894 #[doc = ""]
3895 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3896 #[doc = ""]
3897 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3898 pub fn tex_image_3d_with_opt_array_buffer_view(
3899 this: &WebGl2RenderingContext,
3900 target: u32,
3901 level: i32,
3902 internalformat: i32,
3903 width: i32,
3904 height: i32,
3905 depth: i32,
3906 border: i32,
3907 format: u32,
3908 type_: u32,
3909 src_data: Option<&::js_sys::Object>,
3910 ) -> Result<(), JsValue>;
3911 #[wasm_bindgen(
3912 catch,
3913 method,
3914 js_class = "WebGL2RenderingContext",
3915 js_name = "texImage3D"
3916 )]
3917 #[doc = "The `texImage3D()` method."]
3918 #[doc = ""]
3919 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3920 #[doc = ""]
3921 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3922 pub fn tex_image_3d_with_opt_u8_array(
3923 this: &WebGl2RenderingContext,
3924 target: u32,
3925 level: i32,
3926 internalformat: i32,
3927 width: i32,
3928 height: i32,
3929 depth: i32,
3930 border: i32,
3931 format: u32,
3932 type_: u32,
3933 src_data: Option<&[u8]>,
3934 ) -> Result<(), JsValue>;
3935 #[wasm_bindgen(
3936 catch,
3937 method,
3938 js_class = "WebGL2RenderingContext",
3939 js_name = "texImage3D"
3940 )]
3941 #[doc = "The `texImage3D()` method."]
3942 #[doc = ""]
3943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3944 #[doc = ""]
3945 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3946 pub fn tex_image_3d_with_opt_js_u8_array(
3947 this: &WebGl2RenderingContext,
3948 target: u32,
3949 level: i32,
3950 internalformat: i32,
3951 width: i32,
3952 height: i32,
3953 depth: i32,
3954 border: i32,
3955 format: u32,
3956 type_: u32,
3957 src_data: Option<&::js_sys::Uint8Array>,
3958 ) -> Result<(), JsValue>;
3959 #[wasm_bindgen(
3960 catch,
3961 method,
3962 js_class = "WebGL2RenderingContext",
3963 js_name = "texImage3D"
3964 )]
3965 #[doc = "The `texImage3D()` method."]
3966 #[doc = ""]
3967 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3968 #[doc = ""]
3969 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3970 pub fn tex_image_3d_with_array_buffer_view_and_src_offset(
3971 this: &WebGl2RenderingContext,
3972 target: u32,
3973 level: i32,
3974 internalformat: i32,
3975 width: i32,
3976 height: i32,
3977 depth: i32,
3978 border: i32,
3979 format: u32,
3980 type_: u32,
3981 src_data: &::js_sys::Object,
3982 src_offset: u32,
3983 ) -> Result<(), JsValue>;
3984 #[wasm_bindgen(
3985 catch,
3986 method,
3987 js_class = "WebGL2RenderingContext",
3988 js_name = "texImage3D"
3989 )]
3990 #[doc = "The `texImage3D()` method."]
3991 #[doc = ""]
3992 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3993 #[doc = ""]
3994 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3995 pub fn tex_image_3d_with_u8_array_and_src_offset(
3996 this: &WebGl2RenderingContext,
3997 target: u32,
3998 level: i32,
3999 internalformat: i32,
4000 width: i32,
4001 height: i32,
4002 depth: i32,
4003 border: i32,
4004 format: u32,
4005 type_: u32,
4006 src_data: &[u8],
4007 src_offset: u32,
4008 ) -> Result<(), JsValue>;
4009 #[wasm_bindgen(
4010 catch,
4011 method,
4012 js_class = "WebGL2RenderingContext",
4013 js_name = "texImage3D"
4014 )]
4015 #[doc = "The `texImage3D()` method."]
4016 #[doc = ""]
4017 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
4018 #[doc = ""]
4019 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4020 pub fn tex_image_3d_with_js_u8_array_and_src_offset(
4021 this: &WebGl2RenderingContext,
4022 target: u32,
4023 level: i32,
4024 internalformat: i32,
4025 width: i32,
4026 height: i32,
4027 depth: i32,
4028 border: i32,
4029 format: u32,
4030 type_: u32,
4031 src_data: &::js_sys::Uint8Array,
4032 src_offset: u32,
4033 ) -> Result<(), JsValue>;
4034 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texStorage2D")]
4035 #[doc = "The `texStorage2D()` method."]
4036 #[doc = ""]
4037 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)"]
4038 #[doc = ""]
4039 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4040 pub fn tex_storage_2d(
4041 this: &WebGl2RenderingContext,
4042 target: u32,
4043 levels: i32,
4044 internalformat: u32,
4045 width: i32,
4046 height: i32,
4047 );
4048 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texStorage3D")]
4049 #[doc = "The `texStorage3D()` method."]
4050 #[doc = ""]
4051 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)"]
4052 #[doc = ""]
4053 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4054 pub fn tex_storage_3d(
4055 this: &WebGl2RenderingContext,
4056 target: u32,
4057 levels: i32,
4058 internalformat: u32,
4059 width: i32,
4060 height: i32,
4061 depth: i32,
4062 );
4063 #[wasm_bindgen(
4064 catch,
4065 method,
4066 js_class = "WebGL2RenderingContext",
4067 js_name = "texSubImage2D"
4068 )]
4069 #[doc = "The `texSubImage2D()` method."]
4070 #[doc = ""]
4071 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4072 #[doc = ""]
4073 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4074 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
4075 this: &WebGl2RenderingContext,
4076 target: u32,
4077 level: i32,
4078 xoffset: i32,
4079 yoffset: i32,
4080 width: i32,
4081 height: i32,
4082 format: u32,
4083 type_: u32,
4084 pixels: Option<&::js_sys::Object>,
4085 ) -> Result<(), JsValue>;
4086 #[wasm_bindgen(
4087 catch,
4088 method,
4089 js_class = "WebGL2RenderingContext",
4090 js_name = "texSubImage2D"
4091 )]
4092 #[doc = "The `texSubImage2D()` method."]
4093 #[doc = ""]
4094 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4095 #[doc = ""]
4096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4097 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
4098 this: &WebGl2RenderingContext,
4099 target: u32,
4100 level: i32,
4101 xoffset: i32,
4102 yoffset: i32,
4103 width: i32,
4104 height: i32,
4105 format: u32,
4106 type_: u32,
4107 pixels: Option<&[u8]>,
4108 ) -> Result<(), JsValue>;
4109 #[wasm_bindgen(
4110 catch,
4111 method,
4112 js_class = "WebGL2RenderingContext",
4113 js_name = "texSubImage2D"
4114 )]
4115 #[doc = "The `texSubImage2D()` method."]
4116 #[doc = ""]
4117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4118 #[doc = ""]
4119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4120 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array(
4121 this: &WebGl2RenderingContext,
4122 target: u32,
4123 level: i32,
4124 xoffset: i32,
4125 yoffset: i32,
4126 width: i32,
4127 height: i32,
4128 format: u32,
4129 type_: u32,
4130 pixels: Option<&::js_sys::Uint8Array>,
4131 ) -> Result<(), JsValue>;
4132 #[cfg(feature = "HtmlCanvasElement")]
4133 #[wasm_bindgen(
4134 catch,
4135 method,
4136 js_class = "WebGL2RenderingContext",
4137 js_name = "texSubImage2D"
4138 )]
4139 #[doc = "The `texSubImage2D()` method."]
4140 #[doc = ""]
4141 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4142 #[doc = ""]
4143 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
4144 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element(
4145 this: &WebGl2RenderingContext,
4146 target: u32,
4147 level: i32,
4148 xoffset: i32,
4149 yoffset: i32,
4150 format: u32,
4151 type_: u32,
4152 source: &HtmlCanvasElement,
4153 ) -> Result<(), JsValue>;
4154 #[cfg(feature = "HtmlImageElement")]
4155 #[wasm_bindgen(
4156 catch,
4157 method,
4158 js_class = "WebGL2RenderingContext",
4159 js_name = "texSubImage2D"
4160 )]
4161 #[doc = "The `texSubImage2D()` method."]
4162 #[doc = ""]
4163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4164 #[doc = ""]
4165 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
4166 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element(
4167 this: &WebGl2RenderingContext,
4168 target: u32,
4169 level: i32,
4170 xoffset: i32,
4171 yoffset: i32,
4172 format: u32,
4173 type_: u32,
4174 source: &HtmlImageElement,
4175 ) -> Result<(), JsValue>;
4176 #[cfg(feature = "HtmlVideoElement")]
4177 #[wasm_bindgen(
4178 catch,
4179 method,
4180 js_class = "WebGL2RenderingContext",
4181 js_name = "texSubImage2D"
4182 )]
4183 #[doc = "The `texSubImage2D()` method."]
4184 #[doc = ""]
4185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4186 #[doc = ""]
4187 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
4188 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element(
4189 this: &WebGl2RenderingContext,
4190 target: u32,
4191 level: i32,
4192 xoffset: i32,
4193 yoffset: i32,
4194 format: u32,
4195 type_: u32,
4196 source: &HtmlVideoElement,
4197 ) -> Result<(), JsValue>;
4198 #[cfg(feature = "OffscreenCanvas")]
4199 #[wasm_bindgen(
4200 catch,
4201 method,
4202 js_class = "WebGL2RenderingContext",
4203 js_name = "texSubImage2D"
4204 )]
4205 #[doc = "The `texSubImage2D()` method."]
4206 #[doc = ""]
4207 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4208 #[doc = ""]
4209 #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WebGl2RenderingContext`*"]
4210 pub fn tex_sub_image_2d_with_u32_and_u32_and_offscreen_canvas(
4211 this: &WebGl2RenderingContext,
4212 target: u32,
4213 level: i32,
4214 xoffset: i32,
4215 yoffset: i32,
4216 format: u32,
4217 type_: u32,
4218 source: &OffscreenCanvas,
4219 ) -> Result<(), JsValue>;
4220 #[cfg(feature = "VideoFrame")]
4221 #[wasm_bindgen(
4222 catch,
4223 method,
4224 js_class = "WebGL2RenderingContext",
4225 js_name = "texSubImage2D"
4226 )]
4227 #[doc = "The `texSubImage2D()` method."]
4228 #[doc = ""]
4229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4230 #[doc = ""]
4231 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
4232 pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame(
4233 this: &WebGl2RenderingContext,
4234 target: u32,
4235 level: i32,
4236 xoffset: i32,
4237 yoffset: i32,
4238 format: u32,
4239 type_: u32,
4240 source: &VideoFrame,
4241 ) -> Result<(), JsValue>;
4242 #[cfg(feature = "ImageBitmap")]
4243 #[wasm_bindgen(
4244 catch,
4245 method,
4246 js_class = "WebGL2RenderingContext",
4247 js_name = "texSubImage2D"
4248 )]
4249 #[doc = "The `texSubImage2D()` method."]
4250 #[doc = ""]
4251 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4252 #[doc = ""]
4253 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
4254 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
4255 this: &WebGl2RenderingContext,
4256 target: u32,
4257 level: i32,
4258 xoffset: i32,
4259 yoffset: i32,
4260 format: u32,
4261 type_: u32,
4262 source: &ImageBitmap,
4263 ) -> Result<(), JsValue>;
4264 #[cfg(feature = "ImageData")]
4265 #[wasm_bindgen(
4266 catch,
4267 method,
4268 js_class = "WebGL2RenderingContext",
4269 js_name = "texSubImage2D"
4270 )]
4271 #[doc = "The `texSubImage2D()` method."]
4272 #[doc = ""]
4273 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4274 #[doc = ""]
4275 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
4276 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
4277 this: &WebGl2RenderingContext,
4278 target: u32,
4279 level: i32,
4280 xoffset: i32,
4281 yoffset: i32,
4282 format: u32,
4283 type_: u32,
4284 source: &ImageData,
4285 ) -> Result<(), JsValue>;
4286 #[wasm_bindgen(
4287 catch,
4288 method,
4289 js_class = "WebGL2RenderingContext",
4290 js_name = "texSubImage2D"
4291 )]
4292 #[doc = "The `texSubImage2D()` method."]
4293 #[doc = ""]
4294 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4295 #[doc = ""]
4296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4297 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32(
4298 this: &WebGl2RenderingContext,
4299 target: u32,
4300 level: i32,
4301 xoffset: i32,
4302 yoffset: i32,
4303 width: i32,
4304 height: i32,
4305 format: u32,
4306 type_: u32,
4307 pbo_offset: i32,
4308 ) -> Result<(), JsValue>;
4309 #[wasm_bindgen(
4310 catch,
4311 method,
4312 js_class = "WebGL2RenderingContext",
4313 js_name = "texSubImage2D"
4314 )]
4315 #[doc = "The `texSubImage2D()` method."]
4316 #[doc = ""]
4317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4318 #[doc = ""]
4319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4320 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64(
4321 this: &WebGl2RenderingContext,
4322 target: u32,
4323 level: i32,
4324 xoffset: i32,
4325 yoffset: i32,
4326 width: i32,
4327 height: i32,
4328 format: u32,
4329 type_: u32,
4330 pbo_offset: f64,
4331 ) -> Result<(), JsValue>;
4332 #[cfg(feature = "HtmlCanvasElement")]
4333 #[wasm_bindgen(
4334 catch,
4335 method,
4336 js_class = "WebGL2RenderingContext",
4337 js_name = "texSubImage2D"
4338 )]
4339 #[doc = "The `texSubImage2D()` method."]
4340 #[doc = ""]
4341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4342 #[doc = ""]
4343 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
4344 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element(
4345 this: &WebGl2RenderingContext,
4346 target: u32,
4347 level: i32,
4348 xoffset: i32,
4349 yoffset: i32,
4350 width: i32,
4351 height: i32,
4352 format: u32,
4353 type_: u32,
4354 source: &HtmlCanvasElement,
4355 ) -> Result<(), JsValue>;
4356 #[cfg(feature = "HtmlImageElement")]
4357 #[wasm_bindgen(
4358 catch,
4359 method,
4360 js_class = "WebGL2RenderingContext",
4361 js_name = "texSubImage2D"
4362 )]
4363 #[doc = "The `texSubImage2D()` method."]
4364 #[doc = ""]
4365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4366 #[doc = ""]
4367 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
4368 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element(
4369 this: &WebGl2RenderingContext,
4370 target: u32,
4371 level: i32,
4372 xoffset: i32,
4373 yoffset: i32,
4374 width: i32,
4375 height: i32,
4376 format: u32,
4377 type_: u32,
4378 source: &HtmlImageElement,
4379 ) -> Result<(), JsValue>;
4380 #[cfg(feature = "HtmlVideoElement")]
4381 #[wasm_bindgen(
4382 catch,
4383 method,
4384 js_class = "WebGL2RenderingContext",
4385 js_name = "texSubImage2D"
4386 )]
4387 #[doc = "The `texSubImage2D()` method."]
4388 #[doc = ""]
4389 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4390 #[doc = ""]
4391 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
4392 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element(
4393 this: &WebGl2RenderingContext,
4394 target: u32,
4395 level: i32,
4396 xoffset: i32,
4397 yoffset: i32,
4398 width: i32,
4399 height: i32,
4400 format: u32,
4401 type_: u32,
4402 source: &HtmlVideoElement,
4403 ) -> Result<(), JsValue>;
4404 #[cfg(feature = "OffscreenCanvas")]
4405 #[wasm_bindgen(
4406 catch,
4407 method,
4408 js_class = "WebGL2RenderingContext",
4409 js_name = "texSubImage2D"
4410 )]
4411 #[doc = "The `texSubImage2D()` method."]
4412 #[doc = ""]
4413 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4414 #[doc = ""]
4415 #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WebGl2RenderingContext`*"]
4416 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_offscreen_canvas(
4417 this: &WebGl2RenderingContext,
4418 target: u32,
4419 level: i32,
4420 xoffset: i32,
4421 yoffset: i32,
4422 width: i32,
4423 height: i32,
4424 format: u32,
4425 type_: u32,
4426 source: &OffscreenCanvas,
4427 ) -> Result<(), JsValue>;
4428 #[cfg(feature = "VideoFrame")]
4429 #[wasm_bindgen(
4430 catch,
4431 method,
4432 js_class = "WebGL2RenderingContext",
4433 js_name = "texSubImage2D"
4434 )]
4435 #[doc = "The `texSubImage2D()` method."]
4436 #[doc = ""]
4437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4438 #[doc = ""]
4439 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
4440 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_video_frame(
4441 this: &WebGl2RenderingContext,
4442 target: u32,
4443 level: i32,
4444 xoffset: i32,
4445 yoffset: i32,
4446 width: i32,
4447 height: i32,
4448 format: u32,
4449 type_: u32,
4450 source: &VideoFrame,
4451 ) -> Result<(), JsValue>;
4452 #[cfg(feature = "ImageBitmap")]
4453 #[wasm_bindgen(
4454 catch,
4455 method,
4456 js_class = "WebGL2RenderingContext",
4457 js_name = "texSubImage2D"
4458 )]
4459 #[doc = "The `texSubImage2D()` method."]
4460 #[doc = ""]
4461 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4462 #[doc = ""]
4463 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
4464 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap(
4465 this: &WebGl2RenderingContext,
4466 target: u32,
4467 level: i32,
4468 xoffset: i32,
4469 yoffset: i32,
4470 width: i32,
4471 height: i32,
4472 format: u32,
4473 type_: u32,
4474 source: &ImageBitmap,
4475 ) -> Result<(), JsValue>;
4476 #[cfg(feature = "ImageData")]
4477 #[wasm_bindgen(
4478 catch,
4479 method,
4480 js_class = "WebGL2RenderingContext",
4481 js_name = "texSubImage2D"
4482 )]
4483 #[doc = "The `texSubImage2D()` method."]
4484 #[doc = ""]
4485 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4486 #[doc = ""]
4487 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
4488 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data(
4489 this: &WebGl2RenderingContext,
4490 target: u32,
4491 level: i32,
4492 xoffset: i32,
4493 yoffset: i32,
4494 width: i32,
4495 height: i32,
4496 format: u32,
4497 type_: u32,
4498 source: &ImageData,
4499 ) -> Result<(), JsValue>;
4500 #[wasm_bindgen(
4501 catch,
4502 method,
4503 js_class = "WebGL2RenderingContext",
4504 js_name = "texSubImage2D"
4505 )]
4506 #[doc = "The `texSubImage2D()` method."]
4507 #[doc = ""]
4508 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4509 #[doc = ""]
4510 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4511 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset(
4512 this: &WebGl2RenderingContext,
4513 target: u32,
4514 level: i32,
4515 xoffset: i32,
4516 yoffset: i32,
4517 width: i32,
4518 height: i32,
4519 format: u32,
4520 type_: u32,
4521 src_data: &::js_sys::Object,
4522 src_offset: u32,
4523 ) -> Result<(), JsValue>;
4524 #[wasm_bindgen(
4525 catch,
4526 method,
4527 js_class = "WebGL2RenderingContext",
4528 js_name = "texSubImage2D"
4529 )]
4530 #[doc = "The `texSubImage2D()` method."]
4531 #[doc = ""]
4532 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4533 #[doc = ""]
4534 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4535 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset(
4536 this: &WebGl2RenderingContext,
4537 target: u32,
4538 level: i32,
4539 xoffset: i32,
4540 yoffset: i32,
4541 width: i32,
4542 height: i32,
4543 format: u32,
4544 type_: u32,
4545 src_data: &[u8],
4546 src_offset: u32,
4547 ) -> Result<(), JsValue>;
4548 #[wasm_bindgen(
4549 catch,
4550 method,
4551 js_class = "WebGL2RenderingContext",
4552 js_name = "texSubImage2D"
4553 )]
4554 #[doc = "The `texSubImage2D()` method."]
4555 #[doc = ""]
4556 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4557 #[doc = ""]
4558 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4559 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset(
4560 this: &WebGl2RenderingContext,
4561 target: u32,
4562 level: i32,
4563 xoffset: i32,
4564 yoffset: i32,
4565 width: i32,
4566 height: i32,
4567 format: u32,
4568 type_: u32,
4569 src_data: &::js_sys::Uint8Array,
4570 src_offset: u32,
4571 ) -> Result<(), JsValue>;
4572 #[wasm_bindgen(
4573 catch,
4574 method,
4575 js_class = "WebGL2RenderingContext",
4576 js_name = "texSubImage3D"
4577 )]
4578 #[doc = "The `texSubImage3D()` method."]
4579 #[doc = ""]
4580 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4581 #[doc = ""]
4582 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4583 pub fn tex_sub_image_3d_with_i32(
4584 this: &WebGl2RenderingContext,
4585 target: u32,
4586 level: i32,
4587 xoffset: i32,
4588 yoffset: i32,
4589 zoffset: i32,
4590 width: i32,
4591 height: i32,
4592 depth: i32,
4593 format: u32,
4594 type_: u32,
4595 pbo_offset: i32,
4596 ) -> Result<(), JsValue>;
4597 #[wasm_bindgen(
4598 catch,
4599 method,
4600 js_class = "WebGL2RenderingContext",
4601 js_name = "texSubImage3D"
4602 )]
4603 #[doc = "The `texSubImage3D()` method."]
4604 #[doc = ""]
4605 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4606 #[doc = ""]
4607 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4608 pub fn tex_sub_image_3d_with_f64(
4609 this: &WebGl2RenderingContext,
4610 target: u32,
4611 level: i32,
4612 xoffset: i32,
4613 yoffset: i32,
4614 zoffset: i32,
4615 width: i32,
4616 height: i32,
4617 depth: i32,
4618 format: u32,
4619 type_: u32,
4620 pbo_offset: f64,
4621 ) -> Result<(), JsValue>;
4622 #[cfg(feature = "HtmlCanvasElement")]
4623 #[wasm_bindgen(
4624 catch,
4625 method,
4626 js_class = "WebGL2RenderingContext",
4627 js_name = "texSubImage3D"
4628 )]
4629 #[doc = "The `texSubImage3D()` method."]
4630 #[doc = ""]
4631 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4632 #[doc = ""]
4633 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
4634 pub fn tex_sub_image_3d_with_html_canvas_element(
4635 this: &WebGl2RenderingContext,
4636 target: u32,
4637 level: i32,
4638 xoffset: i32,
4639 yoffset: i32,
4640 zoffset: i32,
4641 width: i32,
4642 height: i32,
4643 depth: i32,
4644 format: u32,
4645 type_: u32,
4646 source: &HtmlCanvasElement,
4647 ) -> Result<(), JsValue>;
4648 #[cfg(feature = "HtmlImageElement")]
4649 #[wasm_bindgen(
4650 catch,
4651 method,
4652 js_class = "WebGL2RenderingContext",
4653 js_name = "texSubImage3D"
4654 )]
4655 #[doc = "The `texSubImage3D()` method."]
4656 #[doc = ""]
4657 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4658 #[doc = ""]
4659 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
4660 pub fn tex_sub_image_3d_with_html_image_element(
4661 this: &WebGl2RenderingContext,
4662 target: u32,
4663 level: i32,
4664 xoffset: i32,
4665 yoffset: i32,
4666 zoffset: i32,
4667 width: i32,
4668 height: i32,
4669 depth: i32,
4670 format: u32,
4671 type_: u32,
4672 source: &HtmlImageElement,
4673 ) -> Result<(), JsValue>;
4674 #[cfg(feature = "HtmlVideoElement")]
4675 #[wasm_bindgen(
4676 catch,
4677 method,
4678 js_class = "WebGL2RenderingContext",
4679 js_name = "texSubImage3D"
4680 )]
4681 #[doc = "The `texSubImage3D()` method."]
4682 #[doc = ""]
4683 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4684 #[doc = ""]
4685 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
4686 pub fn tex_sub_image_3d_with_html_video_element(
4687 this: &WebGl2RenderingContext,
4688 target: u32,
4689 level: i32,
4690 xoffset: i32,
4691 yoffset: i32,
4692 zoffset: i32,
4693 width: i32,
4694 height: i32,
4695 depth: i32,
4696 format: u32,
4697 type_: u32,
4698 source: &HtmlVideoElement,
4699 ) -> Result<(), JsValue>;
4700 #[cfg(feature = "OffscreenCanvas")]
4701 #[wasm_bindgen(
4702 catch,
4703 method,
4704 js_class = "WebGL2RenderingContext",
4705 js_name = "texSubImage3D"
4706 )]
4707 #[doc = "The `texSubImage3D()` method."]
4708 #[doc = ""]
4709 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4710 #[doc = ""]
4711 #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WebGl2RenderingContext`*"]
4712 pub fn tex_sub_image_3d_with_offscreen_canvas(
4713 this: &WebGl2RenderingContext,
4714 target: u32,
4715 level: i32,
4716 xoffset: i32,
4717 yoffset: i32,
4718 zoffset: i32,
4719 width: i32,
4720 height: i32,
4721 depth: i32,
4722 format: u32,
4723 type_: u32,
4724 source: &OffscreenCanvas,
4725 ) -> Result<(), JsValue>;
4726 #[cfg(feature = "VideoFrame")]
4727 #[wasm_bindgen(
4728 catch,
4729 method,
4730 js_class = "WebGL2RenderingContext",
4731 js_name = "texSubImage3D"
4732 )]
4733 #[doc = "The `texSubImage3D()` method."]
4734 #[doc = ""]
4735 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4736 #[doc = ""]
4737 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
4738 pub fn tex_sub_image_3d_with_video_frame(
4739 this: &WebGl2RenderingContext,
4740 target: u32,
4741 level: i32,
4742 xoffset: i32,
4743 yoffset: i32,
4744 zoffset: i32,
4745 width: i32,
4746 height: i32,
4747 depth: i32,
4748 format: u32,
4749 type_: u32,
4750 source: &VideoFrame,
4751 ) -> Result<(), JsValue>;
4752 #[cfg(feature = "ImageBitmap")]
4753 #[wasm_bindgen(
4754 catch,
4755 method,
4756 js_class = "WebGL2RenderingContext",
4757 js_name = "texSubImage3D"
4758 )]
4759 #[doc = "The `texSubImage3D()` method."]
4760 #[doc = ""]
4761 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4762 #[doc = ""]
4763 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
4764 pub fn tex_sub_image_3d_with_image_bitmap(
4765 this: &WebGl2RenderingContext,
4766 target: u32,
4767 level: i32,
4768 xoffset: i32,
4769 yoffset: i32,
4770 zoffset: i32,
4771 width: i32,
4772 height: i32,
4773 depth: i32,
4774 format: u32,
4775 type_: u32,
4776 source: &ImageBitmap,
4777 ) -> Result<(), JsValue>;
4778 #[cfg(feature = "ImageData")]
4779 #[wasm_bindgen(
4780 catch,
4781 method,
4782 js_class = "WebGL2RenderingContext",
4783 js_name = "texSubImage3D"
4784 )]
4785 #[doc = "The `texSubImage3D()` method."]
4786 #[doc = ""]
4787 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4788 #[doc = ""]
4789 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
4790 pub fn tex_sub_image_3d_with_image_data(
4791 this: &WebGl2RenderingContext,
4792 target: u32,
4793 level: i32,
4794 xoffset: i32,
4795 yoffset: i32,
4796 zoffset: i32,
4797 width: i32,
4798 height: i32,
4799 depth: i32,
4800 format: u32,
4801 type_: u32,
4802 source: &ImageData,
4803 ) -> Result<(), JsValue>;
4804 #[wasm_bindgen(
4805 catch,
4806 method,
4807 js_class = "WebGL2RenderingContext",
4808 js_name = "texSubImage3D"
4809 )]
4810 #[doc = "The `texSubImage3D()` method."]
4811 #[doc = ""]
4812 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4813 #[doc = ""]
4814 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4815 pub fn tex_sub_image_3d_with_opt_array_buffer_view(
4816 this: &WebGl2RenderingContext,
4817 target: u32,
4818 level: i32,
4819 xoffset: i32,
4820 yoffset: i32,
4821 zoffset: i32,
4822 width: i32,
4823 height: i32,
4824 depth: i32,
4825 format: u32,
4826 type_: u32,
4827 src_data: Option<&::js_sys::Object>,
4828 ) -> Result<(), JsValue>;
4829 #[wasm_bindgen(
4830 catch,
4831 method,
4832 js_class = "WebGL2RenderingContext",
4833 js_name = "texSubImage3D"
4834 )]
4835 #[doc = "The `texSubImage3D()` method."]
4836 #[doc = ""]
4837 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4838 #[doc = ""]
4839 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4840 pub fn tex_sub_image_3d_with_opt_u8_array(
4841 this: &WebGl2RenderingContext,
4842 target: u32,
4843 level: i32,
4844 xoffset: i32,
4845 yoffset: i32,
4846 zoffset: i32,
4847 width: i32,
4848 height: i32,
4849 depth: i32,
4850 format: u32,
4851 type_: u32,
4852 src_data: Option<&[u8]>,
4853 ) -> Result<(), JsValue>;
4854 #[wasm_bindgen(
4855 catch,
4856 method,
4857 js_class = "WebGL2RenderingContext",
4858 js_name = "texSubImage3D"
4859 )]
4860 #[doc = "The `texSubImage3D()` method."]
4861 #[doc = ""]
4862 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4863 #[doc = ""]
4864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4865 pub fn tex_sub_image_3d_with_opt_js_u8_array(
4866 this: &WebGl2RenderingContext,
4867 target: u32,
4868 level: i32,
4869 xoffset: i32,
4870 yoffset: i32,
4871 zoffset: i32,
4872 width: i32,
4873 height: i32,
4874 depth: i32,
4875 format: u32,
4876 type_: u32,
4877 src_data: Option<&::js_sys::Uint8Array>,
4878 ) -> Result<(), JsValue>;
4879 #[wasm_bindgen(
4880 catch,
4881 method,
4882 js_class = "WebGL2RenderingContext",
4883 js_name = "texSubImage3D"
4884 )]
4885 #[doc = "The `texSubImage3D()` method."]
4886 #[doc = ""]
4887 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4888 #[doc = ""]
4889 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4890 pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset(
4891 this: &WebGl2RenderingContext,
4892 target: u32,
4893 level: i32,
4894 xoffset: i32,
4895 yoffset: i32,
4896 zoffset: i32,
4897 width: i32,
4898 height: i32,
4899 depth: i32,
4900 format: u32,
4901 type_: u32,
4902 src_data: Option<&::js_sys::Object>,
4903 src_offset: u32,
4904 ) -> Result<(), JsValue>;
4905 #[wasm_bindgen(
4906 catch,
4907 method,
4908 js_class = "WebGL2RenderingContext",
4909 js_name = "texSubImage3D"
4910 )]
4911 #[doc = "The `texSubImage3D()` method."]
4912 #[doc = ""]
4913 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4914 #[doc = ""]
4915 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4916 pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset(
4917 this: &WebGl2RenderingContext,
4918 target: u32,
4919 level: i32,
4920 xoffset: i32,
4921 yoffset: i32,
4922 zoffset: i32,
4923 width: i32,
4924 height: i32,
4925 depth: i32,
4926 format: u32,
4927 type_: u32,
4928 src_data: Option<&[u8]>,
4929 src_offset: u32,
4930 ) -> Result<(), JsValue>;
4931 #[wasm_bindgen(
4932 catch,
4933 method,
4934 js_class = "WebGL2RenderingContext",
4935 js_name = "texSubImage3D"
4936 )]
4937 #[doc = "The `texSubImage3D()` method."]
4938 #[doc = ""]
4939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4940 #[doc = ""]
4941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4942 pub fn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset(
4943 this: &WebGl2RenderingContext,
4944 target: u32,
4945 level: i32,
4946 xoffset: i32,
4947 yoffset: i32,
4948 zoffset: i32,
4949 width: i32,
4950 height: i32,
4951 depth: i32,
4952 format: u32,
4953 type_: u32,
4954 src_data: Option<&::js_sys::Uint8Array>,
4955 src_offset: u32,
4956 ) -> Result<(), JsValue>;
4957 #[cfg(feature = "WebGlProgram")]
4958 #[wasm_bindgen(
4959 method,
4960 js_class = "WebGL2RenderingContext",
4961 js_name = "transformFeedbackVaryings"
4962 )]
4963 #[doc = "The `transformFeedbackVaryings()` method."]
4964 #[doc = ""]
4965 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)"]
4966 #[doc = ""]
4967 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
4968 pub fn transform_feedback_varyings(
4969 this: &WebGl2RenderingContext,
4970 program: &WebGlProgram,
4971 varyings: &::wasm_bindgen::JsValue,
4972 buffer_mode: u32,
4973 );
4974 #[cfg(feature = "WebGlUniformLocation")]
4975 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4976 #[doc = "The `uniform1fv()` method."]
4977 #[doc = ""]
4978 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4979 #[doc = ""]
4980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4981 pub fn uniform1fv_with_f32_array(
4982 this: &WebGl2RenderingContext,
4983 location: Option<&WebGlUniformLocation>,
4984 data: &[f32],
4985 );
4986 #[cfg(feature = "WebGlUniformLocation")]
4987 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4988 #[doc = "The `uniform1fv()` method."]
4989 #[doc = ""]
4990 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4991 #[doc = ""]
4992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4993 pub fn uniform1fv_with_js_f32_array(
4994 this: &WebGl2RenderingContext,
4995 location: Option<&WebGlUniformLocation>,
4996 data: &::js_sys::Float32Array,
4997 );
4998 #[cfg(feature = "WebGlUniformLocation")]
4999 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5000 #[doc = "The `uniform1fv()` method."]
5001 #[doc = ""]
5002 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5003 #[doc = ""]
5004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5005 pub fn uniform1fv_with_f32_sequence(
5006 this: &WebGl2RenderingContext,
5007 location: Option<&WebGlUniformLocation>,
5008 data: &::wasm_bindgen::JsValue,
5009 );
5010 #[cfg(feature = "WebGlUniformLocation")]
5011 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5012 #[doc = "The `uniform1fv()` method."]
5013 #[doc = ""]
5014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5015 #[doc = ""]
5016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5017 pub fn uniform1fv_with_f32_array_and_src_offset(
5018 this: &WebGl2RenderingContext,
5019 location: Option<&WebGlUniformLocation>,
5020 data: &[f32],
5021 src_offset: u32,
5022 );
5023 #[cfg(feature = "WebGlUniformLocation")]
5024 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5025 #[doc = "The `uniform1fv()` method."]
5026 #[doc = ""]
5027 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5028 #[doc = ""]
5029 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5030 pub fn uniform1fv_with_js_f32_array_and_src_offset(
5031 this: &WebGl2RenderingContext,
5032 location: Option<&WebGlUniformLocation>,
5033 data: &::js_sys::Float32Array,
5034 src_offset: u32,
5035 );
5036 #[cfg(feature = "WebGlUniformLocation")]
5037 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5038 #[doc = "The `uniform1fv()` method."]
5039 #[doc = ""]
5040 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5041 #[doc = ""]
5042 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5043 pub fn uniform1fv_with_f32_sequence_and_src_offset(
5044 this: &WebGl2RenderingContext,
5045 location: Option<&WebGlUniformLocation>,
5046 data: &::wasm_bindgen::JsValue,
5047 src_offset: u32,
5048 );
5049 #[cfg(feature = "WebGlUniformLocation")]
5050 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5051 #[doc = "The `uniform1fv()` method."]
5052 #[doc = ""]
5053 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5054 #[doc = ""]
5055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5056 pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length(
5057 this: &WebGl2RenderingContext,
5058 location: Option<&WebGlUniformLocation>,
5059 data: &[f32],
5060 src_offset: u32,
5061 src_length: u32,
5062 );
5063 #[cfg(feature = "WebGlUniformLocation")]
5064 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5065 #[doc = "The `uniform1fv()` method."]
5066 #[doc = ""]
5067 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5068 #[doc = ""]
5069 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5070 pub fn uniform1fv_with_js_f32_array_and_src_offset_and_src_length(
5071 this: &WebGl2RenderingContext,
5072 location: Option<&WebGlUniformLocation>,
5073 data: &::js_sys::Float32Array,
5074 src_offset: u32,
5075 src_length: u32,
5076 );
5077 #[cfg(feature = "WebGlUniformLocation")]
5078 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
5079 #[doc = "The `uniform1fv()` method."]
5080 #[doc = ""]
5081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
5082 #[doc = ""]
5083 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5084 pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length(
5085 this: &WebGl2RenderingContext,
5086 location: Option<&WebGlUniformLocation>,
5087 data: &::wasm_bindgen::JsValue,
5088 src_offset: u32,
5089 src_length: u32,
5090 );
5091 #[cfg(feature = "WebGlUniformLocation")]
5092 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5093 #[doc = "The `uniform1iv()` method."]
5094 #[doc = ""]
5095 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5096 #[doc = ""]
5097 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5098 pub fn uniform1iv_with_i32_array(
5099 this: &WebGl2RenderingContext,
5100 location: Option<&WebGlUniformLocation>,
5101 data: &[i32],
5102 );
5103 #[cfg(feature = "WebGlUniformLocation")]
5104 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5105 #[doc = "The `uniform1iv()` method."]
5106 #[doc = ""]
5107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5108 #[doc = ""]
5109 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5110 pub fn uniform1iv_with_js_i32_array(
5111 this: &WebGl2RenderingContext,
5112 location: Option<&WebGlUniformLocation>,
5113 data: &::js_sys::Int32Array,
5114 );
5115 #[cfg(feature = "WebGlUniformLocation")]
5116 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5117 #[doc = "The `uniform1iv()` method."]
5118 #[doc = ""]
5119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5120 #[doc = ""]
5121 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5122 pub fn uniform1iv_with_i32_sequence(
5123 this: &WebGl2RenderingContext,
5124 location: Option<&WebGlUniformLocation>,
5125 data: &::wasm_bindgen::JsValue,
5126 );
5127 #[cfg(feature = "WebGlUniformLocation")]
5128 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5129 #[doc = "The `uniform1iv()` method."]
5130 #[doc = ""]
5131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5132 #[doc = ""]
5133 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5134 pub fn uniform1iv_with_i32_array_and_src_offset(
5135 this: &WebGl2RenderingContext,
5136 location: Option<&WebGlUniformLocation>,
5137 data: &[i32],
5138 src_offset: u32,
5139 );
5140 #[cfg(feature = "WebGlUniformLocation")]
5141 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5142 #[doc = "The `uniform1iv()` method."]
5143 #[doc = ""]
5144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5145 #[doc = ""]
5146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5147 pub fn uniform1iv_with_js_i32_array_and_src_offset(
5148 this: &WebGl2RenderingContext,
5149 location: Option<&WebGlUniformLocation>,
5150 data: &::js_sys::Int32Array,
5151 src_offset: u32,
5152 );
5153 #[cfg(feature = "WebGlUniformLocation")]
5154 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5155 #[doc = "The `uniform1iv()` method."]
5156 #[doc = ""]
5157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5158 #[doc = ""]
5159 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5160 pub fn uniform1iv_with_i32_sequence_and_src_offset(
5161 this: &WebGl2RenderingContext,
5162 location: Option<&WebGlUniformLocation>,
5163 data: &::wasm_bindgen::JsValue,
5164 src_offset: u32,
5165 );
5166 #[cfg(feature = "WebGlUniformLocation")]
5167 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5168 #[doc = "The `uniform1iv()` method."]
5169 #[doc = ""]
5170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5171 #[doc = ""]
5172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5173 pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length(
5174 this: &WebGl2RenderingContext,
5175 location: Option<&WebGlUniformLocation>,
5176 data: &[i32],
5177 src_offset: u32,
5178 src_length: u32,
5179 );
5180 #[cfg(feature = "WebGlUniformLocation")]
5181 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5182 #[doc = "The `uniform1iv()` method."]
5183 #[doc = ""]
5184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5185 #[doc = ""]
5186 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5187 pub fn uniform1iv_with_js_i32_array_and_src_offset_and_src_length(
5188 this: &WebGl2RenderingContext,
5189 location: Option<&WebGlUniformLocation>,
5190 data: &::js_sys::Int32Array,
5191 src_offset: u32,
5192 src_length: u32,
5193 );
5194 #[cfg(feature = "WebGlUniformLocation")]
5195 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5196 #[doc = "The `uniform1iv()` method."]
5197 #[doc = ""]
5198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5199 #[doc = ""]
5200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5201 pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length(
5202 this: &WebGl2RenderingContext,
5203 location: Option<&WebGlUniformLocation>,
5204 data: &::wasm_bindgen::JsValue,
5205 src_offset: u32,
5206 src_length: u32,
5207 );
5208 #[cfg(feature = "WebGlUniformLocation")]
5209 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
5210 #[doc = "The `uniform1ui()` method."]
5211 #[doc = ""]
5212 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)"]
5213 #[doc = ""]
5214 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5215 pub fn uniform1ui(
5216 this: &WebGl2RenderingContext,
5217 location: Option<&WebGlUniformLocation>,
5218 v0: u32,
5219 );
5220 #[cfg(feature = "WebGlUniformLocation")]
5221 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5222 #[doc = "The `uniform1uiv()` method."]
5223 #[doc = ""]
5224 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5225 #[doc = ""]
5226 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5227 pub fn uniform1uiv_with_u32_array(
5228 this: &WebGl2RenderingContext,
5229 location: Option<&WebGlUniformLocation>,
5230 data: &[u32],
5231 );
5232 #[cfg(feature = "WebGlUniformLocation")]
5233 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5234 #[doc = "The `uniform1uiv()` method."]
5235 #[doc = ""]
5236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5237 #[doc = ""]
5238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5239 pub fn uniform1uiv_with_js_u32_array(
5240 this: &WebGl2RenderingContext,
5241 location: Option<&WebGlUniformLocation>,
5242 data: &::js_sys::Uint32Array,
5243 );
5244 #[cfg(feature = "WebGlUniformLocation")]
5245 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5246 #[doc = "The `uniform1uiv()` method."]
5247 #[doc = ""]
5248 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5249 #[doc = ""]
5250 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5251 pub fn uniform1uiv_with_u32_sequence(
5252 this: &WebGl2RenderingContext,
5253 location: Option<&WebGlUniformLocation>,
5254 data: &::wasm_bindgen::JsValue,
5255 );
5256 #[cfg(feature = "WebGlUniformLocation")]
5257 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5258 #[doc = "The `uniform1uiv()` method."]
5259 #[doc = ""]
5260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5261 #[doc = ""]
5262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5263 pub fn uniform1uiv_with_u32_array_and_src_offset(
5264 this: &WebGl2RenderingContext,
5265 location: Option<&WebGlUniformLocation>,
5266 data: &[u32],
5267 src_offset: u32,
5268 );
5269 #[cfg(feature = "WebGlUniformLocation")]
5270 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5271 #[doc = "The `uniform1uiv()` method."]
5272 #[doc = ""]
5273 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5274 #[doc = ""]
5275 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5276 pub fn uniform1uiv_with_js_u32_array_and_src_offset(
5277 this: &WebGl2RenderingContext,
5278 location: Option<&WebGlUniformLocation>,
5279 data: &::js_sys::Uint32Array,
5280 src_offset: u32,
5281 );
5282 #[cfg(feature = "WebGlUniformLocation")]
5283 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5284 #[doc = "The `uniform1uiv()` method."]
5285 #[doc = ""]
5286 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5287 #[doc = ""]
5288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5289 pub fn uniform1uiv_with_u32_sequence_and_src_offset(
5290 this: &WebGl2RenderingContext,
5291 location: Option<&WebGlUniformLocation>,
5292 data: &::wasm_bindgen::JsValue,
5293 src_offset: u32,
5294 );
5295 #[cfg(feature = "WebGlUniformLocation")]
5296 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5297 #[doc = "The `uniform1uiv()` method."]
5298 #[doc = ""]
5299 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5300 #[doc = ""]
5301 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5302 pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length(
5303 this: &WebGl2RenderingContext,
5304 location: Option<&WebGlUniformLocation>,
5305 data: &[u32],
5306 src_offset: u32,
5307 src_length: u32,
5308 );
5309 #[cfg(feature = "WebGlUniformLocation")]
5310 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5311 #[doc = "The `uniform1uiv()` method."]
5312 #[doc = ""]
5313 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5314 #[doc = ""]
5315 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5316 pub fn uniform1uiv_with_js_u32_array_and_src_offset_and_src_length(
5317 this: &WebGl2RenderingContext,
5318 location: Option<&WebGlUniformLocation>,
5319 data: &::js_sys::Uint32Array,
5320 src_offset: u32,
5321 src_length: u32,
5322 );
5323 #[cfg(feature = "WebGlUniformLocation")]
5324 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5325 #[doc = "The `uniform1uiv()` method."]
5326 #[doc = ""]
5327 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5328 #[doc = ""]
5329 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5330 pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length(
5331 this: &WebGl2RenderingContext,
5332 location: Option<&WebGlUniformLocation>,
5333 data: &::wasm_bindgen::JsValue,
5334 src_offset: u32,
5335 src_length: u32,
5336 );
5337 #[cfg(feature = "WebGlUniformLocation")]
5338 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5339 #[doc = "The `uniform2fv()` method."]
5340 #[doc = ""]
5341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5342 #[doc = ""]
5343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5344 pub fn uniform2fv_with_f32_array(
5345 this: &WebGl2RenderingContext,
5346 location: Option<&WebGlUniformLocation>,
5347 data: &[f32],
5348 );
5349 #[cfg(feature = "WebGlUniformLocation")]
5350 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5351 #[doc = "The `uniform2fv()` method."]
5352 #[doc = ""]
5353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5354 #[doc = ""]
5355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5356 pub fn uniform2fv_with_js_f32_array(
5357 this: &WebGl2RenderingContext,
5358 location: Option<&WebGlUniformLocation>,
5359 data: &::js_sys::Float32Array,
5360 );
5361 #[cfg(feature = "WebGlUniformLocation")]
5362 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5363 #[doc = "The `uniform2fv()` method."]
5364 #[doc = ""]
5365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5366 #[doc = ""]
5367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5368 pub fn uniform2fv_with_f32_sequence(
5369 this: &WebGl2RenderingContext,
5370 location: Option<&WebGlUniformLocation>,
5371 data: &::wasm_bindgen::JsValue,
5372 );
5373 #[cfg(feature = "WebGlUniformLocation")]
5374 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5375 #[doc = "The `uniform2fv()` method."]
5376 #[doc = ""]
5377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5378 #[doc = ""]
5379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5380 pub fn uniform2fv_with_f32_array_and_src_offset(
5381 this: &WebGl2RenderingContext,
5382 location: Option<&WebGlUniformLocation>,
5383 data: &[f32],
5384 src_offset: u32,
5385 );
5386 #[cfg(feature = "WebGlUniformLocation")]
5387 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5388 #[doc = "The `uniform2fv()` method."]
5389 #[doc = ""]
5390 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5391 #[doc = ""]
5392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5393 pub fn uniform2fv_with_js_f32_array_and_src_offset(
5394 this: &WebGl2RenderingContext,
5395 location: Option<&WebGlUniformLocation>,
5396 data: &::js_sys::Float32Array,
5397 src_offset: u32,
5398 );
5399 #[cfg(feature = "WebGlUniformLocation")]
5400 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5401 #[doc = "The `uniform2fv()` method."]
5402 #[doc = ""]
5403 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5404 #[doc = ""]
5405 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5406 pub fn uniform2fv_with_f32_sequence_and_src_offset(
5407 this: &WebGl2RenderingContext,
5408 location: Option<&WebGlUniformLocation>,
5409 data: &::wasm_bindgen::JsValue,
5410 src_offset: u32,
5411 );
5412 #[cfg(feature = "WebGlUniformLocation")]
5413 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5414 #[doc = "The `uniform2fv()` method."]
5415 #[doc = ""]
5416 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5417 #[doc = ""]
5418 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5419 pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length(
5420 this: &WebGl2RenderingContext,
5421 location: Option<&WebGlUniformLocation>,
5422 data: &[f32],
5423 src_offset: u32,
5424 src_length: u32,
5425 );
5426 #[cfg(feature = "WebGlUniformLocation")]
5427 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5428 #[doc = "The `uniform2fv()` method."]
5429 #[doc = ""]
5430 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5431 #[doc = ""]
5432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5433 pub fn uniform2fv_with_js_f32_array_and_src_offset_and_src_length(
5434 this: &WebGl2RenderingContext,
5435 location: Option<&WebGlUniformLocation>,
5436 data: &::js_sys::Float32Array,
5437 src_offset: u32,
5438 src_length: u32,
5439 );
5440 #[cfg(feature = "WebGlUniformLocation")]
5441 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5442 #[doc = "The `uniform2fv()` method."]
5443 #[doc = ""]
5444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5445 #[doc = ""]
5446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5447 pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length(
5448 this: &WebGl2RenderingContext,
5449 location: Option<&WebGlUniformLocation>,
5450 data: &::wasm_bindgen::JsValue,
5451 src_offset: u32,
5452 src_length: u32,
5453 );
5454 #[cfg(feature = "WebGlUniformLocation")]
5455 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5456 #[doc = "The `uniform2iv()` method."]
5457 #[doc = ""]
5458 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5459 #[doc = ""]
5460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5461 pub fn uniform2iv_with_i32_array(
5462 this: &WebGl2RenderingContext,
5463 location: Option<&WebGlUniformLocation>,
5464 data: &[i32],
5465 );
5466 #[cfg(feature = "WebGlUniformLocation")]
5467 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5468 #[doc = "The `uniform2iv()` method."]
5469 #[doc = ""]
5470 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5471 #[doc = ""]
5472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5473 pub fn uniform2iv_with_js_i32_array(
5474 this: &WebGl2RenderingContext,
5475 location: Option<&WebGlUniformLocation>,
5476 data: &::js_sys::Int32Array,
5477 );
5478 #[cfg(feature = "WebGlUniformLocation")]
5479 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5480 #[doc = "The `uniform2iv()` method."]
5481 #[doc = ""]
5482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5483 #[doc = ""]
5484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5485 pub fn uniform2iv_with_i32_sequence(
5486 this: &WebGl2RenderingContext,
5487 location: Option<&WebGlUniformLocation>,
5488 data: &::wasm_bindgen::JsValue,
5489 );
5490 #[cfg(feature = "WebGlUniformLocation")]
5491 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5492 #[doc = "The `uniform2iv()` method."]
5493 #[doc = ""]
5494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5495 #[doc = ""]
5496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5497 pub fn uniform2iv_with_i32_array_and_src_offset(
5498 this: &WebGl2RenderingContext,
5499 location: Option<&WebGlUniformLocation>,
5500 data: &[i32],
5501 src_offset: u32,
5502 );
5503 #[cfg(feature = "WebGlUniformLocation")]
5504 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5505 #[doc = "The `uniform2iv()` method."]
5506 #[doc = ""]
5507 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5508 #[doc = ""]
5509 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5510 pub fn uniform2iv_with_js_i32_array_and_src_offset(
5511 this: &WebGl2RenderingContext,
5512 location: Option<&WebGlUniformLocation>,
5513 data: &::js_sys::Int32Array,
5514 src_offset: u32,
5515 );
5516 #[cfg(feature = "WebGlUniformLocation")]
5517 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5518 #[doc = "The `uniform2iv()` method."]
5519 #[doc = ""]
5520 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5521 #[doc = ""]
5522 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5523 pub fn uniform2iv_with_i32_sequence_and_src_offset(
5524 this: &WebGl2RenderingContext,
5525 location: Option<&WebGlUniformLocation>,
5526 data: &::wasm_bindgen::JsValue,
5527 src_offset: u32,
5528 );
5529 #[cfg(feature = "WebGlUniformLocation")]
5530 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5531 #[doc = "The `uniform2iv()` method."]
5532 #[doc = ""]
5533 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5534 #[doc = ""]
5535 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5536 pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length(
5537 this: &WebGl2RenderingContext,
5538 location: Option<&WebGlUniformLocation>,
5539 data: &[i32],
5540 src_offset: u32,
5541 src_length: u32,
5542 );
5543 #[cfg(feature = "WebGlUniformLocation")]
5544 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5545 #[doc = "The `uniform2iv()` method."]
5546 #[doc = ""]
5547 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5548 #[doc = ""]
5549 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5550 pub fn uniform2iv_with_js_i32_array_and_src_offset_and_src_length(
5551 this: &WebGl2RenderingContext,
5552 location: Option<&WebGlUniformLocation>,
5553 data: &::js_sys::Int32Array,
5554 src_offset: u32,
5555 src_length: u32,
5556 );
5557 #[cfg(feature = "WebGlUniformLocation")]
5558 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5559 #[doc = "The `uniform2iv()` method."]
5560 #[doc = ""]
5561 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5562 #[doc = ""]
5563 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5564 pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length(
5565 this: &WebGl2RenderingContext,
5566 location: Option<&WebGlUniformLocation>,
5567 data: &::wasm_bindgen::JsValue,
5568 src_offset: u32,
5569 src_length: u32,
5570 );
5571 #[cfg(feature = "WebGlUniformLocation")]
5572 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
5573 #[doc = "The `uniform2ui()` method."]
5574 #[doc = ""]
5575 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)"]
5576 #[doc = ""]
5577 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5578 pub fn uniform2ui(
5579 this: &WebGl2RenderingContext,
5580 location: Option<&WebGlUniformLocation>,
5581 v0: u32,
5582 v1: u32,
5583 );
5584 #[cfg(feature = "WebGlUniformLocation")]
5585 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5586 #[doc = "The `uniform2uiv()` method."]
5587 #[doc = ""]
5588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5589 #[doc = ""]
5590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5591 pub fn uniform2uiv_with_u32_array(
5592 this: &WebGl2RenderingContext,
5593 location: Option<&WebGlUniformLocation>,
5594 data: &[u32],
5595 );
5596 #[cfg(feature = "WebGlUniformLocation")]
5597 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5598 #[doc = "The `uniform2uiv()` method."]
5599 #[doc = ""]
5600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5601 #[doc = ""]
5602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5603 pub fn uniform2uiv_with_js_u32_array(
5604 this: &WebGl2RenderingContext,
5605 location: Option<&WebGlUniformLocation>,
5606 data: &::js_sys::Uint32Array,
5607 );
5608 #[cfg(feature = "WebGlUniformLocation")]
5609 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5610 #[doc = "The `uniform2uiv()` method."]
5611 #[doc = ""]
5612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5613 #[doc = ""]
5614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5615 pub fn uniform2uiv_with_u32_sequence(
5616 this: &WebGl2RenderingContext,
5617 location: Option<&WebGlUniformLocation>,
5618 data: &::wasm_bindgen::JsValue,
5619 );
5620 #[cfg(feature = "WebGlUniformLocation")]
5621 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5622 #[doc = "The `uniform2uiv()` method."]
5623 #[doc = ""]
5624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5625 #[doc = ""]
5626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5627 pub fn uniform2uiv_with_u32_array_and_src_offset(
5628 this: &WebGl2RenderingContext,
5629 location: Option<&WebGlUniformLocation>,
5630 data: &[u32],
5631 src_offset: u32,
5632 );
5633 #[cfg(feature = "WebGlUniformLocation")]
5634 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5635 #[doc = "The `uniform2uiv()` method."]
5636 #[doc = ""]
5637 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5638 #[doc = ""]
5639 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5640 pub fn uniform2uiv_with_js_u32_array_and_src_offset(
5641 this: &WebGl2RenderingContext,
5642 location: Option<&WebGlUniformLocation>,
5643 data: &::js_sys::Uint32Array,
5644 src_offset: u32,
5645 );
5646 #[cfg(feature = "WebGlUniformLocation")]
5647 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5648 #[doc = "The `uniform2uiv()` method."]
5649 #[doc = ""]
5650 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5651 #[doc = ""]
5652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5653 pub fn uniform2uiv_with_u32_sequence_and_src_offset(
5654 this: &WebGl2RenderingContext,
5655 location: Option<&WebGlUniformLocation>,
5656 data: &::wasm_bindgen::JsValue,
5657 src_offset: u32,
5658 );
5659 #[cfg(feature = "WebGlUniformLocation")]
5660 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5661 #[doc = "The `uniform2uiv()` method."]
5662 #[doc = ""]
5663 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5664 #[doc = ""]
5665 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5666 pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length(
5667 this: &WebGl2RenderingContext,
5668 location: Option<&WebGlUniformLocation>,
5669 data: &[u32],
5670 src_offset: u32,
5671 src_length: u32,
5672 );
5673 #[cfg(feature = "WebGlUniformLocation")]
5674 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5675 #[doc = "The `uniform2uiv()` method."]
5676 #[doc = ""]
5677 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5678 #[doc = ""]
5679 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5680 pub fn uniform2uiv_with_js_u32_array_and_src_offset_and_src_length(
5681 this: &WebGl2RenderingContext,
5682 location: Option<&WebGlUniformLocation>,
5683 data: &::js_sys::Uint32Array,
5684 src_offset: u32,
5685 src_length: u32,
5686 );
5687 #[cfg(feature = "WebGlUniformLocation")]
5688 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5689 #[doc = "The `uniform2uiv()` method."]
5690 #[doc = ""]
5691 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5692 #[doc = ""]
5693 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5694 pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length(
5695 this: &WebGl2RenderingContext,
5696 location: Option<&WebGlUniformLocation>,
5697 data: &::wasm_bindgen::JsValue,
5698 src_offset: u32,
5699 src_length: u32,
5700 );
5701 #[cfg(feature = "WebGlUniformLocation")]
5702 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5703 #[doc = "The `uniform3fv()` method."]
5704 #[doc = ""]
5705 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5706 #[doc = ""]
5707 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5708 pub fn uniform3fv_with_f32_array(
5709 this: &WebGl2RenderingContext,
5710 location: Option<&WebGlUniformLocation>,
5711 data: &[f32],
5712 );
5713 #[cfg(feature = "WebGlUniformLocation")]
5714 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5715 #[doc = "The `uniform3fv()` method."]
5716 #[doc = ""]
5717 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5718 #[doc = ""]
5719 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5720 pub fn uniform3fv_with_js_f32_array(
5721 this: &WebGl2RenderingContext,
5722 location: Option<&WebGlUniformLocation>,
5723 data: &::js_sys::Float32Array,
5724 );
5725 #[cfg(feature = "WebGlUniformLocation")]
5726 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5727 #[doc = "The `uniform3fv()` method."]
5728 #[doc = ""]
5729 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5730 #[doc = ""]
5731 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5732 pub fn uniform3fv_with_f32_sequence(
5733 this: &WebGl2RenderingContext,
5734 location: Option<&WebGlUniformLocation>,
5735 data: &::wasm_bindgen::JsValue,
5736 );
5737 #[cfg(feature = "WebGlUniformLocation")]
5738 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5739 #[doc = "The `uniform3fv()` method."]
5740 #[doc = ""]
5741 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5742 #[doc = ""]
5743 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5744 pub fn uniform3fv_with_f32_array_and_src_offset(
5745 this: &WebGl2RenderingContext,
5746 location: Option<&WebGlUniformLocation>,
5747 data: &[f32],
5748 src_offset: u32,
5749 );
5750 #[cfg(feature = "WebGlUniformLocation")]
5751 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5752 #[doc = "The `uniform3fv()` method."]
5753 #[doc = ""]
5754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5755 #[doc = ""]
5756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5757 pub fn uniform3fv_with_js_f32_array_and_src_offset(
5758 this: &WebGl2RenderingContext,
5759 location: Option<&WebGlUniformLocation>,
5760 data: &::js_sys::Float32Array,
5761 src_offset: u32,
5762 );
5763 #[cfg(feature = "WebGlUniformLocation")]
5764 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5765 #[doc = "The `uniform3fv()` method."]
5766 #[doc = ""]
5767 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5768 #[doc = ""]
5769 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5770 pub fn uniform3fv_with_f32_sequence_and_src_offset(
5771 this: &WebGl2RenderingContext,
5772 location: Option<&WebGlUniformLocation>,
5773 data: &::wasm_bindgen::JsValue,
5774 src_offset: u32,
5775 );
5776 #[cfg(feature = "WebGlUniformLocation")]
5777 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5778 #[doc = "The `uniform3fv()` method."]
5779 #[doc = ""]
5780 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5781 #[doc = ""]
5782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5783 pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length(
5784 this: &WebGl2RenderingContext,
5785 location: Option<&WebGlUniformLocation>,
5786 data: &[f32],
5787 src_offset: u32,
5788 src_length: u32,
5789 );
5790 #[cfg(feature = "WebGlUniformLocation")]
5791 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5792 #[doc = "The `uniform3fv()` method."]
5793 #[doc = ""]
5794 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5795 #[doc = ""]
5796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5797 pub fn uniform3fv_with_js_f32_array_and_src_offset_and_src_length(
5798 this: &WebGl2RenderingContext,
5799 location: Option<&WebGlUniformLocation>,
5800 data: &::js_sys::Float32Array,
5801 src_offset: u32,
5802 src_length: u32,
5803 );
5804 #[cfg(feature = "WebGlUniformLocation")]
5805 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5806 #[doc = "The `uniform3fv()` method."]
5807 #[doc = ""]
5808 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5809 #[doc = ""]
5810 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5811 pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length(
5812 this: &WebGl2RenderingContext,
5813 location: Option<&WebGlUniformLocation>,
5814 data: &::wasm_bindgen::JsValue,
5815 src_offset: u32,
5816 src_length: u32,
5817 );
5818 #[cfg(feature = "WebGlUniformLocation")]
5819 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5820 #[doc = "The `uniform3iv()` method."]
5821 #[doc = ""]
5822 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5823 #[doc = ""]
5824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5825 pub fn uniform3iv_with_i32_array(
5826 this: &WebGl2RenderingContext,
5827 location: Option<&WebGlUniformLocation>,
5828 data: &[i32],
5829 );
5830 #[cfg(feature = "WebGlUniformLocation")]
5831 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5832 #[doc = "The `uniform3iv()` method."]
5833 #[doc = ""]
5834 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5835 #[doc = ""]
5836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5837 pub fn uniform3iv_with_js_i32_array(
5838 this: &WebGl2RenderingContext,
5839 location: Option<&WebGlUniformLocation>,
5840 data: &::js_sys::Int32Array,
5841 );
5842 #[cfg(feature = "WebGlUniformLocation")]
5843 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5844 #[doc = "The `uniform3iv()` method."]
5845 #[doc = ""]
5846 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5847 #[doc = ""]
5848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5849 pub fn uniform3iv_with_i32_sequence(
5850 this: &WebGl2RenderingContext,
5851 location: Option<&WebGlUniformLocation>,
5852 data: &::wasm_bindgen::JsValue,
5853 );
5854 #[cfg(feature = "WebGlUniformLocation")]
5855 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5856 #[doc = "The `uniform3iv()` method."]
5857 #[doc = ""]
5858 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5859 #[doc = ""]
5860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5861 pub fn uniform3iv_with_i32_array_and_src_offset(
5862 this: &WebGl2RenderingContext,
5863 location: Option<&WebGlUniformLocation>,
5864 data: &[i32],
5865 src_offset: u32,
5866 );
5867 #[cfg(feature = "WebGlUniformLocation")]
5868 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5869 #[doc = "The `uniform3iv()` method."]
5870 #[doc = ""]
5871 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5872 #[doc = ""]
5873 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5874 pub fn uniform3iv_with_js_i32_array_and_src_offset(
5875 this: &WebGl2RenderingContext,
5876 location: Option<&WebGlUniformLocation>,
5877 data: &::js_sys::Int32Array,
5878 src_offset: u32,
5879 );
5880 #[cfg(feature = "WebGlUniformLocation")]
5881 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5882 #[doc = "The `uniform3iv()` method."]
5883 #[doc = ""]
5884 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5885 #[doc = ""]
5886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5887 pub fn uniform3iv_with_i32_sequence_and_src_offset(
5888 this: &WebGl2RenderingContext,
5889 location: Option<&WebGlUniformLocation>,
5890 data: &::wasm_bindgen::JsValue,
5891 src_offset: u32,
5892 );
5893 #[cfg(feature = "WebGlUniformLocation")]
5894 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5895 #[doc = "The `uniform3iv()` method."]
5896 #[doc = ""]
5897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5898 #[doc = ""]
5899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5900 pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length(
5901 this: &WebGl2RenderingContext,
5902 location: Option<&WebGlUniformLocation>,
5903 data: &[i32],
5904 src_offset: u32,
5905 src_length: u32,
5906 );
5907 #[cfg(feature = "WebGlUniformLocation")]
5908 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5909 #[doc = "The `uniform3iv()` method."]
5910 #[doc = ""]
5911 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5912 #[doc = ""]
5913 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5914 pub fn uniform3iv_with_js_i32_array_and_src_offset_and_src_length(
5915 this: &WebGl2RenderingContext,
5916 location: Option<&WebGlUniformLocation>,
5917 data: &::js_sys::Int32Array,
5918 src_offset: u32,
5919 src_length: u32,
5920 );
5921 #[cfg(feature = "WebGlUniformLocation")]
5922 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5923 #[doc = "The `uniform3iv()` method."]
5924 #[doc = ""]
5925 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5926 #[doc = ""]
5927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5928 pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length(
5929 this: &WebGl2RenderingContext,
5930 location: Option<&WebGlUniformLocation>,
5931 data: &::wasm_bindgen::JsValue,
5932 src_offset: u32,
5933 src_length: u32,
5934 );
5935 #[cfg(feature = "WebGlUniformLocation")]
5936 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
5937 #[doc = "The `uniform3ui()` method."]
5938 #[doc = ""]
5939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)"]
5940 #[doc = ""]
5941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5942 pub fn uniform3ui(
5943 this: &WebGl2RenderingContext,
5944 location: Option<&WebGlUniformLocation>,
5945 v0: u32,
5946 v1: u32,
5947 v2: u32,
5948 );
5949 #[cfg(feature = "WebGlUniformLocation")]
5950 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5951 #[doc = "The `uniform3uiv()` method."]
5952 #[doc = ""]
5953 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5954 #[doc = ""]
5955 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5956 pub fn uniform3uiv_with_u32_array(
5957 this: &WebGl2RenderingContext,
5958 location: Option<&WebGlUniformLocation>,
5959 data: &[u32],
5960 );
5961 #[cfg(feature = "WebGlUniformLocation")]
5962 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5963 #[doc = "The `uniform3uiv()` method."]
5964 #[doc = ""]
5965 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5966 #[doc = ""]
5967 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5968 pub fn uniform3uiv_with_js_u32_array(
5969 this: &WebGl2RenderingContext,
5970 location: Option<&WebGlUniformLocation>,
5971 data: &::js_sys::Uint32Array,
5972 );
5973 #[cfg(feature = "WebGlUniformLocation")]
5974 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5975 #[doc = "The `uniform3uiv()` method."]
5976 #[doc = ""]
5977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5978 #[doc = ""]
5979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5980 pub fn uniform3uiv_with_u32_sequence(
5981 this: &WebGl2RenderingContext,
5982 location: Option<&WebGlUniformLocation>,
5983 data: &::wasm_bindgen::JsValue,
5984 );
5985 #[cfg(feature = "WebGlUniformLocation")]
5986 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5987 #[doc = "The `uniform3uiv()` method."]
5988 #[doc = ""]
5989 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5990 #[doc = ""]
5991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5992 pub fn uniform3uiv_with_u32_array_and_src_offset(
5993 this: &WebGl2RenderingContext,
5994 location: Option<&WebGlUniformLocation>,
5995 data: &[u32],
5996 src_offset: u32,
5997 );
5998 #[cfg(feature = "WebGlUniformLocation")]
5999 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
6000 #[doc = "The `uniform3uiv()` method."]
6001 #[doc = ""]
6002 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
6003 #[doc = ""]
6004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6005 pub fn uniform3uiv_with_js_u32_array_and_src_offset(
6006 this: &WebGl2RenderingContext,
6007 location: Option<&WebGlUniformLocation>,
6008 data: &::js_sys::Uint32Array,
6009 src_offset: u32,
6010 );
6011 #[cfg(feature = "WebGlUniformLocation")]
6012 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
6013 #[doc = "The `uniform3uiv()` method."]
6014 #[doc = ""]
6015 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
6016 #[doc = ""]
6017 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6018 pub fn uniform3uiv_with_u32_sequence_and_src_offset(
6019 this: &WebGl2RenderingContext,
6020 location: Option<&WebGlUniformLocation>,
6021 data: &::wasm_bindgen::JsValue,
6022 src_offset: u32,
6023 );
6024 #[cfg(feature = "WebGlUniformLocation")]
6025 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
6026 #[doc = "The `uniform3uiv()` method."]
6027 #[doc = ""]
6028 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
6029 #[doc = ""]
6030 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6031 pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length(
6032 this: &WebGl2RenderingContext,
6033 location: Option<&WebGlUniformLocation>,
6034 data: &[u32],
6035 src_offset: u32,
6036 src_length: u32,
6037 );
6038 #[cfg(feature = "WebGlUniformLocation")]
6039 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
6040 #[doc = "The `uniform3uiv()` method."]
6041 #[doc = ""]
6042 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
6043 #[doc = ""]
6044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6045 pub fn uniform3uiv_with_js_u32_array_and_src_offset_and_src_length(
6046 this: &WebGl2RenderingContext,
6047 location: Option<&WebGlUniformLocation>,
6048 data: &::js_sys::Uint32Array,
6049 src_offset: u32,
6050 src_length: u32,
6051 );
6052 #[cfg(feature = "WebGlUniformLocation")]
6053 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
6054 #[doc = "The `uniform3uiv()` method."]
6055 #[doc = ""]
6056 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
6057 #[doc = ""]
6058 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6059 pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length(
6060 this: &WebGl2RenderingContext,
6061 location: Option<&WebGlUniformLocation>,
6062 data: &::wasm_bindgen::JsValue,
6063 src_offset: u32,
6064 src_length: u32,
6065 );
6066 #[cfg(feature = "WebGlUniformLocation")]
6067 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6068 #[doc = "The `uniform4fv()` method."]
6069 #[doc = ""]
6070 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6071 #[doc = ""]
6072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6073 pub fn uniform4fv_with_f32_array(
6074 this: &WebGl2RenderingContext,
6075 location: Option<&WebGlUniformLocation>,
6076 data: &[f32],
6077 );
6078 #[cfg(feature = "WebGlUniformLocation")]
6079 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6080 #[doc = "The `uniform4fv()` method."]
6081 #[doc = ""]
6082 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6083 #[doc = ""]
6084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6085 pub fn uniform4fv_with_js_f32_array(
6086 this: &WebGl2RenderingContext,
6087 location: Option<&WebGlUniformLocation>,
6088 data: &::js_sys::Float32Array,
6089 );
6090 #[cfg(feature = "WebGlUniformLocation")]
6091 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6092 #[doc = "The `uniform4fv()` method."]
6093 #[doc = ""]
6094 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6095 #[doc = ""]
6096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6097 pub fn uniform4fv_with_f32_sequence(
6098 this: &WebGl2RenderingContext,
6099 location: Option<&WebGlUniformLocation>,
6100 data: &::wasm_bindgen::JsValue,
6101 );
6102 #[cfg(feature = "WebGlUniformLocation")]
6103 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6104 #[doc = "The `uniform4fv()` method."]
6105 #[doc = ""]
6106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6107 #[doc = ""]
6108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6109 pub fn uniform4fv_with_f32_array_and_src_offset(
6110 this: &WebGl2RenderingContext,
6111 location: Option<&WebGlUniformLocation>,
6112 data: &[f32],
6113 src_offset: u32,
6114 );
6115 #[cfg(feature = "WebGlUniformLocation")]
6116 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6117 #[doc = "The `uniform4fv()` method."]
6118 #[doc = ""]
6119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6120 #[doc = ""]
6121 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6122 pub fn uniform4fv_with_js_f32_array_and_src_offset(
6123 this: &WebGl2RenderingContext,
6124 location: Option<&WebGlUniformLocation>,
6125 data: &::js_sys::Float32Array,
6126 src_offset: u32,
6127 );
6128 #[cfg(feature = "WebGlUniformLocation")]
6129 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6130 #[doc = "The `uniform4fv()` method."]
6131 #[doc = ""]
6132 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6133 #[doc = ""]
6134 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6135 pub fn uniform4fv_with_f32_sequence_and_src_offset(
6136 this: &WebGl2RenderingContext,
6137 location: Option<&WebGlUniformLocation>,
6138 data: &::wasm_bindgen::JsValue,
6139 src_offset: u32,
6140 );
6141 #[cfg(feature = "WebGlUniformLocation")]
6142 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6143 #[doc = "The `uniform4fv()` method."]
6144 #[doc = ""]
6145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6146 #[doc = ""]
6147 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6148 pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length(
6149 this: &WebGl2RenderingContext,
6150 location: Option<&WebGlUniformLocation>,
6151 data: &[f32],
6152 src_offset: u32,
6153 src_length: u32,
6154 );
6155 #[cfg(feature = "WebGlUniformLocation")]
6156 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6157 #[doc = "The `uniform4fv()` method."]
6158 #[doc = ""]
6159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6160 #[doc = ""]
6161 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6162 pub fn uniform4fv_with_js_f32_array_and_src_offset_and_src_length(
6163 this: &WebGl2RenderingContext,
6164 location: Option<&WebGlUniformLocation>,
6165 data: &::js_sys::Float32Array,
6166 src_offset: u32,
6167 src_length: u32,
6168 );
6169 #[cfg(feature = "WebGlUniformLocation")]
6170 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6171 #[doc = "The `uniform4fv()` method."]
6172 #[doc = ""]
6173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6174 #[doc = ""]
6175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6176 pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length(
6177 this: &WebGl2RenderingContext,
6178 location: Option<&WebGlUniformLocation>,
6179 data: &::wasm_bindgen::JsValue,
6180 src_offset: u32,
6181 src_length: u32,
6182 );
6183 #[cfg(feature = "WebGlUniformLocation")]
6184 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6185 #[doc = "The `uniform4iv()` method."]
6186 #[doc = ""]
6187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6188 #[doc = ""]
6189 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6190 pub fn uniform4iv_with_i32_array(
6191 this: &WebGl2RenderingContext,
6192 location: Option<&WebGlUniformLocation>,
6193 data: &[i32],
6194 );
6195 #[cfg(feature = "WebGlUniformLocation")]
6196 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6197 #[doc = "The `uniform4iv()` method."]
6198 #[doc = ""]
6199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6200 #[doc = ""]
6201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6202 pub fn uniform4iv_with_js_i32_array(
6203 this: &WebGl2RenderingContext,
6204 location: Option<&WebGlUniformLocation>,
6205 data: &::js_sys::Int32Array,
6206 );
6207 #[cfg(feature = "WebGlUniformLocation")]
6208 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6209 #[doc = "The `uniform4iv()` method."]
6210 #[doc = ""]
6211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6212 #[doc = ""]
6213 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6214 pub fn uniform4iv_with_i32_sequence(
6215 this: &WebGl2RenderingContext,
6216 location: Option<&WebGlUniformLocation>,
6217 data: &::wasm_bindgen::JsValue,
6218 );
6219 #[cfg(feature = "WebGlUniformLocation")]
6220 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6221 #[doc = "The `uniform4iv()` method."]
6222 #[doc = ""]
6223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6224 #[doc = ""]
6225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6226 pub fn uniform4iv_with_i32_array_and_src_offset(
6227 this: &WebGl2RenderingContext,
6228 location: Option<&WebGlUniformLocation>,
6229 data: &[i32],
6230 src_offset: u32,
6231 );
6232 #[cfg(feature = "WebGlUniformLocation")]
6233 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6234 #[doc = "The `uniform4iv()` method."]
6235 #[doc = ""]
6236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6237 #[doc = ""]
6238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6239 pub fn uniform4iv_with_js_i32_array_and_src_offset(
6240 this: &WebGl2RenderingContext,
6241 location: Option<&WebGlUniformLocation>,
6242 data: &::js_sys::Int32Array,
6243 src_offset: u32,
6244 );
6245 #[cfg(feature = "WebGlUniformLocation")]
6246 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6247 #[doc = "The `uniform4iv()` method."]
6248 #[doc = ""]
6249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6250 #[doc = ""]
6251 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6252 pub fn uniform4iv_with_i32_sequence_and_src_offset(
6253 this: &WebGl2RenderingContext,
6254 location: Option<&WebGlUniformLocation>,
6255 data: &::wasm_bindgen::JsValue,
6256 src_offset: u32,
6257 );
6258 #[cfg(feature = "WebGlUniformLocation")]
6259 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6260 #[doc = "The `uniform4iv()` method."]
6261 #[doc = ""]
6262 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6263 #[doc = ""]
6264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6265 pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length(
6266 this: &WebGl2RenderingContext,
6267 location: Option<&WebGlUniformLocation>,
6268 data: &[i32],
6269 src_offset: u32,
6270 src_length: u32,
6271 );
6272 #[cfg(feature = "WebGlUniformLocation")]
6273 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6274 #[doc = "The `uniform4iv()` method."]
6275 #[doc = ""]
6276 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6277 #[doc = ""]
6278 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6279 pub fn uniform4iv_with_js_i32_array_and_src_offset_and_src_length(
6280 this: &WebGl2RenderingContext,
6281 location: Option<&WebGlUniformLocation>,
6282 data: &::js_sys::Int32Array,
6283 src_offset: u32,
6284 src_length: u32,
6285 );
6286 #[cfg(feature = "WebGlUniformLocation")]
6287 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6288 #[doc = "The `uniform4iv()` method."]
6289 #[doc = ""]
6290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6291 #[doc = ""]
6292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6293 pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length(
6294 this: &WebGl2RenderingContext,
6295 location: Option<&WebGlUniformLocation>,
6296 data: &::wasm_bindgen::JsValue,
6297 src_offset: u32,
6298 src_length: u32,
6299 );
6300 #[cfg(feature = "WebGlUniformLocation")]
6301 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
6302 #[doc = "The `uniform4ui()` method."]
6303 #[doc = ""]
6304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)"]
6305 #[doc = ""]
6306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6307 pub fn uniform4ui(
6308 this: &WebGl2RenderingContext,
6309 location: Option<&WebGlUniformLocation>,
6310 v0: u32,
6311 v1: u32,
6312 v2: u32,
6313 v3: u32,
6314 );
6315 #[cfg(feature = "WebGlUniformLocation")]
6316 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6317 #[doc = "The `uniform4uiv()` method."]
6318 #[doc = ""]
6319 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6320 #[doc = ""]
6321 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6322 pub fn uniform4uiv_with_u32_array(
6323 this: &WebGl2RenderingContext,
6324 location: Option<&WebGlUniformLocation>,
6325 data: &[u32],
6326 );
6327 #[cfg(feature = "WebGlUniformLocation")]
6328 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6329 #[doc = "The `uniform4uiv()` method."]
6330 #[doc = ""]
6331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6332 #[doc = ""]
6333 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6334 pub fn uniform4uiv_with_js_u32_array(
6335 this: &WebGl2RenderingContext,
6336 location: Option<&WebGlUniformLocation>,
6337 data: &::js_sys::Uint32Array,
6338 );
6339 #[cfg(feature = "WebGlUniformLocation")]
6340 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6341 #[doc = "The `uniform4uiv()` method."]
6342 #[doc = ""]
6343 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6344 #[doc = ""]
6345 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6346 pub fn uniform4uiv_with_u32_sequence(
6347 this: &WebGl2RenderingContext,
6348 location: Option<&WebGlUniformLocation>,
6349 data: &::wasm_bindgen::JsValue,
6350 );
6351 #[cfg(feature = "WebGlUniformLocation")]
6352 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6353 #[doc = "The `uniform4uiv()` method."]
6354 #[doc = ""]
6355 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6356 #[doc = ""]
6357 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6358 pub fn uniform4uiv_with_u32_array_and_src_offset(
6359 this: &WebGl2RenderingContext,
6360 location: Option<&WebGlUniformLocation>,
6361 data: &[u32],
6362 src_offset: u32,
6363 );
6364 #[cfg(feature = "WebGlUniformLocation")]
6365 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6366 #[doc = "The `uniform4uiv()` method."]
6367 #[doc = ""]
6368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6369 #[doc = ""]
6370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6371 pub fn uniform4uiv_with_js_u32_array_and_src_offset(
6372 this: &WebGl2RenderingContext,
6373 location: Option<&WebGlUniformLocation>,
6374 data: &::js_sys::Uint32Array,
6375 src_offset: u32,
6376 );
6377 #[cfg(feature = "WebGlUniformLocation")]
6378 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6379 #[doc = "The `uniform4uiv()` method."]
6380 #[doc = ""]
6381 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6382 #[doc = ""]
6383 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6384 pub fn uniform4uiv_with_u32_sequence_and_src_offset(
6385 this: &WebGl2RenderingContext,
6386 location: Option<&WebGlUniformLocation>,
6387 data: &::wasm_bindgen::JsValue,
6388 src_offset: u32,
6389 );
6390 #[cfg(feature = "WebGlUniformLocation")]
6391 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6392 #[doc = "The `uniform4uiv()` method."]
6393 #[doc = ""]
6394 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6395 #[doc = ""]
6396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6397 pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length(
6398 this: &WebGl2RenderingContext,
6399 location: Option<&WebGlUniformLocation>,
6400 data: &[u32],
6401 src_offset: u32,
6402 src_length: u32,
6403 );
6404 #[cfg(feature = "WebGlUniformLocation")]
6405 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6406 #[doc = "The `uniform4uiv()` method."]
6407 #[doc = ""]
6408 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6409 #[doc = ""]
6410 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6411 pub fn uniform4uiv_with_js_u32_array_and_src_offset_and_src_length(
6412 this: &WebGl2RenderingContext,
6413 location: Option<&WebGlUniformLocation>,
6414 data: &::js_sys::Uint32Array,
6415 src_offset: u32,
6416 src_length: u32,
6417 );
6418 #[cfg(feature = "WebGlUniformLocation")]
6419 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6420 #[doc = "The `uniform4uiv()` method."]
6421 #[doc = ""]
6422 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6423 #[doc = ""]
6424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6425 pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length(
6426 this: &WebGl2RenderingContext,
6427 location: Option<&WebGlUniformLocation>,
6428 data: &::wasm_bindgen::JsValue,
6429 src_offset: u32,
6430 src_length: u32,
6431 );
6432 #[cfg(feature = "WebGlProgram")]
6433 #[wasm_bindgen(
6434 method,
6435 js_class = "WebGL2RenderingContext",
6436 js_name = "uniformBlockBinding"
6437 )]
6438 #[doc = "The `uniformBlockBinding()` method."]
6439 #[doc = ""]
6440 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)"]
6441 #[doc = ""]
6442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6443 pub fn uniform_block_binding(
6444 this: &WebGl2RenderingContext,
6445 program: &WebGlProgram,
6446 uniform_block_index: u32,
6447 uniform_block_binding: u32,
6448 );
6449 #[cfg(feature = "WebGlUniformLocation")]
6450 #[wasm_bindgen(
6451 method,
6452 js_class = "WebGL2RenderingContext",
6453 js_name = "uniformMatrix2fv"
6454 )]
6455 #[doc = "The `uniformMatrix2fv()` method."]
6456 #[doc = ""]
6457 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6458 #[doc = ""]
6459 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6460 pub fn uniform_matrix2fv_with_f32_array(
6461 this: &WebGl2RenderingContext,
6462 location: Option<&WebGlUniformLocation>,
6463 transpose: bool,
6464 data: &[f32],
6465 );
6466 #[cfg(feature = "WebGlUniformLocation")]
6467 #[wasm_bindgen(
6468 method,
6469 js_class = "WebGL2RenderingContext",
6470 js_name = "uniformMatrix2fv"
6471 )]
6472 #[doc = "The `uniformMatrix2fv()` method."]
6473 #[doc = ""]
6474 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6475 #[doc = ""]
6476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6477 pub fn uniform_matrix2fv_with_js_f32_array(
6478 this: &WebGl2RenderingContext,
6479 location: Option<&WebGlUniformLocation>,
6480 transpose: bool,
6481 data: &::js_sys::Float32Array,
6482 );
6483 #[cfg(feature = "WebGlUniformLocation")]
6484 #[wasm_bindgen(
6485 method,
6486 js_class = "WebGL2RenderingContext",
6487 js_name = "uniformMatrix2fv"
6488 )]
6489 #[doc = "The `uniformMatrix2fv()` method."]
6490 #[doc = ""]
6491 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6492 #[doc = ""]
6493 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6494 pub fn uniform_matrix2fv_with_f32_sequence(
6495 this: &WebGl2RenderingContext,
6496 location: Option<&WebGlUniformLocation>,
6497 transpose: bool,
6498 data: &::wasm_bindgen::JsValue,
6499 );
6500 #[cfg(feature = "WebGlUniformLocation")]
6501 #[wasm_bindgen(
6502 method,
6503 js_class = "WebGL2RenderingContext",
6504 js_name = "uniformMatrix2fv"
6505 )]
6506 #[doc = "The `uniformMatrix2fv()` method."]
6507 #[doc = ""]
6508 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6509 #[doc = ""]
6510 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6511 pub fn uniform_matrix2fv_with_f32_array_and_src_offset(
6512 this: &WebGl2RenderingContext,
6513 location: Option<&WebGlUniformLocation>,
6514 transpose: bool,
6515 data: &[f32],
6516 src_offset: u32,
6517 );
6518 #[cfg(feature = "WebGlUniformLocation")]
6519 #[wasm_bindgen(
6520 method,
6521 js_class = "WebGL2RenderingContext",
6522 js_name = "uniformMatrix2fv"
6523 )]
6524 #[doc = "The `uniformMatrix2fv()` method."]
6525 #[doc = ""]
6526 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6527 #[doc = ""]
6528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6529 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset(
6530 this: &WebGl2RenderingContext,
6531 location: Option<&WebGlUniformLocation>,
6532 transpose: bool,
6533 data: &::js_sys::Float32Array,
6534 src_offset: u32,
6535 );
6536 #[cfg(feature = "WebGlUniformLocation")]
6537 #[wasm_bindgen(
6538 method,
6539 js_class = "WebGL2RenderingContext",
6540 js_name = "uniformMatrix2fv"
6541 )]
6542 #[doc = "The `uniformMatrix2fv()` method."]
6543 #[doc = ""]
6544 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6545 #[doc = ""]
6546 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6547 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset(
6548 this: &WebGl2RenderingContext,
6549 location: Option<&WebGlUniformLocation>,
6550 transpose: bool,
6551 data: &::wasm_bindgen::JsValue,
6552 src_offset: u32,
6553 );
6554 #[cfg(feature = "WebGlUniformLocation")]
6555 #[wasm_bindgen(
6556 method,
6557 js_class = "WebGL2RenderingContext",
6558 js_name = "uniformMatrix2fv"
6559 )]
6560 #[doc = "The `uniformMatrix2fv()` method."]
6561 #[doc = ""]
6562 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6563 #[doc = ""]
6564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6565 pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length(
6566 this: &WebGl2RenderingContext,
6567 location: Option<&WebGlUniformLocation>,
6568 transpose: bool,
6569 data: &[f32],
6570 src_offset: u32,
6571 src_length: u32,
6572 );
6573 #[cfg(feature = "WebGlUniformLocation")]
6574 #[wasm_bindgen(
6575 method,
6576 js_class = "WebGL2RenderingContext",
6577 js_name = "uniformMatrix2fv"
6578 )]
6579 #[doc = "The `uniformMatrix2fv()` method."]
6580 #[doc = ""]
6581 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6582 #[doc = ""]
6583 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6584 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset_and_src_length(
6585 this: &WebGl2RenderingContext,
6586 location: Option<&WebGlUniformLocation>,
6587 transpose: bool,
6588 data: &::js_sys::Float32Array,
6589 src_offset: u32,
6590 src_length: u32,
6591 );
6592 #[cfg(feature = "WebGlUniformLocation")]
6593 #[wasm_bindgen(
6594 method,
6595 js_class = "WebGL2RenderingContext",
6596 js_name = "uniformMatrix2fv"
6597 )]
6598 #[doc = "The `uniformMatrix2fv()` method."]
6599 #[doc = ""]
6600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6601 #[doc = ""]
6602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6603 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length(
6604 this: &WebGl2RenderingContext,
6605 location: Option<&WebGlUniformLocation>,
6606 transpose: bool,
6607 data: &::wasm_bindgen::JsValue,
6608 src_offset: u32,
6609 src_length: u32,
6610 );
6611 #[cfg(feature = "WebGlUniformLocation")]
6612 #[wasm_bindgen(
6613 method,
6614 js_class = "WebGL2RenderingContext",
6615 js_name = "uniformMatrix2x3fv"
6616 )]
6617 #[doc = "The `uniformMatrix2x3fv()` method."]
6618 #[doc = ""]
6619 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6620 #[doc = ""]
6621 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6622 pub fn uniform_matrix2x3fv_with_f32_array(
6623 this: &WebGl2RenderingContext,
6624 location: Option<&WebGlUniformLocation>,
6625 transpose: bool,
6626 data: &[f32],
6627 );
6628 #[cfg(feature = "WebGlUniformLocation")]
6629 #[wasm_bindgen(
6630 method,
6631 js_class = "WebGL2RenderingContext",
6632 js_name = "uniformMatrix2x3fv"
6633 )]
6634 #[doc = "The `uniformMatrix2x3fv()` method."]
6635 #[doc = ""]
6636 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6637 #[doc = ""]
6638 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6639 pub fn uniform_matrix2x3fv_with_js_f32_array(
6640 this: &WebGl2RenderingContext,
6641 location: Option<&WebGlUniformLocation>,
6642 transpose: bool,
6643 data: &::js_sys::Float32Array,
6644 );
6645 #[cfg(feature = "WebGlUniformLocation")]
6646 #[wasm_bindgen(
6647 method,
6648 js_class = "WebGL2RenderingContext",
6649 js_name = "uniformMatrix2x3fv"
6650 )]
6651 #[doc = "The `uniformMatrix2x3fv()` method."]
6652 #[doc = ""]
6653 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6654 #[doc = ""]
6655 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6656 pub fn uniform_matrix2x3fv_with_f32_sequence(
6657 this: &WebGl2RenderingContext,
6658 location: Option<&WebGlUniformLocation>,
6659 transpose: bool,
6660 data: &::wasm_bindgen::JsValue,
6661 );
6662 #[cfg(feature = "WebGlUniformLocation")]
6663 #[wasm_bindgen(
6664 method,
6665 js_class = "WebGL2RenderingContext",
6666 js_name = "uniformMatrix2x3fv"
6667 )]
6668 #[doc = "The `uniformMatrix2x3fv()` method."]
6669 #[doc = ""]
6670 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6671 #[doc = ""]
6672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6673 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset(
6674 this: &WebGl2RenderingContext,
6675 location: Option<&WebGlUniformLocation>,
6676 transpose: bool,
6677 data: &[f32],
6678 src_offset: u32,
6679 );
6680 #[cfg(feature = "WebGlUniformLocation")]
6681 #[wasm_bindgen(
6682 method,
6683 js_class = "WebGL2RenderingContext",
6684 js_name = "uniformMatrix2x3fv"
6685 )]
6686 #[doc = "The `uniformMatrix2x3fv()` method."]
6687 #[doc = ""]
6688 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6689 #[doc = ""]
6690 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6691 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset(
6692 this: &WebGl2RenderingContext,
6693 location: Option<&WebGlUniformLocation>,
6694 transpose: bool,
6695 data: &::js_sys::Float32Array,
6696 src_offset: u32,
6697 );
6698 #[cfg(feature = "WebGlUniformLocation")]
6699 #[wasm_bindgen(
6700 method,
6701 js_class = "WebGL2RenderingContext",
6702 js_name = "uniformMatrix2x3fv"
6703 )]
6704 #[doc = "The `uniformMatrix2x3fv()` method."]
6705 #[doc = ""]
6706 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6707 #[doc = ""]
6708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6709 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset(
6710 this: &WebGl2RenderingContext,
6711 location: Option<&WebGlUniformLocation>,
6712 transpose: bool,
6713 data: &::wasm_bindgen::JsValue,
6714 src_offset: u32,
6715 );
6716 #[cfg(feature = "WebGlUniformLocation")]
6717 #[wasm_bindgen(
6718 method,
6719 js_class = "WebGL2RenderingContext",
6720 js_name = "uniformMatrix2x3fv"
6721 )]
6722 #[doc = "The `uniformMatrix2x3fv()` method."]
6723 #[doc = ""]
6724 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6725 #[doc = ""]
6726 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6727 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length(
6728 this: &WebGl2RenderingContext,
6729 location: Option<&WebGlUniformLocation>,
6730 transpose: bool,
6731 data: &[f32],
6732 src_offset: u32,
6733 src_length: u32,
6734 );
6735 #[cfg(feature = "WebGlUniformLocation")]
6736 #[wasm_bindgen(
6737 method,
6738 js_class = "WebGL2RenderingContext",
6739 js_name = "uniformMatrix2x3fv"
6740 )]
6741 #[doc = "The `uniformMatrix2x3fv()` method."]
6742 #[doc = ""]
6743 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6744 #[doc = ""]
6745 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6746 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset_and_src_length(
6747 this: &WebGl2RenderingContext,
6748 location: Option<&WebGlUniformLocation>,
6749 transpose: bool,
6750 data: &::js_sys::Float32Array,
6751 src_offset: u32,
6752 src_length: u32,
6753 );
6754 #[cfg(feature = "WebGlUniformLocation")]
6755 #[wasm_bindgen(
6756 method,
6757 js_class = "WebGL2RenderingContext",
6758 js_name = "uniformMatrix2x3fv"
6759 )]
6760 #[doc = "The `uniformMatrix2x3fv()` method."]
6761 #[doc = ""]
6762 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6763 #[doc = ""]
6764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6765 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length(
6766 this: &WebGl2RenderingContext,
6767 location: Option<&WebGlUniformLocation>,
6768 transpose: bool,
6769 data: &::wasm_bindgen::JsValue,
6770 src_offset: u32,
6771 src_length: u32,
6772 );
6773 #[cfg(feature = "WebGlUniformLocation")]
6774 #[wasm_bindgen(
6775 method,
6776 js_class = "WebGL2RenderingContext",
6777 js_name = "uniformMatrix2x4fv"
6778 )]
6779 #[doc = "The `uniformMatrix2x4fv()` method."]
6780 #[doc = ""]
6781 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6782 #[doc = ""]
6783 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6784 pub fn uniform_matrix2x4fv_with_f32_array(
6785 this: &WebGl2RenderingContext,
6786 location: Option<&WebGlUniformLocation>,
6787 transpose: bool,
6788 data: &[f32],
6789 );
6790 #[cfg(feature = "WebGlUniformLocation")]
6791 #[wasm_bindgen(
6792 method,
6793 js_class = "WebGL2RenderingContext",
6794 js_name = "uniformMatrix2x4fv"
6795 )]
6796 #[doc = "The `uniformMatrix2x4fv()` method."]
6797 #[doc = ""]
6798 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6799 #[doc = ""]
6800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6801 pub fn uniform_matrix2x4fv_with_js_f32_array(
6802 this: &WebGl2RenderingContext,
6803 location: Option<&WebGlUniformLocation>,
6804 transpose: bool,
6805 data: &::js_sys::Float32Array,
6806 );
6807 #[cfg(feature = "WebGlUniformLocation")]
6808 #[wasm_bindgen(
6809 method,
6810 js_class = "WebGL2RenderingContext",
6811 js_name = "uniformMatrix2x4fv"
6812 )]
6813 #[doc = "The `uniformMatrix2x4fv()` method."]
6814 #[doc = ""]
6815 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6816 #[doc = ""]
6817 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6818 pub fn uniform_matrix2x4fv_with_f32_sequence(
6819 this: &WebGl2RenderingContext,
6820 location: Option<&WebGlUniformLocation>,
6821 transpose: bool,
6822 data: &::wasm_bindgen::JsValue,
6823 );
6824 #[cfg(feature = "WebGlUniformLocation")]
6825 #[wasm_bindgen(
6826 method,
6827 js_class = "WebGL2RenderingContext",
6828 js_name = "uniformMatrix2x4fv"
6829 )]
6830 #[doc = "The `uniformMatrix2x4fv()` method."]
6831 #[doc = ""]
6832 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6833 #[doc = ""]
6834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6835 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset(
6836 this: &WebGl2RenderingContext,
6837 location: Option<&WebGlUniformLocation>,
6838 transpose: bool,
6839 data: &[f32],
6840 src_offset: u32,
6841 );
6842 #[cfg(feature = "WebGlUniformLocation")]
6843 #[wasm_bindgen(
6844 method,
6845 js_class = "WebGL2RenderingContext",
6846 js_name = "uniformMatrix2x4fv"
6847 )]
6848 #[doc = "The `uniformMatrix2x4fv()` method."]
6849 #[doc = ""]
6850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6851 #[doc = ""]
6852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6853 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset(
6854 this: &WebGl2RenderingContext,
6855 location: Option<&WebGlUniformLocation>,
6856 transpose: bool,
6857 data: &::js_sys::Float32Array,
6858 src_offset: u32,
6859 );
6860 #[cfg(feature = "WebGlUniformLocation")]
6861 #[wasm_bindgen(
6862 method,
6863 js_class = "WebGL2RenderingContext",
6864 js_name = "uniformMatrix2x4fv"
6865 )]
6866 #[doc = "The `uniformMatrix2x4fv()` method."]
6867 #[doc = ""]
6868 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6869 #[doc = ""]
6870 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6871 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset(
6872 this: &WebGl2RenderingContext,
6873 location: Option<&WebGlUniformLocation>,
6874 transpose: bool,
6875 data: &::wasm_bindgen::JsValue,
6876 src_offset: u32,
6877 );
6878 #[cfg(feature = "WebGlUniformLocation")]
6879 #[wasm_bindgen(
6880 method,
6881 js_class = "WebGL2RenderingContext",
6882 js_name = "uniformMatrix2x4fv"
6883 )]
6884 #[doc = "The `uniformMatrix2x4fv()` method."]
6885 #[doc = ""]
6886 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6887 #[doc = ""]
6888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6889 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length(
6890 this: &WebGl2RenderingContext,
6891 location: Option<&WebGlUniformLocation>,
6892 transpose: bool,
6893 data: &[f32],
6894 src_offset: u32,
6895 src_length: u32,
6896 );
6897 #[cfg(feature = "WebGlUniformLocation")]
6898 #[wasm_bindgen(
6899 method,
6900 js_class = "WebGL2RenderingContext",
6901 js_name = "uniformMatrix2x4fv"
6902 )]
6903 #[doc = "The `uniformMatrix2x4fv()` method."]
6904 #[doc = ""]
6905 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6906 #[doc = ""]
6907 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6908 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset_and_src_length(
6909 this: &WebGl2RenderingContext,
6910 location: Option<&WebGlUniformLocation>,
6911 transpose: bool,
6912 data: &::js_sys::Float32Array,
6913 src_offset: u32,
6914 src_length: u32,
6915 );
6916 #[cfg(feature = "WebGlUniformLocation")]
6917 #[wasm_bindgen(
6918 method,
6919 js_class = "WebGL2RenderingContext",
6920 js_name = "uniformMatrix2x4fv"
6921 )]
6922 #[doc = "The `uniformMatrix2x4fv()` method."]
6923 #[doc = ""]
6924 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6925 #[doc = ""]
6926 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6927 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length(
6928 this: &WebGl2RenderingContext,
6929 location: Option<&WebGlUniformLocation>,
6930 transpose: bool,
6931 data: &::wasm_bindgen::JsValue,
6932 src_offset: u32,
6933 src_length: u32,
6934 );
6935 #[cfg(feature = "WebGlUniformLocation")]
6936 #[wasm_bindgen(
6937 method,
6938 js_class = "WebGL2RenderingContext",
6939 js_name = "uniformMatrix3fv"
6940 )]
6941 #[doc = "The `uniformMatrix3fv()` method."]
6942 #[doc = ""]
6943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6944 #[doc = ""]
6945 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6946 pub fn uniform_matrix3fv_with_f32_array(
6947 this: &WebGl2RenderingContext,
6948 location: Option<&WebGlUniformLocation>,
6949 transpose: bool,
6950 data: &[f32],
6951 );
6952 #[cfg(feature = "WebGlUniformLocation")]
6953 #[wasm_bindgen(
6954 method,
6955 js_class = "WebGL2RenderingContext",
6956 js_name = "uniformMatrix3fv"
6957 )]
6958 #[doc = "The `uniformMatrix3fv()` method."]
6959 #[doc = ""]
6960 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6961 #[doc = ""]
6962 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6963 pub fn uniform_matrix3fv_with_js_f32_array(
6964 this: &WebGl2RenderingContext,
6965 location: Option<&WebGlUniformLocation>,
6966 transpose: bool,
6967 data: &::js_sys::Float32Array,
6968 );
6969 #[cfg(feature = "WebGlUniformLocation")]
6970 #[wasm_bindgen(
6971 method,
6972 js_class = "WebGL2RenderingContext",
6973 js_name = "uniformMatrix3fv"
6974 )]
6975 #[doc = "The `uniformMatrix3fv()` method."]
6976 #[doc = ""]
6977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6978 #[doc = ""]
6979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6980 pub fn uniform_matrix3fv_with_f32_sequence(
6981 this: &WebGl2RenderingContext,
6982 location: Option<&WebGlUniformLocation>,
6983 transpose: bool,
6984 data: &::wasm_bindgen::JsValue,
6985 );
6986 #[cfg(feature = "WebGlUniformLocation")]
6987 #[wasm_bindgen(
6988 method,
6989 js_class = "WebGL2RenderingContext",
6990 js_name = "uniformMatrix3fv"
6991 )]
6992 #[doc = "The `uniformMatrix3fv()` method."]
6993 #[doc = ""]
6994 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6995 #[doc = ""]
6996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6997 pub fn uniform_matrix3fv_with_f32_array_and_src_offset(
6998 this: &WebGl2RenderingContext,
6999 location: Option<&WebGlUniformLocation>,
7000 transpose: bool,
7001 data: &[f32],
7002 src_offset: u32,
7003 );
7004 #[cfg(feature = "WebGlUniformLocation")]
7005 #[wasm_bindgen(
7006 method,
7007 js_class = "WebGL2RenderingContext",
7008 js_name = "uniformMatrix3fv"
7009 )]
7010 #[doc = "The `uniformMatrix3fv()` method."]
7011 #[doc = ""]
7012 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
7013 #[doc = ""]
7014 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7015 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset(
7016 this: &WebGl2RenderingContext,
7017 location: Option<&WebGlUniformLocation>,
7018 transpose: bool,
7019 data: &::js_sys::Float32Array,
7020 src_offset: u32,
7021 );
7022 #[cfg(feature = "WebGlUniformLocation")]
7023 #[wasm_bindgen(
7024 method,
7025 js_class = "WebGL2RenderingContext",
7026 js_name = "uniformMatrix3fv"
7027 )]
7028 #[doc = "The `uniformMatrix3fv()` method."]
7029 #[doc = ""]
7030 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
7031 #[doc = ""]
7032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7033 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset(
7034 this: &WebGl2RenderingContext,
7035 location: Option<&WebGlUniformLocation>,
7036 transpose: bool,
7037 data: &::wasm_bindgen::JsValue,
7038 src_offset: u32,
7039 );
7040 #[cfg(feature = "WebGlUniformLocation")]
7041 #[wasm_bindgen(
7042 method,
7043 js_class = "WebGL2RenderingContext",
7044 js_name = "uniformMatrix3fv"
7045 )]
7046 #[doc = "The `uniformMatrix3fv()` method."]
7047 #[doc = ""]
7048 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
7049 #[doc = ""]
7050 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7051 pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length(
7052 this: &WebGl2RenderingContext,
7053 location: Option<&WebGlUniformLocation>,
7054 transpose: bool,
7055 data: &[f32],
7056 src_offset: u32,
7057 src_length: u32,
7058 );
7059 #[cfg(feature = "WebGlUniformLocation")]
7060 #[wasm_bindgen(
7061 method,
7062 js_class = "WebGL2RenderingContext",
7063 js_name = "uniformMatrix3fv"
7064 )]
7065 #[doc = "The `uniformMatrix3fv()` method."]
7066 #[doc = ""]
7067 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
7068 #[doc = ""]
7069 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7070 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset_and_src_length(
7071 this: &WebGl2RenderingContext,
7072 location: Option<&WebGlUniformLocation>,
7073 transpose: bool,
7074 data: &::js_sys::Float32Array,
7075 src_offset: u32,
7076 src_length: u32,
7077 );
7078 #[cfg(feature = "WebGlUniformLocation")]
7079 #[wasm_bindgen(
7080 method,
7081 js_class = "WebGL2RenderingContext",
7082 js_name = "uniformMatrix3fv"
7083 )]
7084 #[doc = "The `uniformMatrix3fv()` method."]
7085 #[doc = ""]
7086 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
7087 #[doc = ""]
7088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7089 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length(
7090 this: &WebGl2RenderingContext,
7091 location: Option<&WebGlUniformLocation>,
7092 transpose: bool,
7093 data: &::wasm_bindgen::JsValue,
7094 src_offset: u32,
7095 src_length: u32,
7096 );
7097 #[cfg(feature = "WebGlUniformLocation")]
7098 #[wasm_bindgen(
7099 method,
7100 js_class = "WebGL2RenderingContext",
7101 js_name = "uniformMatrix3x2fv"
7102 )]
7103 #[doc = "The `uniformMatrix3x2fv()` method."]
7104 #[doc = ""]
7105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7106 #[doc = ""]
7107 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7108 pub fn uniform_matrix3x2fv_with_f32_array(
7109 this: &WebGl2RenderingContext,
7110 location: Option<&WebGlUniformLocation>,
7111 transpose: bool,
7112 data: &[f32],
7113 );
7114 #[cfg(feature = "WebGlUniformLocation")]
7115 #[wasm_bindgen(
7116 method,
7117 js_class = "WebGL2RenderingContext",
7118 js_name = "uniformMatrix3x2fv"
7119 )]
7120 #[doc = "The `uniformMatrix3x2fv()` method."]
7121 #[doc = ""]
7122 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7123 #[doc = ""]
7124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7125 pub fn uniform_matrix3x2fv_with_js_f32_array(
7126 this: &WebGl2RenderingContext,
7127 location: Option<&WebGlUniformLocation>,
7128 transpose: bool,
7129 data: &::js_sys::Float32Array,
7130 );
7131 #[cfg(feature = "WebGlUniformLocation")]
7132 #[wasm_bindgen(
7133 method,
7134 js_class = "WebGL2RenderingContext",
7135 js_name = "uniformMatrix3x2fv"
7136 )]
7137 #[doc = "The `uniformMatrix3x2fv()` method."]
7138 #[doc = ""]
7139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7140 #[doc = ""]
7141 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7142 pub fn uniform_matrix3x2fv_with_f32_sequence(
7143 this: &WebGl2RenderingContext,
7144 location: Option<&WebGlUniformLocation>,
7145 transpose: bool,
7146 data: &::wasm_bindgen::JsValue,
7147 );
7148 #[cfg(feature = "WebGlUniformLocation")]
7149 #[wasm_bindgen(
7150 method,
7151 js_class = "WebGL2RenderingContext",
7152 js_name = "uniformMatrix3x2fv"
7153 )]
7154 #[doc = "The `uniformMatrix3x2fv()` method."]
7155 #[doc = ""]
7156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7157 #[doc = ""]
7158 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7159 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset(
7160 this: &WebGl2RenderingContext,
7161 location: Option<&WebGlUniformLocation>,
7162 transpose: bool,
7163 data: &[f32],
7164 src_offset: u32,
7165 );
7166 #[cfg(feature = "WebGlUniformLocation")]
7167 #[wasm_bindgen(
7168 method,
7169 js_class = "WebGL2RenderingContext",
7170 js_name = "uniformMatrix3x2fv"
7171 )]
7172 #[doc = "The `uniformMatrix3x2fv()` method."]
7173 #[doc = ""]
7174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7175 #[doc = ""]
7176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7177 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset(
7178 this: &WebGl2RenderingContext,
7179 location: Option<&WebGlUniformLocation>,
7180 transpose: bool,
7181 data: &::js_sys::Float32Array,
7182 src_offset: u32,
7183 );
7184 #[cfg(feature = "WebGlUniformLocation")]
7185 #[wasm_bindgen(
7186 method,
7187 js_class = "WebGL2RenderingContext",
7188 js_name = "uniformMatrix3x2fv"
7189 )]
7190 #[doc = "The `uniformMatrix3x2fv()` method."]
7191 #[doc = ""]
7192 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7193 #[doc = ""]
7194 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7195 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset(
7196 this: &WebGl2RenderingContext,
7197 location: Option<&WebGlUniformLocation>,
7198 transpose: bool,
7199 data: &::wasm_bindgen::JsValue,
7200 src_offset: u32,
7201 );
7202 #[cfg(feature = "WebGlUniformLocation")]
7203 #[wasm_bindgen(
7204 method,
7205 js_class = "WebGL2RenderingContext",
7206 js_name = "uniformMatrix3x2fv"
7207 )]
7208 #[doc = "The `uniformMatrix3x2fv()` method."]
7209 #[doc = ""]
7210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7211 #[doc = ""]
7212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7213 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length(
7214 this: &WebGl2RenderingContext,
7215 location: Option<&WebGlUniformLocation>,
7216 transpose: bool,
7217 data: &[f32],
7218 src_offset: u32,
7219 src_length: u32,
7220 );
7221 #[cfg(feature = "WebGlUniformLocation")]
7222 #[wasm_bindgen(
7223 method,
7224 js_class = "WebGL2RenderingContext",
7225 js_name = "uniformMatrix3x2fv"
7226 )]
7227 #[doc = "The `uniformMatrix3x2fv()` method."]
7228 #[doc = ""]
7229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7230 #[doc = ""]
7231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7232 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset_and_src_length(
7233 this: &WebGl2RenderingContext,
7234 location: Option<&WebGlUniformLocation>,
7235 transpose: bool,
7236 data: &::js_sys::Float32Array,
7237 src_offset: u32,
7238 src_length: u32,
7239 );
7240 #[cfg(feature = "WebGlUniformLocation")]
7241 #[wasm_bindgen(
7242 method,
7243 js_class = "WebGL2RenderingContext",
7244 js_name = "uniformMatrix3x2fv"
7245 )]
7246 #[doc = "The `uniformMatrix3x2fv()` method."]
7247 #[doc = ""]
7248 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7249 #[doc = ""]
7250 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7251 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length(
7252 this: &WebGl2RenderingContext,
7253 location: Option<&WebGlUniformLocation>,
7254 transpose: bool,
7255 data: &::wasm_bindgen::JsValue,
7256 src_offset: u32,
7257 src_length: u32,
7258 );
7259 #[cfg(feature = "WebGlUniformLocation")]
7260 #[wasm_bindgen(
7261 method,
7262 js_class = "WebGL2RenderingContext",
7263 js_name = "uniformMatrix3x4fv"
7264 )]
7265 #[doc = "The `uniformMatrix3x4fv()` method."]
7266 #[doc = ""]
7267 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7268 #[doc = ""]
7269 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7270 pub fn uniform_matrix3x4fv_with_f32_array(
7271 this: &WebGl2RenderingContext,
7272 location: Option<&WebGlUniformLocation>,
7273 transpose: bool,
7274 data: &[f32],
7275 );
7276 #[cfg(feature = "WebGlUniformLocation")]
7277 #[wasm_bindgen(
7278 method,
7279 js_class = "WebGL2RenderingContext",
7280 js_name = "uniformMatrix3x4fv"
7281 )]
7282 #[doc = "The `uniformMatrix3x4fv()` method."]
7283 #[doc = ""]
7284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7285 #[doc = ""]
7286 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7287 pub fn uniform_matrix3x4fv_with_js_f32_array(
7288 this: &WebGl2RenderingContext,
7289 location: Option<&WebGlUniformLocation>,
7290 transpose: bool,
7291 data: &::js_sys::Float32Array,
7292 );
7293 #[cfg(feature = "WebGlUniformLocation")]
7294 #[wasm_bindgen(
7295 method,
7296 js_class = "WebGL2RenderingContext",
7297 js_name = "uniformMatrix3x4fv"
7298 )]
7299 #[doc = "The `uniformMatrix3x4fv()` method."]
7300 #[doc = ""]
7301 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7302 #[doc = ""]
7303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7304 pub fn uniform_matrix3x4fv_with_f32_sequence(
7305 this: &WebGl2RenderingContext,
7306 location: Option<&WebGlUniformLocation>,
7307 transpose: bool,
7308 data: &::wasm_bindgen::JsValue,
7309 );
7310 #[cfg(feature = "WebGlUniformLocation")]
7311 #[wasm_bindgen(
7312 method,
7313 js_class = "WebGL2RenderingContext",
7314 js_name = "uniformMatrix3x4fv"
7315 )]
7316 #[doc = "The `uniformMatrix3x4fv()` method."]
7317 #[doc = ""]
7318 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7319 #[doc = ""]
7320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7321 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset(
7322 this: &WebGl2RenderingContext,
7323 location: Option<&WebGlUniformLocation>,
7324 transpose: bool,
7325 data: &[f32],
7326 src_offset: u32,
7327 );
7328 #[cfg(feature = "WebGlUniformLocation")]
7329 #[wasm_bindgen(
7330 method,
7331 js_class = "WebGL2RenderingContext",
7332 js_name = "uniformMatrix3x4fv"
7333 )]
7334 #[doc = "The `uniformMatrix3x4fv()` method."]
7335 #[doc = ""]
7336 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7337 #[doc = ""]
7338 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7339 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset(
7340 this: &WebGl2RenderingContext,
7341 location: Option<&WebGlUniformLocation>,
7342 transpose: bool,
7343 data: &::js_sys::Float32Array,
7344 src_offset: u32,
7345 );
7346 #[cfg(feature = "WebGlUniformLocation")]
7347 #[wasm_bindgen(
7348 method,
7349 js_class = "WebGL2RenderingContext",
7350 js_name = "uniformMatrix3x4fv"
7351 )]
7352 #[doc = "The `uniformMatrix3x4fv()` method."]
7353 #[doc = ""]
7354 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7355 #[doc = ""]
7356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7357 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset(
7358 this: &WebGl2RenderingContext,
7359 location: Option<&WebGlUniformLocation>,
7360 transpose: bool,
7361 data: &::wasm_bindgen::JsValue,
7362 src_offset: u32,
7363 );
7364 #[cfg(feature = "WebGlUniformLocation")]
7365 #[wasm_bindgen(
7366 method,
7367 js_class = "WebGL2RenderingContext",
7368 js_name = "uniformMatrix3x4fv"
7369 )]
7370 #[doc = "The `uniformMatrix3x4fv()` method."]
7371 #[doc = ""]
7372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7373 #[doc = ""]
7374 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7375 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length(
7376 this: &WebGl2RenderingContext,
7377 location: Option<&WebGlUniformLocation>,
7378 transpose: bool,
7379 data: &[f32],
7380 src_offset: u32,
7381 src_length: u32,
7382 );
7383 #[cfg(feature = "WebGlUniformLocation")]
7384 #[wasm_bindgen(
7385 method,
7386 js_class = "WebGL2RenderingContext",
7387 js_name = "uniformMatrix3x4fv"
7388 )]
7389 #[doc = "The `uniformMatrix3x4fv()` method."]
7390 #[doc = ""]
7391 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7392 #[doc = ""]
7393 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7394 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset_and_src_length(
7395 this: &WebGl2RenderingContext,
7396 location: Option<&WebGlUniformLocation>,
7397 transpose: bool,
7398 data: &::js_sys::Float32Array,
7399 src_offset: u32,
7400 src_length: u32,
7401 );
7402 #[cfg(feature = "WebGlUniformLocation")]
7403 #[wasm_bindgen(
7404 method,
7405 js_class = "WebGL2RenderingContext",
7406 js_name = "uniformMatrix3x4fv"
7407 )]
7408 #[doc = "The `uniformMatrix3x4fv()` method."]
7409 #[doc = ""]
7410 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7411 #[doc = ""]
7412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7413 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length(
7414 this: &WebGl2RenderingContext,
7415 location: Option<&WebGlUniformLocation>,
7416 transpose: bool,
7417 data: &::wasm_bindgen::JsValue,
7418 src_offset: u32,
7419 src_length: u32,
7420 );
7421 #[cfg(feature = "WebGlUniformLocation")]
7422 #[wasm_bindgen(
7423 method,
7424 js_class = "WebGL2RenderingContext",
7425 js_name = "uniformMatrix4fv"
7426 )]
7427 #[doc = "The `uniformMatrix4fv()` method."]
7428 #[doc = ""]
7429 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7430 #[doc = ""]
7431 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7432 pub fn uniform_matrix4fv_with_f32_array(
7433 this: &WebGl2RenderingContext,
7434 location: Option<&WebGlUniformLocation>,
7435 transpose: bool,
7436 data: &[f32],
7437 );
7438 #[cfg(feature = "WebGlUniformLocation")]
7439 #[wasm_bindgen(
7440 method,
7441 js_class = "WebGL2RenderingContext",
7442 js_name = "uniformMatrix4fv"
7443 )]
7444 #[doc = "The `uniformMatrix4fv()` method."]
7445 #[doc = ""]
7446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7447 #[doc = ""]
7448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7449 pub fn uniform_matrix4fv_with_js_f32_array(
7450 this: &WebGl2RenderingContext,
7451 location: Option<&WebGlUniformLocation>,
7452 transpose: bool,
7453 data: &::js_sys::Float32Array,
7454 );
7455 #[cfg(feature = "WebGlUniformLocation")]
7456 #[wasm_bindgen(
7457 method,
7458 js_class = "WebGL2RenderingContext",
7459 js_name = "uniformMatrix4fv"
7460 )]
7461 #[doc = "The `uniformMatrix4fv()` method."]
7462 #[doc = ""]
7463 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7464 #[doc = ""]
7465 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7466 pub fn uniform_matrix4fv_with_f32_sequence(
7467 this: &WebGl2RenderingContext,
7468 location: Option<&WebGlUniformLocation>,
7469 transpose: bool,
7470 data: &::wasm_bindgen::JsValue,
7471 );
7472 #[cfg(feature = "WebGlUniformLocation")]
7473 #[wasm_bindgen(
7474 method,
7475 js_class = "WebGL2RenderingContext",
7476 js_name = "uniformMatrix4fv"
7477 )]
7478 #[doc = "The `uniformMatrix4fv()` method."]
7479 #[doc = ""]
7480 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7481 #[doc = ""]
7482 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7483 pub fn uniform_matrix4fv_with_f32_array_and_src_offset(
7484 this: &WebGl2RenderingContext,
7485 location: Option<&WebGlUniformLocation>,
7486 transpose: bool,
7487 data: &[f32],
7488 src_offset: u32,
7489 );
7490 #[cfg(feature = "WebGlUniformLocation")]
7491 #[wasm_bindgen(
7492 method,
7493 js_class = "WebGL2RenderingContext",
7494 js_name = "uniformMatrix4fv"
7495 )]
7496 #[doc = "The `uniformMatrix4fv()` method."]
7497 #[doc = ""]
7498 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7499 #[doc = ""]
7500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7501 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset(
7502 this: &WebGl2RenderingContext,
7503 location: Option<&WebGlUniformLocation>,
7504 transpose: bool,
7505 data: &::js_sys::Float32Array,
7506 src_offset: u32,
7507 );
7508 #[cfg(feature = "WebGlUniformLocation")]
7509 #[wasm_bindgen(
7510 method,
7511 js_class = "WebGL2RenderingContext",
7512 js_name = "uniformMatrix4fv"
7513 )]
7514 #[doc = "The `uniformMatrix4fv()` method."]
7515 #[doc = ""]
7516 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7517 #[doc = ""]
7518 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7519 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset(
7520 this: &WebGl2RenderingContext,
7521 location: Option<&WebGlUniformLocation>,
7522 transpose: bool,
7523 data: &::wasm_bindgen::JsValue,
7524 src_offset: u32,
7525 );
7526 #[cfg(feature = "WebGlUniformLocation")]
7527 #[wasm_bindgen(
7528 method,
7529 js_class = "WebGL2RenderingContext",
7530 js_name = "uniformMatrix4fv"
7531 )]
7532 #[doc = "The `uniformMatrix4fv()` method."]
7533 #[doc = ""]
7534 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7535 #[doc = ""]
7536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7537 pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length(
7538 this: &WebGl2RenderingContext,
7539 location: Option<&WebGlUniformLocation>,
7540 transpose: bool,
7541 data: &[f32],
7542 src_offset: u32,
7543 src_length: u32,
7544 );
7545 #[cfg(feature = "WebGlUniformLocation")]
7546 #[wasm_bindgen(
7547 method,
7548 js_class = "WebGL2RenderingContext",
7549 js_name = "uniformMatrix4fv"
7550 )]
7551 #[doc = "The `uniformMatrix4fv()` method."]
7552 #[doc = ""]
7553 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7554 #[doc = ""]
7555 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7556 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset_and_src_length(
7557 this: &WebGl2RenderingContext,
7558 location: Option<&WebGlUniformLocation>,
7559 transpose: bool,
7560 data: &::js_sys::Float32Array,
7561 src_offset: u32,
7562 src_length: u32,
7563 );
7564 #[cfg(feature = "WebGlUniformLocation")]
7565 #[wasm_bindgen(
7566 method,
7567 js_class = "WebGL2RenderingContext",
7568 js_name = "uniformMatrix4fv"
7569 )]
7570 #[doc = "The `uniformMatrix4fv()` method."]
7571 #[doc = ""]
7572 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7573 #[doc = ""]
7574 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7575 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length(
7576 this: &WebGl2RenderingContext,
7577 location: Option<&WebGlUniformLocation>,
7578 transpose: bool,
7579 data: &::wasm_bindgen::JsValue,
7580 src_offset: u32,
7581 src_length: u32,
7582 );
7583 #[cfg(feature = "WebGlUniformLocation")]
7584 #[wasm_bindgen(
7585 method,
7586 js_class = "WebGL2RenderingContext",
7587 js_name = "uniformMatrix4x2fv"
7588 )]
7589 #[doc = "The `uniformMatrix4x2fv()` method."]
7590 #[doc = ""]
7591 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7592 #[doc = ""]
7593 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7594 pub fn uniform_matrix4x2fv_with_f32_array(
7595 this: &WebGl2RenderingContext,
7596 location: Option<&WebGlUniformLocation>,
7597 transpose: bool,
7598 data: &[f32],
7599 );
7600 #[cfg(feature = "WebGlUniformLocation")]
7601 #[wasm_bindgen(
7602 method,
7603 js_class = "WebGL2RenderingContext",
7604 js_name = "uniformMatrix4x2fv"
7605 )]
7606 #[doc = "The `uniformMatrix4x2fv()` method."]
7607 #[doc = ""]
7608 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7609 #[doc = ""]
7610 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7611 pub fn uniform_matrix4x2fv_with_js_f32_array(
7612 this: &WebGl2RenderingContext,
7613 location: Option<&WebGlUniformLocation>,
7614 transpose: bool,
7615 data: &::js_sys::Float32Array,
7616 );
7617 #[cfg(feature = "WebGlUniformLocation")]
7618 #[wasm_bindgen(
7619 method,
7620 js_class = "WebGL2RenderingContext",
7621 js_name = "uniformMatrix4x2fv"
7622 )]
7623 #[doc = "The `uniformMatrix4x2fv()` method."]
7624 #[doc = ""]
7625 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7626 #[doc = ""]
7627 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7628 pub fn uniform_matrix4x2fv_with_f32_sequence(
7629 this: &WebGl2RenderingContext,
7630 location: Option<&WebGlUniformLocation>,
7631 transpose: bool,
7632 data: &::wasm_bindgen::JsValue,
7633 );
7634 #[cfg(feature = "WebGlUniformLocation")]
7635 #[wasm_bindgen(
7636 method,
7637 js_class = "WebGL2RenderingContext",
7638 js_name = "uniformMatrix4x2fv"
7639 )]
7640 #[doc = "The `uniformMatrix4x2fv()` method."]
7641 #[doc = ""]
7642 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7643 #[doc = ""]
7644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7645 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset(
7646 this: &WebGl2RenderingContext,
7647 location: Option<&WebGlUniformLocation>,
7648 transpose: bool,
7649 data: &[f32],
7650 src_offset: u32,
7651 );
7652 #[cfg(feature = "WebGlUniformLocation")]
7653 #[wasm_bindgen(
7654 method,
7655 js_class = "WebGL2RenderingContext",
7656 js_name = "uniformMatrix4x2fv"
7657 )]
7658 #[doc = "The `uniformMatrix4x2fv()` method."]
7659 #[doc = ""]
7660 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7661 #[doc = ""]
7662 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7663 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset(
7664 this: &WebGl2RenderingContext,
7665 location: Option<&WebGlUniformLocation>,
7666 transpose: bool,
7667 data: &::js_sys::Float32Array,
7668 src_offset: u32,
7669 );
7670 #[cfg(feature = "WebGlUniformLocation")]
7671 #[wasm_bindgen(
7672 method,
7673 js_class = "WebGL2RenderingContext",
7674 js_name = "uniformMatrix4x2fv"
7675 )]
7676 #[doc = "The `uniformMatrix4x2fv()` method."]
7677 #[doc = ""]
7678 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7679 #[doc = ""]
7680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7681 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset(
7682 this: &WebGl2RenderingContext,
7683 location: Option<&WebGlUniformLocation>,
7684 transpose: bool,
7685 data: &::wasm_bindgen::JsValue,
7686 src_offset: u32,
7687 );
7688 #[cfg(feature = "WebGlUniformLocation")]
7689 #[wasm_bindgen(
7690 method,
7691 js_class = "WebGL2RenderingContext",
7692 js_name = "uniformMatrix4x2fv"
7693 )]
7694 #[doc = "The `uniformMatrix4x2fv()` method."]
7695 #[doc = ""]
7696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7697 #[doc = ""]
7698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7699 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length(
7700 this: &WebGl2RenderingContext,
7701 location: Option<&WebGlUniformLocation>,
7702 transpose: bool,
7703 data: &[f32],
7704 src_offset: u32,
7705 src_length: u32,
7706 );
7707 #[cfg(feature = "WebGlUniformLocation")]
7708 #[wasm_bindgen(
7709 method,
7710 js_class = "WebGL2RenderingContext",
7711 js_name = "uniformMatrix4x2fv"
7712 )]
7713 #[doc = "The `uniformMatrix4x2fv()` method."]
7714 #[doc = ""]
7715 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7716 #[doc = ""]
7717 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7718 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset_and_src_length(
7719 this: &WebGl2RenderingContext,
7720 location: Option<&WebGlUniformLocation>,
7721 transpose: bool,
7722 data: &::js_sys::Float32Array,
7723 src_offset: u32,
7724 src_length: u32,
7725 );
7726 #[cfg(feature = "WebGlUniformLocation")]
7727 #[wasm_bindgen(
7728 method,
7729 js_class = "WebGL2RenderingContext",
7730 js_name = "uniformMatrix4x2fv"
7731 )]
7732 #[doc = "The `uniformMatrix4x2fv()` method."]
7733 #[doc = ""]
7734 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7735 #[doc = ""]
7736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7737 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length(
7738 this: &WebGl2RenderingContext,
7739 location: Option<&WebGlUniformLocation>,
7740 transpose: bool,
7741 data: &::wasm_bindgen::JsValue,
7742 src_offset: u32,
7743 src_length: u32,
7744 );
7745 #[cfg(feature = "WebGlUniformLocation")]
7746 #[wasm_bindgen(
7747 method,
7748 js_class = "WebGL2RenderingContext",
7749 js_name = "uniformMatrix4x3fv"
7750 )]
7751 #[doc = "The `uniformMatrix4x3fv()` method."]
7752 #[doc = ""]
7753 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7754 #[doc = ""]
7755 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7756 pub fn uniform_matrix4x3fv_with_f32_array(
7757 this: &WebGl2RenderingContext,
7758 location: Option<&WebGlUniformLocation>,
7759 transpose: bool,
7760 data: &[f32],
7761 );
7762 #[cfg(feature = "WebGlUniformLocation")]
7763 #[wasm_bindgen(
7764 method,
7765 js_class = "WebGL2RenderingContext",
7766 js_name = "uniformMatrix4x3fv"
7767 )]
7768 #[doc = "The `uniformMatrix4x3fv()` method."]
7769 #[doc = ""]
7770 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7771 #[doc = ""]
7772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7773 pub fn uniform_matrix4x3fv_with_js_f32_array(
7774 this: &WebGl2RenderingContext,
7775 location: Option<&WebGlUniformLocation>,
7776 transpose: bool,
7777 data: &::js_sys::Float32Array,
7778 );
7779 #[cfg(feature = "WebGlUniformLocation")]
7780 #[wasm_bindgen(
7781 method,
7782 js_class = "WebGL2RenderingContext",
7783 js_name = "uniformMatrix4x3fv"
7784 )]
7785 #[doc = "The `uniformMatrix4x3fv()` method."]
7786 #[doc = ""]
7787 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7788 #[doc = ""]
7789 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7790 pub fn uniform_matrix4x3fv_with_f32_sequence(
7791 this: &WebGl2RenderingContext,
7792 location: Option<&WebGlUniformLocation>,
7793 transpose: bool,
7794 data: &::wasm_bindgen::JsValue,
7795 );
7796 #[cfg(feature = "WebGlUniformLocation")]
7797 #[wasm_bindgen(
7798 method,
7799 js_class = "WebGL2RenderingContext",
7800 js_name = "uniformMatrix4x3fv"
7801 )]
7802 #[doc = "The `uniformMatrix4x3fv()` method."]
7803 #[doc = ""]
7804 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7805 #[doc = ""]
7806 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7807 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset(
7808 this: &WebGl2RenderingContext,
7809 location: Option<&WebGlUniformLocation>,
7810 transpose: bool,
7811 data: &[f32],
7812 src_offset: u32,
7813 );
7814 #[cfg(feature = "WebGlUniformLocation")]
7815 #[wasm_bindgen(
7816 method,
7817 js_class = "WebGL2RenderingContext",
7818 js_name = "uniformMatrix4x3fv"
7819 )]
7820 #[doc = "The `uniformMatrix4x3fv()` method."]
7821 #[doc = ""]
7822 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7823 #[doc = ""]
7824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7825 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset(
7826 this: &WebGl2RenderingContext,
7827 location: Option<&WebGlUniformLocation>,
7828 transpose: bool,
7829 data: &::js_sys::Float32Array,
7830 src_offset: u32,
7831 );
7832 #[cfg(feature = "WebGlUniformLocation")]
7833 #[wasm_bindgen(
7834 method,
7835 js_class = "WebGL2RenderingContext",
7836 js_name = "uniformMatrix4x3fv"
7837 )]
7838 #[doc = "The `uniformMatrix4x3fv()` method."]
7839 #[doc = ""]
7840 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7841 #[doc = ""]
7842 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7843 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset(
7844 this: &WebGl2RenderingContext,
7845 location: Option<&WebGlUniformLocation>,
7846 transpose: bool,
7847 data: &::wasm_bindgen::JsValue,
7848 src_offset: u32,
7849 );
7850 #[cfg(feature = "WebGlUniformLocation")]
7851 #[wasm_bindgen(
7852 method,
7853 js_class = "WebGL2RenderingContext",
7854 js_name = "uniformMatrix4x3fv"
7855 )]
7856 #[doc = "The `uniformMatrix4x3fv()` method."]
7857 #[doc = ""]
7858 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7859 #[doc = ""]
7860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7861 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length(
7862 this: &WebGl2RenderingContext,
7863 location: Option<&WebGlUniformLocation>,
7864 transpose: bool,
7865 data: &[f32],
7866 src_offset: u32,
7867 src_length: u32,
7868 );
7869 #[cfg(feature = "WebGlUniformLocation")]
7870 #[wasm_bindgen(
7871 method,
7872 js_class = "WebGL2RenderingContext",
7873 js_name = "uniformMatrix4x3fv"
7874 )]
7875 #[doc = "The `uniformMatrix4x3fv()` method."]
7876 #[doc = ""]
7877 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7878 #[doc = ""]
7879 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7880 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset_and_src_length(
7881 this: &WebGl2RenderingContext,
7882 location: Option<&WebGlUniformLocation>,
7883 transpose: bool,
7884 data: &::js_sys::Float32Array,
7885 src_offset: u32,
7886 src_length: u32,
7887 );
7888 #[cfg(feature = "WebGlUniformLocation")]
7889 #[wasm_bindgen(
7890 method,
7891 js_class = "WebGL2RenderingContext",
7892 js_name = "uniformMatrix4x3fv"
7893 )]
7894 #[doc = "The `uniformMatrix4x3fv()` method."]
7895 #[doc = ""]
7896 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7897 #[doc = ""]
7898 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7899 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length(
7900 this: &WebGl2RenderingContext,
7901 location: Option<&WebGlUniformLocation>,
7902 transpose: bool,
7903 data: &::wasm_bindgen::JsValue,
7904 src_offset: u32,
7905 src_length: u32,
7906 );
7907 #[wasm_bindgen(
7908 method,
7909 js_class = "WebGL2RenderingContext",
7910 js_name = "vertexAttribDivisor"
7911 )]
7912 #[doc = "The `vertexAttribDivisor()` method."]
7913 #[doc = ""]
7914 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)"]
7915 #[doc = ""]
7916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7917 pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32);
7918 #[wasm_bindgen(
7919 method,
7920 js_class = "WebGL2RenderingContext",
7921 js_name = "vertexAttribI4i"
7922 )]
7923 #[doc = "The `vertexAttribI4i()` method."]
7924 #[doc = ""]
7925 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)"]
7926 #[doc = ""]
7927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7928 pub fn vertex_attrib_i4i(
7929 this: &WebGl2RenderingContext,
7930 index: u32,
7931 x: i32,
7932 y: i32,
7933 z: i32,
7934 w: i32,
7935 );
7936 #[wasm_bindgen(
7937 method,
7938 js_class = "WebGL2RenderingContext",
7939 js_name = "vertexAttribI4iv"
7940 )]
7941 #[doc = "The `vertexAttribI4iv()` method."]
7942 #[doc = ""]
7943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
7944 #[doc = ""]
7945 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7946 pub fn vertex_attrib_i4iv_with_i32_array(
7947 this: &WebGl2RenderingContext,
7948 index: u32,
7949 values: &mut [i32],
7950 );
7951 #[wasm_bindgen(
7952 method,
7953 js_class = "WebGL2RenderingContext",
7954 js_name = "vertexAttribI4iv"
7955 )]
7956 #[doc = "The `vertexAttribI4iv()` method."]
7957 #[doc = ""]
7958 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
7959 #[doc = ""]
7960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7961 pub fn vertex_attrib_i4iv_with_js_i32_array(
7962 this: &WebGl2RenderingContext,
7963 index: u32,
7964 values: &::js_sys::Int32Array,
7965 );
7966 #[wasm_bindgen(
7967 method,
7968 js_class = "WebGL2RenderingContext",
7969 js_name = "vertexAttribI4iv"
7970 )]
7971 #[doc = "The `vertexAttribI4iv()` method."]
7972 #[doc = ""]
7973 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
7974 #[doc = ""]
7975 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7976 pub fn vertex_attrib_i4iv_with_i32_sequence(
7977 this: &WebGl2RenderingContext,
7978 index: u32,
7979 values: &::wasm_bindgen::JsValue,
7980 );
7981 #[wasm_bindgen(
7982 method,
7983 js_class = "WebGL2RenderingContext",
7984 js_name = "vertexAttribI4ui"
7985 )]
7986 #[doc = "The `vertexAttribI4ui()` method."]
7987 #[doc = ""]
7988 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)"]
7989 #[doc = ""]
7990 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7991 pub fn vertex_attrib_i4ui(
7992 this: &WebGl2RenderingContext,
7993 index: u32,
7994 x: u32,
7995 y: u32,
7996 z: u32,
7997 w: u32,
7998 );
7999 #[wasm_bindgen(
8000 method,
8001 js_class = "WebGL2RenderingContext",
8002 js_name = "vertexAttribI4uiv"
8003 )]
8004 #[doc = "The `vertexAttribI4uiv()` method."]
8005 #[doc = ""]
8006 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
8007 #[doc = ""]
8008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8009 pub fn vertex_attrib_i4uiv_with_u32_array(
8010 this: &WebGl2RenderingContext,
8011 index: u32,
8012 values: &mut [u32],
8013 );
8014 #[wasm_bindgen(
8015 method,
8016 js_class = "WebGL2RenderingContext",
8017 js_name = "vertexAttribI4uiv"
8018 )]
8019 #[doc = "The `vertexAttribI4uiv()` method."]
8020 #[doc = ""]
8021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
8022 #[doc = ""]
8023 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8024 pub fn vertex_attrib_i4uiv_with_js_u32_array(
8025 this: &WebGl2RenderingContext,
8026 index: u32,
8027 values: &::js_sys::Uint32Array,
8028 );
8029 #[wasm_bindgen(
8030 method,
8031 js_class = "WebGL2RenderingContext",
8032 js_name = "vertexAttribI4uiv"
8033 )]
8034 #[doc = "The `vertexAttribI4uiv()` method."]
8035 #[doc = ""]
8036 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
8037 #[doc = ""]
8038 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8039 pub fn vertex_attrib_i4uiv_with_u32_sequence(
8040 this: &WebGl2RenderingContext,
8041 index: u32,
8042 values: &::wasm_bindgen::JsValue,
8043 );
8044 #[wasm_bindgen(
8045 method,
8046 js_class = "WebGL2RenderingContext",
8047 js_name = "vertexAttribIPointer"
8048 )]
8049 #[doc = "The `vertexAttribIPointer()` method."]
8050 #[doc = ""]
8051 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
8052 #[doc = ""]
8053 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8054 pub fn vertex_attrib_i_pointer_with_i32(
8055 this: &WebGl2RenderingContext,
8056 index: u32,
8057 size: i32,
8058 type_: u32,
8059 stride: i32,
8060 offset: i32,
8061 );
8062 #[wasm_bindgen(
8063 method,
8064 js_class = "WebGL2RenderingContext",
8065 js_name = "vertexAttribIPointer"
8066 )]
8067 #[doc = "The `vertexAttribIPointer()` method."]
8068 #[doc = ""]
8069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
8070 #[doc = ""]
8071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8072 pub fn vertex_attrib_i_pointer_with_f64(
8073 this: &WebGl2RenderingContext,
8074 index: u32,
8075 size: i32,
8076 type_: u32,
8077 stride: i32,
8078 offset: f64,
8079 );
8080 #[cfg(feature = "WebGlSync")]
8081 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "waitSync")]
8082 #[doc = "The `waitSync()` method."]
8083 #[doc = ""]
8084 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
8085 #[doc = ""]
8086 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
8087 pub fn wait_sync_with_i32(
8088 this: &WebGl2RenderingContext,
8089 sync: &WebGlSync,
8090 flags: u32,
8091 timeout: i32,
8092 );
8093 #[cfg(feature = "WebGlSync")]
8094 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "waitSync")]
8095 #[doc = "The `waitSync()` method."]
8096 #[doc = ""]
8097 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
8098 #[doc = ""]
8099 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
8100 pub fn wait_sync_with_f64(
8101 this: &WebGl2RenderingContext,
8102 sync: &WebGlSync,
8103 flags: u32,
8104 timeout: f64,
8105 );
8106 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "activeTexture")]
8107 #[doc = "The `activeTexture()` method."]
8108 #[doc = ""]
8109 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)"]
8110 #[doc = ""]
8111 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8112 pub fn active_texture(this: &WebGl2RenderingContext, texture: u32);
8113 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
8114 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "attachShader")]
8115 #[doc = "The `attachShader()` method."]
8116 #[doc = ""]
8117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)"]
8118 #[doc = ""]
8119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
8120 pub fn attach_shader(
8121 this: &WebGl2RenderingContext,
8122 program: &WebGlProgram,
8123 shader: &WebGlShader,
8124 );
8125 #[cfg(feature = "WebGlProgram")]
8126 #[wasm_bindgen(
8127 method,
8128 js_class = "WebGL2RenderingContext",
8129 js_name = "bindAttribLocation"
8130 )]
8131 #[doc = "The `bindAttribLocation()` method."]
8132 #[doc = ""]
8133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)"]
8134 #[doc = ""]
8135 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8136 pub fn bind_attrib_location(
8137 this: &WebGl2RenderingContext,
8138 program: &WebGlProgram,
8139 index: u32,
8140 name: &str,
8141 );
8142 #[cfg(feature = "WebGlBuffer")]
8143 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bindBuffer")]
8144 #[doc = "The `bindBuffer()` method."]
8145 #[doc = ""]
8146 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)"]
8147 #[doc = ""]
8148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8149 pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
8150 #[cfg(feature = "WebGlFramebuffer")]
8151 #[wasm_bindgen(
8152 method,
8153 js_class = "WebGL2RenderingContext",
8154 js_name = "bindFramebuffer"
8155 )]
8156 #[doc = "The `bindFramebuffer()` method."]
8157 #[doc = ""]
8158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)"]
8159 #[doc = ""]
8160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8161 pub fn bind_framebuffer(
8162 this: &WebGl2RenderingContext,
8163 target: u32,
8164 framebuffer: Option<&WebGlFramebuffer>,
8165 );
8166 #[cfg(feature = "WebGlRenderbuffer")]
8167 #[wasm_bindgen(
8168 method,
8169 js_class = "WebGL2RenderingContext",
8170 js_name = "bindRenderbuffer"
8171 )]
8172 #[doc = "The `bindRenderbuffer()` method."]
8173 #[doc = ""]
8174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)"]
8175 #[doc = ""]
8176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8177 pub fn bind_renderbuffer(
8178 this: &WebGl2RenderingContext,
8179 target: u32,
8180 renderbuffer: Option<&WebGlRenderbuffer>,
8181 );
8182 #[cfg(feature = "WebGlTexture")]
8183 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bindTexture")]
8184 #[doc = "The `bindTexture()` method."]
8185 #[doc = ""]
8186 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)"]
8187 #[doc = ""]
8188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8189 pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>);
8190 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "blendColor")]
8191 #[doc = "The `blendColor()` method."]
8192 #[doc = ""]
8193 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)"]
8194 #[doc = ""]
8195 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8196 pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
8197 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "blendEquation")]
8198 #[doc = "The `blendEquation()` method."]
8199 #[doc = ""]
8200 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)"]
8201 #[doc = ""]
8202 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8203 pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32);
8204 #[wasm_bindgen(
8205 method,
8206 js_class = "WebGL2RenderingContext",
8207 js_name = "blendEquationSeparate"
8208 )]
8209 #[doc = "The `blendEquationSeparate()` method."]
8210 #[doc = ""]
8211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)"]
8212 #[doc = ""]
8213 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8214 pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32);
8215 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "blendFunc")]
8216 #[doc = "The `blendFunc()` method."]
8217 #[doc = ""]
8218 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)"]
8219 #[doc = ""]
8220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8221 pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32);
8222 #[wasm_bindgen(
8223 method,
8224 js_class = "WebGL2RenderingContext",
8225 js_name = "blendFuncSeparate"
8226 )]
8227 #[doc = "The `blendFuncSeparate()` method."]
8228 #[doc = ""]
8229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)"]
8230 #[doc = ""]
8231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8232 pub fn blend_func_separate(
8233 this: &WebGl2RenderingContext,
8234 src_rgb: u32,
8235 dst_rgb: u32,
8236 src_alpha: u32,
8237 dst_alpha: u32,
8238 );
8239 #[wasm_bindgen(
8240 method,
8241 js_class = "WebGL2RenderingContext",
8242 js_name = "checkFramebufferStatus"
8243 )]
8244 #[doc = "The `checkFramebufferStatus()` method."]
8245 #[doc = ""]
8246 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)"]
8247 #[doc = ""]
8248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8249 pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32;
8250 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8251 #[doc = "The `clear()` method."]
8252 #[doc = ""]
8253 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)"]
8254 #[doc = ""]
8255 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8256 pub fn clear(this: &WebGl2RenderingContext, mask: u32);
8257 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearColor")]
8258 #[doc = "The `clearColor()` method."]
8259 #[doc = ""]
8260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)"]
8261 #[doc = ""]
8262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8263 pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
8264 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearDepth")]
8265 #[doc = "The `clearDepth()` method."]
8266 #[doc = ""]
8267 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)"]
8268 #[doc = ""]
8269 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8270 pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32);
8271 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearStencil")]
8272 #[doc = "The `clearStencil()` method."]
8273 #[doc = ""]
8274 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)"]
8275 #[doc = ""]
8276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8277 pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32);
8278 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "colorMask")]
8279 #[doc = "The `colorMask()` method."]
8280 #[doc = ""]
8281 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)"]
8282 #[doc = ""]
8283 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8284 pub fn color_mask(
8285 this: &WebGl2RenderingContext,
8286 red: bool,
8287 green: bool,
8288 blue: bool,
8289 alpha: bool,
8290 );
8291 #[cfg(feature = "WebGlShader")]
8292 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "compileShader")]
8293 #[doc = "The `compileShader()` method."]
8294 #[doc = ""]
8295 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)"]
8296 #[doc = ""]
8297 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8298 pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader);
8299 #[wasm_bindgen(
8300 method,
8301 js_class = "WebGL2RenderingContext",
8302 js_name = "copyTexImage2D"
8303 )]
8304 #[doc = "The `copyTexImage2D()` method."]
8305 #[doc = ""]
8306 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)"]
8307 #[doc = ""]
8308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8309 pub fn copy_tex_image_2d(
8310 this: &WebGl2RenderingContext,
8311 target: u32,
8312 level: i32,
8313 internalformat: u32,
8314 x: i32,
8315 y: i32,
8316 width: i32,
8317 height: i32,
8318 border: i32,
8319 );
8320 #[wasm_bindgen(
8321 method,
8322 js_class = "WebGL2RenderingContext",
8323 js_name = "copyTexSubImage2D"
8324 )]
8325 #[doc = "The `copyTexSubImage2D()` method."]
8326 #[doc = ""]
8327 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)"]
8328 #[doc = ""]
8329 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8330 pub fn copy_tex_sub_image_2d(
8331 this: &WebGl2RenderingContext,
8332 target: u32,
8333 level: i32,
8334 xoffset: i32,
8335 yoffset: i32,
8336 x: i32,
8337 y: i32,
8338 width: i32,
8339 height: i32,
8340 );
8341 #[cfg(feature = "WebGlBuffer")]
8342 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createBuffer")]
8343 #[doc = "The `createBuffer()` method."]
8344 #[doc = ""]
8345 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)"]
8346 #[doc = ""]
8347 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8348 pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>;
8349 #[cfg(feature = "WebGlFramebuffer")]
8350 #[wasm_bindgen(
8351 method,
8352 js_class = "WebGL2RenderingContext",
8353 js_name = "createFramebuffer"
8354 )]
8355 #[doc = "The `createFramebuffer()` method."]
8356 #[doc = ""]
8357 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)"]
8358 #[doc = ""]
8359 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8360 pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>;
8361 #[cfg(feature = "WebGlProgram")]
8362 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createProgram")]
8363 #[doc = "The `createProgram()` method."]
8364 #[doc = ""]
8365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)"]
8366 #[doc = ""]
8367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8368 pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>;
8369 #[cfg(feature = "WebGlRenderbuffer")]
8370 #[wasm_bindgen(
8371 method,
8372 js_class = "WebGL2RenderingContext",
8373 js_name = "createRenderbuffer"
8374 )]
8375 #[doc = "The `createRenderbuffer()` method."]
8376 #[doc = ""]
8377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)"]
8378 #[doc = ""]
8379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8380 pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>;
8381 #[cfg(feature = "WebGlShader")]
8382 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createShader")]
8383 #[doc = "The `createShader()` method."]
8384 #[doc = ""]
8385 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)"]
8386 #[doc = ""]
8387 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8388 pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>;
8389 #[cfg(feature = "WebGlTexture")]
8390 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createTexture")]
8391 #[doc = "The `createTexture()` method."]
8392 #[doc = ""]
8393 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)"]
8394 #[doc = ""]
8395 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8396 pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>;
8397 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "cullFace")]
8398 #[doc = "The `cullFace()` method."]
8399 #[doc = ""]
8400 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)"]
8401 #[doc = ""]
8402 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8403 pub fn cull_face(this: &WebGl2RenderingContext, mode: u32);
8404 #[cfg(feature = "WebGlBuffer")]
8405 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteBuffer")]
8406 #[doc = "The `deleteBuffer()` method."]
8407 #[doc = ""]
8408 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)"]
8409 #[doc = ""]
8410 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8411 pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>);
8412 #[cfg(feature = "WebGlFramebuffer")]
8413 #[wasm_bindgen(
8414 method,
8415 js_class = "WebGL2RenderingContext",
8416 js_name = "deleteFramebuffer"
8417 )]
8418 #[doc = "The `deleteFramebuffer()` method."]
8419 #[doc = ""]
8420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)"]
8421 #[doc = ""]
8422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8423 pub fn delete_framebuffer(
8424 this: &WebGl2RenderingContext,
8425 framebuffer: Option<&WebGlFramebuffer>,
8426 );
8427 #[cfg(feature = "WebGlProgram")]
8428 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteProgram")]
8429 #[doc = "The `deleteProgram()` method."]
8430 #[doc = ""]
8431 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)"]
8432 #[doc = ""]
8433 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8434 pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
8435 #[cfg(feature = "WebGlRenderbuffer")]
8436 #[wasm_bindgen(
8437 method,
8438 js_class = "WebGL2RenderingContext",
8439 js_name = "deleteRenderbuffer"
8440 )]
8441 #[doc = "The `deleteRenderbuffer()` method."]
8442 #[doc = ""]
8443 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)"]
8444 #[doc = ""]
8445 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8446 pub fn delete_renderbuffer(
8447 this: &WebGl2RenderingContext,
8448 renderbuffer: Option<&WebGlRenderbuffer>,
8449 );
8450 #[cfg(feature = "WebGlShader")]
8451 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteShader")]
8452 #[doc = "The `deleteShader()` method."]
8453 #[doc = ""]
8454 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)"]
8455 #[doc = ""]
8456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8457 pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>);
8458 #[cfg(feature = "WebGlTexture")]
8459 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteTexture")]
8460 #[doc = "The `deleteTexture()` method."]
8461 #[doc = ""]
8462 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)"]
8463 #[doc = ""]
8464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8465 pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>);
8466 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "depthFunc")]
8467 #[doc = "The `depthFunc()` method."]
8468 #[doc = ""]
8469 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)"]
8470 #[doc = ""]
8471 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8472 pub fn depth_func(this: &WebGl2RenderingContext, func: u32);
8473 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "depthMask")]
8474 #[doc = "The `depthMask()` method."]
8475 #[doc = ""]
8476 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)"]
8477 #[doc = ""]
8478 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8479 pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool);
8480 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "depthRange")]
8481 #[doc = "The `depthRange()` method."]
8482 #[doc = ""]
8483 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)"]
8484 #[doc = ""]
8485 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8486 pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32);
8487 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
8488 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "detachShader")]
8489 #[doc = "The `detachShader()` method."]
8490 #[doc = ""]
8491 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)"]
8492 #[doc = ""]
8493 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
8494 pub fn detach_shader(
8495 this: &WebGl2RenderingContext,
8496 program: &WebGlProgram,
8497 shader: &WebGlShader,
8498 );
8499 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8500 #[doc = "The `disable()` method."]
8501 #[doc = ""]
8502 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)"]
8503 #[doc = ""]
8504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8505 pub fn disable(this: &WebGl2RenderingContext, cap: u32);
8506 #[wasm_bindgen(
8507 method,
8508 js_class = "WebGL2RenderingContext",
8509 js_name = "disableVertexAttribArray"
8510 )]
8511 #[doc = "The `disableVertexAttribArray()` method."]
8512 #[doc = ""]
8513 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)"]
8514 #[doc = ""]
8515 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8516 pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
8517 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawArrays")]
8518 #[doc = "The `drawArrays()` method."]
8519 #[doc = ""]
8520 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)"]
8521 #[doc = ""]
8522 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8523 pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32);
8524 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawElements")]
8525 #[doc = "The `drawElements()` method."]
8526 #[doc = ""]
8527 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
8528 #[doc = ""]
8529 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8530 pub fn draw_elements_with_i32(
8531 this: &WebGl2RenderingContext,
8532 mode: u32,
8533 count: i32,
8534 type_: u32,
8535 offset: i32,
8536 );
8537 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawElements")]
8538 #[doc = "The `drawElements()` method."]
8539 #[doc = ""]
8540 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
8541 #[doc = ""]
8542 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8543 pub fn draw_elements_with_f64(
8544 this: &WebGl2RenderingContext,
8545 mode: u32,
8546 count: i32,
8547 type_: u32,
8548 offset: f64,
8549 );
8550 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8551 #[doc = "The `enable()` method."]
8552 #[doc = ""]
8553 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)"]
8554 #[doc = ""]
8555 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8556 pub fn enable(this: &WebGl2RenderingContext, cap: u32);
8557 #[wasm_bindgen(
8558 method,
8559 js_class = "WebGL2RenderingContext",
8560 js_name = "enableVertexAttribArray"
8561 )]
8562 #[doc = "The `enableVertexAttribArray()` method."]
8563 #[doc = ""]
8564 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)"]
8565 #[doc = ""]
8566 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8567 pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
8568 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8569 #[doc = "The `finish()` method."]
8570 #[doc = ""]
8571 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)"]
8572 #[doc = ""]
8573 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8574 pub fn finish(this: &WebGl2RenderingContext);
8575 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8576 #[doc = "The `flush()` method."]
8577 #[doc = ""]
8578 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)"]
8579 #[doc = ""]
8580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8581 pub fn flush(this: &WebGl2RenderingContext);
8582 #[cfg(feature = "WebGlRenderbuffer")]
8583 #[wasm_bindgen(
8584 method,
8585 js_class = "WebGL2RenderingContext",
8586 js_name = "framebufferRenderbuffer"
8587 )]
8588 #[doc = "The `framebufferRenderbuffer()` method."]
8589 #[doc = ""]
8590 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)"]
8591 #[doc = ""]
8592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8593 pub fn framebuffer_renderbuffer(
8594 this: &WebGl2RenderingContext,
8595 target: u32,
8596 attachment: u32,
8597 renderbuffertarget: u32,
8598 renderbuffer: Option<&WebGlRenderbuffer>,
8599 );
8600 #[cfg(feature = "WebGlTexture")]
8601 #[wasm_bindgen(
8602 method,
8603 js_class = "WebGL2RenderingContext",
8604 js_name = "framebufferTexture2D"
8605 )]
8606 #[doc = "The `framebufferTexture2D()` method."]
8607 #[doc = ""]
8608 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)"]
8609 #[doc = ""]
8610 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8611 pub fn framebuffer_texture_2d(
8612 this: &WebGl2RenderingContext,
8613 target: u32,
8614 attachment: u32,
8615 textarget: u32,
8616 texture: Option<&WebGlTexture>,
8617 level: i32,
8618 );
8619 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "frontFace")]
8620 #[doc = "The `frontFace()` method."]
8621 #[doc = ""]
8622 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)"]
8623 #[doc = ""]
8624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8625 pub fn front_face(this: &WebGl2RenderingContext, mode: u32);
8626 #[wasm_bindgen(
8627 method,
8628 js_class = "WebGL2RenderingContext",
8629 js_name = "generateMipmap"
8630 )]
8631 #[doc = "The `generateMipmap()` method."]
8632 #[doc = ""]
8633 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)"]
8634 #[doc = ""]
8635 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8636 pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32);
8637 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
8638 #[wasm_bindgen(
8639 method,
8640 js_class = "WebGL2RenderingContext",
8641 js_name = "getActiveAttrib"
8642 )]
8643 #[doc = "The `getActiveAttrib()` method."]
8644 #[doc = ""]
8645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)"]
8646 #[doc = ""]
8647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
8648 pub fn get_active_attrib(
8649 this: &WebGl2RenderingContext,
8650 program: &WebGlProgram,
8651 index: u32,
8652 ) -> Option<WebGlActiveInfo>;
8653 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
8654 #[wasm_bindgen(
8655 method,
8656 js_class = "WebGL2RenderingContext",
8657 js_name = "getActiveUniform"
8658 )]
8659 #[doc = "The `getActiveUniform()` method."]
8660 #[doc = ""]
8661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)"]
8662 #[doc = ""]
8663 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
8664 pub fn get_active_uniform(
8665 this: &WebGl2RenderingContext,
8666 program: &WebGlProgram,
8667 index: u32,
8668 ) -> Option<WebGlActiveInfo>;
8669 #[cfg(feature = "WebGlProgram")]
8670 #[wasm_bindgen(
8671 method,
8672 js_class = "WebGL2RenderingContext",
8673 js_name = "getAttachedShaders"
8674 )]
8675 #[doc = "The `getAttachedShaders()` method."]
8676 #[doc = ""]
8677 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)"]
8678 #[doc = ""]
8679 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8680 pub fn get_attached_shaders(
8681 this: &WebGl2RenderingContext,
8682 program: &WebGlProgram,
8683 ) -> Option<::js_sys::Array>;
8684 #[cfg(feature = "WebGlProgram")]
8685 #[wasm_bindgen(
8686 method,
8687 js_class = "WebGL2RenderingContext",
8688 js_name = "getAttribLocation"
8689 )]
8690 #[doc = "The `getAttribLocation()` method."]
8691 #[doc = ""]
8692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)"]
8693 #[doc = ""]
8694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8695 pub fn get_attrib_location(
8696 this: &WebGl2RenderingContext,
8697 program: &WebGlProgram,
8698 name: &str,
8699 ) -> i32;
8700 #[wasm_bindgen(
8701 method,
8702 js_class = "WebGL2RenderingContext",
8703 js_name = "getBufferParameter"
8704 )]
8705 #[doc = "The `getBufferParameter()` method."]
8706 #[doc = ""]
8707 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)"]
8708 #[doc = ""]
8709 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8710 pub fn get_buffer_parameter(
8711 this: &WebGl2RenderingContext,
8712 target: u32,
8713 pname: u32,
8714 ) -> ::wasm_bindgen::JsValue;
8715 #[cfg(feature = "WebGlContextAttributes")]
8716 #[wasm_bindgen(
8717 method,
8718 js_class = "WebGL2RenderingContext",
8719 js_name = "getContextAttributes"
8720 )]
8721 #[doc = "The `getContextAttributes()` method."]
8722 #[doc = ""]
8723 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)"]
8724 #[doc = ""]
8725 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*"]
8726 pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>;
8727 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "getError")]
8728 #[doc = "The `getError()` method."]
8729 #[doc = ""]
8730 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)"]
8731 #[doc = ""]
8732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8733 pub fn get_error(this: &WebGl2RenderingContext) -> u32;
8734 #[wasm_bindgen(
8735 catch,
8736 method,
8737 js_class = "WebGL2RenderingContext",
8738 js_name = "getExtension"
8739 )]
8740 #[doc = "The `getExtension()` method."]
8741 #[doc = ""]
8742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)"]
8743 #[doc = ""]
8744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8745 pub fn get_extension(
8746 this: &WebGl2RenderingContext,
8747 name: &str,
8748 ) -> Result<Option<::js_sys::Object>, JsValue>;
8749 #[wasm_bindgen(
8750 catch,
8751 method,
8752 js_class = "WebGL2RenderingContext",
8753 js_name = "getFramebufferAttachmentParameter"
8754 )]
8755 #[doc = "The `getFramebufferAttachmentParameter()` method."]
8756 #[doc = ""]
8757 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)"]
8758 #[doc = ""]
8759 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8760 pub fn get_framebuffer_attachment_parameter(
8761 this: &WebGl2RenderingContext,
8762 target: u32,
8763 attachment: u32,
8764 pname: u32,
8765 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
8766 #[wasm_bindgen(
8767 catch,
8768 method,
8769 js_class = "WebGL2RenderingContext",
8770 js_name = "getParameter"
8771 )]
8772 #[doc = "The `getParameter()` method."]
8773 #[doc = ""]
8774 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)"]
8775 #[doc = ""]
8776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8777 pub fn get_parameter(
8778 this: &WebGl2RenderingContext,
8779 pname: u32,
8780 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
8781 #[cfg(feature = "WebGlProgram")]
8782 #[wasm_bindgen(
8783 method,
8784 js_class = "WebGL2RenderingContext",
8785 js_name = "getProgramInfoLog"
8786 )]
8787 #[doc = "The `getProgramInfoLog()` method."]
8788 #[doc = ""]
8789 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)"]
8790 #[doc = ""]
8791 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8792 pub fn get_program_info_log(
8793 this: &WebGl2RenderingContext,
8794 program: &WebGlProgram,
8795 ) -> Option<::alloc::string::String>;
8796 #[cfg(feature = "WebGlProgram")]
8797 #[wasm_bindgen(
8798 method,
8799 js_class = "WebGL2RenderingContext",
8800 js_name = "getProgramParameter"
8801 )]
8802 #[doc = "The `getProgramParameter()` method."]
8803 #[doc = ""]
8804 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)"]
8805 #[doc = ""]
8806 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8807 pub fn get_program_parameter(
8808 this: &WebGl2RenderingContext,
8809 program: &WebGlProgram,
8810 pname: u32,
8811 ) -> ::wasm_bindgen::JsValue;
8812 #[wasm_bindgen(
8813 method,
8814 js_class = "WebGL2RenderingContext",
8815 js_name = "getRenderbufferParameter"
8816 )]
8817 #[doc = "The `getRenderbufferParameter()` method."]
8818 #[doc = ""]
8819 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)"]
8820 #[doc = ""]
8821 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8822 pub fn get_renderbuffer_parameter(
8823 this: &WebGl2RenderingContext,
8824 target: u32,
8825 pname: u32,
8826 ) -> ::wasm_bindgen::JsValue;
8827 #[cfg(feature = "WebGlShader")]
8828 #[wasm_bindgen(
8829 method,
8830 js_class = "WebGL2RenderingContext",
8831 js_name = "getShaderInfoLog"
8832 )]
8833 #[doc = "The `getShaderInfoLog()` method."]
8834 #[doc = ""]
8835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)"]
8836 #[doc = ""]
8837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8838 pub fn get_shader_info_log(
8839 this: &WebGl2RenderingContext,
8840 shader: &WebGlShader,
8841 ) -> Option<::alloc::string::String>;
8842 #[cfg(feature = "WebGlShader")]
8843 #[wasm_bindgen(
8844 method,
8845 js_class = "WebGL2RenderingContext",
8846 js_name = "getShaderParameter"
8847 )]
8848 #[doc = "The `getShaderParameter()` method."]
8849 #[doc = ""]
8850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)"]
8851 #[doc = ""]
8852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8853 pub fn get_shader_parameter(
8854 this: &WebGl2RenderingContext,
8855 shader: &WebGlShader,
8856 pname: u32,
8857 ) -> ::wasm_bindgen::JsValue;
8858 #[cfg(feature = "WebGlShaderPrecisionFormat")]
8859 #[wasm_bindgen(
8860 method,
8861 js_class = "WebGL2RenderingContext",
8862 js_name = "getShaderPrecisionFormat"
8863 )]
8864 #[doc = "The `getShaderPrecisionFormat()` method."]
8865 #[doc = ""]
8866 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)"]
8867 #[doc = ""]
8868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*"]
8869 pub fn get_shader_precision_format(
8870 this: &WebGl2RenderingContext,
8871 shadertype: u32,
8872 precisiontype: u32,
8873 ) -> Option<WebGlShaderPrecisionFormat>;
8874 #[cfg(feature = "WebGlShader")]
8875 #[wasm_bindgen(
8876 method,
8877 js_class = "WebGL2RenderingContext",
8878 js_name = "getShaderSource"
8879 )]
8880 #[doc = "The `getShaderSource()` method."]
8881 #[doc = ""]
8882 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)"]
8883 #[doc = ""]
8884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8885 pub fn get_shader_source(
8886 this: &WebGl2RenderingContext,
8887 shader: &WebGlShader,
8888 ) -> Option<::alloc::string::String>;
8889 #[wasm_bindgen(
8890 method,
8891 js_class = "WebGL2RenderingContext",
8892 js_name = "getSupportedExtensions"
8893 )]
8894 #[doc = "The `getSupportedExtensions()` method."]
8895 #[doc = ""]
8896 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)"]
8897 #[doc = ""]
8898 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8899 pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>;
8900 #[wasm_bindgen(
8901 method,
8902 js_class = "WebGL2RenderingContext",
8903 js_name = "getTexParameter"
8904 )]
8905 #[doc = "The `getTexParameter()` method."]
8906 #[doc = ""]
8907 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)"]
8908 #[doc = ""]
8909 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8910 pub fn get_tex_parameter(
8911 this: &WebGl2RenderingContext,
8912 target: u32,
8913 pname: u32,
8914 ) -> ::wasm_bindgen::JsValue;
8915 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
8916 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "getUniform")]
8917 #[doc = "The `getUniform()` method."]
8918 #[doc = ""]
8919 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)"]
8920 #[doc = ""]
8921 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
8922 pub fn get_uniform(
8923 this: &WebGl2RenderingContext,
8924 program: &WebGlProgram,
8925 location: &WebGlUniformLocation,
8926 ) -> ::wasm_bindgen::JsValue;
8927 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
8928 #[wasm_bindgen(
8929 method,
8930 js_class = "WebGL2RenderingContext",
8931 js_name = "getUniformLocation"
8932 )]
8933 #[doc = "The `getUniformLocation()` method."]
8934 #[doc = ""]
8935 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)"]
8936 #[doc = ""]
8937 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
8938 pub fn get_uniform_location(
8939 this: &WebGl2RenderingContext,
8940 program: &WebGlProgram,
8941 name: &str,
8942 ) -> Option<WebGlUniformLocation>;
8943 #[wasm_bindgen(
8944 catch,
8945 method,
8946 js_class = "WebGL2RenderingContext",
8947 js_name = "getVertexAttrib"
8948 )]
8949 #[doc = "The `getVertexAttrib()` method."]
8950 #[doc = ""]
8951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)"]
8952 #[doc = ""]
8953 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8954 pub fn get_vertex_attrib(
8955 this: &WebGl2RenderingContext,
8956 index: u32,
8957 pname: u32,
8958 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
8959 #[wasm_bindgen(
8960 method,
8961 js_class = "WebGL2RenderingContext",
8962 js_name = "getVertexAttribOffset"
8963 )]
8964 #[doc = "The `getVertexAttribOffset()` method."]
8965 #[doc = ""]
8966 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)"]
8967 #[doc = ""]
8968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8969 pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64;
8970 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8971 #[doc = "The `hint()` method."]
8972 #[doc = ""]
8973 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)"]
8974 #[doc = ""]
8975 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8976 pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32);
8977 #[cfg(feature = "WebGlBuffer")]
8978 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isBuffer")]
8979 #[doc = "The `isBuffer()` method."]
8980 #[doc = ""]
8981 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)"]
8982 #[doc = ""]
8983 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8984 pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
8985 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isContextLost")]
8986 #[doc = "The `isContextLost()` method."]
8987 #[doc = ""]
8988 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)"]
8989 #[doc = ""]
8990 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8991 pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool;
8992 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isEnabled")]
8993 #[doc = "The `isEnabled()` method."]
8994 #[doc = ""]
8995 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)"]
8996 #[doc = ""]
8997 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8998 pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool;
8999 #[cfg(feature = "WebGlFramebuffer")]
9000 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isFramebuffer")]
9001 #[doc = "The `isFramebuffer()` method."]
9002 #[doc = ""]
9003 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)"]
9004 #[doc = ""]
9005 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
9006 pub fn is_framebuffer(
9007 this: &WebGl2RenderingContext,
9008 framebuffer: Option<&WebGlFramebuffer>,
9009 ) -> bool;
9010 #[cfg(feature = "WebGlProgram")]
9011 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isProgram")]
9012 #[doc = "The `isProgram()` method."]
9013 #[doc = ""]
9014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)"]
9015 #[doc = ""]
9016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
9017 pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool;
9018 #[cfg(feature = "WebGlRenderbuffer")]
9019 #[wasm_bindgen(
9020 method,
9021 js_class = "WebGL2RenderingContext",
9022 js_name = "isRenderbuffer"
9023 )]
9024 #[doc = "The `isRenderbuffer()` method."]
9025 #[doc = ""]
9026 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)"]
9027 #[doc = ""]
9028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
9029 pub fn is_renderbuffer(
9030 this: &WebGl2RenderingContext,
9031 renderbuffer: Option<&WebGlRenderbuffer>,
9032 ) -> bool;
9033 #[cfg(feature = "WebGlShader")]
9034 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isShader")]
9035 #[doc = "The `isShader()` method."]
9036 #[doc = ""]
9037 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)"]
9038 #[doc = ""]
9039 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
9040 pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool;
9041 #[cfg(feature = "WebGlTexture")]
9042 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isTexture")]
9043 #[doc = "The `isTexture()` method."]
9044 #[doc = ""]
9045 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)"]
9046 #[doc = ""]
9047 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
9048 pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool;
9049 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "lineWidth")]
9050 #[doc = "The `lineWidth()` method."]
9051 #[doc = ""]
9052 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)"]
9053 #[doc = ""]
9054 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9055 pub fn line_width(this: &WebGl2RenderingContext, width: f32);
9056 #[cfg(feature = "WebGlProgram")]
9057 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "linkProgram")]
9058 #[doc = "The `linkProgram()` method."]
9059 #[doc = ""]
9060 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)"]
9061 #[doc = ""]
9062 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
9063 pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
9064 #[cfg(web_sys_unstable_apis)]
9065 #[wasm_bindgen(
9066 method,
9067 js_class = "WebGL2RenderingContext",
9068 js_name = "makeXRCompatible"
9069 )]
9070 #[doc = "The `makeXRCompatible()` method."]
9071 #[doc = ""]
9072 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)"]
9073 #[doc = ""]
9074 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9075 #[doc = ""]
9076 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
9077 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
9078 pub fn make_xr_compatible(
9079 this: &WebGl2RenderingContext,
9080 ) -> ::js_sys::Promise<::js_sys::Undefined>;
9081 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "pixelStorei")]
9082 #[doc = "The `pixelStorei()` method."]
9083 #[doc = ""]
9084 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)"]
9085 #[doc = ""]
9086 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9087 pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32);
9088 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "polygonOffset")]
9089 #[doc = "The `polygonOffset()` method."]
9090 #[doc = ""]
9091 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)"]
9092 #[doc = ""]
9093 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9094 pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32);
9095 #[wasm_bindgen(
9096 method,
9097 js_class = "WebGL2RenderingContext",
9098 js_name = "renderbufferStorage"
9099 )]
9100 #[doc = "The `renderbufferStorage()` method."]
9101 #[doc = ""]
9102 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)"]
9103 #[doc = ""]
9104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9105 pub fn renderbuffer_storage(
9106 this: &WebGl2RenderingContext,
9107 target: u32,
9108 internalformat: u32,
9109 width: i32,
9110 height: i32,
9111 );
9112 #[wasm_bindgen(
9113 method,
9114 js_class = "WebGL2RenderingContext",
9115 js_name = "sampleCoverage"
9116 )]
9117 #[doc = "The `sampleCoverage()` method."]
9118 #[doc = ""]
9119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)"]
9120 #[doc = ""]
9121 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9122 pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool);
9123 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9124 #[doc = "The `scissor()` method."]
9125 #[doc = ""]
9126 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)"]
9127 #[doc = ""]
9128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9129 pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
9130 #[cfg(feature = "WebGlShader")]
9131 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "shaderSource")]
9132 #[doc = "The `shaderSource()` method."]
9133 #[doc = ""]
9134 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)"]
9135 #[doc = ""]
9136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
9137 pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str);
9138 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "stencilFunc")]
9139 #[doc = "The `stencilFunc()` method."]
9140 #[doc = ""]
9141 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)"]
9142 #[doc = ""]
9143 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9144 pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32);
9145 #[wasm_bindgen(
9146 method,
9147 js_class = "WebGL2RenderingContext",
9148 js_name = "stencilFuncSeparate"
9149 )]
9150 #[doc = "The `stencilFuncSeparate()` method."]
9151 #[doc = ""]
9152 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)"]
9153 #[doc = ""]
9154 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9155 pub fn stencil_func_separate(
9156 this: &WebGl2RenderingContext,
9157 face: u32,
9158 func: u32,
9159 ref_: i32,
9160 mask: u32,
9161 );
9162 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "stencilMask")]
9163 #[doc = "The `stencilMask()` method."]
9164 #[doc = ""]
9165 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)"]
9166 #[doc = ""]
9167 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9168 pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32);
9169 #[wasm_bindgen(
9170 method,
9171 js_class = "WebGL2RenderingContext",
9172 js_name = "stencilMaskSeparate"
9173 )]
9174 #[doc = "The `stencilMaskSeparate()` method."]
9175 #[doc = ""]
9176 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)"]
9177 #[doc = ""]
9178 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9179 pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32);
9180 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "stencilOp")]
9181 #[doc = "The `stencilOp()` method."]
9182 #[doc = ""]
9183 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)"]
9184 #[doc = ""]
9185 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9186 pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32);
9187 #[wasm_bindgen(
9188 method,
9189 js_class = "WebGL2RenderingContext",
9190 js_name = "stencilOpSeparate"
9191 )]
9192 #[doc = "The `stencilOpSeparate()` method."]
9193 #[doc = ""]
9194 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)"]
9195 #[doc = ""]
9196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9197 pub fn stencil_op_separate(
9198 this: &WebGl2RenderingContext,
9199 face: u32,
9200 fail: u32,
9201 zfail: u32,
9202 zpass: u32,
9203 );
9204 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texParameterf")]
9205 #[doc = "The `texParameterf()` method."]
9206 #[doc = ""]
9207 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)"]
9208 #[doc = ""]
9209 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9210 pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32);
9211 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texParameteri")]
9212 #[doc = "The `texParameteri()` method."]
9213 #[doc = ""]
9214 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)"]
9215 #[doc = ""]
9216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9217 pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32);
9218 #[cfg(feature = "WebGlUniformLocation")]
9219 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9220 #[doc = "The `uniform1f()` method."]
9221 #[doc = ""]
9222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)"]
9223 #[doc = ""]
9224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9225 pub fn uniform1f(
9226 this: &WebGl2RenderingContext,
9227 location: Option<&WebGlUniformLocation>,
9228 x: f32,
9229 );
9230 #[cfg(feature = "WebGlUniformLocation")]
9231 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9232 #[doc = "The `uniform1i()` method."]
9233 #[doc = ""]
9234 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)"]
9235 #[doc = ""]
9236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9237 pub fn uniform1i(
9238 this: &WebGl2RenderingContext,
9239 location: Option<&WebGlUniformLocation>,
9240 x: i32,
9241 );
9242 #[cfg(feature = "WebGlUniformLocation")]
9243 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9244 #[doc = "The `uniform2f()` method."]
9245 #[doc = ""]
9246 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)"]
9247 #[doc = ""]
9248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9249 pub fn uniform2f(
9250 this: &WebGl2RenderingContext,
9251 location: Option<&WebGlUniformLocation>,
9252 x: f32,
9253 y: f32,
9254 );
9255 #[cfg(feature = "WebGlUniformLocation")]
9256 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9257 #[doc = "The `uniform2i()` method."]
9258 #[doc = ""]
9259 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)"]
9260 #[doc = ""]
9261 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9262 pub fn uniform2i(
9263 this: &WebGl2RenderingContext,
9264 location: Option<&WebGlUniformLocation>,
9265 x: i32,
9266 y: i32,
9267 );
9268 #[cfg(feature = "WebGlUniformLocation")]
9269 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9270 #[doc = "The `uniform3f()` method."]
9271 #[doc = ""]
9272 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)"]
9273 #[doc = ""]
9274 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9275 pub fn uniform3f(
9276 this: &WebGl2RenderingContext,
9277 location: Option<&WebGlUniformLocation>,
9278 x: f32,
9279 y: f32,
9280 z: f32,
9281 );
9282 #[cfg(feature = "WebGlUniformLocation")]
9283 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9284 #[doc = "The `uniform3i()` method."]
9285 #[doc = ""]
9286 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)"]
9287 #[doc = ""]
9288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9289 pub fn uniform3i(
9290 this: &WebGl2RenderingContext,
9291 location: Option<&WebGlUniformLocation>,
9292 x: i32,
9293 y: i32,
9294 z: i32,
9295 );
9296 #[cfg(feature = "WebGlUniformLocation")]
9297 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9298 #[doc = "The `uniform4f()` method."]
9299 #[doc = ""]
9300 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)"]
9301 #[doc = ""]
9302 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9303 pub fn uniform4f(
9304 this: &WebGl2RenderingContext,
9305 location: Option<&WebGlUniformLocation>,
9306 x: f32,
9307 y: f32,
9308 z: f32,
9309 w: f32,
9310 );
9311 #[cfg(feature = "WebGlUniformLocation")]
9312 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9313 #[doc = "The `uniform4i()` method."]
9314 #[doc = ""]
9315 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)"]
9316 #[doc = ""]
9317 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9318 pub fn uniform4i(
9319 this: &WebGl2RenderingContext,
9320 location: Option<&WebGlUniformLocation>,
9321 x: i32,
9322 y: i32,
9323 z: i32,
9324 w: i32,
9325 );
9326 #[cfg(feature = "WebGlProgram")]
9327 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "useProgram")]
9328 #[doc = "The `useProgram()` method."]
9329 #[doc = ""]
9330 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)"]
9331 #[doc = ""]
9332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
9333 pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
9334 #[cfg(feature = "WebGlProgram")]
9335 #[wasm_bindgen(
9336 method,
9337 js_class = "WebGL2RenderingContext",
9338 js_name = "validateProgram"
9339 )]
9340 #[doc = "The `validateProgram()` method."]
9341 #[doc = ""]
9342 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)"]
9343 #[doc = ""]
9344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
9345 pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
9346 #[wasm_bindgen(
9347 method,
9348 js_class = "WebGL2RenderingContext",
9349 js_name = "vertexAttrib1f"
9350 )]
9351 #[doc = "The `vertexAttrib1f()` method."]
9352 #[doc = ""]
9353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)"]
9354 #[doc = ""]
9355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9356 pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32);
9357 #[wasm_bindgen(
9358 method,
9359 js_class = "WebGL2RenderingContext",
9360 js_name = "vertexAttrib1fv"
9361 )]
9362 #[doc = "The `vertexAttrib1fv()` method."]
9363 #[doc = ""]
9364 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
9365 #[doc = ""]
9366 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9367 pub fn vertex_attrib1fv_with_f32_array(
9368 this: &WebGl2RenderingContext,
9369 indx: u32,
9370 values: &[f32],
9371 );
9372 #[wasm_bindgen(
9373 method,
9374 js_class = "WebGL2RenderingContext",
9375 js_name = "vertexAttrib1fv"
9376 )]
9377 #[doc = "The `vertexAttrib1fv()` method."]
9378 #[doc = ""]
9379 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
9380 #[doc = ""]
9381 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9382 pub fn vertex_attrib1fv_with_js_f32_array(
9383 this: &WebGl2RenderingContext,
9384 indx: u32,
9385 values: &::js_sys::Float32Array,
9386 );
9387 #[wasm_bindgen(
9388 method,
9389 js_class = "WebGL2RenderingContext",
9390 js_name = "vertexAttrib1fv"
9391 )]
9392 #[doc = "The `vertexAttrib1fv()` method."]
9393 #[doc = ""]
9394 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
9395 #[doc = ""]
9396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9397 pub fn vertex_attrib1fv_with_f32_sequence(
9398 this: &WebGl2RenderingContext,
9399 indx: u32,
9400 values: &::wasm_bindgen::JsValue,
9401 );
9402 #[wasm_bindgen(
9403 method,
9404 js_class = "WebGL2RenderingContext",
9405 js_name = "vertexAttrib2f"
9406 )]
9407 #[doc = "The `vertexAttrib2f()` method."]
9408 #[doc = ""]
9409 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)"]
9410 #[doc = ""]
9411 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9412 pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32);
9413 #[wasm_bindgen(
9414 method,
9415 js_class = "WebGL2RenderingContext",
9416 js_name = "vertexAttrib2fv"
9417 )]
9418 #[doc = "The `vertexAttrib2fv()` method."]
9419 #[doc = ""]
9420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
9421 #[doc = ""]
9422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9423 pub fn vertex_attrib2fv_with_f32_array(
9424 this: &WebGl2RenderingContext,
9425 indx: u32,
9426 values: &[f32],
9427 );
9428 #[wasm_bindgen(
9429 method,
9430 js_class = "WebGL2RenderingContext",
9431 js_name = "vertexAttrib2fv"
9432 )]
9433 #[doc = "The `vertexAttrib2fv()` method."]
9434 #[doc = ""]
9435 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
9436 #[doc = ""]
9437 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9438 pub fn vertex_attrib2fv_with_js_f32_array(
9439 this: &WebGl2RenderingContext,
9440 indx: u32,
9441 values: &::js_sys::Float32Array,
9442 );
9443 #[wasm_bindgen(
9444 method,
9445 js_class = "WebGL2RenderingContext",
9446 js_name = "vertexAttrib2fv"
9447 )]
9448 #[doc = "The `vertexAttrib2fv()` method."]
9449 #[doc = ""]
9450 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
9451 #[doc = ""]
9452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9453 pub fn vertex_attrib2fv_with_f32_sequence(
9454 this: &WebGl2RenderingContext,
9455 indx: u32,
9456 values: &::wasm_bindgen::JsValue,
9457 );
9458 #[wasm_bindgen(
9459 method,
9460 js_class = "WebGL2RenderingContext",
9461 js_name = "vertexAttrib3f"
9462 )]
9463 #[doc = "The `vertexAttrib3f()` method."]
9464 #[doc = ""]
9465 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)"]
9466 #[doc = ""]
9467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9468 pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32);
9469 #[wasm_bindgen(
9470 method,
9471 js_class = "WebGL2RenderingContext",
9472 js_name = "vertexAttrib3fv"
9473 )]
9474 #[doc = "The `vertexAttrib3fv()` method."]
9475 #[doc = ""]
9476 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
9477 #[doc = ""]
9478 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9479 pub fn vertex_attrib3fv_with_f32_array(
9480 this: &WebGl2RenderingContext,
9481 indx: u32,
9482 values: &[f32],
9483 );
9484 #[wasm_bindgen(
9485 method,
9486 js_class = "WebGL2RenderingContext",
9487 js_name = "vertexAttrib3fv"
9488 )]
9489 #[doc = "The `vertexAttrib3fv()` method."]
9490 #[doc = ""]
9491 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
9492 #[doc = ""]
9493 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9494 pub fn vertex_attrib3fv_with_js_f32_array(
9495 this: &WebGl2RenderingContext,
9496 indx: u32,
9497 values: &::js_sys::Float32Array,
9498 );
9499 #[wasm_bindgen(
9500 method,
9501 js_class = "WebGL2RenderingContext",
9502 js_name = "vertexAttrib3fv"
9503 )]
9504 #[doc = "The `vertexAttrib3fv()` method."]
9505 #[doc = ""]
9506 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
9507 #[doc = ""]
9508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9509 pub fn vertex_attrib3fv_with_f32_sequence(
9510 this: &WebGl2RenderingContext,
9511 indx: u32,
9512 values: &::wasm_bindgen::JsValue,
9513 );
9514 #[wasm_bindgen(
9515 method,
9516 js_class = "WebGL2RenderingContext",
9517 js_name = "vertexAttrib4f"
9518 )]
9519 #[doc = "The `vertexAttrib4f()` method."]
9520 #[doc = ""]
9521 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)"]
9522 #[doc = ""]
9523 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9524 pub fn vertex_attrib4f(
9525 this: &WebGl2RenderingContext,
9526 indx: u32,
9527 x: f32,
9528 y: f32,
9529 z: f32,
9530 w: f32,
9531 );
9532 #[wasm_bindgen(
9533 method,
9534 js_class = "WebGL2RenderingContext",
9535 js_name = "vertexAttrib4fv"
9536 )]
9537 #[doc = "The `vertexAttrib4fv()` method."]
9538 #[doc = ""]
9539 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
9540 #[doc = ""]
9541 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9542 pub fn vertex_attrib4fv_with_f32_array(
9543 this: &WebGl2RenderingContext,
9544 indx: u32,
9545 values: &[f32],
9546 );
9547 #[wasm_bindgen(
9548 method,
9549 js_class = "WebGL2RenderingContext",
9550 js_name = "vertexAttrib4fv"
9551 )]
9552 #[doc = "The `vertexAttrib4fv()` method."]
9553 #[doc = ""]
9554 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
9555 #[doc = ""]
9556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9557 pub fn vertex_attrib4fv_with_js_f32_array(
9558 this: &WebGl2RenderingContext,
9559 indx: u32,
9560 values: &::js_sys::Float32Array,
9561 );
9562 #[wasm_bindgen(
9563 method,
9564 js_class = "WebGL2RenderingContext",
9565 js_name = "vertexAttrib4fv"
9566 )]
9567 #[doc = "The `vertexAttrib4fv()` method."]
9568 #[doc = ""]
9569 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
9570 #[doc = ""]
9571 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9572 pub fn vertex_attrib4fv_with_f32_sequence(
9573 this: &WebGl2RenderingContext,
9574 indx: u32,
9575 values: &::wasm_bindgen::JsValue,
9576 );
9577 #[wasm_bindgen(
9578 method,
9579 js_class = "WebGL2RenderingContext",
9580 js_name = "vertexAttribPointer"
9581 )]
9582 #[doc = "The `vertexAttribPointer()` method."]
9583 #[doc = ""]
9584 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
9585 #[doc = ""]
9586 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9587 pub fn vertex_attrib_pointer_with_i32(
9588 this: &WebGl2RenderingContext,
9589 indx: u32,
9590 size: i32,
9591 type_: u32,
9592 normalized: bool,
9593 stride: i32,
9594 offset: i32,
9595 );
9596 #[wasm_bindgen(
9597 method,
9598 js_class = "WebGL2RenderingContext",
9599 js_name = "vertexAttribPointer"
9600 )]
9601 #[doc = "The `vertexAttribPointer()` method."]
9602 #[doc = ""]
9603 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
9604 #[doc = ""]
9605 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9606 pub fn vertex_attrib_pointer_with_f64(
9607 this: &WebGl2RenderingContext,
9608 indx: u32,
9609 size: i32,
9610 type_: u32,
9611 normalized: bool,
9612 stride: i32,
9613 offset: f64,
9614 );
9615 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9616 #[doc = "The `viewport()` method."]
9617 #[doc = ""]
9618 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)"]
9619 #[doc = ""]
9620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9621 pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
9622}
9623impl WebGl2RenderingContext {
9624 #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const."]
9625 #[doc = ""]
9626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9627 pub const READ_BUFFER: u32 = 3074u64 as u32;
9628 #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const."]
9629 #[doc = ""]
9630 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9631 pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32;
9632 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const."]
9633 #[doc = ""]
9634 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9635 pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32;
9636 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const."]
9637 #[doc = ""]
9638 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9639 pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32;
9640 #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const."]
9641 #[doc = ""]
9642 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9643 pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32;
9644 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const."]
9645 #[doc = ""]
9646 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9647 pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32;
9648 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const."]
9649 #[doc = ""]
9650 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9651 pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32;
9652 #[doc = "The `WebGL2RenderingContext.COLOR` const."]
9653 #[doc = ""]
9654 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9655 pub const COLOR: u32 = 6144u64 as u32;
9656 #[doc = "The `WebGL2RenderingContext.DEPTH` const."]
9657 #[doc = ""]
9658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9659 pub const DEPTH: u32 = 6145u64 as u32;
9660 #[doc = "The `WebGL2RenderingContext.STENCIL` const."]
9661 #[doc = ""]
9662 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9663 pub const STENCIL: u32 = 6146u64 as u32;
9664 #[doc = "The `WebGL2RenderingContext.RED` const."]
9665 #[doc = ""]
9666 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9667 pub const RED: u32 = 6403u64 as u32;
9668 #[doc = "The `WebGL2RenderingContext.RGB8` const."]
9669 #[doc = ""]
9670 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9671 pub const RGB8: u32 = 32849u64 as u32;
9672 #[doc = "The `WebGL2RenderingContext.RGBA8` const."]
9673 #[doc = ""]
9674 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9675 pub const RGBA8: u32 = 32856u64 as u32;
9676 #[doc = "The `WebGL2RenderingContext.RGB10_A2` const."]
9677 #[doc = ""]
9678 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9679 pub const RGB10_A2: u32 = 32857u64 as u32;
9680 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const."]
9681 #[doc = ""]
9682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9683 pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32;
9684 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const."]
9685 #[doc = ""]
9686 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9687 pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32;
9688 #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const."]
9689 #[doc = ""]
9690 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9691 pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32;
9692 #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const."]
9693 #[doc = ""]
9694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9695 pub const TEXTURE_3D: u32 = 32879u64 as u32;
9696 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const."]
9697 #[doc = ""]
9698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9699 pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32;
9700 #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const."]
9701 #[doc = ""]
9702 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9703 pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32;
9704 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const."]
9705 #[doc = ""]
9706 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9707 pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32;
9708 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const."]
9709 #[doc = ""]
9710 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9711 pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32;
9712 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const."]
9713 #[doc = ""]
9714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9715 pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32;
9716 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const."]
9717 #[doc = ""]
9718 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9719 pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32;
9720 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const."]
9721 #[doc = ""]
9722 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9723 pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32;
9724 #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const."]
9725 #[doc = ""]
9726 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9727 pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32;
9728 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const."]
9729 #[doc = ""]
9730 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9731 pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32;
9732 #[doc = "The `WebGL2RenderingContext.MIN` const."]
9733 #[doc = ""]
9734 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9735 pub const MIN: u32 = 32775u64 as u32;
9736 #[doc = "The `WebGL2RenderingContext.MAX` const."]
9737 #[doc = ""]
9738 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9739 pub const MAX: u32 = 32776u64 as u32;
9740 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const."]
9741 #[doc = ""]
9742 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9743 pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32;
9744 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const."]
9745 #[doc = ""]
9746 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9747 pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32;
9748 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const."]
9749 #[doc = ""]
9750 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9751 pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32;
9752 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const."]
9753 #[doc = ""]
9754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9755 pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32;
9756 #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const."]
9757 #[doc = ""]
9758 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9759 pub const CURRENT_QUERY: u32 = 34917u64 as u32;
9760 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const."]
9761 #[doc = ""]
9762 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9763 pub const QUERY_RESULT: u32 = 34918u64 as u32;
9764 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const."]
9765 #[doc = ""]
9766 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9767 pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32;
9768 #[doc = "The `WebGL2RenderingContext.STREAM_READ` const."]
9769 #[doc = ""]
9770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9771 pub const STREAM_READ: u32 = 35041u64 as u32;
9772 #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const."]
9773 #[doc = ""]
9774 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9775 pub const STREAM_COPY: u32 = 35042u64 as u32;
9776 #[doc = "The `WebGL2RenderingContext.STATIC_READ` const."]
9777 #[doc = ""]
9778 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9779 pub const STATIC_READ: u32 = 35045u64 as u32;
9780 #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const."]
9781 #[doc = ""]
9782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9783 pub const STATIC_COPY: u32 = 35046u64 as u32;
9784 #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const."]
9785 #[doc = ""]
9786 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9787 pub const DYNAMIC_READ: u32 = 35049u64 as u32;
9788 #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const."]
9789 #[doc = ""]
9790 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9791 pub const DYNAMIC_COPY: u32 = 35050u64 as u32;
9792 #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const."]
9793 #[doc = ""]
9794 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9795 pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32;
9796 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const."]
9797 #[doc = ""]
9798 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9799 pub const DRAW_BUFFER0: u32 = 34853u64 as u32;
9800 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const."]
9801 #[doc = ""]
9802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9803 pub const DRAW_BUFFER1: u32 = 34854u64 as u32;
9804 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const."]
9805 #[doc = ""]
9806 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9807 pub const DRAW_BUFFER2: u32 = 34855u64 as u32;
9808 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const."]
9809 #[doc = ""]
9810 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9811 pub const DRAW_BUFFER3: u32 = 34856u64 as u32;
9812 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const."]
9813 #[doc = ""]
9814 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9815 pub const DRAW_BUFFER4: u32 = 34857u64 as u32;
9816 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const."]
9817 #[doc = ""]
9818 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9819 pub const DRAW_BUFFER5: u32 = 34858u64 as u32;
9820 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const."]
9821 #[doc = ""]
9822 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9823 pub const DRAW_BUFFER6: u32 = 34859u64 as u32;
9824 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const."]
9825 #[doc = ""]
9826 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9827 pub const DRAW_BUFFER7: u32 = 34860u64 as u32;
9828 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const."]
9829 #[doc = ""]
9830 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9831 pub const DRAW_BUFFER8: u32 = 34861u64 as u32;
9832 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const."]
9833 #[doc = ""]
9834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9835 pub const DRAW_BUFFER9: u32 = 34862u64 as u32;
9836 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const."]
9837 #[doc = ""]
9838 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9839 pub const DRAW_BUFFER10: u32 = 34863u64 as u32;
9840 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const."]
9841 #[doc = ""]
9842 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9843 pub const DRAW_BUFFER11: u32 = 34864u64 as u32;
9844 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const."]
9845 #[doc = ""]
9846 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9847 pub const DRAW_BUFFER12: u32 = 34865u64 as u32;
9848 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const."]
9849 #[doc = ""]
9850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9851 pub const DRAW_BUFFER13: u32 = 34866u64 as u32;
9852 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const."]
9853 #[doc = ""]
9854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9855 pub const DRAW_BUFFER14: u32 = 34867u64 as u32;
9856 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const."]
9857 #[doc = ""]
9858 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9859 pub const DRAW_BUFFER15: u32 = 34868u64 as u32;
9860 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const."]
9861 #[doc = ""]
9862 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9863 pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32;
9864 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const."]
9865 #[doc = ""]
9866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9867 pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32;
9868 #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const."]
9869 #[doc = ""]
9870 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9871 pub const SAMPLER_3D: u32 = 35679u64 as u32;
9872 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const."]
9873 #[doc = ""]
9874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9875 pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32;
9876 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const."]
9877 #[doc = ""]
9878 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9879 pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32;
9880 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const."]
9881 #[doc = ""]
9882 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9883 pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32;
9884 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const."]
9885 #[doc = ""]
9886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9887 pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32;
9888 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const."]
9889 #[doc = ""]
9890 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9891 pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32;
9892 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const."]
9893 #[doc = ""]
9894 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9895 pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32;
9896 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const."]
9897 #[doc = ""]
9898 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9899 pub const FLOAT_MAT2X3: u32 = 35685u64 as u32;
9900 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const."]
9901 #[doc = ""]
9902 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9903 pub const FLOAT_MAT2X4: u32 = 35686u64 as u32;
9904 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const."]
9905 #[doc = ""]
9906 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9907 pub const FLOAT_MAT3X2: u32 = 35687u64 as u32;
9908 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const."]
9909 #[doc = ""]
9910 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9911 pub const FLOAT_MAT3X4: u32 = 35688u64 as u32;
9912 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const."]
9913 #[doc = ""]
9914 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9915 pub const FLOAT_MAT4X2: u32 = 35689u64 as u32;
9916 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const."]
9917 #[doc = ""]
9918 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9919 pub const FLOAT_MAT4X3: u32 = 35690u64 as u32;
9920 #[doc = "The `WebGL2RenderingContext.SRGB` const."]
9921 #[doc = ""]
9922 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9923 pub const SRGB: u32 = 35904u64 as u32;
9924 #[doc = "The `WebGL2RenderingContext.SRGB8` const."]
9925 #[doc = ""]
9926 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9927 pub const SRGB8: u32 = 35905u64 as u32;
9928 #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const."]
9929 #[doc = ""]
9930 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9931 pub const SRGB8_ALPHA8: u32 = 35907u64 as u32;
9932 #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const."]
9933 #[doc = ""]
9934 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9935 pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32;
9936 #[doc = "The `WebGL2RenderingContext.RGBA32F` const."]
9937 #[doc = ""]
9938 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9939 pub const RGBA32F: u32 = 34836u64 as u32;
9940 #[doc = "The `WebGL2RenderingContext.RGB32F` const."]
9941 #[doc = ""]
9942 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9943 pub const RGB32F: u32 = 34837u64 as u32;
9944 #[doc = "The `WebGL2RenderingContext.RGBA16F` const."]
9945 #[doc = ""]
9946 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9947 pub const RGBA16F: u32 = 34842u64 as u32;
9948 #[doc = "The `WebGL2RenderingContext.RGB16F` const."]
9949 #[doc = ""]
9950 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9951 pub const RGB16F: u32 = 34843u64 as u32;
9952 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const."]
9953 #[doc = ""]
9954 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9955 pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32;
9956 #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const."]
9957 #[doc = ""]
9958 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9959 pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32;
9960 #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const."]
9961 #[doc = ""]
9962 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9963 pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32;
9964 #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const."]
9965 #[doc = ""]
9966 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9967 pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32;
9968 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const."]
9969 #[doc = ""]
9970 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9971 pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32;
9972 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const."]
9973 #[doc = ""]
9974 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9975 pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32;
9976 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const."]
9977 #[doc = ""]
9978 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9979 pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32;
9980 #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const."]
9981 #[doc = ""]
9982 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9983 pub const R11F_G11F_B10F: u32 = 35898u64 as u32;
9984 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const."]
9985 #[doc = ""]
9986 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9987 pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32;
9988 #[doc = "The `WebGL2RenderingContext.RGB9_E5` const."]
9989 #[doc = ""]
9990 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9991 pub const RGB9_E5: u32 = 35901u64 as u32;
9992 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const."]
9993 #[doc = ""]
9994 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9995 pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32;
9996 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const."]
9997 #[doc = ""]
9998 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9999 pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32;
10000 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const."]
10001 #[doc = ""]
10002 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10003 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32;
10004 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const."]
10005 #[doc = ""]
10006 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10007 pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32;
10008 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const."]
10009 #[doc = ""]
10010 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10011 pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32;
10012 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const."]
10013 #[doc = ""]
10014 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10015 pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32;
10016 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const."]
10017 #[doc = ""]
10018 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10019 pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32;
10020 #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const."]
10021 #[doc = ""]
10022 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10023 pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32;
10024 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const."]
10025 #[doc = ""]
10026 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10027 pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32;
10028 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const."]
10029 #[doc = ""]
10030 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10031 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32;
10032 #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const."]
10033 #[doc = ""]
10034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10035 pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32;
10036 #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const."]
10037 #[doc = ""]
10038 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10039 pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32;
10040 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const."]
10041 #[doc = ""]
10042 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10043 pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32;
10044 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const."]
10045 #[doc = ""]
10046 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10047 pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32;
10048 #[doc = "The `WebGL2RenderingContext.RGBA32UI` const."]
10049 #[doc = ""]
10050 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10051 pub const RGBA32UI: u32 = 36208u64 as u32;
10052 #[doc = "The `WebGL2RenderingContext.RGB32UI` const."]
10053 #[doc = ""]
10054 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10055 pub const RGB32UI: u32 = 36209u64 as u32;
10056 #[doc = "The `WebGL2RenderingContext.RGBA16UI` const."]
10057 #[doc = ""]
10058 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10059 pub const RGBA16UI: u32 = 36214u64 as u32;
10060 #[doc = "The `WebGL2RenderingContext.RGB16UI` const."]
10061 #[doc = ""]
10062 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10063 pub const RGB16UI: u32 = 36215u64 as u32;
10064 #[doc = "The `WebGL2RenderingContext.RGBA8UI` const."]
10065 #[doc = ""]
10066 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10067 pub const RGBA8UI: u32 = 36220u64 as u32;
10068 #[doc = "The `WebGL2RenderingContext.RGB8UI` const."]
10069 #[doc = ""]
10070 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10071 pub const RGB8UI: u32 = 36221u64 as u32;
10072 #[doc = "The `WebGL2RenderingContext.RGBA32I` const."]
10073 #[doc = ""]
10074 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10075 pub const RGBA32I: u32 = 36226u64 as u32;
10076 #[doc = "The `WebGL2RenderingContext.RGB32I` const."]
10077 #[doc = ""]
10078 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10079 pub const RGB32I: u32 = 36227u64 as u32;
10080 #[doc = "The `WebGL2RenderingContext.RGBA16I` const."]
10081 #[doc = ""]
10082 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10083 pub const RGBA16I: u32 = 36232u64 as u32;
10084 #[doc = "The `WebGL2RenderingContext.RGB16I` const."]
10085 #[doc = ""]
10086 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10087 pub const RGB16I: u32 = 36233u64 as u32;
10088 #[doc = "The `WebGL2RenderingContext.RGBA8I` const."]
10089 #[doc = ""]
10090 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10091 pub const RGBA8I: u32 = 36238u64 as u32;
10092 #[doc = "The `WebGL2RenderingContext.RGB8I` const."]
10093 #[doc = ""]
10094 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10095 pub const RGB8I: u32 = 36239u64 as u32;
10096 #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const."]
10097 #[doc = ""]
10098 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10099 pub const RED_INTEGER: u32 = 36244u64 as u32;
10100 #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const."]
10101 #[doc = ""]
10102 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10103 pub const RGB_INTEGER: u32 = 36248u64 as u32;
10104 #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const."]
10105 #[doc = ""]
10106 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10107 pub const RGBA_INTEGER: u32 = 36249u64 as u32;
10108 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const."]
10109 #[doc = ""]
10110 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10111 pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32;
10112 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const."]
10113 #[doc = ""]
10114 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10115 pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32;
10116 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const."]
10117 #[doc = ""]
10118 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10119 pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32;
10120 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const."]
10121 #[doc = ""]
10122 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10123 pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32;
10124 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const."]
10125 #[doc = ""]
10126 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10127 pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32;
10128 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const."]
10129 #[doc = ""]
10130 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10131 pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32;
10132 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const."]
10133 #[doc = ""]
10134 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10135 pub const INT_SAMPLER_2D: u32 = 36298u64 as u32;
10136 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const."]
10137 #[doc = ""]
10138 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10139 pub const INT_SAMPLER_3D: u32 = 36299u64 as u32;
10140 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const."]
10141 #[doc = ""]
10142 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10143 pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32;
10144 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const."]
10145 #[doc = ""]
10146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10147 pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32;
10148 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const."]
10149 #[doc = ""]
10150 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10151 pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32;
10152 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const."]
10153 #[doc = ""]
10154 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10155 pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32;
10156 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const."]
10157 #[doc = ""]
10158 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10159 pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32;
10160 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const."]
10161 #[doc = ""]
10162 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10163 pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32;
10164 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const."]
10165 #[doc = ""]
10166 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10167 pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32;
10168 #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const."]
10169 #[doc = ""]
10170 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10171 pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32;
10172 #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const."]
10173 #[doc = ""]
10174 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10175 pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32;
10176 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const."]
10177 #[doc = ""]
10178 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10179 pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32;
10180 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const."]
10181 #[doc = ""]
10182 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10183 pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32;
10184 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const."]
10185 #[doc = ""]
10186 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10187 pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32;
10188 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const."]
10189 #[doc = ""]
10190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10191 pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32;
10192 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const."]
10193 #[doc = ""]
10194 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10195 pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32;
10196 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const."]
10197 #[doc = ""]
10198 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10199 pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32;
10200 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const."]
10201 #[doc = ""]
10202 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10203 pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32;
10204 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const."]
10205 #[doc = ""]
10206 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10207 pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32;
10208 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const."]
10209 #[doc = ""]
10210 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10211 pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32;
10212 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const."]
10213 #[doc = ""]
10214 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10215 pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32;
10216 #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const."]
10217 #[doc = ""]
10218 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10219 pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32;
10220 #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const."]
10221 #[doc = ""]
10222 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10223 pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32;
10224 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const."]
10225 #[doc = ""]
10226 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10227 pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
10228 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const."]
10229 #[doc = ""]
10230 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10231 pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32;
10232 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const."]
10233 #[doc = ""]
10234 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10235 pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32;
10236 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const."]
10237 #[doc = ""]
10238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10239 pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32;
10240 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const."]
10241 #[doc = ""]
10242 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10243 pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32;
10244 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const."]
10245 #[doc = ""]
10246 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10247 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32;
10248 #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const."]
10249 #[doc = ""]
10250 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10251 pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32;
10252 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const."]
10253 #[doc = ""]
10254 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10255 pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32;
10256 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const."]
10257 #[doc = ""]
10258 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10259 pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32;
10260 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const."]
10261 #[doc = ""]
10262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10263 pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32;
10264 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const."]
10265 #[doc = ""]
10266 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10267 pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32;
10268 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const."]
10269 #[doc = ""]
10270 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10271 pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32;
10272 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const."]
10273 #[doc = ""]
10274 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10275 pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32;
10276 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const."]
10277 #[doc = ""]
10278 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10279 pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32;
10280 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const."]
10281 #[doc = ""]
10282 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10283 pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32;
10284 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const."]
10285 #[doc = ""]
10286 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10287 pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32;
10288 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const."]
10289 #[doc = ""]
10290 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10291 pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32;
10292 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const."]
10293 #[doc = ""]
10294 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10295 pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32;
10296 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const."]
10297 #[doc = ""]
10298 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10299 pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32;
10300 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const."]
10301 #[doc = ""]
10302 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10303 pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32;
10304 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const."]
10305 #[doc = ""]
10306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10307 pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32;
10308 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const."]
10309 #[doc = ""]
10310 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10311 pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32;
10312 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const."]
10313 #[doc = ""]
10314 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10315 pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32;
10316 #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const."]
10317 #[doc = ""]
10318 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10319 pub const MAX_SAMPLES: u32 = 36183u64 as u32;
10320 #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const."]
10321 #[doc = ""]
10322 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10323 pub const HALF_FLOAT: u32 = 5131u64 as u32;
10324 #[doc = "The `WebGL2RenderingContext.RG` const."]
10325 #[doc = ""]
10326 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10327 pub const RG: u32 = 33319u64 as u32;
10328 #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const."]
10329 #[doc = ""]
10330 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10331 pub const RG_INTEGER: u32 = 33320u64 as u32;
10332 #[doc = "The `WebGL2RenderingContext.R8` const."]
10333 #[doc = ""]
10334 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10335 pub const R8: u32 = 33321u64 as u32;
10336 #[doc = "The `WebGL2RenderingContext.RG8` const."]
10337 #[doc = ""]
10338 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10339 pub const RG8: u32 = 33323u64 as u32;
10340 #[doc = "The `WebGL2RenderingContext.R16F` const."]
10341 #[doc = ""]
10342 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10343 pub const R16F: u32 = 33325u64 as u32;
10344 #[doc = "The `WebGL2RenderingContext.R32F` const."]
10345 #[doc = ""]
10346 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10347 pub const R32F: u32 = 33326u64 as u32;
10348 #[doc = "The `WebGL2RenderingContext.RG16F` const."]
10349 #[doc = ""]
10350 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10351 pub const RG16F: u32 = 33327u64 as u32;
10352 #[doc = "The `WebGL2RenderingContext.RG32F` const."]
10353 #[doc = ""]
10354 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10355 pub const RG32F: u32 = 33328u64 as u32;
10356 #[doc = "The `WebGL2RenderingContext.R8I` const."]
10357 #[doc = ""]
10358 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10359 pub const R8I: u32 = 33329u64 as u32;
10360 #[doc = "The `WebGL2RenderingContext.R8UI` const."]
10361 #[doc = ""]
10362 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10363 pub const R8UI: u32 = 33330u64 as u32;
10364 #[doc = "The `WebGL2RenderingContext.R16I` const."]
10365 #[doc = ""]
10366 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10367 pub const R16I: u32 = 33331u64 as u32;
10368 #[doc = "The `WebGL2RenderingContext.R16UI` const."]
10369 #[doc = ""]
10370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10371 pub const R16UI: u32 = 33332u64 as u32;
10372 #[doc = "The `WebGL2RenderingContext.R32I` const."]
10373 #[doc = ""]
10374 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10375 pub const R32I: u32 = 33333u64 as u32;
10376 #[doc = "The `WebGL2RenderingContext.R32UI` const."]
10377 #[doc = ""]
10378 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10379 pub const R32UI: u32 = 33334u64 as u32;
10380 #[doc = "The `WebGL2RenderingContext.RG8I` const."]
10381 #[doc = ""]
10382 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10383 pub const RG8I: u32 = 33335u64 as u32;
10384 #[doc = "The `WebGL2RenderingContext.RG8UI` const."]
10385 #[doc = ""]
10386 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10387 pub const RG8UI: u32 = 33336u64 as u32;
10388 #[doc = "The `WebGL2RenderingContext.RG16I` const."]
10389 #[doc = ""]
10390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10391 pub const RG16I: u32 = 33337u64 as u32;
10392 #[doc = "The `WebGL2RenderingContext.RG16UI` const."]
10393 #[doc = ""]
10394 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10395 pub const RG16UI: u32 = 33338u64 as u32;
10396 #[doc = "The `WebGL2RenderingContext.RG32I` const."]
10397 #[doc = ""]
10398 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10399 pub const RG32I: u32 = 33339u64 as u32;
10400 #[doc = "The `WebGL2RenderingContext.RG32UI` const."]
10401 #[doc = ""]
10402 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10403 pub const RG32UI: u32 = 33340u64 as u32;
10404 #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const."]
10405 #[doc = ""]
10406 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10407 pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32;
10408 #[doc = "The `WebGL2RenderingContext.R8_SNORM` const."]
10409 #[doc = ""]
10410 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10411 pub const R8_SNORM: u32 = 36756u64 as u32;
10412 #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const."]
10413 #[doc = ""]
10414 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10415 pub const RG8_SNORM: u32 = 36757u64 as u32;
10416 #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const."]
10417 #[doc = ""]
10418 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10419 pub const RGB8_SNORM: u32 = 36758u64 as u32;
10420 #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const."]
10421 #[doc = ""]
10422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10423 pub const RGBA8_SNORM: u32 = 36759u64 as u32;
10424 #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const."]
10425 #[doc = ""]
10426 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10427 pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32;
10428 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const."]
10429 #[doc = ""]
10430 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10431 pub const COPY_READ_BUFFER: u32 = 36662u64 as u32;
10432 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const."]
10433 #[doc = ""]
10434 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10435 pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32;
10436 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const."]
10437 #[doc = ""]
10438 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10439 pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32;
10440 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const."]
10441 #[doc = ""]
10442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10443 pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32;
10444 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const."]
10445 #[doc = ""]
10446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10447 pub const UNIFORM_BUFFER: u32 = 35345u64 as u32;
10448 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const."]
10449 #[doc = ""]
10450 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10451 pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32;
10452 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const."]
10453 #[doc = ""]
10454 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10455 pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32;
10456 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const."]
10457 #[doc = ""]
10458 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10459 pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32;
10460 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const."]
10461 #[doc = ""]
10462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10463 pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32;
10464 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const."]
10465 #[doc = ""]
10466 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10467 pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32;
10468 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const."]
10469 #[doc = ""]
10470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10471 pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32;
10472 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const."]
10473 #[doc = ""]
10474 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10475 pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32;
10476 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const."]
10477 #[doc = ""]
10478 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10479 pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32;
10480 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const."]
10481 #[doc = ""]
10482 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10483 pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32;
10484 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const."]
10485 #[doc = ""]
10486 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10487 pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32;
10488 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const."]
10489 #[doc = ""]
10490 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10491 pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32;
10492 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const."]
10493 #[doc = ""]
10494 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10495 pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32;
10496 #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const."]
10497 #[doc = ""]
10498 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10499 pub const UNIFORM_TYPE: u32 = 35383u64 as u32;
10500 #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const."]
10501 #[doc = ""]
10502 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10503 pub const UNIFORM_SIZE: u32 = 35384u64 as u32;
10504 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const."]
10505 #[doc = ""]
10506 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10507 pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32;
10508 #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const."]
10509 #[doc = ""]
10510 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10511 pub const UNIFORM_OFFSET: u32 = 35387u64 as u32;
10512 #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const."]
10513 #[doc = ""]
10514 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10515 pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32;
10516 #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const."]
10517 #[doc = ""]
10518 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10519 pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32;
10520 #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const."]
10521 #[doc = ""]
10522 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10523 pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32;
10524 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const."]
10525 #[doc = ""]
10526 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10527 pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32;
10528 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const."]
10529 #[doc = ""]
10530 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10531 pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32;
10532 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const."]
10533 #[doc = ""]
10534 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10535 pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32;
10536 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const."]
10537 #[doc = ""]
10538 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10539 pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32;
10540 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const."]
10541 #[doc = ""]
10542 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10543 pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32;
10544 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const."]
10545 #[doc = ""]
10546 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10547 pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32;
10548 #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const."]
10549 #[doc = ""]
10550 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10551 pub const INVALID_INDEX: u32 = 4294967295u64 as u32;
10552 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const."]
10553 #[doc = ""]
10554 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10555 pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32;
10556 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const."]
10557 #[doc = ""]
10558 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10559 pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32;
10560 #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const."]
10561 #[doc = ""]
10562 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10563 pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32;
10564 #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const."]
10565 #[doc = ""]
10566 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10567 pub const OBJECT_TYPE: u32 = 37138u64 as u32;
10568 #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const."]
10569 #[doc = ""]
10570 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10571 pub const SYNC_CONDITION: u32 = 37139u64 as u32;
10572 #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const."]
10573 #[doc = ""]
10574 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10575 pub const SYNC_STATUS: u32 = 37140u64 as u32;
10576 #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const."]
10577 #[doc = ""]
10578 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10579 pub const SYNC_FLAGS: u32 = 37141u64 as u32;
10580 #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const."]
10581 #[doc = ""]
10582 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10583 pub const SYNC_FENCE: u32 = 37142u64 as u32;
10584 #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const."]
10585 #[doc = ""]
10586 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10587 pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32;
10588 #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const."]
10589 #[doc = ""]
10590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10591 pub const UNSIGNALED: u32 = 37144u64 as u32;
10592 #[doc = "The `WebGL2RenderingContext.SIGNALED` const."]
10593 #[doc = ""]
10594 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10595 pub const SIGNALED: u32 = 37145u64 as u32;
10596 #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const."]
10597 #[doc = ""]
10598 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10599 pub const ALREADY_SIGNALED: u32 = 37146u64 as u32;
10600 #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const."]
10601 #[doc = ""]
10602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10603 pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32;
10604 #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const."]
10605 #[doc = ""]
10606 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10607 pub const CONDITION_SATISFIED: u32 = 37148u64 as u32;
10608 #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const."]
10609 #[doc = ""]
10610 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10611 pub const WAIT_FAILED: u32 = 37149u64 as u32;
10612 #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const."]
10613 #[doc = ""]
10614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10615 pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32;
10616 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const."]
10617 #[doc = ""]
10618 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10619 pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32;
10620 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const."]
10621 #[doc = ""]
10622 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10623 pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32;
10624 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const."]
10625 #[doc = ""]
10626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10627 pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32;
10628 #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const."]
10629 #[doc = ""]
10630 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10631 pub const SAMPLER_BINDING: u32 = 35097u64 as u32;
10632 #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const."]
10633 #[doc = ""]
10634 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10635 pub const RGB10_A2UI: u32 = 36975u64 as u32;
10636 #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const."]
10637 #[doc = ""]
10638 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10639 pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32;
10640 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const."]
10641 #[doc = ""]
10642 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10643 pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32;
10644 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const."]
10645 #[doc = ""]
10646 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10647 pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32;
10648 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const."]
10649 #[doc = ""]
10650 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10651 pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32;
10652 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const."]
10653 #[doc = ""]
10654 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10655 pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32;
10656 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const."]
10657 #[doc = ""]
10658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10659 pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32;
10660 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const."]
10661 #[doc = ""]
10662 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10663 pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32;
10664 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const."]
10665 #[doc = ""]
10666 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10667 pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32;
10668 #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const."]
10669 #[doc = ""]
10670 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10671 pub const TIMEOUT_IGNORED: f64 = -1i64 as f64;
10672 #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const."]
10673 #[doc = ""]
10674 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10675 pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32;
10676 #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const."]
10677 #[doc = ""]
10678 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10679 pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
10680 #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const."]
10681 #[doc = ""]
10682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10683 pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
10684 #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const."]
10685 #[doc = ""]
10686 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10687 pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
10688 #[doc = "The `WebGL2RenderingContext.POINTS` const."]
10689 #[doc = ""]
10690 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10691 pub const POINTS: u32 = 0u64 as u32;
10692 #[doc = "The `WebGL2RenderingContext.LINES` const."]
10693 #[doc = ""]
10694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10695 pub const LINES: u32 = 1u64 as u32;
10696 #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const."]
10697 #[doc = ""]
10698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10699 pub const LINE_LOOP: u32 = 2u64 as u32;
10700 #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const."]
10701 #[doc = ""]
10702 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10703 pub const LINE_STRIP: u32 = 3u64 as u32;
10704 #[doc = "The `WebGL2RenderingContext.TRIANGLES` const."]
10705 #[doc = ""]
10706 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10707 pub const TRIANGLES: u32 = 4u64 as u32;
10708 #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const."]
10709 #[doc = ""]
10710 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10711 pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
10712 #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const."]
10713 #[doc = ""]
10714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10715 pub const TRIANGLE_FAN: u32 = 6u64 as u32;
10716 #[doc = "The `WebGL2RenderingContext.ZERO` const."]
10717 #[doc = ""]
10718 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10719 pub const ZERO: u32 = 0i64 as u32;
10720 #[doc = "The `WebGL2RenderingContext.ONE` const."]
10721 #[doc = ""]
10722 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10723 pub const ONE: u32 = 1u64 as u32;
10724 #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const."]
10725 #[doc = ""]
10726 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10727 pub const SRC_COLOR: u32 = 768u64 as u32;
10728 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const."]
10729 #[doc = ""]
10730 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10731 pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
10732 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const."]
10733 #[doc = ""]
10734 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10735 pub const SRC_ALPHA: u32 = 770u64 as u32;
10736 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const."]
10737 #[doc = ""]
10738 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10739 pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
10740 #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const."]
10741 #[doc = ""]
10742 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10743 pub const DST_ALPHA: u32 = 772u64 as u32;
10744 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const."]
10745 #[doc = ""]
10746 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10747 pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
10748 #[doc = "The `WebGL2RenderingContext.DST_COLOR` const."]
10749 #[doc = ""]
10750 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10751 pub const DST_COLOR: u32 = 774u64 as u32;
10752 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const."]
10753 #[doc = ""]
10754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10755 pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
10756 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const."]
10757 #[doc = ""]
10758 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10759 pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
10760 #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const."]
10761 #[doc = ""]
10762 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10763 pub const FUNC_ADD: u32 = 32774u64 as u32;
10764 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const."]
10765 #[doc = ""]
10766 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10767 pub const BLEND_EQUATION: u32 = 32777u64 as u32;
10768 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const."]
10769 #[doc = ""]
10770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10771 pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
10772 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const."]
10773 #[doc = ""]
10774 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10775 pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
10776 #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const."]
10777 #[doc = ""]
10778 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10779 pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
10780 #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const."]
10781 #[doc = ""]
10782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10783 pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
10784 #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const."]
10785 #[doc = ""]
10786 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10787 pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
10788 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const."]
10789 #[doc = ""]
10790 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10791 pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
10792 #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const."]
10793 #[doc = ""]
10794 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10795 pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
10796 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const."]
10797 #[doc = ""]
10798 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10799 pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
10800 #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const."]
10801 #[doc = ""]
10802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10803 pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
10804 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
10805 #[doc = ""]
10806 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10807 pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
10808 #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const."]
10809 #[doc = ""]
10810 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10811 pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
10812 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
10813 #[doc = ""]
10814 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10815 pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
10816 #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const."]
10817 #[doc = ""]
10818 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10819 pub const BLEND_COLOR: u32 = 32773u64 as u32;
10820 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const."]
10821 #[doc = ""]
10822 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10823 pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
10824 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const."]
10825 #[doc = ""]
10826 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10827 pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
10828 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const."]
10829 #[doc = ""]
10830 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10831 pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
10832 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
10833 #[doc = ""]
10834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10835 pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
10836 #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const."]
10837 #[doc = ""]
10838 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10839 pub const STREAM_DRAW: u32 = 35040u64 as u32;
10840 #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const."]
10841 #[doc = ""]
10842 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10843 pub const STATIC_DRAW: u32 = 35044u64 as u32;
10844 #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const."]
10845 #[doc = ""]
10846 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10847 pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
10848 #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const."]
10849 #[doc = ""]
10850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10851 pub const BUFFER_SIZE: u32 = 34660u64 as u32;
10852 #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const."]
10853 #[doc = ""]
10854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10855 pub const BUFFER_USAGE: u32 = 34661u64 as u32;
10856 #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const."]
10857 #[doc = ""]
10858 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10859 pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
10860 #[doc = "The `WebGL2RenderingContext.FRONT` const."]
10861 #[doc = ""]
10862 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10863 pub const FRONT: u32 = 1028u64 as u32;
10864 #[doc = "The `WebGL2RenderingContext.BACK` const."]
10865 #[doc = ""]
10866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10867 pub const BACK: u32 = 1029u64 as u32;
10868 #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const."]
10869 #[doc = ""]
10870 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10871 pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
10872 #[doc = "The `WebGL2RenderingContext.CULL_FACE` const."]
10873 #[doc = ""]
10874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10875 pub const CULL_FACE: u32 = 2884u64 as u32;
10876 #[doc = "The `WebGL2RenderingContext.BLEND` const."]
10877 #[doc = ""]
10878 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10879 pub const BLEND: u32 = 3042u64 as u32;
10880 #[doc = "The `WebGL2RenderingContext.DITHER` const."]
10881 #[doc = ""]
10882 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10883 pub const DITHER: u32 = 3024u64 as u32;
10884 #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const."]
10885 #[doc = ""]
10886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10887 pub const STENCIL_TEST: u32 = 2960u64 as u32;
10888 #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const."]
10889 #[doc = ""]
10890 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10891 pub const DEPTH_TEST: u32 = 2929u64 as u32;
10892 #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const."]
10893 #[doc = ""]
10894 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10895 pub const SCISSOR_TEST: u32 = 3089u64 as u32;
10896 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const."]
10897 #[doc = ""]
10898 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10899 pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
10900 #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
10901 #[doc = ""]
10902 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10903 pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
10904 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const."]
10905 #[doc = ""]
10906 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10907 pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
10908 #[doc = "The `WebGL2RenderingContext.NO_ERROR` const."]
10909 #[doc = ""]
10910 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10911 pub const NO_ERROR: u32 = 0i64 as u32;
10912 #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const."]
10913 #[doc = ""]
10914 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10915 pub const INVALID_ENUM: u32 = 1280u64 as u32;
10916 #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const."]
10917 #[doc = ""]
10918 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10919 pub const INVALID_VALUE: u32 = 1281u64 as u32;
10920 #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const."]
10921 #[doc = ""]
10922 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10923 pub const INVALID_OPERATION: u32 = 1282u64 as u32;
10924 #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const."]
10925 #[doc = ""]
10926 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10927 pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
10928 #[doc = "The `WebGL2RenderingContext.CW` const."]
10929 #[doc = ""]
10930 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10931 pub const CW: u32 = 2304u64 as u32;
10932 #[doc = "The `WebGL2RenderingContext.CCW` const."]
10933 #[doc = ""]
10934 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10935 pub const CCW: u32 = 2305u64 as u32;
10936 #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const."]
10937 #[doc = ""]
10938 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10939 pub const LINE_WIDTH: u32 = 2849u64 as u32;
10940 #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
10941 #[doc = ""]
10942 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10943 pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
10944 #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
10945 #[doc = ""]
10946 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10947 pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
10948 #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const."]
10949 #[doc = ""]
10950 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10951 pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
10952 #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const."]
10953 #[doc = ""]
10954 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10955 pub const FRONT_FACE: u32 = 2886u64 as u32;
10956 #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const."]
10957 #[doc = ""]
10958 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10959 pub const DEPTH_RANGE: u32 = 2928u64 as u32;
10960 #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const."]
10961 #[doc = ""]
10962 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10963 pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
10964 #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const."]
10965 #[doc = ""]
10966 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10967 pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
10968 #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const."]
10969 #[doc = ""]
10970 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10971 pub const DEPTH_FUNC: u32 = 2932u64 as u32;
10972 #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const."]
10973 #[doc = ""]
10974 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10975 pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
10976 #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const."]
10977 #[doc = ""]
10978 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10979 pub const STENCIL_FUNC: u32 = 2962u64 as u32;
10980 #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const."]
10981 #[doc = ""]
10982 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10983 pub const STENCIL_FAIL: u32 = 2964u64 as u32;
10984 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
10985 #[doc = ""]
10986 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10987 pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
10988 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
10989 #[doc = ""]
10990 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10991 pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
10992 #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const."]
10993 #[doc = ""]
10994 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10995 pub const STENCIL_REF: u32 = 2967u64 as u32;
10996 #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const."]
10997 #[doc = ""]
10998 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10999 pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
11000 #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const."]
11001 #[doc = ""]
11002 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11003 pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
11004 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const."]
11005 #[doc = ""]
11006 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11007 pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
11008 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const."]
11009 #[doc = ""]
11010 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11011 pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
11012 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
11013 #[doc = ""]
11014 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11015 pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
11016 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
11017 #[doc = ""]
11018 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11019 pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
11020 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const."]
11021 #[doc = ""]
11022 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11023 pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
11024 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const."]
11025 #[doc = ""]
11026 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11027 pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
11028 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const."]
11029 #[doc = ""]
11030 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11031 pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
11032 #[doc = "The `WebGL2RenderingContext.VIEWPORT` const."]
11033 #[doc = ""]
11034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11035 pub const VIEWPORT: u32 = 2978u64 as u32;
11036 #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const."]
11037 #[doc = ""]
11038 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11039 pub const SCISSOR_BOX: u32 = 3088u64 as u32;
11040 #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const."]
11041 #[doc = ""]
11042 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11043 pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
11044 #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const."]
11045 #[doc = ""]
11046 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11047 pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
11048 #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const."]
11049 #[doc = ""]
11050 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11051 pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
11052 #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const."]
11053 #[doc = ""]
11054 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11055 pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
11056 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const."]
11057 #[doc = ""]
11058 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11059 pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
11060 #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const."]
11061 #[doc = ""]
11062 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11063 pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
11064 #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const."]
11065 #[doc = ""]
11066 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11067 pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
11068 #[doc = "The `WebGL2RenderingContext.RED_BITS` const."]
11069 #[doc = ""]
11070 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11071 pub const RED_BITS: u32 = 3410u64 as u32;
11072 #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const."]
11073 #[doc = ""]
11074 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11075 pub const GREEN_BITS: u32 = 3411u64 as u32;
11076 #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const."]
11077 #[doc = ""]
11078 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11079 pub const BLUE_BITS: u32 = 3412u64 as u32;
11080 #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const."]
11081 #[doc = ""]
11082 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11083 pub const ALPHA_BITS: u32 = 3413u64 as u32;
11084 #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const."]
11085 #[doc = ""]
11086 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11087 pub const DEPTH_BITS: u32 = 3414u64 as u32;
11088 #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const."]
11089 #[doc = ""]
11090 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11091 pub const STENCIL_BITS: u32 = 3415u64 as u32;
11092 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const."]
11093 #[doc = ""]
11094 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11095 pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
11096 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const."]
11097 #[doc = ""]
11098 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11099 pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
11100 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const."]
11101 #[doc = ""]
11102 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11103 pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
11104 #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const."]
11105 #[doc = ""]
11106 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11107 pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
11108 #[doc = "The `WebGL2RenderingContext.SAMPLES` const."]
11109 #[doc = ""]
11110 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11111 pub const SAMPLES: u32 = 32937u64 as u32;
11112 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const."]
11113 #[doc = ""]
11114 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11115 pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
11116 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const."]
11117 #[doc = ""]
11118 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11119 pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
11120 #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
11121 #[doc = ""]
11122 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11123 pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
11124 #[doc = "The `WebGL2RenderingContext.DONT_CARE` const."]
11125 #[doc = ""]
11126 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11127 pub const DONT_CARE: u32 = 4352u64 as u32;
11128 #[doc = "The `WebGL2RenderingContext.FASTEST` const."]
11129 #[doc = ""]
11130 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11131 pub const FASTEST: u32 = 4353u64 as u32;
11132 #[doc = "The `WebGL2RenderingContext.NICEST` const."]
11133 #[doc = ""]
11134 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11135 pub const NICEST: u32 = 4354u64 as u32;
11136 #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const."]
11137 #[doc = ""]
11138 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11139 pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
11140 #[doc = "The `WebGL2RenderingContext.BYTE` const."]
11141 #[doc = ""]
11142 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11143 pub const BYTE: u32 = 5120u64 as u32;
11144 #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const."]
11145 #[doc = ""]
11146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11147 pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
11148 #[doc = "The `WebGL2RenderingContext.SHORT` const."]
11149 #[doc = ""]
11150 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11151 pub const SHORT: u32 = 5122u64 as u32;
11152 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const."]
11153 #[doc = ""]
11154 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11155 pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
11156 #[doc = "The `WebGL2RenderingContext.INT` const."]
11157 #[doc = ""]
11158 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11159 pub const INT: u32 = 5124u64 as u32;
11160 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const."]
11161 #[doc = ""]
11162 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11163 pub const UNSIGNED_INT: u32 = 5125u64 as u32;
11164 #[doc = "The `WebGL2RenderingContext.FLOAT` const."]
11165 #[doc = ""]
11166 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11167 pub const FLOAT: u32 = 5126u64 as u32;
11168 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const."]
11169 #[doc = ""]
11170 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11171 pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
11172 #[doc = "The `WebGL2RenderingContext.ALPHA` const."]
11173 #[doc = ""]
11174 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11175 pub const ALPHA: u32 = 6406u64 as u32;
11176 #[doc = "The `WebGL2RenderingContext.RGB` const."]
11177 #[doc = ""]
11178 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11179 pub const RGB: u32 = 6407u64 as u32;
11180 #[doc = "The `WebGL2RenderingContext.RGBA` const."]
11181 #[doc = ""]
11182 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11183 pub const RGBA: u32 = 6408u64 as u32;
11184 #[doc = "The `WebGL2RenderingContext.LUMINANCE` const."]
11185 #[doc = ""]
11186 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11187 pub const LUMINANCE: u32 = 6409u64 as u32;
11188 #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const."]
11189 #[doc = ""]
11190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11191 pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
11192 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
11193 #[doc = ""]
11194 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11195 pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
11196 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
11197 #[doc = ""]
11198 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11199 pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
11200 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const."]
11201 #[doc = ""]
11202 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11203 pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
11204 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const."]
11205 #[doc = ""]
11206 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11207 pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
11208 #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const."]
11209 #[doc = ""]
11210 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11211 pub const VERTEX_SHADER: u32 = 35633u64 as u32;
11212 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const."]
11213 #[doc = ""]
11214 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11215 pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
11216 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
11217 #[doc = ""]
11218 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11219 pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
11220 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const."]
11221 #[doc = ""]
11222 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11223 pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
11224 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
11225 #[doc = ""]
11226 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11227 pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
11228 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
11229 #[doc = ""]
11230 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11231 pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
11232 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
11233 #[doc = ""]
11234 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11235 pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
11236 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
11237 #[doc = ""]
11238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11239 pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
11240 #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const."]
11241 #[doc = ""]
11242 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11243 pub const SHADER_TYPE: u32 = 35663u64 as u32;
11244 #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const."]
11245 #[doc = ""]
11246 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11247 pub const DELETE_STATUS: u32 = 35712u64 as u32;
11248 #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const."]
11249 #[doc = ""]
11250 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11251 pub const LINK_STATUS: u32 = 35714u64 as u32;
11252 #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const."]
11253 #[doc = ""]
11254 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11255 pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
11256 #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const."]
11257 #[doc = ""]
11258 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11259 pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
11260 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const."]
11261 #[doc = ""]
11262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11263 pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
11264 #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const."]
11265 #[doc = ""]
11266 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11267 pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
11268 #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const."]
11269 #[doc = ""]
11270 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11271 pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
11272 #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const."]
11273 #[doc = ""]
11274 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11275 pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
11276 #[doc = "The `WebGL2RenderingContext.NEVER` const."]
11277 #[doc = ""]
11278 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11279 pub const NEVER: u32 = 512u64 as u32;
11280 #[doc = "The `WebGL2RenderingContext.LESS` const."]
11281 #[doc = ""]
11282 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11283 pub const LESS: u32 = 513u64 as u32;
11284 #[doc = "The `WebGL2RenderingContext.EQUAL` const."]
11285 #[doc = ""]
11286 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11287 pub const EQUAL: u32 = 514u64 as u32;
11288 #[doc = "The `WebGL2RenderingContext.LEQUAL` const."]
11289 #[doc = ""]
11290 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11291 pub const LEQUAL: u32 = 515u64 as u32;
11292 #[doc = "The `WebGL2RenderingContext.GREATER` const."]
11293 #[doc = ""]
11294 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11295 pub const GREATER: u32 = 516u64 as u32;
11296 #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const."]
11297 #[doc = ""]
11298 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11299 pub const NOTEQUAL: u32 = 517u64 as u32;
11300 #[doc = "The `WebGL2RenderingContext.GEQUAL` const."]
11301 #[doc = ""]
11302 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11303 pub const GEQUAL: u32 = 518u64 as u32;
11304 #[doc = "The `WebGL2RenderingContext.ALWAYS` const."]
11305 #[doc = ""]
11306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11307 pub const ALWAYS: u32 = 519u64 as u32;
11308 #[doc = "The `WebGL2RenderingContext.KEEP` const."]
11309 #[doc = ""]
11310 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11311 pub const KEEP: u32 = 7680u64 as u32;
11312 #[doc = "The `WebGL2RenderingContext.REPLACE` const."]
11313 #[doc = ""]
11314 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11315 pub const REPLACE: u32 = 7681u64 as u32;
11316 #[doc = "The `WebGL2RenderingContext.INCR` const."]
11317 #[doc = ""]
11318 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11319 pub const INCR: u32 = 7682u64 as u32;
11320 #[doc = "The `WebGL2RenderingContext.DECR` const."]
11321 #[doc = ""]
11322 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11323 pub const DECR: u32 = 7683u64 as u32;
11324 #[doc = "The `WebGL2RenderingContext.INVERT` const."]
11325 #[doc = ""]
11326 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11327 pub const INVERT: u32 = 5386u64 as u32;
11328 #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const."]
11329 #[doc = ""]
11330 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11331 pub const INCR_WRAP: u32 = 34055u64 as u32;
11332 #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const."]
11333 #[doc = ""]
11334 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11335 pub const DECR_WRAP: u32 = 34056u64 as u32;
11336 #[doc = "The `WebGL2RenderingContext.VENDOR` const."]
11337 #[doc = ""]
11338 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11339 pub const VENDOR: u32 = 7936u64 as u32;
11340 #[doc = "The `WebGL2RenderingContext.RENDERER` const."]
11341 #[doc = ""]
11342 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11343 pub const RENDERER: u32 = 7937u64 as u32;
11344 #[doc = "The `WebGL2RenderingContext.VERSION` const."]
11345 #[doc = ""]
11346 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11347 pub const VERSION: u32 = 7938u64 as u32;
11348 #[doc = "The `WebGL2RenderingContext.NEAREST` const."]
11349 #[doc = ""]
11350 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11351 pub const NEAREST: u32 = 9728u64 as u32;
11352 #[doc = "The `WebGL2RenderingContext.LINEAR` const."]
11353 #[doc = ""]
11354 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11355 pub const LINEAR: u32 = 9729u64 as u32;
11356 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const."]
11357 #[doc = ""]
11358 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11359 pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
11360 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const."]
11361 #[doc = ""]
11362 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11363 pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
11364 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const."]
11365 #[doc = ""]
11366 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11367 pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
11368 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const."]
11369 #[doc = ""]
11370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11371 pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
11372 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const."]
11373 #[doc = ""]
11374 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11375 pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
11376 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const."]
11377 #[doc = ""]
11378 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11379 pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
11380 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const."]
11381 #[doc = ""]
11382 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11383 pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
11384 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const."]
11385 #[doc = ""]
11386 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11387 pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
11388 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const."]
11389 #[doc = ""]
11390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11391 pub const TEXTURE_2D: u32 = 3553u64 as u32;
11392 #[doc = "The `WebGL2RenderingContext.TEXTURE` const."]
11393 #[doc = ""]
11394 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11395 pub const TEXTURE: u32 = 5890u64 as u32;
11396 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const."]
11397 #[doc = ""]
11398 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11399 pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
11400 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
11401 #[doc = ""]
11402 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11403 pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
11404 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
11405 #[doc = ""]
11406 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11407 pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
11408 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
11409 #[doc = ""]
11410 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11411 pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
11412 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
11413 #[doc = ""]
11414 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11415 pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
11416 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
11417 #[doc = ""]
11418 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11419 pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
11420 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
11421 #[doc = ""]
11422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11423 pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
11424 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
11425 #[doc = ""]
11426 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11427 pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
11428 #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
11429 #[doc = ""]
11430 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11431 pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
11432 #[doc = "The `WebGL2RenderingContext.TEXTURE0` const."]
11433 #[doc = ""]
11434 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11435 pub const TEXTURE0: u32 = 33984u64 as u32;
11436 #[doc = "The `WebGL2RenderingContext.TEXTURE1` const."]
11437 #[doc = ""]
11438 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11439 pub const TEXTURE1: u32 = 33985u64 as u32;
11440 #[doc = "The `WebGL2RenderingContext.TEXTURE2` const."]
11441 #[doc = ""]
11442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11443 pub const TEXTURE2: u32 = 33986u64 as u32;
11444 #[doc = "The `WebGL2RenderingContext.TEXTURE3` const."]
11445 #[doc = ""]
11446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11447 pub const TEXTURE3: u32 = 33987u64 as u32;
11448 #[doc = "The `WebGL2RenderingContext.TEXTURE4` const."]
11449 #[doc = ""]
11450 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11451 pub const TEXTURE4: u32 = 33988u64 as u32;
11452 #[doc = "The `WebGL2RenderingContext.TEXTURE5` const."]
11453 #[doc = ""]
11454 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11455 pub const TEXTURE5: u32 = 33989u64 as u32;
11456 #[doc = "The `WebGL2RenderingContext.TEXTURE6` const."]
11457 #[doc = ""]
11458 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11459 pub const TEXTURE6: u32 = 33990u64 as u32;
11460 #[doc = "The `WebGL2RenderingContext.TEXTURE7` const."]
11461 #[doc = ""]
11462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11463 pub const TEXTURE7: u32 = 33991u64 as u32;
11464 #[doc = "The `WebGL2RenderingContext.TEXTURE8` const."]
11465 #[doc = ""]
11466 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11467 pub const TEXTURE8: u32 = 33992u64 as u32;
11468 #[doc = "The `WebGL2RenderingContext.TEXTURE9` const."]
11469 #[doc = ""]
11470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11471 pub const TEXTURE9: u32 = 33993u64 as u32;
11472 #[doc = "The `WebGL2RenderingContext.TEXTURE10` const."]
11473 #[doc = ""]
11474 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11475 pub const TEXTURE10: u32 = 33994u64 as u32;
11476 #[doc = "The `WebGL2RenderingContext.TEXTURE11` const."]
11477 #[doc = ""]
11478 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11479 pub const TEXTURE11: u32 = 33995u64 as u32;
11480 #[doc = "The `WebGL2RenderingContext.TEXTURE12` const."]
11481 #[doc = ""]
11482 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11483 pub const TEXTURE12: u32 = 33996u64 as u32;
11484 #[doc = "The `WebGL2RenderingContext.TEXTURE13` const."]
11485 #[doc = ""]
11486 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11487 pub const TEXTURE13: u32 = 33997u64 as u32;
11488 #[doc = "The `WebGL2RenderingContext.TEXTURE14` const."]
11489 #[doc = ""]
11490 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11491 pub const TEXTURE14: u32 = 33998u64 as u32;
11492 #[doc = "The `WebGL2RenderingContext.TEXTURE15` const."]
11493 #[doc = ""]
11494 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11495 pub const TEXTURE15: u32 = 33999u64 as u32;
11496 #[doc = "The `WebGL2RenderingContext.TEXTURE16` const."]
11497 #[doc = ""]
11498 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11499 pub const TEXTURE16: u32 = 34000u64 as u32;
11500 #[doc = "The `WebGL2RenderingContext.TEXTURE17` const."]
11501 #[doc = ""]
11502 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11503 pub const TEXTURE17: u32 = 34001u64 as u32;
11504 #[doc = "The `WebGL2RenderingContext.TEXTURE18` const."]
11505 #[doc = ""]
11506 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11507 pub const TEXTURE18: u32 = 34002u64 as u32;
11508 #[doc = "The `WebGL2RenderingContext.TEXTURE19` const."]
11509 #[doc = ""]
11510 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11511 pub const TEXTURE19: u32 = 34003u64 as u32;
11512 #[doc = "The `WebGL2RenderingContext.TEXTURE20` const."]
11513 #[doc = ""]
11514 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11515 pub const TEXTURE20: u32 = 34004u64 as u32;
11516 #[doc = "The `WebGL2RenderingContext.TEXTURE21` const."]
11517 #[doc = ""]
11518 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11519 pub const TEXTURE21: u32 = 34005u64 as u32;
11520 #[doc = "The `WebGL2RenderingContext.TEXTURE22` const."]
11521 #[doc = ""]
11522 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11523 pub const TEXTURE22: u32 = 34006u64 as u32;
11524 #[doc = "The `WebGL2RenderingContext.TEXTURE23` const."]
11525 #[doc = ""]
11526 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11527 pub const TEXTURE23: u32 = 34007u64 as u32;
11528 #[doc = "The `WebGL2RenderingContext.TEXTURE24` const."]
11529 #[doc = ""]
11530 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11531 pub const TEXTURE24: u32 = 34008u64 as u32;
11532 #[doc = "The `WebGL2RenderingContext.TEXTURE25` const."]
11533 #[doc = ""]
11534 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11535 pub const TEXTURE25: u32 = 34009u64 as u32;
11536 #[doc = "The `WebGL2RenderingContext.TEXTURE26` const."]
11537 #[doc = ""]
11538 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11539 pub const TEXTURE26: u32 = 34010u64 as u32;
11540 #[doc = "The `WebGL2RenderingContext.TEXTURE27` const."]
11541 #[doc = ""]
11542 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11543 pub const TEXTURE27: u32 = 34011u64 as u32;
11544 #[doc = "The `WebGL2RenderingContext.TEXTURE28` const."]
11545 #[doc = ""]
11546 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11547 pub const TEXTURE28: u32 = 34012u64 as u32;
11548 #[doc = "The `WebGL2RenderingContext.TEXTURE29` const."]
11549 #[doc = ""]
11550 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11551 pub const TEXTURE29: u32 = 34013u64 as u32;
11552 #[doc = "The `WebGL2RenderingContext.TEXTURE30` const."]
11553 #[doc = ""]
11554 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11555 pub const TEXTURE30: u32 = 34014u64 as u32;
11556 #[doc = "The `WebGL2RenderingContext.TEXTURE31` const."]
11557 #[doc = ""]
11558 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11559 pub const TEXTURE31: u32 = 34015u64 as u32;
11560 #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const."]
11561 #[doc = ""]
11562 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11563 pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
11564 #[doc = "The `WebGL2RenderingContext.REPEAT` const."]
11565 #[doc = ""]
11566 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11567 pub const REPEAT: u32 = 10497u64 as u32;
11568 #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const."]
11569 #[doc = ""]
11570 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11571 pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
11572 #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const."]
11573 #[doc = ""]
11574 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11575 pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
11576 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const."]
11577 #[doc = ""]
11578 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11579 pub const FLOAT_VEC2: u32 = 35664u64 as u32;
11580 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const."]
11581 #[doc = ""]
11582 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11583 pub const FLOAT_VEC3: u32 = 35665u64 as u32;
11584 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const."]
11585 #[doc = ""]
11586 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11587 pub const FLOAT_VEC4: u32 = 35666u64 as u32;
11588 #[doc = "The `WebGL2RenderingContext.INT_VEC2` const."]
11589 #[doc = ""]
11590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11591 pub const INT_VEC2: u32 = 35667u64 as u32;
11592 #[doc = "The `WebGL2RenderingContext.INT_VEC3` const."]
11593 #[doc = ""]
11594 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11595 pub const INT_VEC3: u32 = 35668u64 as u32;
11596 #[doc = "The `WebGL2RenderingContext.INT_VEC4` const."]
11597 #[doc = ""]
11598 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11599 pub const INT_VEC4: u32 = 35669u64 as u32;
11600 #[doc = "The `WebGL2RenderingContext.BOOL` const."]
11601 #[doc = ""]
11602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11603 pub const BOOL: u32 = 35670u64 as u32;
11604 #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const."]
11605 #[doc = ""]
11606 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11607 pub const BOOL_VEC2: u32 = 35671u64 as u32;
11608 #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const."]
11609 #[doc = ""]
11610 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11611 pub const BOOL_VEC3: u32 = 35672u64 as u32;
11612 #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const."]
11613 #[doc = ""]
11614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11615 pub const BOOL_VEC4: u32 = 35673u64 as u32;
11616 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const."]
11617 #[doc = ""]
11618 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11619 pub const FLOAT_MAT2: u32 = 35674u64 as u32;
11620 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const."]
11621 #[doc = ""]
11622 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11623 pub const FLOAT_MAT3: u32 = 35675u64 as u32;
11624 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const."]
11625 #[doc = ""]
11626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11627 pub const FLOAT_MAT4: u32 = 35676u64 as u32;
11628 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const."]
11629 #[doc = ""]
11630 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11631 pub const SAMPLER_2D: u32 = 35678u64 as u32;
11632 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const."]
11633 #[doc = ""]
11634 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11635 pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
11636 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
11637 #[doc = ""]
11638 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11639 pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
11640 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
11641 #[doc = ""]
11642 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11643 pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
11644 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
11645 #[doc = ""]
11646 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11647 pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
11648 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
11649 #[doc = ""]
11650 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11651 pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
11652 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
11653 #[doc = ""]
11654 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11655 pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
11656 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
11657 #[doc = ""]
11658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11659 pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
11660 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
11661 #[doc = ""]
11662 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11663 pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
11664 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
11665 #[doc = ""]
11666 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11667 pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
11668 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
11669 #[doc = ""]
11670 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11671 pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
11672 #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const."]
11673 #[doc = ""]
11674 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11675 pub const COMPILE_STATUS: u32 = 35713u64 as u32;
11676 #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const."]
11677 #[doc = ""]
11678 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11679 pub const LOW_FLOAT: u32 = 36336u64 as u32;
11680 #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const."]
11681 #[doc = ""]
11682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11683 pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
11684 #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const."]
11685 #[doc = ""]
11686 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11687 pub const HIGH_FLOAT: u32 = 36338u64 as u32;
11688 #[doc = "The `WebGL2RenderingContext.LOW_INT` const."]
11689 #[doc = ""]
11690 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11691 pub const LOW_INT: u32 = 36339u64 as u32;
11692 #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const."]
11693 #[doc = ""]
11694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11695 pub const MEDIUM_INT: u32 = 36340u64 as u32;
11696 #[doc = "The `WebGL2RenderingContext.HIGH_INT` const."]
11697 #[doc = ""]
11698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11699 pub const HIGH_INT: u32 = 36341u64 as u32;
11700 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const."]
11701 #[doc = ""]
11702 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11703 pub const FRAMEBUFFER: u32 = 36160u64 as u32;
11704 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const."]
11705 #[doc = ""]
11706 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11707 pub const RENDERBUFFER: u32 = 36161u64 as u32;
11708 #[doc = "The `WebGL2RenderingContext.RGBA4` const."]
11709 #[doc = ""]
11710 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11711 pub const RGBA4: u32 = 32854u64 as u32;
11712 #[doc = "The `WebGL2RenderingContext.RGB5_A1` const."]
11713 #[doc = ""]
11714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11715 pub const RGB5_A1: u32 = 32855u64 as u32;
11716 #[doc = "The `WebGL2RenderingContext.RGB565` const."]
11717 #[doc = ""]
11718 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11719 pub const RGB565: u32 = 36194u64 as u32;
11720 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const."]
11721 #[doc = ""]
11722 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11723 pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
11724 #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const."]
11725 #[doc = ""]
11726 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11727 pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
11728 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const."]
11729 #[doc = ""]
11730 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11731 pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
11732 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const."]
11733 #[doc = ""]
11734 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11735 pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
11736 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const."]
11737 #[doc = ""]
11738 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11739 pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
11740 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
11741 #[doc = ""]
11742 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11743 pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
11744 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const."]
11745 #[doc = ""]
11746 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11747 pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
11748 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
11749 #[doc = ""]
11750 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11751 pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
11752 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
11753 #[doc = ""]
11754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11755 pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
11756 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
11757 #[doc = ""]
11758 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11759 pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
11760 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
11761 #[doc = ""]
11762 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11763 pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
11764 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
11765 #[doc = ""]
11766 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11767 pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
11768 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
11769 #[doc = ""]
11770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11771 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
11772 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
11773 #[doc = ""]
11774 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11775 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
11776 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
11777 #[doc = ""]
11778 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11779 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
11780 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
11781 #[doc = ""]
11782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11783 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
11784 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const."]
11785 #[doc = ""]
11786 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11787 pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
11788 #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const."]
11789 #[doc = ""]
11790 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11791 pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
11792 #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const."]
11793 #[doc = ""]
11794 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11795 pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
11796 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
11797 #[doc = ""]
11798 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11799 pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
11800 #[doc = "The `WebGL2RenderingContext.NONE` const."]
11801 #[doc = ""]
11802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11803 pub const NONE: u32 = 0i64 as u32;
11804 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const."]
11805 #[doc = ""]
11806 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11807 pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
11808 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
11809 #[doc = ""]
11810 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11811 pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
11812 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
11813 #[doc = ""]
11814 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11815 pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
11816 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
11817 #[doc = ""]
11818 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11819 pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
11820 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
11821 #[doc = ""]
11822 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11823 pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
11824 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const."]
11825 #[doc = ""]
11826 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11827 pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
11828 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const."]
11829 #[doc = ""]
11830 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11831 pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
11832 #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const."]
11833 #[doc = ""]
11834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11835 pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
11836 #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
11837 #[doc = ""]
11838 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11839 pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
11840 #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
11841 #[doc = ""]
11842 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11843 pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
11844 #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
11845 #[doc = ""]
11846 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11847 pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
11848 #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const."]
11849 #[doc = ""]
11850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11851 pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
11852 #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
11853 #[doc = ""]
11854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11855 pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
11856 #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const."]
11857 #[doc = ""]
11858 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11859 pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
11860}