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 = "VideoFrame")]
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: `VideoFrame`, `WebGl2RenderingContext`*"]
3306 pub fn tex_image_2d_with_u32_and_u32_and_video_frame(
3307 this: &WebGl2RenderingContext,
3308 target: u32,
3309 level: i32,
3310 internalformat: i32,
3311 format: u32,
3312 type_: u32,
3313 source: &VideoFrame,
3314 ) -> Result<(), JsValue>;
3315 #[cfg(feature = "ImageBitmap")]
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: `ImageBitmap`, `WebGl2RenderingContext`*"]
3327 pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
3328 this: &WebGl2RenderingContext,
3329 target: u32,
3330 level: i32,
3331 internalformat: i32,
3332 format: u32,
3333 type_: u32,
3334 source: &ImageBitmap,
3335 ) -> Result<(), JsValue>;
3336 #[cfg(feature = "ImageData")]
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: `ImageData`, `WebGl2RenderingContext`*"]
3348 pub fn tex_image_2d_with_u32_and_u32_and_image_data(
3349 this: &WebGl2RenderingContext,
3350 target: u32,
3351 level: i32,
3352 internalformat: i32,
3353 format: u32,
3354 type_: u32,
3355 source: &ImageData,
3356 ) -> Result<(), JsValue>;
3357 #[wasm_bindgen(
3358 catch,
3359 method,
3360 js_class = "WebGL2RenderingContext",
3361 js_name = "texImage2D"
3362 )]
3363 #[doc = "The `texImage2D()` method."]
3364 #[doc = ""]
3365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3366 #[doc = ""]
3367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3368 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32(
3369 this: &WebGl2RenderingContext,
3370 target: u32,
3371 level: i32,
3372 internalformat: i32,
3373 width: i32,
3374 height: i32,
3375 border: i32,
3376 format: u32,
3377 type_: u32,
3378 pbo_offset: i32,
3379 ) -> Result<(), JsValue>;
3380 #[wasm_bindgen(
3381 catch,
3382 method,
3383 js_class = "WebGL2RenderingContext",
3384 js_name = "texImage2D"
3385 )]
3386 #[doc = "The `texImage2D()` method."]
3387 #[doc = ""]
3388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3389 #[doc = ""]
3390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3391 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64(
3392 this: &WebGl2RenderingContext,
3393 target: u32,
3394 level: i32,
3395 internalformat: i32,
3396 width: i32,
3397 height: i32,
3398 border: i32,
3399 format: u32,
3400 type_: u32,
3401 pbo_offset: f64,
3402 ) -> Result<(), JsValue>;
3403 #[cfg(feature = "HtmlCanvasElement")]
3404 #[wasm_bindgen(
3405 catch,
3406 method,
3407 js_class = "WebGL2RenderingContext",
3408 js_name = "texImage2D"
3409 )]
3410 #[doc = "The `texImage2D()` method."]
3411 #[doc = ""]
3412 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3413 #[doc = ""]
3414 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3415 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element(
3416 this: &WebGl2RenderingContext,
3417 target: u32,
3418 level: i32,
3419 internalformat: i32,
3420 width: i32,
3421 height: i32,
3422 border: i32,
3423 format: u32,
3424 type_: u32,
3425 source: &HtmlCanvasElement,
3426 ) -> Result<(), JsValue>;
3427 #[cfg(feature = "HtmlImageElement")]
3428 #[wasm_bindgen(
3429 catch,
3430 method,
3431 js_class = "WebGL2RenderingContext",
3432 js_name = "texImage2D"
3433 )]
3434 #[doc = "The `texImage2D()` method."]
3435 #[doc = ""]
3436 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3437 #[doc = ""]
3438 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3439 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element(
3440 this: &WebGl2RenderingContext,
3441 target: u32,
3442 level: i32,
3443 internalformat: i32,
3444 width: i32,
3445 height: i32,
3446 border: i32,
3447 format: u32,
3448 type_: u32,
3449 source: &HtmlImageElement,
3450 ) -> Result<(), JsValue>;
3451 #[cfg(feature = "HtmlVideoElement")]
3452 #[wasm_bindgen(
3453 catch,
3454 method,
3455 js_class = "WebGL2RenderingContext",
3456 js_name = "texImage2D"
3457 )]
3458 #[doc = "The `texImage2D()` method."]
3459 #[doc = ""]
3460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3461 #[doc = ""]
3462 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3463 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element(
3464 this: &WebGl2RenderingContext,
3465 target: u32,
3466 level: i32,
3467 internalformat: i32,
3468 width: i32,
3469 height: i32,
3470 border: i32,
3471 format: u32,
3472 type_: u32,
3473 source: &HtmlVideoElement,
3474 ) -> Result<(), JsValue>;
3475 #[cfg(feature = "VideoFrame")]
3476 #[wasm_bindgen(
3477 catch,
3478 method,
3479 js_class = "WebGL2RenderingContext",
3480 js_name = "texImage2D"
3481 )]
3482 #[doc = "The `texImage2D()` method."]
3483 #[doc = ""]
3484 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3485 #[doc = ""]
3486 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3487 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_video_frame(
3488 this: &WebGl2RenderingContext,
3489 target: u32,
3490 level: i32,
3491 internalformat: i32,
3492 width: i32,
3493 height: i32,
3494 border: i32,
3495 format: u32,
3496 type_: u32,
3497 source: &VideoFrame,
3498 ) -> Result<(), JsValue>;
3499 #[cfg(feature = "ImageBitmap")]
3500 #[wasm_bindgen(
3501 catch,
3502 method,
3503 js_class = "WebGL2RenderingContext",
3504 js_name = "texImage2D"
3505 )]
3506 #[doc = "The `texImage2D()` method."]
3507 #[doc = ""]
3508 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3509 #[doc = ""]
3510 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3511 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap(
3512 this: &WebGl2RenderingContext,
3513 target: u32,
3514 level: i32,
3515 internalformat: i32,
3516 width: i32,
3517 height: i32,
3518 border: i32,
3519 format: u32,
3520 type_: u32,
3521 source: &ImageBitmap,
3522 ) -> Result<(), JsValue>;
3523 #[cfg(feature = "ImageData")]
3524 #[wasm_bindgen(
3525 catch,
3526 method,
3527 js_class = "WebGL2RenderingContext",
3528 js_name = "texImage2D"
3529 )]
3530 #[doc = "The `texImage2D()` method."]
3531 #[doc = ""]
3532 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3533 #[doc = ""]
3534 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3535 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data(
3536 this: &WebGl2RenderingContext,
3537 target: u32,
3538 level: i32,
3539 internalformat: i32,
3540 width: i32,
3541 height: i32,
3542 border: i32,
3543 format: u32,
3544 type_: u32,
3545 source: &ImageData,
3546 ) -> Result<(), JsValue>;
3547 #[wasm_bindgen(
3548 catch,
3549 method,
3550 js_class = "WebGL2RenderingContext",
3551 js_name = "texImage2D"
3552 )]
3553 #[doc = "The `texImage2D()` method."]
3554 #[doc = ""]
3555 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3556 #[doc = ""]
3557 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3558 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset(
3559 this: &WebGl2RenderingContext,
3560 target: u32,
3561 level: i32,
3562 internalformat: i32,
3563 width: i32,
3564 height: i32,
3565 border: i32,
3566 format: u32,
3567 type_: u32,
3568 src_data: &::js_sys::Object,
3569 src_offset: u32,
3570 ) -> Result<(), JsValue>;
3571 #[wasm_bindgen(
3572 catch,
3573 method,
3574 js_class = "WebGL2RenderingContext",
3575 js_name = "texImage2D"
3576 )]
3577 #[doc = "The `texImage2D()` method."]
3578 #[doc = ""]
3579 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3580 #[doc = ""]
3581 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3582 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset(
3583 this: &WebGl2RenderingContext,
3584 target: u32,
3585 level: i32,
3586 internalformat: i32,
3587 width: i32,
3588 height: i32,
3589 border: i32,
3590 format: u32,
3591 type_: u32,
3592 src_data: &[u8],
3593 src_offset: u32,
3594 ) -> Result<(), JsValue>;
3595 #[wasm_bindgen(
3596 catch,
3597 method,
3598 js_class = "WebGL2RenderingContext",
3599 js_name = "texImage2D"
3600 )]
3601 #[doc = "The `texImage2D()` method."]
3602 #[doc = ""]
3603 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
3604 #[doc = ""]
3605 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3606 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset(
3607 this: &WebGl2RenderingContext,
3608 target: u32,
3609 level: i32,
3610 internalformat: i32,
3611 width: i32,
3612 height: i32,
3613 border: i32,
3614 format: u32,
3615 type_: u32,
3616 src_data: &::js_sys::Uint8Array,
3617 src_offset: u32,
3618 ) -> Result<(), JsValue>;
3619 #[wasm_bindgen(
3620 catch,
3621 method,
3622 js_class = "WebGL2RenderingContext",
3623 js_name = "texImage3D"
3624 )]
3625 #[doc = "The `texImage3D()` method."]
3626 #[doc = ""]
3627 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3628 #[doc = ""]
3629 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3630 pub fn tex_image_3d_with_i32(
3631 this: &WebGl2RenderingContext,
3632 target: u32,
3633 level: i32,
3634 internalformat: i32,
3635 width: i32,
3636 height: i32,
3637 depth: i32,
3638 border: i32,
3639 format: u32,
3640 type_: u32,
3641 pbo_offset: i32,
3642 ) -> Result<(), JsValue>;
3643 #[wasm_bindgen(
3644 catch,
3645 method,
3646 js_class = "WebGL2RenderingContext",
3647 js_name = "texImage3D"
3648 )]
3649 #[doc = "The `texImage3D()` method."]
3650 #[doc = ""]
3651 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3652 #[doc = ""]
3653 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3654 pub fn tex_image_3d_with_f64(
3655 this: &WebGl2RenderingContext,
3656 target: u32,
3657 level: i32,
3658 internalformat: i32,
3659 width: i32,
3660 height: i32,
3661 depth: i32,
3662 border: i32,
3663 format: u32,
3664 type_: u32,
3665 pbo_offset: f64,
3666 ) -> Result<(), JsValue>;
3667 #[cfg(feature = "HtmlCanvasElement")]
3668 #[wasm_bindgen(
3669 catch,
3670 method,
3671 js_class = "WebGL2RenderingContext",
3672 js_name = "texImage3D"
3673 )]
3674 #[doc = "The `texImage3D()` method."]
3675 #[doc = ""]
3676 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3677 #[doc = ""]
3678 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3679 pub fn tex_image_3d_with_html_canvas_element(
3680 this: &WebGl2RenderingContext,
3681 target: u32,
3682 level: i32,
3683 internalformat: i32,
3684 width: i32,
3685 height: i32,
3686 depth: i32,
3687 border: i32,
3688 format: u32,
3689 type_: u32,
3690 source: &HtmlCanvasElement,
3691 ) -> Result<(), JsValue>;
3692 #[cfg(feature = "HtmlImageElement")]
3693 #[wasm_bindgen(
3694 catch,
3695 method,
3696 js_class = "WebGL2RenderingContext",
3697 js_name = "texImage3D"
3698 )]
3699 #[doc = "The `texImage3D()` method."]
3700 #[doc = ""]
3701 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3702 #[doc = ""]
3703 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3704 pub fn tex_image_3d_with_html_image_element(
3705 this: &WebGl2RenderingContext,
3706 target: u32,
3707 level: i32,
3708 internalformat: i32,
3709 width: i32,
3710 height: i32,
3711 depth: i32,
3712 border: i32,
3713 format: u32,
3714 type_: u32,
3715 source: &HtmlImageElement,
3716 ) -> Result<(), JsValue>;
3717 #[cfg(feature = "HtmlVideoElement")]
3718 #[wasm_bindgen(
3719 catch,
3720 method,
3721 js_class = "WebGL2RenderingContext",
3722 js_name = "texImage3D"
3723 )]
3724 #[doc = "The `texImage3D()` method."]
3725 #[doc = ""]
3726 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3727 #[doc = ""]
3728 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3729 pub fn tex_image_3d_with_html_video_element(
3730 this: &WebGl2RenderingContext,
3731 target: u32,
3732 level: i32,
3733 internalformat: i32,
3734 width: i32,
3735 height: i32,
3736 depth: i32,
3737 border: i32,
3738 format: u32,
3739 type_: u32,
3740 source: &HtmlVideoElement,
3741 ) -> Result<(), JsValue>;
3742 #[cfg(feature = "VideoFrame")]
3743 #[wasm_bindgen(
3744 catch,
3745 method,
3746 js_class = "WebGL2RenderingContext",
3747 js_name = "texImage3D"
3748 )]
3749 #[doc = "The `texImage3D()` method."]
3750 #[doc = ""]
3751 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3752 #[doc = ""]
3753 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3754 pub fn tex_image_3d_with_video_frame(
3755 this: &WebGl2RenderingContext,
3756 target: u32,
3757 level: i32,
3758 internalformat: i32,
3759 width: i32,
3760 height: i32,
3761 depth: i32,
3762 border: i32,
3763 format: u32,
3764 type_: u32,
3765 source: &VideoFrame,
3766 ) -> Result<(), JsValue>;
3767 #[cfg(feature = "ImageBitmap")]
3768 #[wasm_bindgen(
3769 catch,
3770 method,
3771 js_class = "WebGL2RenderingContext",
3772 js_name = "texImage3D"
3773 )]
3774 #[doc = "The `texImage3D()` method."]
3775 #[doc = ""]
3776 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3777 #[doc = ""]
3778 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3779 pub fn tex_image_3d_with_image_bitmap(
3780 this: &WebGl2RenderingContext,
3781 target: u32,
3782 level: i32,
3783 internalformat: i32,
3784 width: i32,
3785 height: i32,
3786 depth: i32,
3787 border: i32,
3788 format: u32,
3789 type_: u32,
3790 source: &ImageBitmap,
3791 ) -> Result<(), JsValue>;
3792 #[cfg(feature = "ImageData")]
3793 #[wasm_bindgen(
3794 catch,
3795 method,
3796 js_class = "WebGL2RenderingContext",
3797 js_name = "texImage3D"
3798 )]
3799 #[doc = "The `texImage3D()` method."]
3800 #[doc = ""]
3801 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3802 #[doc = ""]
3803 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3804 pub fn tex_image_3d_with_image_data(
3805 this: &WebGl2RenderingContext,
3806 target: u32,
3807 level: i32,
3808 internalformat: i32,
3809 width: i32,
3810 height: i32,
3811 depth: i32,
3812 border: i32,
3813 format: u32,
3814 type_: u32,
3815 source: &ImageData,
3816 ) -> Result<(), JsValue>;
3817 #[wasm_bindgen(
3818 catch,
3819 method,
3820 js_class = "WebGL2RenderingContext",
3821 js_name = "texImage3D"
3822 )]
3823 #[doc = "The `texImage3D()` method."]
3824 #[doc = ""]
3825 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3826 #[doc = ""]
3827 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3828 pub fn tex_image_3d_with_opt_array_buffer_view(
3829 this: &WebGl2RenderingContext,
3830 target: u32,
3831 level: i32,
3832 internalformat: i32,
3833 width: i32,
3834 height: i32,
3835 depth: i32,
3836 border: i32,
3837 format: u32,
3838 type_: u32,
3839 src_data: Option<&::js_sys::Object>,
3840 ) -> Result<(), JsValue>;
3841 #[wasm_bindgen(
3842 catch,
3843 method,
3844 js_class = "WebGL2RenderingContext",
3845 js_name = "texImage3D"
3846 )]
3847 #[doc = "The `texImage3D()` method."]
3848 #[doc = ""]
3849 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3850 #[doc = ""]
3851 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3852 pub fn tex_image_3d_with_opt_u8_array(
3853 this: &WebGl2RenderingContext,
3854 target: u32,
3855 level: i32,
3856 internalformat: i32,
3857 width: i32,
3858 height: i32,
3859 depth: i32,
3860 border: i32,
3861 format: u32,
3862 type_: u32,
3863 src_data: Option<&[u8]>,
3864 ) -> Result<(), JsValue>;
3865 #[wasm_bindgen(
3866 catch,
3867 method,
3868 js_class = "WebGL2RenderingContext",
3869 js_name = "texImage3D"
3870 )]
3871 #[doc = "The `texImage3D()` method."]
3872 #[doc = ""]
3873 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3874 #[doc = ""]
3875 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3876 pub fn tex_image_3d_with_opt_js_u8_array(
3877 this: &WebGl2RenderingContext,
3878 target: u32,
3879 level: i32,
3880 internalformat: i32,
3881 width: i32,
3882 height: i32,
3883 depth: i32,
3884 border: i32,
3885 format: u32,
3886 type_: u32,
3887 src_data: Option<&::js_sys::Uint8Array>,
3888 ) -> Result<(), JsValue>;
3889 #[wasm_bindgen(
3890 catch,
3891 method,
3892 js_class = "WebGL2RenderingContext",
3893 js_name = "texImage3D"
3894 )]
3895 #[doc = "The `texImage3D()` method."]
3896 #[doc = ""]
3897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3898 #[doc = ""]
3899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3900 pub fn tex_image_3d_with_array_buffer_view_and_src_offset(
3901 this: &WebGl2RenderingContext,
3902 target: u32,
3903 level: i32,
3904 internalformat: i32,
3905 width: i32,
3906 height: i32,
3907 depth: i32,
3908 border: i32,
3909 format: u32,
3910 type_: u32,
3911 src_data: &::js_sys::Object,
3912 src_offset: u32,
3913 ) -> Result<(), JsValue>;
3914 #[wasm_bindgen(
3915 catch,
3916 method,
3917 js_class = "WebGL2RenderingContext",
3918 js_name = "texImage3D"
3919 )]
3920 #[doc = "The `texImage3D()` method."]
3921 #[doc = ""]
3922 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3923 #[doc = ""]
3924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3925 pub fn tex_image_3d_with_u8_array_and_src_offset(
3926 this: &WebGl2RenderingContext,
3927 target: u32,
3928 level: i32,
3929 internalformat: i32,
3930 width: i32,
3931 height: i32,
3932 depth: i32,
3933 border: i32,
3934 format: u32,
3935 type_: u32,
3936 src_data: &[u8],
3937 src_offset: u32,
3938 ) -> Result<(), JsValue>;
3939 #[wasm_bindgen(
3940 catch,
3941 method,
3942 js_class = "WebGL2RenderingContext",
3943 js_name = "texImage3D"
3944 )]
3945 #[doc = "The `texImage3D()` method."]
3946 #[doc = ""]
3947 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3948 #[doc = ""]
3949 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3950 pub fn tex_image_3d_with_js_u8_array_and_src_offset(
3951 this: &WebGl2RenderingContext,
3952 target: u32,
3953 level: i32,
3954 internalformat: i32,
3955 width: i32,
3956 height: i32,
3957 depth: i32,
3958 border: i32,
3959 format: u32,
3960 type_: u32,
3961 src_data: &::js_sys::Uint8Array,
3962 src_offset: u32,
3963 ) -> Result<(), JsValue>;
3964 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texStorage2D")]
3965 #[doc = "The `texStorage2D()` method."]
3966 #[doc = ""]
3967 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)"]
3968 #[doc = ""]
3969 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3970 pub fn tex_storage_2d(
3971 this: &WebGl2RenderingContext,
3972 target: u32,
3973 levels: i32,
3974 internalformat: u32,
3975 width: i32,
3976 height: i32,
3977 );
3978 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texStorage3D")]
3979 #[doc = "The `texStorage3D()` method."]
3980 #[doc = ""]
3981 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)"]
3982 #[doc = ""]
3983 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3984 pub fn tex_storage_3d(
3985 this: &WebGl2RenderingContext,
3986 target: u32,
3987 levels: i32,
3988 internalformat: u32,
3989 width: i32,
3990 height: i32,
3991 depth: i32,
3992 );
3993 #[wasm_bindgen(
3994 catch,
3995 method,
3996 js_class = "WebGL2RenderingContext",
3997 js_name = "texSubImage2D"
3998 )]
3999 #[doc = "The `texSubImage2D()` method."]
4000 #[doc = ""]
4001 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4002 #[doc = ""]
4003 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4004 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
4005 this: &WebGl2RenderingContext,
4006 target: u32,
4007 level: i32,
4008 xoffset: i32,
4009 yoffset: i32,
4010 width: i32,
4011 height: i32,
4012 format: u32,
4013 type_: u32,
4014 pixels: Option<&::js_sys::Object>,
4015 ) -> Result<(), JsValue>;
4016 #[wasm_bindgen(
4017 catch,
4018 method,
4019 js_class = "WebGL2RenderingContext",
4020 js_name = "texSubImage2D"
4021 )]
4022 #[doc = "The `texSubImage2D()` method."]
4023 #[doc = ""]
4024 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4025 #[doc = ""]
4026 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4027 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
4028 this: &WebGl2RenderingContext,
4029 target: u32,
4030 level: i32,
4031 xoffset: i32,
4032 yoffset: i32,
4033 width: i32,
4034 height: i32,
4035 format: u32,
4036 type_: u32,
4037 pixels: Option<&[u8]>,
4038 ) -> Result<(), JsValue>;
4039 #[wasm_bindgen(
4040 catch,
4041 method,
4042 js_class = "WebGL2RenderingContext",
4043 js_name = "texSubImage2D"
4044 )]
4045 #[doc = "The `texSubImage2D()` method."]
4046 #[doc = ""]
4047 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4048 #[doc = ""]
4049 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4050 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array(
4051 this: &WebGl2RenderingContext,
4052 target: u32,
4053 level: i32,
4054 xoffset: i32,
4055 yoffset: i32,
4056 width: i32,
4057 height: i32,
4058 format: u32,
4059 type_: u32,
4060 pixels: Option<&::js_sys::Uint8Array>,
4061 ) -> Result<(), JsValue>;
4062 #[cfg(feature = "HtmlCanvasElement")]
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: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
4074 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element(
4075 this: &WebGl2RenderingContext,
4076 target: u32,
4077 level: i32,
4078 xoffset: i32,
4079 yoffset: i32,
4080 format: u32,
4081 type_: u32,
4082 source: &HtmlCanvasElement,
4083 ) -> Result<(), JsValue>;
4084 #[cfg(feature = "HtmlImageElement")]
4085 #[wasm_bindgen(
4086 catch,
4087 method,
4088 js_class = "WebGL2RenderingContext",
4089 js_name = "texSubImage2D"
4090 )]
4091 #[doc = "The `texSubImage2D()` method."]
4092 #[doc = ""]
4093 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4094 #[doc = ""]
4095 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
4096 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element(
4097 this: &WebGl2RenderingContext,
4098 target: u32,
4099 level: i32,
4100 xoffset: i32,
4101 yoffset: i32,
4102 format: u32,
4103 type_: u32,
4104 source: &HtmlImageElement,
4105 ) -> Result<(), JsValue>;
4106 #[cfg(feature = "HtmlVideoElement")]
4107 #[wasm_bindgen(
4108 catch,
4109 method,
4110 js_class = "WebGL2RenderingContext",
4111 js_name = "texSubImage2D"
4112 )]
4113 #[doc = "The `texSubImage2D()` method."]
4114 #[doc = ""]
4115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4116 #[doc = ""]
4117 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
4118 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element(
4119 this: &WebGl2RenderingContext,
4120 target: u32,
4121 level: i32,
4122 xoffset: i32,
4123 yoffset: i32,
4124 format: u32,
4125 type_: u32,
4126 source: &HtmlVideoElement,
4127 ) -> Result<(), JsValue>;
4128 #[cfg(feature = "VideoFrame")]
4129 #[wasm_bindgen(
4130 catch,
4131 method,
4132 js_class = "WebGL2RenderingContext",
4133 js_name = "texSubImage2D"
4134 )]
4135 #[doc = "The `texSubImage2D()` method."]
4136 #[doc = ""]
4137 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4138 #[doc = ""]
4139 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
4140 pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame(
4141 this: &WebGl2RenderingContext,
4142 target: u32,
4143 level: i32,
4144 xoffset: i32,
4145 yoffset: i32,
4146 format: u32,
4147 type_: u32,
4148 source: &VideoFrame,
4149 ) -> Result<(), JsValue>;
4150 #[cfg(feature = "ImageBitmap")]
4151 #[wasm_bindgen(
4152 catch,
4153 method,
4154 js_class = "WebGL2RenderingContext",
4155 js_name = "texSubImage2D"
4156 )]
4157 #[doc = "The `texSubImage2D()` method."]
4158 #[doc = ""]
4159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4160 #[doc = ""]
4161 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
4162 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
4163 this: &WebGl2RenderingContext,
4164 target: u32,
4165 level: i32,
4166 xoffset: i32,
4167 yoffset: i32,
4168 format: u32,
4169 type_: u32,
4170 source: &ImageBitmap,
4171 ) -> Result<(), JsValue>;
4172 #[cfg(feature = "ImageData")]
4173 #[wasm_bindgen(
4174 catch,
4175 method,
4176 js_class = "WebGL2RenderingContext",
4177 js_name = "texSubImage2D"
4178 )]
4179 #[doc = "The `texSubImage2D()` method."]
4180 #[doc = ""]
4181 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4182 #[doc = ""]
4183 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
4184 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
4185 this: &WebGl2RenderingContext,
4186 target: u32,
4187 level: i32,
4188 xoffset: i32,
4189 yoffset: i32,
4190 format: u32,
4191 type_: u32,
4192 source: &ImageData,
4193 ) -> Result<(), JsValue>;
4194 #[wasm_bindgen(
4195 catch,
4196 method,
4197 js_class = "WebGL2RenderingContext",
4198 js_name = "texSubImage2D"
4199 )]
4200 #[doc = "The `texSubImage2D()` method."]
4201 #[doc = ""]
4202 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4203 #[doc = ""]
4204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4205 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32(
4206 this: &WebGl2RenderingContext,
4207 target: u32,
4208 level: i32,
4209 xoffset: i32,
4210 yoffset: i32,
4211 width: i32,
4212 height: i32,
4213 format: u32,
4214 type_: u32,
4215 pbo_offset: i32,
4216 ) -> Result<(), JsValue>;
4217 #[wasm_bindgen(
4218 catch,
4219 method,
4220 js_class = "WebGL2RenderingContext",
4221 js_name = "texSubImage2D"
4222 )]
4223 #[doc = "The `texSubImage2D()` method."]
4224 #[doc = ""]
4225 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4226 #[doc = ""]
4227 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4228 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64(
4229 this: &WebGl2RenderingContext,
4230 target: u32,
4231 level: i32,
4232 xoffset: i32,
4233 yoffset: i32,
4234 width: i32,
4235 height: i32,
4236 format: u32,
4237 type_: u32,
4238 pbo_offset: f64,
4239 ) -> Result<(), JsValue>;
4240 #[cfg(feature = "HtmlCanvasElement")]
4241 #[wasm_bindgen(
4242 catch,
4243 method,
4244 js_class = "WebGL2RenderingContext",
4245 js_name = "texSubImage2D"
4246 )]
4247 #[doc = "The `texSubImage2D()` method."]
4248 #[doc = ""]
4249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4250 #[doc = ""]
4251 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
4252 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element(
4253 this: &WebGl2RenderingContext,
4254 target: u32,
4255 level: i32,
4256 xoffset: i32,
4257 yoffset: i32,
4258 width: i32,
4259 height: i32,
4260 format: u32,
4261 type_: u32,
4262 source: &HtmlCanvasElement,
4263 ) -> Result<(), JsValue>;
4264 #[cfg(feature = "HtmlImageElement")]
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: `HtmlImageElement`, `WebGl2RenderingContext`*"]
4276 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element(
4277 this: &WebGl2RenderingContext,
4278 target: u32,
4279 level: i32,
4280 xoffset: i32,
4281 yoffset: i32,
4282 width: i32,
4283 height: i32,
4284 format: u32,
4285 type_: u32,
4286 source: &HtmlImageElement,
4287 ) -> Result<(), JsValue>;
4288 #[cfg(feature = "HtmlVideoElement")]
4289 #[wasm_bindgen(
4290 catch,
4291 method,
4292 js_class = "WebGL2RenderingContext",
4293 js_name = "texSubImage2D"
4294 )]
4295 #[doc = "The `texSubImage2D()` method."]
4296 #[doc = ""]
4297 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4298 #[doc = ""]
4299 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
4300 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element(
4301 this: &WebGl2RenderingContext,
4302 target: u32,
4303 level: i32,
4304 xoffset: i32,
4305 yoffset: i32,
4306 width: i32,
4307 height: i32,
4308 format: u32,
4309 type_: u32,
4310 source: &HtmlVideoElement,
4311 ) -> Result<(), JsValue>;
4312 #[cfg(feature = "VideoFrame")]
4313 #[wasm_bindgen(
4314 catch,
4315 method,
4316 js_class = "WebGL2RenderingContext",
4317 js_name = "texSubImage2D"
4318 )]
4319 #[doc = "The `texSubImage2D()` method."]
4320 #[doc = ""]
4321 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4322 #[doc = ""]
4323 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
4324 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_video_frame(
4325 this: &WebGl2RenderingContext,
4326 target: u32,
4327 level: i32,
4328 xoffset: i32,
4329 yoffset: i32,
4330 width: i32,
4331 height: i32,
4332 format: u32,
4333 type_: u32,
4334 source: &VideoFrame,
4335 ) -> Result<(), JsValue>;
4336 #[cfg(feature = "ImageBitmap")]
4337 #[wasm_bindgen(
4338 catch,
4339 method,
4340 js_class = "WebGL2RenderingContext",
4341 js_name = "texSubImage2D"
4342 )]
4343 #[doc = "The `texSubImage2D()` method."]
4344 #[doc = ""]
4345 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4346 #[doc = ""]
4347 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
4348 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap(
4349 this: &WebGl2RenderingContext,
4350 target: u32,
4351 level: i32,
4352 xoffset: i32,
4353 yoffset: i32,
4354 width: i32,
4355 height: i32,
4356 format: u32,
4357 type_: u32,
4358 source: &ImageBitmap,
4359 ) -> Result<(), JsValue>;
4360 #[cfg(feature = "ImageData")]
4361 #[wasm_bindgen(
4362 catch,
4363 method,
4364 js_class = "WebGL2RenderingContext",
4365 js_name = "texSubImage2D"
4366 )]
4367 #[doc = "The `texSubImage2D()` method."]
4368 #[doc = ""]
4369 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4370 #[doc = ""]
4371 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
4372 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data(
4373 this: &WebGl2RenderingContext,
4374 target: u32,
4375 level: i32,
4376 xoffset: i32,
4377 yoffset: i32,
4378 width: i32,
4379 height: i32,
4380 format: u32,
4381 type_: u32,
4382 source: &ImageData,
4383 ) -> Result<(), JsValue>;
4384 #[wasm_bindgen(
4385 catch,
4386 method,
4387 js_class = "WebGL2RenderingContext",
4388 js_name = "texSubImage2D"
4389 )]
4390 #[doc = "The `texSubImage2D()` method."]
4391 #[doc = ""]
4392 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4393 #[doc = ""]
4394 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4395 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset(
4396 this: &WebGl2RenderingContext,
4397 target: u32,
4398 level: i32,
4399 xoffset: i32,
4400 yoffset: i32,
4401 width: i32,
4402 height: i32,
4403 format: u32,
4404 type_: u32,
4405 src_data: &::js_sys::Object,
4406 src_offset: u32,
4407 ) -> Result<(), JsValue>;
4408 #[wasm_bindgen(
4409 catch,
4410 method,
4411 js_class = "WebGL2RenderingContext",
4412 js_name = "texSubImage2D"
4413 )]
4414 #[doc = "The `texSubImage2D()` method."]
4415 #[doc = ""]
4416 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4417 #[doc = ""]
4418 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4419 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset(
4420 this: &WebGl2RenderingContext,
4421 target: u32,
4422 level: i32,
4423 xoffset: i32,
4424 yoffset: i32,
4425 width: i32,
4426 height: i32,
4427 format: u32,
4428 type_: u32,
4429 src_data: &[u8],
4430 src_offset: u32,
4431 ) -> Result<(), JsValue>;
4432 #[wasm_bindgen(
4433 catch,
4434 method,
4435 js_class = "WebGL2RenderingContext",
4436 js_name = "texSubImage2D"
4437 )]
4438 #[doc = "The `texSubImage2D()` method."]
4439 #[doc = ""]
4440 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
4441 #[doc = ""]
4442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4443 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset(
4444 this: &WebGl2RenderingContext,
4445 target: u32,
4446 level: i32,
4447 xoffset: i32,
4448 yoffset: i32,
4449 width: i32,
4450 height: i32,
4451 format: u32,
4452 type_: u32,
4453 src_data: &::js_sys::Uint8Array,
4454 src_offset: u32,
4455 ) -> Result<(), JsValue>;
4456 #[wasm_bindgen(
4457 catch,
4458 method,
4459 js_class = "WebGL2RenderingContext",
4460 js_name = "texSubImage3D"
4461 )]
4462 #[doc = "The `texSubImage3D()` method."]
4463 #[doc = ""]
4464 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4465 #[doc = ""]
4466 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4467 pub fn tex_sub_image_3d_with_i32(
4468 this: &WebGl2RenderingContext,
4469 target: u32,
4470 level: i32,
4471 xoffset: i32,
4472 yoffset: i32,
4473 zoffset: i32,
4474 width: i32,
4475 height: i32,
4476 depth: i32,
4477 format: u32,
4478 type_: u32,
4479 pbo_offset: i32,
4480 ) -> Result<(), JsValue>;
4481 #[wasm_bindgen(
4482 catch,
4483 method,
4484 js_class = "WebGL2RenderingContext",
4485 js_name = "texSubImage3D"
4486 )]
4487 #[doc = "The `texSubImage3D()` method."]
4488 #[doc = ""]
4489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4490 #[doc = ""]
4491 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4492 pub fn tex_sub_image_3d_with_f64(
4493 this: &WebGl2RenderingContext,
4494 target: u32,
4495 level: i32,
4496 xoffset: i32,
4497 yoffset: i32,
4498 zoffset: i32,
4499 width: i32,
4500 height: i32,
4501 depth: i32,
4502 format: u32,
4503 type_: u32,
4504 pbo_offset: f64,
4505 ) -> Result<(), JsValue>;
4506 #[cfg(feature = "HtmlCanvasElement")]
4507 #[wasm_bindgen(
4508 catch,
4509 method,
4510 js_class = "WebGL2RenderingContext",
4511 js_name = "texSubImage3D"
4512 )]
4513 #[doc = "The `texSubImage3D()` method."]
4514 #[doc = ""]
4515 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4516 #[doc = ""]
4517 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
4518 pub fn tex_sub_image_3d_with_html_canvas_element(
4519 this: &WebGl2RenderingContext,
4520 target: u32,
4521 level: i32,
4522 xoffset: i32,
4523 yoffset: i32,
4524 zoffset: i32,
4525 width: i32,
4526 height: i32,
4527 depth: i32,
4528 format: u32,
4529 type_: u32,
4530 source: &HtmlCanvasElement,
4531 ) -> Result<(), JsValue>;
4532 #[cfg(feature = "HtmlImageElement")]
4533 #[wasm_bindgen(
4534 catch,
4535 method,
4536 js_class = "WebGL2RenderingContext",
4537 js_name = "texSubImage3D"
4538 )]
4539 #[doc = "The `texSubImage3D()` method."]
4540 #[doc = ""]
4541 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4542 #[doc = ""]
4543 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
4544 pub fn tex_sub_image_3d_with_html_image_element(
4545 this: &WebGl2RenderingContext,
4546 target: u32,
4547 level: i32,
4548 xoffset: i32,
4549 yoffset: i32,
4550 zoffset: i32,
4551 width: i32,
4552 height: i32,
4553 depth: i32,
4554 format: u32,
4555 type_: u32,
4556 source: &HtmlImageElement,
4557 ) -> Result<(), JsValue>;
4558 #[cfg(feature = "HtmlVideoElement")]
4559 #[wasm_bindgen(
4560 catch,
4561 method,
4562 js_class = "WebGL2RenderingContext",
4563 js_name = "texSubImage3D"
4564 )]
4565 #[doc = "The `texSubImage3D()` method."]
4566 #[doc = ""]
4567 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4568 #[doc = ""]
4569 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
4570 pub fn tex_sub_image_3d_with_html_video_element(
4571 this: &WebGl2RenderingContext,
4572 target: u32,
4573 level: i32,
4574 xoffset: i32,
4575 yoffset: i32,
4576 zoffset: i32,
4577 width: i32,
4578 height: i32,
4579 depth: i32,
4580 format: u32,
4581 type_: u32,
4582 source: &HtmlVideoElement,
4583 ) -> Result<(), JsValue>;
4584 #[cfg(feature = "VideoFrame")]
4585 #[wasm_bindgen(
4586 catch,
4587 method,
4588 js_class = "WebGL2RenderingContext",
4589 js_name = "texSubImage3D"
4590 )]
4591 #[doc = "The `texSubImage3D()` method."]
4592 #[doc = ""]
4593 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4594 #[doc = ""]
4595 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
4596 pub fn tex_sub_image_3d_with_video_frame(
4597 this: &WebGl2RenderingContext,
4598 target: u32,
4599 level: i32,
4600 xoffset: i32,
4601 yoffset: i32,
4602 zoffset: i32,
4603 width: i32,
4604 height: i32,
4605 depth: i32,
4606 format: u32,
4607 type_: u32,
4608 source: &VideoFrame,
4609 ) -> Result<(), JsValue>;
4610 #[cfg(feature = "ImageBitmap")]
4611 #[wasm_bindgen(
4612 catch,
4613 method,
4614 js_class = "WebGL2RenderingContext",
4615 js_name = "texSubImage3D"
4616 )]
4617 #[doc = "The `texSubImage3D()` method."]
4618 #[doc = ""]
4619 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4620 #[doc = ""]
4621 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
4622 pub fn tex_sub_image_3d_with_image_bitmap(
4623 this: &WebGl2RenderingContext,
4624 target: u32,
4625 level: i32,
4626 xoffset: i32,
4627 yoffset: i32,
4628 zoffset: i32,
4629 width: i32,
4630 height: i32,
4631 depth: i32,
4632 format: u32,
4633 type_: u32,
4634 source: &ImageBitmap,
4635 ) -> Result<(), JsValue>;
4636 #[cfg(feature = "ImageData")]
4637 #[wasm_bindgen(
4638 catch,
4639 method,
4640 js_class = "WebGL2RenderingContext",
4641 js_name = "texSubImage3D"
4642 )]
4643 #[doc = "The `texSubImage3D()` method."]
4644 #[doc = ""]
4645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4646 #[doc = ""]
4647 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
4648 pub fn tex_sub_image_3d_with_image_data(
4649 this: &WebGl2RenderingContext,
4650 target: u32,
4651 level: i32,
4652 xoffset: i32,
4653 yoffset: i32,
4654 zoffset: i32,
4655 width: i32,
4656 height: i32,
4657 depth: i32,
4658 format: u32,
4659 type_: u32,
4660 source: &ImageData,
4661 ) -> Result<(), JsValue>;
4662 #[wasm_bindgen(
4663 catch,
4664 method,
4665 js_class = "WebGL2RenderingContext",
4666 js_name = "texSubImage3D"
4667 )]
4668 #[doc = "The `texSubImage3D()` method."]
4669 #[doc = ""]
4670 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4671 #[doc = ""]
4672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4673 pub fn tex_sub_image_3d_with_opt_array_buffer_view(
4674 this: &WebGl2RenderingContext,
4675 target: u32,
4676 level: i32,
4677 xoffset: i32,
4678 yoffset: i32,
4679 zoffset: i32,
4680 width: i32,
4681 height: i32,
4682 depth: i32,
4683 format: u32,
4684 type_: u32,
4685 src_data: Option<&::js_sys::Object>,
4686 ) -> Result<(), JsValue>;
4687 #[wasm_bindgen(
4688 catch,
4689 method,
4690 js_class = "WebGL2RenderingContext",
4691 js_name = "texSubImage3D"
4692 )]
4693 #[doc = "The `texSubImage3D()` method."]
4694 #[doc = ""]
4695 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4696 #[doc = ""]
4697 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4698 pub fn tex_sub_image_3d_with_opt_u8_array(
4699 this: &WebGl2RenderingContext,
4700 target: u32,
4701 level: i32,
4702 xoffset: i32,
4703 yoffset: i32,
4704 zoffset: i32,
4705 width: i32,
4706 height: i32,
4707 depth: i32,
4708 format: u32,
4709 type_: u32,
4710 src_data: Option<&[u8]>,
4711 ) -> Result<(), JsValue>;
4712 #[wasm_bindgen(
4713 catch,
4714 method,
4715 js_class = "WebGL2RenderingContext",
4716 js_name = "texSubImage3D"
4717 )]
4718 #[doc = "The `texSubImage3D()` method."]
4719 #[doc = ""]
4720 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4721 #[doc = ""]
4722 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4723 pub fn tex_sub_image_3d_with_opt_js_u8_array(
4724 this: &WebGl2RenderingContext,
4725 target: u32,
4726 level: i32,
4727 xoffset: i32,
4728 yoffset: i32,
4729 zoffset: i32,
4730 width: i32,
4731 height: i32,
4732 depth: i32,
4733 format: u32,
4734 type_: u32,
4735 src_data: Option<&::js_sys::Uint8Array>,
4736 ) -> Result<(), JsValue>;
4737 #[wasm_bindgen(
4738 catch,
4739 method,
4740 js_class = "WebGL2RenderingContext",
4741 js_name = "texSubImage3D"
4742 )]
4743 #[doc = "The `texSubImage3D()` method."]
4744 #[doc = ""]
4745 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4746 #[doc = ""]
4747 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4748 pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset(
4749 this: &WebGl2RenderingContext,
4750 target: u32,
4751 level: i32,
4752 xoffset: i32,
4753 yoffset: i32,
4754 zoffset: i32,
4755 width: i32,
4756 height: i32,
4757 depth: i32,
4758 format: u32,
4759 type_: u32,
4760 src_data: Option<&::js_sys::Object>,
4761 src_offset: u32,
4762 ) -> Result<(), JsValue>;
4763 #[wasm_bindgen(
4764 catch,
4765 method,
4766 js_class = "WebGL2RenderingContext",
4767 js_name = "texSubImage3D"
4768 )]
4769 #[doc = "The `texSubImage3D()` method."]
4770 #[doc = ""]
4771 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4772 #[doc = ""]
4773 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4774 pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset(
4775 this: &WebGl2RenderingContext,
4776 target: u32,
4777 level: i32,
4778 xoffset: i32,
4779 yoffset: i32,
4780 zoffset: i32,
4781 width: i32,
4782 height: i32,
4783 depth: i32,
4784 format: u32,
4785 type_: u32,
4786 src_data: Option<&[u8]>,
4787 src_offset: u32,
4788 ) -> Result<(), JsValue>;
4789 #[wasm_bindgen(
4790 catch,
4791 method,
4792 js_class = "WebGL2RenderingContext",
4793 js_name = "texSubImage3D"
4794 )]
4795 #[doc = "The `texSubImage3D()` method."]
4796 #[doc = ""]
4797 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
4798 #[doc = ""]
4799 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
4800 pub fn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset(
4801 this: &WebGl2RenderingContext,
4802 target: u32,
4803 level: i32,
4804 xoffset: i32,
4805 yoffset: i32,
4806 zoffset: i32,
4807 width: i32,
4808 height: i32,
4809 depth: i32,
4810 format: u32,
4811 type_: u32,
4812 src_data: Option<&::js_sys::Uint8Array>,
4813 src_offset: u32,
4814 ) -> Result<(), JsValue>;
4815 #[cfg(feature = "WebGlProgram")]
4816 #[wasm_bindgen(
4817 method,
4818 js_class = "WebGL2RenderingContext",
4819 js_name = "transformFeedbackVaryings"
4820 )]
4821 #[doc = "The `transformFeedbackVaryings()` method."]
4822 #[doc = ""]
4823 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)"]
4824 #[doc = ""]
4825 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
4826 pub fn transform_feedback_varyings(
4827 this: &WebGl2RenderingContext,
4828 program: &WebGlProgram,
4829 varyings: &::wasm_bindgen::JsValue,
4830 buffer_mode: u32,
4831 );
4832 #[cfg(feature = "WebGlUniformLocation")]
4833 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4834 #[doc = "The `uniform1fv()` method."]
4835 #[doc = ""]
4836 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4837 #[doc = ""]
4838 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4839 pub fn uniform1fv_with_f32_array(
4840 this: &WebGl2RenderingContext,
4841 location: Option<&WebGlUniformLocation>,
4842 data: &[f32],
4843 );
4844 #[cfg(feature = "WebGlUniformLocation")]
4845 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4846 #[doc = "The `uniform1fv()` method."]
4847 #[doc = ""]
4848 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4849 #[doc = ""]
4850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4851 pub fn uniform1fv_with_js_f32_array(
4852 this: &WebGl2RenderingContext,
4853 location: Option<&WebGlUniformLocation>,
4854 data: &::js_sys::Float32Array,
4855 );
4856 #[cfg(feature = "WebGlUniformLocation")]
4857 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4858 #[doc = "The `uniform1fv()` method."]
4859 #[doc = ""]
4860 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4861 #[doc = ""]
4862 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4863 pub fn uniform1fv_with_f32_sequence(
4864 this: &WebGl2RenderingContext,
4865 location: Option<&WebGlUniformLocation>,
4866 data: &::wasm_bindgen::JsValue,
4867 );
4868 #[cfg(feature = "WebGlUniformLocation")]
4869 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4870 #[doc = "The `uniform1fv()` method."]
4871 #[doc = ""]
4872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4873 #[doc = ""]
4874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4875 pub fn uniform1fv_with_f32_array_and_src_offset(
4876 this: &WebGl2RenderingContext,
4877 location: Option<&WebGlUniformLocation>,
4878 data: &[f32],
4879 src_offset: u32,
4880 );
4881 #[cfg(feature = "WebGlUniformLocation")]
4882 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4883 #[doc = "The `uniform1fv()` method."]
4884 #[doc = ""]
4885 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4886 #[doc = ""]
4887 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4888 pub fn uniform1fv_with_js_f32_array_and_src_offset(
4889 this: &WebGl2RenderingContext,
4890 location: Option<&WebGlUniformLocation>,
4891 data: &::js_sys::Float32Array,
4892 src_offset: u32,
4893 );
4894 #[cfg(feature = "WebGlUniformLocation")]
4895 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4896 #[doc = "The `uniform1fv()` method."]
4897 #[doc = ""]
4898 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4899 #[doc = ""]
4900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4901 pub fn uniform1fv_with_f32_sequence_and_src_offset(
4902 this: &WebGl2RenderingContext,
4903 location: Option<&WebGlUniformLocation>,
4904 data: &::wasm_bindgen::JsValue,
4905 src_offset: u32,
4906 );
4907 #[cfg(feature = "WebGlUniformLocation")]
4908 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4909 #[doc = "The `uniform1fv()` method."]
4910 #[doc = ""]
4911 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4912 #[doc = ""]
4913 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4914 pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length(
4915 this: &WebGl2RenderingContext,
4916 location: Option<&WebGlUniformLocation>,
4917 data: &[f32],
4918 src_offset: u32,
4919 src_length: u32,
4920 );
4921 #[cfg(feature = "WebGlUniformLocation")]
4922 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4923 #[doc = "The `uniform1fv()` method."]
4924 #[doc = ""]
4925 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4926 #[doc = ""]
4927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4928 pub fn uniform1fv_with_js_f32_array_and_src_offset_and_src_length(
4929 this: &WebGl2RenderingContext,
4930 location: Option<&WebGlUniformLocation>,
4931 data: &::js_sys::Float32Array,
4932 src_offset: u32,
4933 src_length: u32,
4934 );
4935 #[cfg(feature = "WebGlUniformLocation")]
4936 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1fv")]
4937 #[doc = "The `uniform1fv()` method."]
4938 #[doc = ""]
4939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4940 #[doc = ""]
4941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4942 pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length(
4943 this: &WebGl2RenderingContext,
4944 location: Option<&WebGlUniformLocation>,
4945 data: &::wasm_bindgen::JsValue,
4946 src_offset: u32,
4947 src_length: u32,
4948 );
4949 #[cfg(feature = "WebGlUniformLocation")]
4950 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
4951 #[doc = "The `uniform1iv()` method."]
4952 #[doc = ""]
4953 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4954 #[doc = ""]
4955 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4956 pub fn uniform1iv_with_i32_array(
4957 this: &WebGl2RenderingContext,
4958 location: Option<&WebGlUniformLocation>,
4959 data: &[i32],
4960 );
4961 #[cfg(feature = "WebGlUniformLocation")]
4962 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
4963 #[doc = "The `uniform1iv()` method."]
4964 #[doc = ""]
4965 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4966 #[doc = ""]
4967 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4968 pub fn uniform1iv_with_js_i32_array(
4969 this: &WebGl2RenderingContext,
4970 location: Option<&WebGlUniformLocation>,
4971 data: &::js_sys::Int32Array,
4972 );
4973 #[cfg(feature = "WebGlUniformLocation")]
4974 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
4975 #[doc = "The `uniform1iv()` method."]
4976 #[doc = ""]
4977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4978 #[doc = ""]
4979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4980 pub fn uniform1iv_with_i32_sequence(
4981 this: &WebGl2RenderingContext,
4982 location: Option<&WebGlUniformLocation>,
4983 data: &::wasm_bindgen::JsValue,
4984 );
4985 #[cfg(feature = "WebGlUniformLocation")]
4986 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
4987 #[doc = "The `uniform1iv()` method."]
4988 #[doc = ""]
4989 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4990 #[doc = ""]
4991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4992 pub fn uniform1iv_with_i32_array_and_src_offset(
4993 this: &WebGl2RenderingContext,
4994 location: Option<&WebGlUniformLocation>,
4995 data: &[i32],
4996 src_offset: u32,
4997 );
4998 #[cfg(feature = "WebGlUniformLocation")]
4999 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5000 #[doc = "The `uniform1iv()` method."]
5001 #[doc = ""]
5002 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5003 #[doc = ""]
5004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5005 pub fn uniform1iv_with_js_i32_array_and_src_offset(
5006 this: &WebGl2RenderingContext,
5007 location: Option<&WebGlUniformLocation>,
5008 data: &::js_sys::Int32Array,
5009 src_offset: u32,
5010 );
5011 #[cfg(feature = "WebGlUniformLocation")]
5012 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5013 #[doc = "The `uniform1iv()` method."]
5014 #[doc = ""]
5015 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5016 #[doc = ""]
5017 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5018 pub fn uniform1iv_with_i32_sequence_and_src_offset(
5019 this: &WebGl2RenderingContext,
5020 location: Option<&WebGlUniformLocation>,
5021 data: &::wasm_bindgen::JsValue,
5022 src_offset: u32,
5023 );
5024 #[cfg(feature = "WebGlUniformLocation")]
5025 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5026 #[doc = "The `uniform1iv()` method."]
5027 #[doc = ""]
5028 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5029 #[doc = ""]
5030 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5031 pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length(
5032 this: &WebGl2RenderingContext,
5033 location: Option<&WebGlUniformLocation>,
5034 data: &[i32],
5035 src_offset: u32,
5036 src_length: u32,
5037 );
5038 #[cfg(feature = "WebGlUniformLocation")]
5039 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5040 #[doc = "The `uniform1iv()` method."]
5041 #[doc = ""]
5042 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5043 #[doc = ""]
5044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5045 pub fn uniform1iv_with_js_i32_array_and_src_offset_and_src_length(
5046 this: &WebGl2RenderingContext,
5047 location: Option<&WebGlUniformLocation>,
5048 data: &::js_sys::Int32Array,
5049 src_offset: u32,
5050 src_length: u32,
5051 );
5052 #[cfg(feature = "WebGlUniformLocation")]
5053 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1iv")]
5054 #[doc = "The `uniform1iv()` method."]
5055 #[doc = ""]
5056 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
5057 #[doc = ""]
5058 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5059 pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length(
5060 this: &WebGl2RenderingContext,
5061 location: Option<&WebGlUniformLocation>,
5062 data: &::wasm_bindgen::JsValue,
5063 src_offset: u32,
5064 src_length: u32,
5065 );
5066 #[cfg(feature = "WebGlUniformLocation")]
5067 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
5068 #[doc = "The `uniform1ui()` method."]
5069 #[doc = ""]
5070 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)"]
5071 #[doc = ""]
5072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5073 pub fn uniform1ui(
5074 this: &WebGl2RenderingContext,
5075 location: Option<&WebGlUniformLocation>,
5076 v0: u32,
5077 );
5078 #[cfg(feature = "WebGlUniformLocation")]
5079 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5080 #[doc = "The `uniform1uiv()` method."]
5081 #[doc = ""]
5082 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5083 #[doc = ""]
5084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5085 pub fn uniform1uiv_with_u32_array(
5086 this: &WebGl2RenderingContext,
5087 location: Option<&WebGlUniformLocation>,
5088 data: &[u32],
5089 );
5090 #[cfg(feature = "WebGlUniformLocation")]
5091 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5092 #[doc = "The `uniform1uiv()` method."]
5093 #[doc = ""]
5094 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5095 #[doc = ""]
5096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5097 pub fn uniform1uiv_with_js_u32_array(
5098 this: &WebGl2RenderingContext,
5099 location: Option<&WebGlUniformLocation>,
5100 data: &::js_sys::Uint32Array,
5101 );
5102 #[cfg(feature = "WebGlUniformLocation")]
5103 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5104 #[doc = "The `uniform1uiv()` method."]
5105 #[doc = ""]
5106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5107 #[doc = ""]
5108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5109 pub fn uniform1uiv_with_u32_sequence(
5110 this: &WebGl2RenderingContext,
5111 location: Option<&WebGlUniformLocation>,
5112 data: &::wasm_bindgen::JsValue,
5113 );
5114 #[cfg(feature = "WebGlUniformLocation")]
5115 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5116 #[doc = "The `uniform1uiv()` method."]
5117 #[doc = ""]
5118 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5119 #[doc = ""]
5120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5121 pub fn uniform1uiv_with_u32_array_and_src_offset(
5122 this: &WebGl2RenderingContext,
5123 location: Option<&WebGlUniformLocation>,
5124 data: &[u32],
5125 src_offset: u32,
5126 );
5127 #[cfg(feature = "WebGlUniformLocation")]
5128 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5129 #[doc = "The `uniform1uiv()` method."]
5130 #[doc = ""]
5131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5132 #[doc = ""]
5133 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5134 pub fn uniform1uiv_with_js_u32_array_and_src_offset(
5135 this: &WebGl2RenderingContext,
5136 location: Option<&WebGlUniformLocation>,
5137 data: &::js_sys::Uint32Array,
5138 src_offset: u32,
5139 );
5140 #[cfg(feature = "WebGlUniformLocation")]
5141 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5142 #[doc = "The `uniform1uiv()` method."]
5143 #[doc = ""]
5144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5145 #[doc = ""]
5146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5147 pub fn uniform1uiv_with_u32_sequence_and_src_offset(
5148 this: &WebGl2RenderingContext,
5149 location: Option<&WebGlUniformLocation>,
5150 data: &::wasm_bindgen::JsValue,
5151 src_offset: u32,
5152 );
5153 #[cfg(feature = "WebGlUniformLocation")]
5154 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5155 #[doc = "The `uniform1uiv()` method."]
5156 #[doc = ""]
5157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5158 #[doc = ""]
5159 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5160 pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length(
5161 this: &WebGl2RenderingContext,
5162 location: Option<&WebGlUniformLocation>,
5163 data: &[u32],
5164 src_offset: u32,
5165 src_length: u32,
5166 );
5167 #[cfg(feature = "WebGlUniformLocation")]
5168 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5169 #[doc = "The `uniform1uiv()` method."]
5170 #[doc = ""]
5171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5172 #[doc = ""]
5173 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5174 pub fn uniform1uiv_with_js_u32_array_and_src_offset_and_src_length(
5175 this: &WebGl2RenderingContext,
5176 location: Option<&WebGlUniformLocation>,
5177 data: &::js_sys::Uint32Array,
5178 src_offset: u32,
5179 src_length: u32,
5180 );
5181 #[cfg(feature = "WebGlUniformLocation")]
5182 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform1uiv")]
5183 #[doc = "The `uniform1uiv()` method."]
5184 #[doc = ""]
5185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
5186 #[doc = ""]
5187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5188 pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length(
5189 this: &WebGl2RenderingContext,
5190 location: Option<&WebGlUniformLocation>,
5191 data: &::wasm_bindgen::JsValue,
5192 src_offset: u32,
5193 src_length: u32,
5194 );
5195 #[cfg(feature = "WebGlUniformLocation")]
5196 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5197 #[doc = "The `uniform2fv()` method."]
5198 #[doc = ""]
5199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5200 #[doc = ""]
5201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5202 pub fn uniform2fv_with_f32_array(
5203 this: &WebGl2RenderingContext,
5204 location: Option<&WebGlUniformLocation>,
5205 data: &[f32],
5206 );
5207 #[cfg(feature = "WebGlUniformLocation")]
5208 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5209 #[doc = "The `uniform2fv()` method."]
5210 #[doc = ""]
5211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5212 #[doc = ""]
5213 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5214 pub fn uniform2fv_with_js_f32_array(
5215 this: &WebGl2RenderingContext,
5216 location: Option<&WebGlUniformLocation>,
5217 data: &::js_sys::Float32Array,
5218 );
5219 #[cfg(feature = "WebGlUniformLocation")]
5220 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5221 #[doc = "The `uniform2fv()` method."]
5222 #[doc = ""]
5223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5224 #[doc = ""]
5225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5226 pub fn uniform2fv_with_f32_sequence(
5227 this: &WebGl2RenderingContext,
5228 location: Option<&WebGlUniformLocation>,
5229 data: &::wasm_bindgen::JsValue,
5230 );
5231 #[cfg(feature = "WebGlUniformLocation")]
5232 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5233 #[doc = "The `uniform2fv()` method."]
5234 #[doc = ""]
5235 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5236 #[doc = ""]
5237 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5238 pub fn uniform2fv_with_f32_array_and_src_offset(
5239 this: &WebGl2RenderingContext,
5240 location: Option<&WebGlUniformLocation>,
5241 data: &[f32],
5242 src_offset: u32,
5243 );
5244 #[cfg(feature = "WebGlUniformLocation")]
5245 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5246 #[doc = "The `uniform2fv()` method."]
5247 #[doc = ""]
5248 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5249 #[doc = ""]
5250 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5251 pub fn uniform2fv_with_js_f32_array_and_src_offset(
5252 this: &WebGl2RenderingContext,
5253 location: Option<&WebGlUniformLocation>,
5254 data: &::js_sys::Float32Array,
5255 src_offset: u32,
5256 );
5257 #[cfg(feature = "WebGlUniformLocation")]
5258 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5259 #[doc = "The `uniform2fv()` method."]
5260 #[doc = ""]
5261 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5262 #[doc = ""]
5263 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5264 pub fn uniform2fv_with_f32_sequence_and_src_offset(
5265 this: &WebGl2RenderingContext,
5266 location: Option<&WebGlUniformLocation>,
5267 data: &::wasm_bindgen::JsValue,
5268 src_offset: u32,
5269 );
5270 #[cfg(feature = "WebGlUniformLocation")]
5271 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5272 #[doc = "The `uniform2fv()` method."]
5273 #[doc = ""]
5274 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5275 #[doc = ""]
5276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5277 pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length(
5278 this: &WebGl2RenderingContext,
5279 location: Option<&WebGlUniformLocation>,
5280 data: &[f32],
5281 src_offset: u32,
5282 src_length: u32,
5283 );
5284 #[cfg(feature = "WebGlUniformLocation")]
5285 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5286 #[doc = "The `uniform2fv()` method."]
5287 #[doc = ""]
5288 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5289 #[doc = ""]
5290 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5291 pub fn uniform2fv_with_js_f32_array_and_src_offset_and_src_length(
5292 this: &WebGl2RenderingContext,
5293 location: Option<&WebGlUniformLocation>,
5294 data: &::js_sys::Float32Array,
5295 src_offset: u32,
5296 src_length: u32,
5297 );
5298 #[cfg(feature = "WebGlUniformLocation")]
5299 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2fv")]
5300 #[doc = "The `uniform2fv()` method."]
5301 #[doc = ""]
5302 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
5303 #[doc = ""]
5304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5305 pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length(
5306 this: &WebGl2RenderingContext,
5307 location: Option<&WebGlUniformLocation>,
5308 data: &::wasm_bindgen::JsValue,
5309 src_offset: u32,
5310 src_length: u32,
5311 );
5312 #[cfg(feature = "WebGlUniformLocation")]
5313 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5314 #[doc = "The `uniform2iv()` method."]
5315 #[doc = ""]
5316 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5317 #[doc = ""]
5318 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5319 pub fn uniform2iv_with_i32_array(
5320 this: &WebGl2RenderingContext,
5321 location: Option<&WebGlUniformLocation>,
5322 data: &[i32],
5323 );
5324 #[cfg(feature = "WebGlUniformLocation")]
5325 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5326 #[doc = "The `uniform2iv()` method."]
5327 #[doc = ""]
5328 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5329 #[doc = ""]
5330 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5331 pub fn uniform2iv_with_js_i32_array(
5332 this: &WebGl2RenderingContext,
5333 location: Option<&WebGlUniformLocation>,
5334 data: &::js_sys::Int32Array,
5335 );
5336 #[cfg(feature = "WebGlUniformLocation")]
5337 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5338 #[doc = "The `uniform2iv()` method."]
5339 #[doc = ""]
5340 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5341 #[doc = ""]
5342 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5343 pub fn uniform2iv_with_i32_sequence(
5344 this: &WebGl2RenderingContext,
5345 location: Option<&WebGlUniformLocation>,
5346 data: &::wasm_bindgen::JsValue,
5347 );
5348 #[cfg(feature = "WebGlUniformLocation")]
5349 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5350 #[doc = "The `uniform2iv()` method."]
5351 #[doc = ""]
5352 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5353 #[doc = ""]
5354 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5355 pub fn uniform2iv_with_i32_array_and_src_offset(
5356 this: &WebGl2RenderingContext,
5357 location: Option<&WebGlUniformLocation>,
5358 data: &[i32],
5359 src_offset: u32,
5360 );
5361 #[cfg(feature = "WebGlUniformLocation")]
5362 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5363 #[doc = "The `uniform2iv()` method."]
5364 #[doc = ""]
5365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5366 #[doc = ""]
5367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5368 pub fn uniform2iv_with_js_i32_array_and_src_offset(
5369 this: &WebGl2RenderingContext,
5370 location: Option<&WebGlUniformLocation>,
5371 data: &::js_sys::Int32Array,
5372 src_offset: u32,
5373 );
5374 #[cfg(feature = "WebGlUniformLocation")]
5375 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5376 #[doc = "The `uniform2iv()` method."]
5377 #[doc = ""]
5378 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5379 #[doc = ""]
5380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5381 pub fn uniform2iv_with_i32_sequence_and_src_offset(
5382 this: &WebGl2RenderingContext,
5383 location: Option<&WebGlUniformLocation>,
5384 data: &::wasm_bindgen::JsValue,
5385 src_offset: u32,
5386 );
5387 #[cfg(feature = "WebGlUniformLocation")]
5388 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5389 #[doc = "The `uniform2iv()` method."]
5390 #[doc = ""]
5391 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5392 #[doc = ""]
5393 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5394 pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length(
5395 this: &WebGl2RenderingContext,
5396 location: Option<&WebGlUniformLocation>,
5397 data: &[i32],
5398 src_offset: u32,
5399 src_length: u32,
5400 );
5401 #[cfg(feature = "WebGlUniformLocation")]
5402 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5403 #[doc = "The `uniform2iv()` method."]
5404 #[doc = ""]
5405 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5406 #[doc = ""]
5407 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5408 pub fn uniform2iv_with_js_i32_array_and_src_offset_and_src_length(
5409 this: &WebGl2RenderingContext,
5410 location: Option<&WebGlUniformLocation>,
5411 data: &::js_sys::Int32Array,
5412 src_offset: u32,
5413 src_length: u32,
5414 );
5415 #[cfg(feature = "WebGlUniformLocation")]
5416 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2iv")]
5417 #[doc = "The `uniform2iv()` method."]
5418 #[doc = ""]
5419 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
5420 #[doc = ""]
5421 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5422 pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length(
5423 this: &WebGl2RenderingContext,
5424 location: Option<&WebGlUniformLocation>,
5425 data: &::wasm_bindgen::JsValue,
5426 src_offset: u32,
5427 src_length: u32,
5428 );
5429 #[cfg(feature = "WebGlUniformLocation")]
5430 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
5431 #[doc = "The `uniform2ui()` method."]
5432 #[doc = ""]
5433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)"]
5434 #[doc = ""]
5435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5436 pub fn uniform2ui(
5437 this: &WebGl2RenderingContext,
5438 location: Option<&WebGlUniformLocation>,
5439 v0: u32,
5440 v1: u32,
5441 );
5442 #[cfg(feature = "WebGlUniformLocation")]
5443 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5444 #[doc = "The `uniform2uiv()` method."]
5445 #[doc = ""]
5446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5447 #[doc = ""]
5448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5449 pub fn uniform2uiv_with_u32_array(
5450 this: &WebGl2RenderingContext,
5451 location: Option<&WebGlUniformLocation>,
5452 data: &[u32],
5453 );
5454 #[cfg(feature = "WebGlUniformLocation")]
5455 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5456 #[doc = "The `uniform2uiv()` method."]
5457 #[doc = ""]
5458 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5459 #[doc = ""]
5460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5461 pub fn uniform2uiv_with_js_u32_array(
5462 this: &WebGl2RenderingContext,
5463 location: Option<&WebGlUniformLocation>,
5464 data: &::js_sys::Uint32Array,
5465 );
5466 #[cfg(feature = "WebGlUniformLocation")]
5467 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5468 #[doc = "The `uniform2uiv()` method."]
5469 #[doc = ""]
5470 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5471 #[doc = ""]
5472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5473 pub fn uniform2uiv_with_u32_sequence(
5474 this: &WebGl2RenderingContext,
5475 location: Option<&WebGlUniformLocation>,
5476 data: &::wasm_bindgen::JsValue,
5477 );
5478 #[cfg(feature = "WebGlUniformLocation")]
5479 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5480 #[doc = "The `uniform2uiv()` method."]
5481 #[doc = ""]
5482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5483 #[doc = ""]
5484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5485 pub fn uniform2uiv_with_u32_array_and_src_offset(
5486 this: &WebGl2RenderingContext,
5487 location: Option<&WebGlUniformLocation>,
5488 data: &[u32],
5489 src_offset: u32,
5490 );
5491 #[cfg(feature = "WebGlUniformLocation")]
5492 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5493 #[doc = "The `uniform2uiv()` method."]
5494 #[doc = ""]
5495 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5496 #[doc = ""]
5497 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5498 pub fn uniform2uiv_with_js_u32_array_and_src_offset(
5499 this: &WebGl2RenderingContext,
5500 location: Option<&WebGlUniformLocation>,
5501 data: &::js_sys::Uint32Array,
5502 src_offset: u32,
5503 );
5504 #[cfg(feature = "WebGlUniformLocation")]
5505 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5506 #[doc = "The `uniform2uiv()` method."]
5507 #[doc = ""]
5508 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5509 #[doc = ""]
5510 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5511 pub fn uniform2uiv_with_u32_sequence_and_src_offset(
5512 this: &WebGl2RenderingContext,
5513 location: Option<&WebGlUniformLocation>,
5514 data: &::wasm_bindgen::JsValue,
5515 src_offset: u32,
5516 );
5517 #[cfg(feature = "WebGlUniformLocation")]
5518 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5519 #[doc = "The `uniform2uiv()` method."]
5520 #[doc = ""]
5521 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5522 #[doc = ""]
5523 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5524 pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length(
5525 this: &WebGl2RenderingContext,
5526 location: Option<&WebGlUniformLocation>,
5527 data: &[u32],
5528 src_offset: u32,
5529 src_length: u32,
5530 );
5531 #[cfg(feature = "WebGlUniformLocation")]
5532 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5533 #[doc = "The `uniform2uiv()` method."]
5534 #[doc = ""]
5535 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5536 #[doc = ""]
5537 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5538 pub fn uniform2uiv_with_js_u32_array_and_src_offset_and_src_length(
5539 this: &WebGl2RenderingContext,
5540 location: Option<&WebGlUniformLocation>,
5541 data: &::js_sys::Uint32Array,
5542 src_offset: u32,
5543 src_length: u32,
5544 );
5545 #[cfg(feature = "WebGlUniformLocation")]
5546 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform2uiv")]
5547 #[doc = "The `uniform2uiv()` method."]
5548 #[doc = ""]
5549 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
5550 #[doc = ""]
5551 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5552 pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length(
5553 this: &WebGl2RenderingContext,
5554 location: Option<&WebGlUniformLocation>,
5555 data: &::wasm_bindgen::JsValue,
5556 src_offset: u32,
5557 src_length: u32,
5558 );
5559 #[cfg(feature = "WebGlUniformLocation")]
5560 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5561 #[doc = "The `uniform3fv()` method."]
5562 #[doc = ""]
5563 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5564 #[doc = ""]
5565 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5566 pub fn uniform3fv_with_f32_array(
5567 this: &WebGl2RenderingContext,
5568 location: Option<&WebGlUniformLocation>,
5569 data: &[f32],
5570 );
5571 #[cfg(feature = "WebGlUniformLocation")]
5572 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5573 #[doc = "The `uniform3fv()` method."]
5574 #[doc = ""]
5575 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5576 #[doc = ""]
5577 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5578 pub fn uniform3fv_with_js_f32_array(
5579 this: &WebGl2RenderingContext,
5580 location: Option<&WebGlUniformLocation>,
5581 data: &::js_sys::Float32Array,
5582 );
5583 #[cfg(feature = "WebGlUniformLocation")]
5584 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5585 #[doc = "The `uniform3fv()` method."]
5586 #[doc = ""]
5587 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5588 #[doc = ""]
5589 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5590 pub fn uniform3fv_with_f32_sequence(
5591 this: &WebGl2RenderingContext,
5592 location: Option<&WebGlUniformLocation>,
5593 data: &::wasm_bindgen::JsValue,
5594 );
5595 #[cfg(feature = "WebGlUniformLocation")]
5596 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5597 #[doc = "The `uniform3fv()` method."]
5598 #[doc = ""]
5599 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5600 #[doc = ""]
5601 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5602 pub fn uniform3fv_with_f32_array_and_src_offset(
5603 this: &WebGl2RenderingContext,
5604 location: Option<&WebGlUniformLocation>,
5605 data: &[f32],
5606 src_offset: u32,
5607 );
5608 #[cfg(feature = "WebGlUniformLocation")]
5609 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5610 #[doc = "The `uniform3fv()` method."]
5611 #[doc = ""]
5612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5613 #[doc = ""]
5614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5615 pub fn uniform3fv_with_js_f32_array_and_src_offset(
5616 this: &WebGl2RenderingContext,
5617 location: Option<&WebGlUniformLocation>,
5618 data: &::js_sys::Float32Array,
5619 src_offset: u32,
5620 );
5621 #[cfg(feature = "WebGlUniformLocation")]
5622 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5623 #[doc = "The `uniform3fv()` method."]
5624 #[doc = ""]
5625 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5626 #[doc = ""]
5627 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5628 pub fn uniform3fv_with_f32_sequence_and_src_offset(
5629 this: &WebGl2RenderingContext,
5630 location: Option<&WebGlUniformLocation>,
5631 data: &::wasm_bindgen::JsValue,
5632 src_offset: u32,
5633 );
5634 #[cfg(feature = "WebGlUniformLocation")]
5635 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5636 #[doc = "The `uniform3fv()` method."]
5637 #[doc = ""]
5638 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5639 #[doc = ""]
5640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5641 pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length(
5642 this: &WebGl2RenderingContext,
5643 location: Option<&WebGlUniformLocation>,
5644 data: &[f32],
5645 src_offset: u32,
5646 src_length: u32,
5647 );
5648 #[cfg(feature = "WebGlUniformLocation")]
5649 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5650 #[doc = "The `uniform3fv()` method."]
5651 #[doc = ""]
5652 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5653 #[doc = ""]
5654 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5655 pub fn uniform3fv_with_js_f32_array_and_src_offset_and_src_length(
5656 this: &WebGl2RenderingContext,
5657 location: Option<&WebGlUniformLocation>,
5658 data: &::js_sys::Float32Array,
5659 src_offset: u32,
5660 src_length: u32,
5661 );
5662 #[cfg(feature = "WebGlUniformLocation")]
5663 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3fv")]
5664 #[doc = "The `uniform3fv()` method."]
5665 #[doc = ""]
5666 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
5667 #[doc = ""]
5668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5669 pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length(
5670 this: &WebGl2RenderingContext,
5671 location: Option<&WebGlUniformLocation>,
5672 data: &::wasm_bindgen::JsValue,
5673 src_offset: u32,
5674 src_length: u32,
5675 );
5676 #[cfg(feature = "WebGlUniformLocation")]
5677 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5678 #[doc = "The `uniform3iv()` method."]
5679 #[doc = ""]
5680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5681 #[doc = ""]
5682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5683 pub fn uniform3iv_with_i32_array(
5684 this: &WebGl2RenderingContext,
5685 location: Option<&WebGlUniformLocation>,
5686 data: &[i32],
5687 );
5688 #[cfg(feature = "WebGlUniformLocation")]
5689 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5690 #[doc = "The `uniform3iv()` method."]
5691 #[doc = ""]
5692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5693 #[doc = ""]
5694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5695 pub fn uniform3iv_with_js_i32_array(
5696 this: &WebGl2RenderingContext,
5697 location: Option<&WebGlUniformLocation>,
5698 data: &::js_sys::Int32Array,
5699 );
5700 #[cfg(feature = "WebGlUniformLocation")]
5701 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5702 #[doc = "The `uniform3iv()` method."]
5703 #[doc = ""]
5704 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5705 #[doc = ""]
5706 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5707 pub fn uniform3iv_with_i32_sequence(
5708 this: &WebGl2RenderingContext,
5709 location: Option<&WebGlUniformLocation>,
5710 data: &::wasm_bindgen::JsValue,
5711 );
5712 #[cfg(feature = "WebGlUniformLocation")]
5713 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5714 #[doc = "The `uniform3iv()` method."]
5715 #[doc = ""]
5716 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5717 #[doc = ""]
5718 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5719 pub fn uniform3iv_with_i32_array_and_src_offset(
5720 this: &WebGl2RenderingContext,
5721 location: Option<&WebGlUniformLocation>,
5722 data: &[i32],
5723 src_offset: u32,
5724 );
5725 #[cfg(feature = "WebGlUniformLocation")]
5726 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5727 #[doc = "The `uniform3iv()` method."]
5728 #[doc = ""]
5729 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5730 #[doc = ""]
5731 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5732 pub fn uniform3iv_with_js_i32_array_and_src_offset(
5733 this: &WebGl2RenderingContext,
5734 location: Option<&WebGlUniformLocation>,
5735 data: &::js_sys::Int32Array,
5736 src_offset: u32,
5737 );
5738 #[cfg(feature = "WebGlUniformLocation")]
5739 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5740 #[doc = "The `uniform3iv()` method."]
5741 #[doc = ""]
5742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5743 #[doc = ""]
5744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5745 pub fn uniform3iv_with_i32_sequence_and_src_offset(
5746 this: &WebGl2RenderingContext,
5747 location: Option<&WebGlUniformLocation>,
5748 data: &::wasm_bindgen::JsValue,
5749 src_offset: u32,
5750 );
5751 #[cfg(feature = "WebGlUniformLocation")]
5752 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5753 #[doc = "The `uniform3iv()` method."]
5754 #[doc = ""]
5755 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5756 #[doc = ""]
5757 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5758 pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length(
5759 this: &WebGl2RenderingContext,
5760 location: Option<&WebGlUniformLocation>,
5761 data: &[i32],
5762 src_offset: u32,
5763 src_length: u32,
5764 );
5765 #[cfg(feature = "WebGlUniformLocation")]
5766 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5767 #[doc = "The `uniform3iv()` method."]
5768 #[doc = ""]
5769 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5770 #[doc = ""]
5771 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5772 pub fn uniform3iv_with_js_i32_array_and_src_offset_and_src_length(
5773 this: &WebGl2RenderingContext,
5774 location: Option<&WebGlUniformLocation>,
5775 data: &::js_sys::Int32Array,
5776 src_offset: u32,
5777 src_length: u32,
5778 );
5779 #[cfg(feature = "WebGlUniformLocation")]
5780 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3iv")]
5781 #[doc = "The `uniform3iv()` method."]
5782 #[doc = ""]
5783 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
5784 #[doc = ""]
5785 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5786 pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length(
5787 this: &WebGl2RenderingContext,
5788 location: Option<&WebGlUniformLocation>,
5789 data: &::wasm_bindgen::JsValue,
5790 src_offset: u32,
5791 src_length: u32,
5792 );
5793 #[cfg(feature = "WebGlUniformLocation")]
5794 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
5795 #[doc = "The `uniform3ui()` method."]
5796 #[doc = ""]
5797 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)"]
5798 #[doc = ""]
5799 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5800 pub fn uniform3ui(
5801 this: &WebGl2RenderingContext,
5802 location: Option<&WebGlUniformLocation>,
5803 v0: u32,
5804 v1: u32,
5805 v2: u32,
5806 );
5807 #[cfg(feature = "WebGlUniformLocation")]
5808 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5809 #[doc = "The `uniform3uiv()` method."]
5810 #[doc = ""]
5811 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5812 #[doc = ""]
5813 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5814 pub fn uniform3uiv_with_u32_array(
5815 this: &WebGl2RenderingContext,
5816 location: Option<&WebGlUniformLocation>,
5817 data: &[u32],
5818 );
5819 #[cfg(feature = "WebGlUniformLocation")]
5820 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5821 #[doc = "The `uniform3uiv()` method."]
5822 #[doc = ""]
5823 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5824 #[doc = ""]
5825 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5826 pub fn uniform3uiv_with_js_u32_array(
5827 this: &WebGl2RenderingContext,
5828 location: Option<&WebGlUniformLocation>,
5829 data: &::js_sys::Uint32Array,
5830 );
5831 #[cfg(feature = "WebGlUniformLocation")]
5832 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5833 #[doc = "The `uniform3uiv()` method."]
5834 #[doc = ""]
5835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5836 #[doc = ""]
5837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5838 pub fn uniform3uiv_with_u32_sequence(
5839 this: &WebGl2RenderingContext,
5840 location: Option<&WebGlUniformLocation>,
5841 data: &::wasm_bindgen::JsValue,
5842 );
5843 #[cfg(feature = "WebGlUniformLocation")]
5844 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5845 #[doc = "The `uniform3uiv()` method."]
5846 #[doc = ""]
5847 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5848 #[doc = ""]
5849 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5850 pub fn uniform3uiv_with_u32_array_and_src_offset(
5851 this: &WebGl2RenderingContext,
5852 location: Option<&WebGlUniformLocation>,
5853 data: &[u32],
5854 src_offset: u32,
5855 );
5856 #[cfg(feature = "WebGlUniformLocation")]
5857 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5858 #[doc = "The `uniform3uiv()` method."]
5859 #[doc = ""]
5860 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5861 #[doc = ""]
5862 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5863 pub fn uniform3uiv_with_js_u32_array_and_src_offset(
5864 this: &WebGl2RenderingContext,
5865 location: Option<&WebGlUniformLocation>,
5866 data: &::js_sys::Uint32Array,
5867 src_offset: u32,
5868 );
5869 #[cfg(feature = "WebGlUniformLocation")]
5870 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5871 #[doc = "The `uniform3uiv()` method."]
5872 #[doc = ""]
5873 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5874 #[doc = ""]
5875 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5876 pub fn uniform3uiv_with_u32_sequence_and_src_offset(
5877 this: &WebGl2RenderingContext,
5878 location: Option<&WebGlUniformLocation>,
5879 data: &::wasm_bindgen::JsValue,
5880 src_offset: u32,
5881 );
5882 #[cfg(feature = "WebGlUniformLocation")]
5883 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5884 #[doc = "The `uniform3uiv()` method."]
5885 #[doc = ""]
5886 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5887 #[doc = ""]
5888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5889 pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length(
5890 this: &WebGl2RenderingContext,
5891 location: Option<&WebGlUniformLocation>,
5892 data: &[u32],
5893 src_offset: u32,
5894 src_length: u32,
5895 );
5896 #[cfg(feature = "WebGlUniformLocation")]
5897 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5898 #[doc = "The `uniform3uiv()` method."]
5899 #[doc = ""]
5900 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5901 #[doc = ""]
5902 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5903 pub fn uniform3uiv_with_js_u32_array_and_src_offset_and_src_length(
5904 this: &WebGl2RenderingContext,
5905 location: Option<&WebGlUniformLocation>,
5906 data: &::js_sys::Uint32Array,
5907 src_offset: u32,
5908 src_length: u32,
5909 );
5910 #[cfg(feature = "WebGlUniformLocation")]
5911 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform3uiv")]
5912 #[doc = "The `uniform3uiv()` method."]
5913 #[doc = ""]
5914 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5915 #[doc = ""]
5916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5917 pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length(
5918 this: &WebGl2RenderingContext,
5919 location: Option<&WebGlUniformLocation>,
5920 data: &::wasm_bindgen::JsValue,
5921 src_offset: u32,
5922 src_length: u32,
5923 );
5924 #[cfg(feature = "WebGlUniformLocation")]
5925 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
5926 #[doc = "The `uniform4fv()` method."]
5927 #[doc = ""]
5928 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5929 #[doc = ""]
5930 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5931 pub fn uniform4fv_with_f32_array(
5932 this: &WebGl2RenderingContext,
5933 location: Option<&WebGlUniformLocation>,
5934 data: &[f32],
5935 );
5936 #[cfg(feature = "WebGlUniformLocation")]
5937 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
5938 #[doc = "The `uniform4fv()` method."]
5939 #[doc = ""]
5940 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5941 #[doc = ""]
5942 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5943 pub fn uniform4fv_with_js_f32_array(
5944 this: &WebGl2RenderingContext,
5945 location: Option<&WebGlUniformLocation>,
5946 data: &::js_sys::Float32Array,
5947 );
5948 #[cfg(feature = "WebGlUniformLocation")]
5949 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
5950 #[doc = "The `uniform4fv()` method."]
5951 #[doc = ""]
5952 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5953 #[doc = ""]
5954 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5955 pub fn uniform4fv_with_f32_sequence(
5956 this: &WebGl2RenderingContext,
5957 location: Option<&WebGlUniformLocation>,
5958 data: &::wasm_bindgen::JsValue,
5959 );
5960 #[cfg(feature = "WebGlUniformLocation")]
5961 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
5962 #[doc = "The `uniform4fv()` method."]
5963 #[doc = ""]
5964 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5965 #[doc = ""]
5966 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5967 pub fn uniform4fv_with_f32_array_and_src_offset(
5968 this: &WebGl2RenderingContext,
5969 location: Option<&WebGlUniformLocation>,
5970 data: &[f32],
5971 src_offset: u32,
5972 );
5973 #[cfg(feature = "WebGlUniformLocation")]
5974 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
5975 #[doc = "The `uniform4fv()` method."]
5976 #[doc = ""]
5977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5978 #[doc = ""]
5979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5980 pub fn uniform4fv_with_js_f32_array_and_src_offset(
5981 this: &WebGl2RenderingContext,
5982 location: Option<&WebGlUniformLocation>,
5983 data: &::js_sys::Float32Array,
5984 src_offset: u32,
5985 );
5986 #[cfg(feature = "WebGlUniformLocation")]
5987 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
5988 #[doc = "The `uniform4fv()` method."]
5989 #[doc = ""]
5990 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5991 #[doc = ""]
5992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5993 pub fn uniform4fv_with_f32_sequence_and_src_offset(
5994 this: &WebGl2RenderingContext,
5995 location: Option<&WebGlUniformLocation>,
5996 data: &::wasm_bindgen::JsValue,
5997 src_offset: u32,
5998 );
5999 #[cfg(feature = "WebGlUniformLocation")]
6000 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6001 #[doc = "The `uniform4fv()` method."]
6002 #[doc = ""]
6003 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6004 #[doc = ""]
6005 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6006 pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length(
6007 this: &WebGl2RenderingContext,
6008 location: Option<&WebGlUniformLocation>,
6009 data: &[f32],
6010 src_offset: u32,
6011 src_length: u32,
6012 );
6013 #[cfg(feature = "WebGlUniformLocation")]
6014 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6015 #[doc = "The `uniform4fv()` method."]
6016 #[doc = ""]
6017 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6018 #[doc = ""]
6019 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6020 pub fn uniform4fv_with_js_f32_array_and_src_offset_and_src_length(
6021 this: &WebGl2RenderingContext,
6022 location: Option<&WebGlUniformLocation>,
6023 data: &::js_sys::Float32Array,
6024 src_offset: u32,
6025 src_length: u32,
6026 );
6027 #[cfg(feature = "WebGlUniformLocation")]
6028 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4fv")]
6029 #[doc = "The `uniform4fv()` method."]
6030 #[doc = ""]
6031 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
6032 #[doc = ""]
6033 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6034 pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length(
6035 this: &WebGl2RenderingContext,
6036 location: Option<&WebGlUniformLocation>,
6037 data: &::wasm_bindgen::JsValue,
6038 src_offset: u32,
6039 src_length: u32,
6040 );
6041 #[cfg(feature = "WebGlUniformLocation")]
6042 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6043 #[doc = "The `uniform4iv()` method."]
6044 #[doc = ""]
6045 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6046 #[doc = ""]
6047 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6048 pub fn uniform4iv_with_i32_array(
6049 this: &WebGl2RenderingContext,
6050 location: Option<&WebGlUniformLocation>,
6051 data: &[i32],
6052 );
6053 #[cfg(feature = "WebGlUniformLocation")]
6054 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6055 #[doc = "The `uniform4iv()` method."]
6056 #[doc = ""]
6057 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6058 #[doc = ""]
6059 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6060 pub fn uniform4iv_with_js_i32_array(
6061 this: &WebGl2RenderingContext,
6062 location: Option<&WebGlUniformLocation>,
6063 data: &::js_sys::Int32Array,
6064 );
6065 #[cfg(feature = "WebGlUniformLocation")]
6066 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6067 #[doc = "The `uniform4iv()` method."]
6068 #[doc = ""]
6069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6070 #[doc = ""]
6071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6072 pub fn uniform4iv_with_i32_sequence(
6073 this: &WebGl2RenderingContext,
6074 location: Option<&WebGlUniformLocation>,
6075 data: &::wasm_bindgen::JsValue,
6076 );
6077 #[cfg(feature = "WebGlUniformLocation")]
6078 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6079 #[doc = "The `uniform4iv()` method."]
6080 #[doc = ""]
6081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6082 #[doc = ""]
6083 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6084 pub fn uniform4iv_with_i32_array_and_src_offset(
6085 this: &WebGl2RenderingContext,
6086 location: Option<&WebGlUniformLocation>,
6087 data: &[i32],
6088 src_offset: u32,
6089 );
6090 #[cfg(feature = "WebGlUniformLocation")]
6091 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6092 #[doc = "The `uniform4iv()` method."]
6093 #[doc = ""]
6094 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6095 #[doc = ""]
6096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6097 pub fn uniform4iv_with_js_i32_array_and_src_offset(
6098 this: &WebGl2RenderingContext,
6099 location: Option<&WebGlUniformLocation>,
6100 data: &::js_sys::Int32Array,
6101 src_offset: u32,
6102 );
6103 #[cfg(feature = "WebGlUniformLocation")]
6104 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6105 #[doc = "The `uniform4iv()` method."]
6106 #[doc = ""]
6107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6108 #[doc = ""]
6109 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6110 pub fn uniform4iv_with_i32_sequence_and_src_offset(
6111 this: &WebGl2RenderingContext,
6112 location: Option<&WebGlUniformLocation>,
6113 data: &::wasm_bindgen::JsValue,
6114 src_offset: u32,
6115 );
6116 #[cfg(feature = "WebGlUniformLocation")]
6117 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6118 #[doc = "The `uniform4iv()` method."]
6119 #[doc = ""]
6120 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6121 #[doc = ""]
6122 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6123 pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length(
6124 this: &WebGl2RenderingContext,
6125 location: Option<&WebGlUniformLocation>,
6126 data: &[i32],
6127 src_offset: u32,
6128 src_length: u32,
6129 );
6130 #[cfg(feature = "WebGlUniformLocation")]
6131 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6132 #[doc = "The `uniform4iv()` method."]
6133 #[doc = ""]
6134 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6135 #[doc = ""]
6136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6137 pub fn uniform4iv_with_js_i32_array_and_src_offset_and_src_length(
6138 this: &WebGl2RenderingContext,
6139 location: Option<&WebGlUniformLocation>,
6140 data: &::js_sys::Int32Array,
6141 src_offset: u32,
6142 src_length: u32,
6143 );
6144 #[cfg(feature = "WebGlUniformLocation")]
6145 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4iv")]
6146 #[doc = "The `uniform4iv()` method."]
6147 #[doc = ""]
6148 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
6149 #[doc = ""]
6150 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6151 pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length(
6152 this: &WebGl2RenderingContext,
6153 location: Option<&WebGlUniformLocation>,
6154 data: &::wasm_bindgen::JsValue,
6155 src_offset: u32,
6156 src_length: u32,
6157 );
6158 #[cfg(feature = "WebGlUniformLocation")]
6159 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
6160 #[doc = "The `uniform4ui()` method."]
6161 #[doc = ""]
6162 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)"]
6163 #[doc = ""]
6164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6165 pub fn uniform4ui(
6166 this: &WebGl2RenderingContext,
6167 location: Option<&WebGlUniformLocation>,
6168 v0: u32,
6169 v1: u32,
6170 v2: u32,
6171 v3: u32,
6172 );
6173 #[cfg(feature = "WebGlUniformLocation")]
6174 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6175 #[doc = "The `uniform4uiv()` method."]
6176 #[doc = ""]
6177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6178 #[doc = ""]
6179 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6180 pub fn uniform4uiv_with_u32_array(
6181 this: &WebGl2RenderingContext,
6182 location: Option<&WebGlUniformLocation>,
6183 data: &[u32],
6184 );
6185 #[cfg(feature = "WebGlUniformLocation")]
6186 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6187 #[doc = "The `uniform4uiv()` method."]
6188 #[doc = ""]
6189 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6190 #[doc = ""]
6191 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6192 pub fn uniform4uiv_with_js_u32_array(
6193 this: &WebGl2RenderingContext,
6194 location: Option<&WebGlUniformLocation>,
6195 data: &::js_sys::Uint32Array,
6196 );
6197 #[cfg(feature = "WebGlUniformLocation")]
6198 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6199 #[doc = "The `uniform4uiv()` method."]
6200 #[doc = ""]
6201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6202 #[doc = ""]
6203 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6204 pub fn uniform4uiv_with_u32_sequence(
6205 this: &WebGl2RenderingContext,
6206 location: Option<&WebGlUniformLocation>,
6207 data: &::wasm_bindgen::JsValue,
6208 );
6209 #[cfg(feature = "WebGlUniformLocation")]
6210 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6211 #[doc = "The `uniform4uiv()` method."]
6212 #[doc = ""]
6213 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6214 #[doc = ""]
6215 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6216 pub fn uniform4uiv_with_u32_array_and_src_offset(
6217 this: &WebGl2RenderingContext,
6218 location: Option<&WebGlUniformLocation>,
6219 data: &[u32],
6220 src_offset: u32,
6221 );
6222 #[cfg(feature = "WebGlUniformLocation")]
6223 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6224 #[doc = "The `uniform4uiv()` method."]
6225 #[doc = ""]
6226 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6227 #[doc = ""]
6228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6229 pub fn uniform4uiv_with_js_u32_array_and_src_offset(
6230 this: &WebGl2RenderingContext,
6231 location: Option<&WebGlUniformLocation>,
6232 data: &::js_sys::Uint32Array,
6233 src_offset: u32,
6234 );
6235 #[cfg(feature = "WebGlUniformLocation")]
6236 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6237 #[doc = "The `uniform4uiv()` method."]
6238 #[doc = ""]
6239 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6240 #[doc = ""]
6241 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6242 pub fn uniform4uiv_with_u32_sequence_and_src_offset(
6243 this: &WebGl2RenderingContext,
6244 location: Option<&WebGlUniformLocation>,
6245 data: &::wasm_bindgen::JsValue,
6246 src_offset: u32,
6247 );
6248 #[cfg(feature = "WebGlUniformLocation")]
6249 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6250 #[doc = "The `uniform4uiv()` method."]
6251 #[doc = ""]
6252 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6253 #[doc = ""]
6254 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6255 pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length(
6256 this: &WebGl2RenderingContext,
6257 location: Option<&WebGlUniformLocation>,
6258 data: &[u32],
6259 src_offset: u32,
6260 src_length: u32,
6261 );
6262 #[cfg(feature = "WebGlUniformLocation")]
6263 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6264 #[doc = "The `uniform4uiv()` method."]
6265 #[doc = ""]
6266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6267 #[doc = ""]
6268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6269 pub fn uniform4uiv_with_js_u32_array_and_src_offset_and_src_length(
6270 this: &WebGl2RenderingContext,
6271 location: Option<&WebGlUniformLocation>,
6272 data: &::js_sys::Uint32Array,
6273 src_offset: u32,
6274 src_length: u32,
6275 );
6276 #[cfg(feature = "WebGlUniformLocation")]
6277 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "uniform4uiv")]
6278 #[doc = "The `uniform4uiv()` method."]
6279 #[doc = ""]
6280 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
6281 #[doc = ""]
6282 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6283 pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length(
6284 this: &WebGl2RenderingContext,
6285 location: Option<&WebGlUniformLocation>,
6286 data: &::wasm_bindgen::JsValue,
6287 src_offset: u32,
6288 src_length: u32,
6289 );
6290 #[cfg(feature = "WebGlProgram")]
6291 #[wasm_bindgen(
6292 method,
6293 js_class = "WebGL2RenderingContext",
6294 js_name = "uniformBlockBinding"
6295 )]
6296 #[doc = "The `uniformBlockBinding()` method."]
6297 #[doc = ""]
6298 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)"]
6299 #[doc = ""]
6300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6301 pub fn uniform_block_binding(
6302 this: &WebGl2RenderingContext,
6303 program: &WebGlProgram,
6304 uniform_block_index: u32,
6305 uniform_block_binding: u32,
6306 );
6307 #[cfg(feature = "WebGlUniformLocation")]
6308 #[wasm_bindgen(
6309 method,
6310 js_class = "WebGL2RenderingContext",
6311 js_name = "uniformMatrix2fv"
6312 )]
6313 #[doc = "The `uniformMatrix2fv()` method."]
6314 #[doc = ""]
6315 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6316 #[doc = ""]
6317 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6318 pub fn uniform_matrix2fv_with_f32_array(
6319 this: &WebGl2RenderingContext,
6320 location: Option<&WebGlUniformLocation>,
6321 transpose: bool,
6322 data: &[f32],
6323 );
6324 #[cfg(feature = "WebGlUniformLocation")]
6325 #[wasm_bindgen(
6326 method,
6327 js_class = "WebGL2RenderingContext",
6328 js_name = "uniformMatrix2fv"
6329 )]
6330 #[doc = "The `uniformMatrix2fv()` method."]
6331 #[doc = ""]
6332 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6333 #[doc = ""]
6334 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6335 pub fn uniform_matrix2fv_with_js_f32_array(
6336 this: &WebGl2RenderingContext,
6337 location: Option<&WebGlUniformLocation>,
6338 transpose: bool,
6339 data: &::js_sys::Float32Array,
6340 );
6341 #[cfg(feature = "WebGlUniformLocation")]
6342 #[wasm_bindgen(
6343 method,
6344 js_class = "WebGL2RenderingContext",
6345 js_name = "uniformMatrix2fv"
6346 )]
6347 #[doc = "The `uniformMatrix2fv()` method."]
6348 #[doc = ""]
6349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6350 #[doc = ""]
6351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6352 pub fn uniform_matrix2fv_with_f32_sequence(
6353 this: &WebGl2RenderingContext,
6354 location: Option<&WebGlUniformLocation>,
6355 transpose: bool,
6356 data: &::wasm_bindgen::JsValue,
6357 );
6358 #[cfg(feature = "WebGlUniformLocation")]
6359 #[wasm_bindgen(
6360 method,
6361 js_class = "WebGL2RenderingContext",
6362 js_name = "uniformMatrix2fv"
6363 )]
6364 #[doc = "The `uniformMatrix2fv()` method."]
6365 #[doc = ""]
6366 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6367 #[doc = ""]
6368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6369 pub fn uniform_matrix2fv_with_f32_array_and_src_offset(
6370 this: &WebGl2RenderingContext,
6371 location: Option<&WebGlUniformLocation>,
6372 transpose: bool,
6373 data: &[f32],
6374 src_offset: u32,
6375 );
6376 #[cfg(feature = "WebGlUniformLocation")]
6377 #[wasm_bindgen(
6378 method,
6379 js_class = "WebGL2RenderingContext",
6380 js_name = "uniformMatrix2fv"
6381 )]
6382 #[doc = "The `uniformMatrix2fv()` method."]
6383 #[doc = ""]
6384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6385 #[doc = ""]
6386 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6387 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset(
6388 this: &WebGl2RenderingContext,
6389 location: Option<&WebGlUniformLocation>,
6390 transpose: bool,
6391 data: &::js_sys::Float32Array,
6392 src_offset: u32,
6393 );
6394 #[cfg(feature = "WebGlUniformLocation")]
6395 #[wasm_bindgen(
6396 method,
6397 js_class = "WebGL2RenderingContext",
6398 js_name = "uniformMatrix2fv"
6399 )]
6400 #[doc = "The `uniformMatrix2fv()` method."]
6401 #[doc = ""]
6402 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6403 #[doc = ""]
6404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6405 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset(
6406 this: &WebGl2RenderingContext,
6407 location: Option<&WebGlUniformLocation>,
6408 transpose: bool,
6409 data: &::wasm_bindgen::JsValue,
6410 src_offset: u32,
6411 );
6412 #[cfg(feature = "WebGlUniformLocation")]
6413 #[wasm_bindgen(
6414 method,
6415 js_class = "WebGL2RenderingContext",
6416 js_name = "uniformMatrix2fv"
6417 )]
6418 #[doc = "The `uniformMatrix2fv()` method."]
6419 #[doc = ""]
6420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6421 #[doc = ""]
6422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6423 pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length(
6424 this: &WebGl2RenderingContext,
6425 location: Option<&WebGlUniformLocation>,
6426 transpose: bool,
6427 data: &[f32],
6428 src_offset: u32,
6429 src_length: u32,
6430 );
6431 #[cfg(feature = "WebGlUniformLocation")]
6432 #[wasm_bindgen(
6433 method,
6434 js_class = "WebGL2RenderingContext",
6435 js_name = "uniformMatrix2fv"
6436 )]
6437 #[doc = "The `uniformMatrix2fv()` method."]
6438 #[doc = ""]
6439 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6440 #[doc = ""]
6441 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6442 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset_and_src_length(
6443 this: &WebGl2RenderingContext,
6444 location: Option<&WebGlUniformLocation>,
6445 transpose: bool,
6446 data: &::js_sys::Float32Array,
6447 src_offset: u32,
6448 src_length: u32,
6449 );
6450 #[cfg(feature = "WebGlUniformLocation")]
6451 #[wasm_bindgen(
6452 method,
6453 js_class = "WebGL2RenderingContext",
6454 js_name = "uniformMatrix2fv"
6455 )]
6456 #[doc = "The `uniformMatrix2fv()` method."]
6457 #[doc = ""]
6458 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
6459 #[doc = ""]
6460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6461 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length(
6462 this: &WebGl2RenderingContext,
6463 location: Option<&WebGlUniformLocation>,
6464 transpose: bool,
6465 data: &::wasm_bindgen::JsValue,
6466 src_offset: u32,
6467 src_length: u32,
6468 );
6469 #[cfg(feature = "WebGlUniformLocation")]
6470 #[wasm_bindgen(
6471 method,
6472 js_class = "WebGL2RenderingContext",
6473 js_name = "uniformMatrix2x3fv"
6474 )]
6475 #[doc = "The `uniformMatrix2x3fv()` method."]
6476 #[doc = ""]
6477 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6478 #[doc = ""]
6479 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6480 pub fn uniform_matrix2x3fv_with_f32_array(
6481 this: &WebGl2RenderingContext,
6482 location: Option<&WebGlUniformLocation>,
6483 transpose: bool,
6484 data: &[f32],
6485 );
6486 #[cfg(feature = "WebGlUniformLocation")]
6487 #[wasm_bindgen(
6488 method,
6489 js_class = "WebGL2RenderingContext",
6490 js_name = "uniformMatrix2x3fv"
6491 )]
6492 #[doc = "The `uniformMatrix2x3fv()` method."]
6493 #[doc = ""]
6494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6495 #[doc = ""]
6496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6497 pub fn uniform_matrix2x3fv_with_js_f32_array(
6498 this: &WebGl2RenderingContext,
6499 location: Option<&WebGlUniformLocation>,
6500 transpose: bool,
6501 data: &::js_sys::Float32Array,
6502 );
6503 #[cfg(feature = "WebGlUniformLocation")]
6504 #[wasm_bindgen(
6505 method,
6506 js_class = "WebGL2RenderingContext",
6507 js_name = "uniformMatrix2x3fv"
6508 )]
6509 #[doc = "The `uniformMatrix2x3fv()` method."]
6510 #[doc = ""]
6511 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6512 #[doc = ""]
6513 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6514 pub fn uniform_matrix2x3fv_with_f32_sequence(
6515 this: &WebGl2RenderingContext,
6516 location: Option<&WebGlUniformLocation>,
6517 transpose: bool,
6518 data: &::wasm_bindgen::JsValue,
6519 );
6520 #[cfg(feature = "WebGlUniformLocation")]
6521 #[wasm_bindgen(
6522 method,
6523 js_class = "WebGL2RenderingContext",
6524 js_name = "uniformMatrix2x3fv"
6525 )]
6526 #[doc = "The `uniformMatrix2x3fv()` method."]
6527 #[doc = ""]
6528 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6529 #[doc = ""]
6530 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6531 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset(
6532 this: &WebGl2RenderingContext,
6533 location: Option<&WebGlUniformLocation>,
6534 transpose: bool,
6535 data: &[f32],
6536 src_offset: u32,
6537 );
6538 #[cfg(feature = "WebGlUniformLocation")]
6539 #[wasm_bindgen(
6540 method,
6541 js_class = "WebGL2RenderingContext",
6542 js_name = "uniformMatrix2x3fv"
6543 )]
6544 #[doc = "The `uniformMatrix2x3fv()` method."]
6545 #[doc = ""]
6546 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6547 #[doc = ""]
6548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6549 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset(
6550 this: &WebGl2RenderingContext,
6551 location: Option<&WebGlUniformLocation>,
6552 transpose: bool,
6553 data: &::js_sys::Float32Array,
6554 src_offset: u32,
6555 );
6556 #[cfg(feature = "WebGlUniformLocation")]
6557 #[wasm_bindgen(
6558 method,
6559 js_class = "WebGL2RenderingContext",
6560 js_name = "uniformMatrix2x3fv"
6561 )]
6562 #[doc = "The `uniformMatrix2x3fv()` method."]
6563 #[doc = ""]
6564 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6565 #[doc = ""]
6566 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6567 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset(
6568 this: &WebGl2RenderingContext,
6569 location: Option<&WebGlUniformLocation>,
6570 transpose: bool,
6571 data: &::wasm_bindgen::JsValue,
6572 src_offset: u32,
6573 );
6574 #[cfg(feature = "WebGlUniformLocation")]
6575 #[wasm_bindgen(
6576 method,
6577 js_class = "WebGL2RenderingContext",
6578 js_name = "uniformMatrix2x3fv"
6579 )]
6580 #[doc = "The `uniformMatrix2x3fv()` method."]
6581 #[doc = ""]
6582 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6583 #[doc = ""]
6584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6585 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length(
6586 this: &WebGl2RenderingContext,
6587 location: Option<&WebGlUniformLocation>,
6588 transpose: bool,
6589 data: &[f32],
6590 src_offset: u32,
6591 src_length: u32,
6592 );
6593 #[cfg(feature = "WebGlUniformLocation")]
6594 #[wasm_bindgen(
6595 method,
6596 js_class = "WebGL2RenderingContext",
6597 js_name = "uniformMatrix2x3fv"
6598 )]
6599 #[doc = "The `uniformMatrix2x3fv()` method."]
6600 #[doc = ""]
6601 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6602 #[doc = ""]
6603 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6604 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset_and_src_length(
6605 this: &WebGl2RenderingContext,
6606 location: Option<&WebGlUniformLocation>,
6607 transpose: bool,
6608 data: &::js_sys::Float32Array,
6609 src_offset: u32,
6610 src_length: u32,
6611 );
6612 #[cfg(feature = "WebGlUniformLocation")]
6613 #[wasm_bindgen(
6614 method,
6615 js_class = "WebGL2RenderingContext",
6616 js_name = "uniformMatrix2x3fv"
6617 )]
6618 #[doc = "The `uniformMatrix2x3fv()` method."]
6619 #[doc = ""]
6620 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
6621 #[doc = ""]
6622 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6623 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length(
6624 this: &WebGl2RenderingContext,
6625 location: Option<&WebGlUniformLocation>,
6626 transpose: bool,
6627 data: &::wasm_bindgen::JsValue,
6628 src_offset: u32,
6629 src_length: u32,
6630 );
6631 #[cfg(feature = "WebGlUniformLocation")]
6632 #[wasm_bindgen(
6633 method,
6634 js_class = "WebGL2RenderingContext",
6635 js_name = "uniformMatrix2x4fv"
6636 )]
6637 #[doc = "The `uniformMatrix2x4fv()` method."]
6638 #[doc = ""]
6639 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6640 #[doc = ""]
6641 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6642 pub fn uniform_matrix2x4fv_with_f32_array(
6643 this: &WebGl2RenderingContext,
6644 location: Option<&WebGlUniformLocation>,
6645 transpose: bool,
6646 data: &[f32],
6647 );
6648 #[cfg(feature = "WebGlUniformLocation")]
6649 #[wasm_bindgen(
6650 method,
6651 js_class = "WebGL2RenderingContext",
6652 js_name = "uniformMatrix2x4fv"
6653 )]
6654 #[doc = "The `uniformMatrix2x4fv()` method."]
6655 #[doc = ""]
6656 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6657 #[doc = ""]
6658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6659 pub fn uniform_matrix2x4fv_with_js_f32_array(
6660 this: &WebGl2RenderingContext,
6661 location: Option<&WebGlUniformLocation>,
6662 transpose: bool,
6663 data: &::js_sys::Float32Array,
6664 );
6665 #[cfg(feature = "WebGlUniformLocation")]
6666 #[wasm_bindgen(
6667 method,
6668 js_class = "WebGL2RenderingContext",
6669 js_name = "uniformMatrix2x4fv"
6670 )]
6671 #[doc = "The `uniformMatrix2x4fv()` method."]
6672 #[doc = ""]
6673 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6674 #[doc = ""]
6675 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6676 pub fn uniform_matrix2x4fv_with_f32_sequence(
6677 this: &WebGl2RenderingContext,
6678 location: Option<&WebGlUniformLocation>,
6679 transpose: bool,
6680 data: &::wasm_bindgen::JsValue,
6681 );
6682 #[cfg(feature = "WebGlUniformLocation")]
6683 #[wasm_bindgen(
6684 method,
6685 js_class = "WebGL2RenderingContext",
6686 js_name = "uniformMatrix2x4fv"
6687 )]
6688 #[doc = "The `uniformMatrix2x4fv()` method."]
6689 #[doc = ""]
6690 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6691 #[doc = ""]
6692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6693 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset(
6694 this: &WebGl2RenderingContext,
6695 location: Option<&WebGlUniformLocation>,
6696 transpose: bool,
6697 data: &[f32],
6698 src_offset: u32,
6699 );
6700 #[cfg(feature = "WebGlUniformLocation")]
6701 #[wasm_bindgen(
6702 method,
6703 js_class = "WebGL2RenderingContext",
6704 js_name = "uniformMatrix2x4fv"
6705 )]
6706 #[doc = "The `uniformMatrix2x4fv()` method."]
6707 #[doc = ""]
6708 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6709 #[doc = ""]
6710 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6711 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset(
6712 this: &WebGl2RenderingContext,
6713 location: Option<&WebGlUniformLocation>,
6714 transpose: bool,
6715 data: &::js_sys::Float32Array,
6716 src_offset: u32,
6717 );
6718 #[cfg(feature = "WebGlUniformLocation")]
6719 #[wasm_bindgen(
6720 method,
6721 js_class = "WebGL2RenderingContext",
6722 js_name = "uniformMatrix2x4fv"
6723 )]
6724 #[doc = "The `uniformMatrix2x4fv()` method."]
6725 #[doc = ""]
6726 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6727 #[doc = ""]
6728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6729 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset(
6730 this: &WebGl2RenderingContext,
6731 location: Option<&WebGlUniformLocation>,
6732 transpose: bool,
6733 data: &::wasm_bindgen::JsValue,
6734 src_offset: u32,
6735 );
6736 #[cfg(feature = "WebGlUniformLocation")]
6737 #[wasm_bindgen(
6738 method,
6739 js_class = "WebGL2RenderingContext",
6740 js_name = "uniformMatrix2x4fv"
6741 )]
6742 #[doc = "The `uniformMatrix2x4fv()` method."]
6743 #[doc = ""]
6744 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6745 #[doc = ""]
6746 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6747 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length(
6748 this: &WebGl2RenderingContext,
6749 location: Option<&WebGlUniformLocation>,
6750 transpose: bool,
6751 data: &[f32],
6752 src_offset: u32,
6753 src_length: u32,
6754 );
6755 #[cfg(feature = "WebGlUniformLocation")]
6756 #[wasm_bindgen(
6757 method,
6758 js_class = "WebGL2RenderingContext",
6759 js_name = "uniformMatrix2x4fv"
6760 )]
6761 #[doc = "The `uniformMatrix2x4fv()` method."]
6762 #[doc = ""]
6763 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6764 #[doc = ""]
6765 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6766 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset_and_src_length(
6767 this: &WebGl2RenderingContext,
6768 location: Option<&WebGlUniformLocation>,
6769 transpose: bool,
6770 data: &::js_sys::Float32Array,
6771 src_offset: u32,
6772 src_length: u32,
6773 );
6774 #[cfg(feature = "WebGlUniformLocation")]
6775 #[wasm_bindgen(
6776 method,
6777 js_class = "WebGL2RenderingContext",
6778 js_name = "uniformMatrix2x4fv"
6779 )]
6780 #[doc = "The `uniformMatrix2x4fv()` method."]
6781 #[doc = ""]
6782 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
6783 #[doc = ""]
6784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6785 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length(
6786 this: &WebGl2RenderingContext,
6787 location: Option<&WebGlUniformLocation>,
6788 transpose: bool,
6789 data: &::wasm_bindgen::JsValue,
6790 src_offset: u32,
6791 src_length: u32,
6792 );
6793 #[cfg(feature = "WebGlUniformLocation")]
6794 #[wasm_bindgen(
6795 method,
6796 js_class = "WebGL2RenderingContext",
6797 js_name = "uniformMatrix3fv"
6798 )]
6799 #[doc = "The `uniformMatrix3fv()` method."]
6800 #[doc = ""]
6801 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6802 #[doc = ""]
6803 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6804 pub fn uniform_matrix3fv_with_f32_array(
6805 this: &WebGl2RenderingContext,
6806 location: Option<&WebGlUniformLocation>,
6807 transpose: bool,
6808 data: &[f32],
6809 );
6810 #[cfg(feature = "WebGlUniformLocation")]
6811 #[wasm_bindgen(
6812 method,
6813 js_class = "WebGL2RenderingContext",
6814 js_name = "uniformMatrix3fv"
6815 )]
6816 #[doc = "The `uniformMatrix3fv()` method."]
6817 #[doc = ""]
6818 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6819 #[doc = ""]
6820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6821 pub fn uniform_matrix3fv_with_js_f32_array(
6822 this: &WebGl2RenderingContext,
6823 location: Option<&WebGlUniformLocation>,
6824 transpose: bool,
6825 data: &::js_sys::Float32Array,
6826 );
6827 #[cfg(feature = "WebGlUniformLocation")]
6828 #[wasm_bindgen(
6829 method,
6830 js_class = "WebGL2RenderingContext",
6831 js_name = "uniformMatrix3fv"
6832 )]
6833 #[doc = "The `uniformMatrix3fv()` method."]
6834 #[doc = ""]
6835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6836 #[doc = ""]
6837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6838 pub fn uniform_matrix3fv_with_f32_sequence(
6839 this: &WebGl2RenderingContext,
6840 location: Option<&WebGlUniformLocation>,
6841 transpose: bool,
6842 data: &::wasm_bindgen::JsValue,
6843 );
6844 #[cfg(feature = "WebGlUniformLocation")]
6845 #[wasm_bindgen(
6846 method,
6847 js_class = "WebGL2RenderingContext",
6848 js_name = "uniformMatrix3fv"
6849 )]
6850 #[doc = "The `uniformMatrix3fv()` method."]
6851 #[doc = ""]
6852 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6853 #[doc = ""]
6854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6855 pub fn uniform_matrix3fv_with_f32_array_and_src_offset(
6856 this: &WebGl2RenderingContext,
6857 location: Option<&WebGlUniformLocation>,
6858 transpose: bool,
6859 data: &[f32],
6860 src_offset: u32,
6861 );
6862 #[cfg(feature = "WebGlUniformLocation")]
6863 #[wasm_bindgen(
6864 method,
6865 js_class = "WebGL2RenderingContext",
6866 js_name = "uniformMatrix3fv"
6867 )]
6868 #[doc = "The `uniformMatrix3fv()` method."]
6869 #[doc = ""]
6870 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6871 #[doc = ""]
6872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6873 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset(
6874 this: &WebGl2RenderingContext,
6875 location: Option<&WebGlUniformLocation>,
6876 transpose: bool,
6877 data: &::js_sys::Float32Array,
6878 src_offset: u32,
6879 );
6880 #[cfg(feature = "WebGlUniformLocation")]
6881 #[wasm_bindgen(
6882 method,
6883 js_class = "WebGL2RenderingContext",
6884 js_name = "uniformMatrix3fv"
6885 )]
6886 #[doc = "The `uniformMatrix3fv()` method."]
6887 #[doc = ""]
6888 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6889 #[doc = ""]
6890 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6891 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset(
6892 this: &WebGl2RenderingContext,
6893 location: Option<&WebGlUniformLocation>,
6894 transpose: bool,
6895 data: &::wasm_bindgen::JsValue,
6896 src_offset: u32,
6897 );
6898 #[cfg(feature = "WebGlUniformLocation")]
6899 #[wasm_bindgen(
6900 method,
6901 js_class = "WebGL2RenderingContext",
6902 js_name = "uniformMatrix3fv"
6903 )]
6904 #[doc = "The `uniformMatrix3fv()` method."]
6905 #[doc = ""]
6906 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6907 #[doc = ""]
6908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6909 pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length(
6910 this: &WebGl2RenderingContext,
6911 location: Option<&WebGlUniformLocation>,
6912 transpose: bool,
6913 data: &[f32],
6914 src_offset: u32,
6915 src_length: u32,
6916 );
6917 #[cfg(feature = "WebGlUniformLocation")]
6918 #[wasm_bindgen(
6919 method,
6920 js_class = "WebGL2RenderingContext",
6921 js_name = "uniformMatrix3fv"
6922 )]
6923 #[doc = "The `uniformMatrix3fv()` method."]
6924 #[doc = ""]
6925 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6926 #[doc = ""]
6927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6928 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset_and_src_length(
6929 this: &WebGl2RenderingContext,
6930 location: Option<&WebGlUniformLocation>,
6931 transpose: bool,
6932 data: &::js_sys::Float32Array,
6933 src_offset: u32,
6934 src_length: u32,
6935 );
6936 #[cfg(feature = "WebGlUniformLocation")]
6937 #[wasm_bindgen(
6938 method,
6939 js_class = "WebGL2RenderingContext",
6940 js_name = "uniformMatrix3fv"
6941 )]
6942 #[doc = "The `uniformMatrix3fv()` method."]
6943 #[doc = ""]
6944 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
6945 #[doc = ""]
6946 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6947 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length(
6948 this: &WebGl2RenderingContext,
6949 location: Option<&WebGlUniformLocation>,
6950 transpose: bool,
6951 data: &::wasm_bindgen::JsValue,
6952 src_offset: u32,
6953 src_length: u32,
6954 );
6955 #[cfg(feature = "WebGlUniformLocation")]
6956 #[wasm_bindgen(
6957 method,
6958 js_class = "WebGL2RenderingContext",
6959 js_name = "uniformMatrix3x2fv"
6960 )]
6961 #[doc = "The `uniformMatrix3x2fv()` method."]
6962 #[doc = ""]
6963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6964 #[doc = ""]
6965 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6966 pub fn uniform_matrix3x2fv_with_f32_array(
6967 this: &WebGl2RenderingContext,
6968 location: Option<&WebGlUniformLocation>,
6969 transpose: bool,
6970 data: &[f32],
6971 );
6972 #[cfg(feature = "WebGlUniformLocation")]
6973 #[wasm_bindgen(
6974 method,
6975 js_class = "WebGL2RenderingContext",
6976 js_name = "uniformMatrix3x2fv"
6977 )]
6978 #[doc = "The `uniformMatrix3x2fv()` method."]
6979 #[doc = ""]
6980 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6981 #[doc = ""]
6982 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6983 pub fn uniform_matrix3x2fv_with_js_f32_array(
6984 this: &WebGl2RenderingContext,
6985 location: Option<&WebGlUniformLocation>,
6986 transpose: bool,
6987 data: &::js_sys::Float32Array,
6988 );
6989 #[cfg(feature = "WebGlUniformLocation")]
6990 #[wasm_bindgen(
6991 method,
6992 js_class = "WebGL2RenderingContext",
6993 js_name = "uniformMatrix3x2fv"
6994 )]
6995 #[doc = "The `uniformMatrix3x2fv()` method."]
6996 #[doc = ""]
6997 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6998 #[doc = ""]
6999 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7000 pub fn uniform_matrix3x2fv_with_f32_sequence(
7001 this: &WebGl2RenderingContext,
7002 location: Option<&WebGlUniformLocation>,
7003 transpose: bool,
7004 data: &::wasm_bindgen::JsValue,
7005 );
7006 #[cfg(feature = "WebGlUniformLocation")]
7007 #[wasm_bindgen(
7008 method,
7009 js_class = "WebGL2RenderingContext",
7010 js_name = "uniformMatrix3x2fv"
7011 )]
7012 #[doc = "The `uniformMatrix3x2fv()` method."]
7013 #[doc = ""]
7014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7015 #[doc = ""]
7016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7017 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset(
7018 this: &WebGl2RenderingContext,
7019 location: Option<&WebGlUniformLocation>,
7020 transpose: bool,
7021 data: &[f32],
7022 src_offset: u32,
7023 );
7024 #[cfg(feature = "WebGlUniformLocation")]
7025 #[wasm_bindgen(
7026 method,
7027 js_class = "WebGL2RenderingContext",
7028 js_name = "uniformMatrix3x2fv"
7029 )]
7030 #[doc = "The `uniformMatrix3x2fv()` method."]
7031 #[doc = ""]
7032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7033 #[doc = ""]
7034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7035 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset(
7036 this: &WebGl2RenderingContext,
7037 location: Option<&WebGlUniformLocation>,
7038 transpose: bool,
7039 data: &::js_sys::Float32Array,
7040 src_offset: u32,
7041 );
7042 #[cfg(feature = "WebGlUniformLocation")]
7043 #[wasm_bindgen(
7044 method,
7045 js_class = "WebGL2RenderingContext",
7046 js_name = "uniformMatrix3x2fv"
7047 )]
7048 #[doc = "The `uniformMatrix3x2fv()` method."]
7049 #[doc = ""]
7050 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7051 #[doc = ""]
7052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7053 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset(
7054 this: &WebGl2RenderingContext,
7055 location: Option<&WebGlUniformLocation>,
7056 transpose: bool,
7057 data: &::wasm_bindgen::JsValue,
7058 src_offset: u32,
7059 );
7060 #[cfg(feature = "WebGlUniformLocation")]
7061 #[wasm_bindgen(
7062 method,
7063 js_class = "WebGL2RenderingContext",
7064 js_name = "uniformMatrix3x2fv"
7065 )]
7066 #[doc = "The `uniformMatrix3x2fv()` method."]
7067 #[doc = ""]
7068 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7069 #[doc = ""]
7070 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7071 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length(
7072 this: &WebGl2RenderingContext,
7073 location: Option<&WebGlUniformLocation>,
7074 transpose: bool,
7075 data: &[f32],
7076 src_offset: u32,
7077 src_length: u32,
7078 );
7079 #[cfg(feature = "WebGlUniformLocation")]
7080 #[wasm_bindgen(
7081 method,
7082 js_class = "WebGL2RenderingContext",
7083 js_name = "uniformMatrix3x2fv"
7084 )]
7085 #[doc = "The `uniformMatrix3x2fv()` method."]
7086 #[doc = ""]
7087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7088 #[doc = ""]
7089 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7090 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset_and_src_length(
7091 this: &WebGl2RenderingContext,
7092 location: Option<&WebGlUniformLocation>,
7093 transpose: bool,
7094 data: &::js_sys::Float32Array,
7095 src_offset: u32,
7096 src_length: u32,
7097 );
7098 #[cfg(feature = "WebGlUniformLocation")]
7099 #[wasm_bindgen(
7100 method,
7101 js_class = "WebGL2RenderingContext",
7102 js_name = "uniformMatrix3x2fv"
7103 )]
7104 #[doc = "The `uniformMatrix3x2fv()` method."]
7105 #[doc = ""]
7106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
7107 #[doc = ""]
7108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7109 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length(
7110 this: &WebGl2RenderingContext,
7111 location: Option<&WebGlUniformLocation>,
7112 transpose: bool,
7113 data: &::wasm_bindgen::JsValue,
7114 src_offset: u32,
7115 src_length: u32,
7116 );
7117 #[cfg(feature = "WebGlUniformLocation")]
7118 #[wasm_bindgen(
7119 method,
7120 js_class = "WebGL2RenderingContext",
7121 js_name = "uniformMatrix3x4fv"
7122 )]
7123 #[doc = "The `uniformMatrix3x4fv()` method."]
7124 #[doc = ""]
7125 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7126 #[doc = ""]
7127 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7128 pub fn uniform_matrix3x4fv_with_f32_array(
7129 this: &WebGl2RenderingContext,
7130 location: Option<&WebGlUniformLocation>,
7131 transpose: bool,
7132 data: &[f32],
7133 );
7134 #[cfg(feature = "WebGlUniformLocation")]
7135 #[wasm_bindgen(
7136 method,
7137 js_class = "WebGL2RenderingContext",
7138 js_name = "uniformMatrix3x4fv"
7139 )]
7140 #[doc = "The `uniformMatrix3x4fv()` method."]
7141 #[doc = ""]
7142 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7143 #[doc = ""]
7144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7145 pub fn uniform_matrix3x4fv_with_js_f32_array(
7146 this: &WebGl2RenderingContext,
7147 location: Option<&WebGlUniformLocation>,
7148 transpose: bool,
7149 data: &::js_sys::Float32Array,
7150 );
7151 #[cfg(feature = "WebGlUniformLocation")]
7152 #[wasm_bindgen(
7153 method,
7154 js_class = "WebGL2RenderingContext",
7155 js_name = "uniformMatrix3x4fv"
7156 )]
7157 #[doc = "The `uniformMatrix3x4fv()` method."]
7158 #[doc = ""]
7159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7160 #[doc = ""]
7161 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7162 pub fn uniform_matrix3x4fv_with_f32_sequence(
7163 this: &WebGl2RenderingContext,
7164 location: Option<&WebGlUniformLocation>,
7165 transpose: bool,
7166 data: &::wasm_bindgen::JsValue,
7167 );
7168 #[cfg(feature = "WebGlUniformLocation")]
7169 #[wasm_bindgen(
7170 method,
7171 js_class = "WebGL2RenderingContext",
7172 js_name = "uniformMatrix3x4fv"
7173 )]
7174 #[doc = "The `uniformMatrix3x4fv()` method."]
7175 #[doc = ""]
7176 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7177 #[doc = ""]
7178 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7179 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset(
7180 this: &WebGl2RenderingContext,
7181 location: Option<&WebGlUniformLocation>,
7182 transpose: bool,
7183 data: &[f32],
7184 src_offset: u32,
7185 );
7186 #[cfg(feature = "WebGlUniformLocation")]
7187 #[wasm_bindgen(
7188 method,
7189 js_class = "WebGL2RenderingContext",
7190 js_name = "uniformMatrix3x4fv"
7191 )]
7192 #[doc = "The `uniformMatrix3x4fv()` method."]
7193 #[doc = ""]
7194 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7195 #[doc = ""]
7196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7197 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset(
7198 this: &WebGl2RenderingContext,
7199 location: Option<&WebGlUniformLocation>,
7200 transpose: bool,
7201 data: &::js_sys::Float32Array,
7202 src_offset: u32,
7203 );
7204 #[cfg(feature = "WebGlUniformLocation")]
7205 #[wasm_bindgen(
7206 method,
7207 js_class = "WebGL2RenderingContext",
7208 js_name = "uniformMatrix3x4fv"
7209 )]
7210 #[doc = "The `uniformMatrix3x4fv()` method."]
7211 #[doc = ""]
7212 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7213 #[doc = ""]
7214 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7215 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset(
7216 this: &WebGl2RenderingContext,
7217 location: Option<&WebGlUniformLocation>,
7218 transpose: bool,
7219 data: &::wasm_bindgen::JsValue,
7220 src_offset: u32,
7221 );
7222 #[cfg(feature = "WebGlUniformLocation")]
7223 #[wasm_bindgen(
7224 method,
7225 js_class = "WebGL2RenderingContext",
7226 js_name = "uniformMatrix3x4fv"
7227 )]
7228 #[doc = "The `uniformMatrix3x4fv()` method."]
7229 #[doc = ""]
7230 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7231 #[doc = ""]
7232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7233 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length(
7234 this: &WebGl2RenderingContext,
7235 location: Option<&WebGlUniformLocation>,
7236 transpose: bool,
7237 data: &[f32],
7238 src_offset: u32,
7239 src_length: u32,
7240 );
7241 #[cfg(feature = "WebGlUniformLocation")]
7242 #[wasm_bindgen(
7243 method,
7244 js_class = "WebGL2RenderingContext",
7245 js_name = "uniformMatrix3x4fv"
7246 )]
7247 #[doc = "The `uniformMatrix3x4fv()` method."]
7248 #[doc = ""]
7249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7250 #[doc = ""]
7251 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7252 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset_and_src_length(
7253 this: &WebGl2RenderingContext,
7254 location: Option<&WebGlUniformLocation>,
7255 transpose: bool,
7256 data: &::js_sys::Float32Array,
7257 src_offset: u32,
7258 src_length: u32,
7259 );
7260 #[cfg(feature = "WebGlUniformLocation")]
7261 #[wasm_bindgen(
7262 method,
7263 js_class = "WebGL2RenderingContext",
7264 js_name = "uniformMatrix3x4fv"
7265 )]
7266 #[doc = "The `uniformMatrix3x4fv()` method."]
7267 #[doc = ""]
7268 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
7269 #[doc = ""]
7270 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7271 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length(
7272 this: &WebGl2RenderingContext,
7273 location: Option<&WebGlUniformLocation>,
7274 transpose: bool,
7275 data: &::wasm_bindgen::JsValue,
7276 src_offset: u32,
7277 src_length: u32,
7278 );
7279 #[cfg(feature = "WebGlUniformLocation")]
7280 #[wasm_bindgen(
7281 method,
7282 js_class = "WebGL2RenderingContext",
7283 js_name = "uniformMatrix4fv"
7284 )]
7285 #[doc = "The `uniformMatrix4fv()` method."]
7286 #[doc = ""]
7287 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7288 #[doc = ""]
7289 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7290 pub fn uniform_matrix4fv_with_f32_array(
7291 this: &WebGl2RenderingContext,
7292 location: Option<&WebGlUniformLocation>,
7293 transpose: bool,
7294 data: &[f32],
7295 );
7296 #[cfg(feature = "WebGlUniformLocation")]
7297 #[wasm_bindgen(
7298 method,
7299 js_class = "WebGL2RenderingContext",
7300 js_name = "uniformMatrix4fv"
7301 )]
7302 #[doc = "The `uniformMatrix4fv()` method."]
7303 #[doc = ""]
7304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7305 #[doc = ""]
7306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7307 pub fn uniform_matrix4fv_with_js_f32_array(
7308 this: &WebGl2RenderingContext,
7309 location: Option<&WebGlUniformLocation>,
7310 transpose: bool,
7311 data: &::js_sys::Float32Array,
7312 );
7313 #[cfg(feature = "WebGlUniformLocation")]
7314 #[wasm_bindgen(
7315 method,
7316 js_class = "WebGL2RenderingContext",
7317 js_name = "uniformMatrix4fv"
7318 )]
7319 #[doc = "The `uniformMatrix4fv()` method."]
7320 #[doc = ""]
7321 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7322 #[doc = ""]
7323 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7324 pub fn uniform_matrix4fv_with_f32_sequence(
7325 this: &WebGl2RenderingContext,
7326 location: Option<&WebGlUniformLocation>,
7327 transpose: bool,
7328 data: &::wasm_bindgen::JsValue,
7329 );
7330 #[cfg(feature = "WebGlUniformLocation")]
7331 #[wasm_bindgen(
7332 method,
7333 js_class = "WebGL2RenderingContext",
7334 js_name = "uniformMatrix4fv"
7335 )]
7336 #[doc = "The `uniformMatrix4fv()` method."]
7337 #[doc = ""]
7338 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7339 #[doc = ""]
7340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7341 pub fn uniform_matrix4fv_with_f32_array_and_src_offset(
7342 this: &WebGl2RenderingContext,
7343 location: Option<&WebGlUniformLocation>,
7344 transpose: bool,
7345 data: &[f32],
7346 src_offset: u32,
7347 );
7348 #[cfg(feature = "WebGlUniformLocation")]
7349 #[wasm_bindgen(
7350 method,
7351 js_class = "WebGL2RenderingContext",
7352 js_name = "uniformMatrix4fv"
7353 )]
7354 #[doc = "The `uniformMatrix4fv()` method."]
7355 #[doc = ""]
7356 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7357 #[doc = ""]
7358 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7359 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset(
7360 this: &WebGl2RenderingContext,
7361 location: Option<&WebGlUniformLocation>,
7362 transpose: bool,
7363 data: &::js_sys::Float32Array,
7364 src_offset: u32,
7365 );
7366 #[cfg(feature = "WebGlUniformLocation")]
7367 #[wasm_bindgen(
7368 method,
7369 js_class = "WebGL2RenderingContext",
7370 js_name = "uniformMatrix4fv"
7371 )]
7372 #[doc = "The `uniformMatrix4fv()` method."]
7373 #[doc = ""]
7374 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7375 #[doc = ""]
7376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7377 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset(
7378 this: &WebGl2RenderingContext,
7379 location: Option<&WebGlUniformLocation>,
7380 transpose: bool,
7381 data: &::wasm_bindgen::JsValue,
7382 src_offset: u32,
7383 );
7384 #[cfg(feature = "WebGlUniformLocation")]
7385 #[wasm_bindgen(
7386 method,
7387 js_class = "WebGL2RenderingContext",
7388 js_name = "uniformMatrix4fv"
7389 )]
7390 #[doc = "The `uniformMatrix4fv()` method."]
7391 #[doc = ""]
7392 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7393 #[doc = ""]
7394 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7395 pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length(
7396 this: &WebGl2RenderingContext,
7397 location: Option<&WebGlUniformLocation>,
7398 transpose: bool,
7399 data: &[f32],
7400 src_offset: u32,
7401 src_length: u32,
7402 );
7403 #[cfg(feature = "WebGlUniformLocation")]
7404 #[wasm_bindgen(
7405 method,
7406 js_class = "WebGL2RenderingContext",
7407 js_name = "uniformMatrix4fv"
7408 )]
7409 #[doc = "The `uniformMatrix4fv()` method."]
7410 #[doc = ""]
7411 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7412 #[doc = ""]
7413 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7414 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset_and_src_length(
7415 this: &WebGl2RenderingContext,
7416 location: Option<&WebGlUniformLocation>,
7417 transpose: bool,
7418 data: &::js_sys::Float32Array,
7419 src_offset: u32,
7420 src_length: u32,
7421 );
7422 #[cfg(feature = "WebGlUniformLocation")]
7423 #[wasm_bindgen(
7424 method,
7425 js_class = "WebGL2RenderingContext",
7426 js_name = "uniformMatrix4fv"
7427 )]
7428 #[doc = "The `uniformMatrix4fv()` method."]
7429 #[doc = ""]
7430 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
7431 #[doc = ""]
7432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7433 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length(
7434 this: &WebGl2RenderingContext,
7435 location: Option<&WebGlUniformLocation>,
7436 transpose: bool,
7437 data: &::wasm_bindgen::JsValue,
7438 src_offset: u32,
7439 src_length: u32,
7440 );
7441 #[cfg(feature = "WebGlUniformLocation")]
7442 #[wasm_bindgen(
7443 method,
7444 js_class = "WebGL2RenderingContext",
7445 js_name = "uniformMatrix4x2fv"
7446 )]
7447 #[doc = "The `uniformMatrix4x2fv()` method."]
7448 #[doc = ""]
7449 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7450 #[doc = ""]
7451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7452 pub fn uniform_matrix4x2fv_with_f32_array(
7453 this: &WebGl2RenderingContext,
7454 location: Option<&WebGlUniformLocation>,
7455 transpose: bool,
7456 data: &[f32],
7457 );
7458 #[cfg(feature = "WebGlUniformLocation")]
7459 #[wasm_bindgen(
7460 method,
7461 js_class = "WebGL2RenderingContext",
7462 js_name = "uniformMatrix4x2fv"
7463 )]
7464 #[doc = "The `uniformMatrix4x2fv()` method."]
7465 #[doc = ""]
7466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7467 #[doc = ""]
7468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7469 pub fn uniform_matrix4x2fv_with_js_f32_array(
7470 this: &WebGl2RenderingContext,
7471 location: Option<&WebGlUniformLocation>,
7472 transpose: bool,
7473 data: &::js_sys::Float32Array,
7474 );
7475 #[cfg(feature = "WebGlUniformLocation")]
7476 #[wasm_bindgen(
7477 method,
7478 js_class = "WebGL2RenderingContext",
7479 js_name = "uniformMatrix4x2fv"
7480 )]
7481 #[doc = "The `uniformMatrix4x2fv()` method."]
7482 #[doc = ""]
7483 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7484 #[doc = ""]
7485 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7486 pub fn uniform_matrix4x2fv_with_f32_sequence(
7487 this: &WebGl2RenderingContext,
7488 location: Option<&WebGlUniformLocation>,
7489 transpose: bool,
7490 data: &::wasm_bindgen::JsValue,
7491 );
7492 #[cfg(feature = "WebGlUniformLocation")]
7493 #[wasm_bindgen(
7494 method,
7495 js_class = "WebGL2RenderingContext",
7496 js_name = "uniformMatrix4x2fv"
7497 )]
7498 #[doc = "The `uniformMatrix4x2fv()` method."]
7499 #[doc = ""]
7500 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7501 #[doc = ""]
7502 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7503 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset(
7504 this: &WebGl2RenderingContext,
7505 location: Option<&WebGlUniformLocation>,
7506 transpose: bool,
7507 data: &[f32],
7508 src_offset: u32,
7509 );
7510 #[cfg(feature = "WebGlUniformLocation")]
7511 #[wasm_bindgen(
7512 method,
7513 js_class = "WebGL2RenderingContext",
7514 js_name = "uniformMatrix4x2fv"
7515 )]
7516 #[doc = "The `uniformMatrix4x2fv()` method."]
7517 #[doc = ""]
7518 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7519 #[doc = ""]
7520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7521 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset(
7522 this: &WebGl2RenderingContext,
7523 location: Option<&WebGlUniformLocation>,
7524 transpose: bool,
7525 data: &::js_sys::Float32Array,
7526 src_offset: u32,
7527 );
7528 #[cfg(feature = "WebGlUniformLocation")]
7529 #[wasm_bindgen(
7530 method,
7531 js_class = "WebGL2RenderingContext",
7532 js_name = "uniformMatrix4x2fv"
7533 )]
7534 #[doc = "The `uniformMatrix4x2fv()` method."]
7535 #[doc = ""]
7536 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7537 #[doc = ""]
7538 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7539 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset(
7540 this: &WebGl2RenderingContext,
7541 location: Option<&WebGlUniformLocation>,
7542 transpose: bool,
7543 data: &::wasm_bindgen::JsValue,
7544 src_offset: u32,
7545 );
7546 #[cfg(feature = "WebGlUniformLocation")]
7547 #[wasm_bindgen(
7548 method,
7549 js_class = "WebGL2RenderingContext",
7550 js_name = "uniformMatrix4x2fv"
7551 )]
7552 #[doc = "The `uniformMatrix4x2fv()` method."]
7553 #[doc = ""]
7554 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7555 #[doc = ""]
7556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7557 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length(
7558 this: &WebGl2RenderingContext,
7559 location: Option<&WebGlUniformLocation>,
7560 transpose: bool,
7561 data: &[f32],
7562 src_offset: u32,
7563 src_length: u32,
7564 );
7565 #[cfg(feature = "WebGlUniformLocation")]
7566 #[wasm_bindgen(
7567 method,
7568 js_class = "WebGL2RenderingContext",
7569 js_name = "uniformMatrix4x2fv"
7570 )]
7571 #[doc = "The `uniformMatrix4x2fv()` method."]
7572 #[doc = ""]
7573 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7574 #[doc = ""]
7575 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7576 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset_and_src_length(
7577 this: &WebGl2RenderingContext,
7578 location: Option<&WebGlUniformLocation>,
7579 transpose: bool,
7580 data: &::js_sys::Float32Array,
7581 src_offset: u32,
7582 src_length: u32,
7583 );
7584 #[cfg(feature = "WebGlUniformLocation")]
7585 #[wasm_bindgen(
7586 method,
7587 js_class = "WebGL2RenderingContext",
7588 js_name = "uniformMatrix4x2fv"
7589 )]
7590 #[doc = "The `uniformMatrix4x2fv()` method."]
7591 #[doc = ""]
7592 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
7593 #[doc = ""]
7594 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7595 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length(
7596 this: &WebGl2RenderingContext,
7597 location: Option<&WebGlUniformLocation>,
7598 transpose: bool,
7599 data: &::wasm_bindgen::JsValue,
7600 src_offset: u32,
7601 src_length: u32,
7602 );
7603 #[cfg(feature = "WebGlUniformLocation")]
7604 #[wasm_bindgen(
7605 method,
7606 js_class = "WebGL2RenderingContext",
7607 js_name = "uniformMatrix4x3fv"
7608 )]
7609 #[doc = "The `uniformMatrix4x3fv()` method."]
7610 #[doc = ""]
7611 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7612 #[doc = ""]
7613 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7614 pub fn uniform_matrix4x3fv_with_f32_array(
7615 this: &WebGl2RenderingContext,
7616 location: Option<&WebGlUniformLocation>,
7617 transpose: bool,
7618 data: &[f32],
7619 );
7620 #[cfg(feature = "WebGlUniformLocation")]
7621 #[wasm_bindgen(
7622 method,
7623 js_class = "WebGL2RenderingContext",
7624 js_name = "uniformMatrix4x3fv"
7625 )]
7626 #[doc = "The `uniformMatrix4x3fv()` method."]
7627 #[doc = ""]
7628 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7629 #[doc = ""]
7630 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7631 pub fn uniform_matrix4x3fv_with_js_f32_array(
7632 this: &WebGl2RenderingContext,
7633 location: Option<&WebGlUniformLocation>,
7634 transpose: bool,
7635 data: &::js_sys::Float32Array,
7636 );
7637 #[cfg(feature = "WebGlUniformLocation")]
7638 #[wasm_bindgen(
7639 method,
7640 js_class = "WebGL2RenderingContext",
7641 js_name = "uniformMatrix4x3fv"
7642 )]
7643 #[doc = "The `uniformMatrix4x3fv()` method."]
7644 #[doc = ""]
7645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7646 #[doc = ""]
7647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7648 pub fn uniform_matrix4x3fv_with_f32_sequence(
7649 this: &WebGl2RenderingContext,
7650 location: Option<&WebGlUniformLocation>,
7651 transpose: bool,
7652 data: &::wasm_bindgen::JsValue,
7653 );
7654 #[cfg(feature = "WebGlUniformLocation")]
7655 #[wasm_bindgen(
7656 method,
7657 js_class = "WebGL2RenderingContext",
7658 js_name = "uniformMatrix4x3fv"
7659 )]
7660 #[doc = "The `uniformMatrix4x3fv()` method."]
7661 #[doc = ""]
7662 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7663 #[doc = ""]
7664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7665 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset(
7666 this: &WebGl2RenderingContext,
7667 location: Option<&WebGlUniformLocation>,
7668 transpose: bool,
7669 data: &[f32],
7670 src_offset: u32,
7671 );
7672 #[cfg(feature = "WebGlUniformLocation")]
7673 #[wasm_bindgen(
7674 method,
7675 js_class = "WebGL2RenderingContext",
7676 js_name = "uniformMatrix4x3fv"
7677 )]
7678 #[doc = "The `uniformMatrix4x3fv()` method."]
7679 #[doc = ""]
7680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7681 #[doc = ""]
7682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7683 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset(
7684 this: &WebGl2RenderingContext,
7685 location: Option<&WebGlUniformLocation>,
7686 transpose: bool,
7687 data: &::js_sys::Float32Array,
7688 src_offset: u32,
7689 );
7690 #[cfg(feature = "WebGlUniformLocation")]
7691 #[wasm_bindgen(
7692 method,
7693 js_class = "WebGL2RenderingContext",
7694 js_name = "uniformMatrix4x3fv"
7695 )]
7696 #[doc = "The `uniformMatrix4x3fv()` method."]
7697 #[doc = ""]
7698 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7699 #[doc = ""]
7700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7701 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset(
7702 this: &WebGl2RenderingContext,
7703 location: Option<&WebGlUniformLocation>,
7704 transpose: bool,
7705 data: &::wasm_bindgen::JsValue,
7706 src_offset: u32,
7707 );
7708 #[cfg(feature = "WebGlUniformLocation")]
7709 #[wasm_bindgen(
7710 method,
7711 js_class = "WebGL2RenderingContext",
7712 js_name = "uniformMatrix4x3fv"
7713 )]
7714 #[doc = "The `uniformMatrix4x3fv()` method."]
7715 #[doc = ""]
7716 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7717 #[doc = ""]
7718 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7719 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length(
7720 this: &WebGl2RenderingContext,
7721 location: Option<&WebGlUniformLocation>,
7722 transpose: bool,
7723 data: &[f32],
7724 src_offset: u32,
7725 src_length: u32,
7726 );
7727 #[cfg(feature = "WebGlUniformLocation")]
7728 #[wasm_bindgen(
7729 method,
7730 js_class = "WebGL2RenderingContext",
7731 js_name = "uniformMatrix4x3fv"
7732 )]
7733 #[doc = "The `uniformMatrix4x3fv()` method."]
7734 #[doc = ""]
7735 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7736 #[doc = ""]
7737 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7738 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset_and_src_length(
7739 this: &WebGl2RenderingContext,
7740 location: Option<&WebGlUniformLocation>,
7741 transpose: bool,
7742 data: &::js_sys::Float32Array,
7743 src_offset: u32,
7744 src_length: u32,
7745 );
7746 #[cfg(feature = "WebGlUniformLocation")]
7747 #[wasm_bindgen(
7748 method,
7749 js_class = "WebGL2RenderingContext",
7750 js_name = "uniformMatrix4x3fv"
7751 )]
7752 #[doc = "The `uniformMatrix4x3fv()` method."]
7753 #[doc = ""]
7754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
7755 #[doc = ""]
7756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7757 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length(
7758 this: &WebGl2RenderingContext,
7759 location: Option<&WebGlUniformLocation>,
7760 transpose: bool,
7761 data: &::wasm_bindgen::JsValue,
7762 src_offset: u32,
7763 src_length: u32,
7764 );
7765 #[wasm_bindgen(
7766 method,
7767 js_class = "WebGL2RenderingContext",
7768 js_name = "vertexAttribDivisor"
7769 )]
7770 #[doc = "The `vertexAttribDivisor()` method."]
7771 #[doc = ""]
7772 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)"]
7773 #[doc = ""]
7774 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7775 pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32);
7776 #[wasm_bindgen(
7777 method,
7778 js_class = "WebGL2RenderingContext",
7779 js_name = "vertexAttribI4i"
7780 )]
7781 #[doc = "The `vertexAttribI4i()` method."]
7782 #[doc = ""]
7783 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)"]
7784 #[doc = ""]
7785 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7786 pub fn vertex_attrib_i4i(
7787 this: &WebGl2RenderingContext,
7788 index: u32,
7789 x: i32,
7790 y: i32,
7791 z: i32,
7792 w: i32,
7793 );
7794 #[wasm_bindgen(
7795 method,
7796 js_class = "WebGL2RenderingContext",
7797 js_name = "vertexAttribI4iv"
7798 )]
7799 #[doc = "The `vertexAttribI4iv()` method."]
7800 #[doc = ""]
7801 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
7802 #[doc = ""]
7803 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7804 pub fn vertex_attrib_i4iv_with_i32_array(
7805 this: &WebGl2RenderingContext,
7806 index: u32,
7807 values: &mut [i32],
7808 );
7809 #[wasm_bindgen(
7810 method,
7811 js_class = "WebGL2RenderingContext",
7812 js_name = "vertexAttribI4iv"
7813 )]
7814 #[doc = "The `vertexAttribI4iv()` method."]
7815 #[doc = ""]
7816 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
7817 #[doc = ""]
7818 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7819 pub fn vertex_attrib_i4iv_with_js_i32_array(
7820 this: &WebGl2RenderingContext,
7821 index: u32,
7822 values: &::js_sys::Int32Array,
7823 );
7824 #[wasm_bindgen(
7825 method,
7826 js_class = "WebGL2RenderingContext",
7827 js_name = "vertexAttribI4iv"
7828 )]
7829 #[doc = "The `vertexAttribI4iv()` method."]
7830 #[doc = ""]
7831 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
7832 #[doc = ""]
7833 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7834 pub fn vertex_attrib_i4iv_with_i32_sequence(
7835 this: &WebGl2RenderingContext,
7836 index: u32,
7837 values: &::wasm_bindgen::JsValue,
7838 );
7839 #[wasm_bindgen(
7840 method,
7841 js_class = "WebGL2RenderingContext",
7842 js_name = "vertexAttribI4ui"
7843 )]
7844 #[doc = "The `vertexAttribI4ui()` method."]
7845 #[doc = ""]
7846 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)"]
7847 #[doc = ""]
7848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7849 pub fn vertex_attrib_i4ui(
7850 this: &WebGl2RenderingContext,
7851 index: u32,
7852 x: u32,
7853 y: u32,
7854 z: u32,
7855 w: u32,
7856 );
7857 #[wasm_bindgen(
7858 method,
7859 js_class = "WebGL2RenderingContext",
7860 js_name = "vertexAttribI4uiv"
7861 )]
7862 #[doc = "The `vertexAttribI4uiv()` method."]
7863 #[doc = ""]
7864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
7865 #[doc = ""]
7866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7867 pub fn vertex_attrib_i4uiv_with_u32_array(
7868 this: &WebGl2RenderingContext,
7869 index: u32,
7870 values: &mut [u32],
7871 );
7872 #[wasm_bindgen(
7873 method,
7874 js_class = "WebGL2RenderingContext",
7875 js_name = "vertexAttribI4uiv"
7876 )]
7877 #[doc = "The `vertexAttribI4uiv()` method."]
7878 #[doc = ""]
7879 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
7880 #[doc = ""]
7881 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7882 pub fn vertex_attrib_i4uiv_with_js_u32_array(
7883 this: &WebGl2RenderingContext,
7884 index: u32,
7885 values: &::js_sys::Uint32Array,
7886 );
7887 #[wasm_bindgen(
7888 method,
7889 js_class = "WebGL2RenderingContext",
7890 js_name = "vertexAttribI4uiv"
7891 )]
7892 #[doc = "The `vertexAttribI4uiv()` method."]
7893 #[doc = ""]
7894 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
7895 #[doc = ""]
7896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7897 pub fn vertex_attrib_i4uiv_with_u32_sequence(
7898 this: &WebGl2RenderingContext,
7899 index: u32,
7900 values: &::wasm_bindgen::JsValue,
7901 );
7902 #[wasm_bindgen(
7903 method,
7904 js_class = "WebGL2RenderingContext",
7905 js_name = "vertexAttribIPointer"
7906 )]
7907 #[doc = "The `vertexAttribIPointer()` method."]
7908 #[doc = ""]
7909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
7910 #[doc = ""]
7911 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7912 pub fn vertex_attrib_i_pointer_with_i32(
7913 this: &WebGl2RenderingContext,
7914 index: u32,
7915 size: i32,
7916 type_: u32,
7917 stride: i32,
7918 offset: i32,
7919 );
7920 #[wasm_bindgen(
7921 method,
7922 js_class = "WebGL2RenderingContext",
7923 js_name = "vertexAttribIPointer"
7924 )]
7925 #[doc = "The `vertexAttribIPointer()` method."]
7926 #[doc = ""]
7927 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
7928 #[doc = ""]
7929 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7930 pub fn vertex_attrib_i_pointer_with_f64(
7931 this: &WebGl2RenderingContext,
7932 index: u32,
7933 size: i32,
7934 type_: u32,
7935 stride: i32,
7936 offset: f64,
7937 );
7938 #[cfg(feature = "WebGlSync")]
7939 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "waitSync")]
7940 #[doc = "The `waitSync()` method."]
7941 #[doc = ""]
7942 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
7943 #[doc = ""]
7944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
7945 pub fn wait_sync_with_i32(
7946 this: &WebGl2RenderingContext,
7947 sync: &WebGlSync,
7948 flags: u32,
7949 timeout: i32,
7950 );
7951 #[cfg(feature = "WebGlSync")]
7952 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "waitSync")]
7953 #[doc = "The `waitSync()` method."]
7954 #[doc = ""]
7955 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
7956 #[doc = ""]
7957 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
7958 pub fn wait_sync_with_f64(
7959 this: &WebGl2RenderingContext,
7960 sync: &WebGlSync,
7961 flags: u32,
7962 timeout: f64,
7963 );
7964 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "activeTexture")]
7965 #[doc = "The `activeTexture()` method."]
7966 #[doc = ""]
7967 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)"]
7968 #[doc = ""]
7969 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7970 pub fn active_texture(this: &WebGl2RenderingContext, texture: u32);
7971 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
7972 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "attachShader")]
7973 #[doc = "The `attachShader()` method."]
7974 #[doc = ""]
7975 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)"]
7976 #[doc = ""]
7977 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
7978 pub fn attach_shader(
7979 this: &WebGl2RenderingContext,
7980 program: &WebGlProgram,
7981 shader: &WebGlShader,
7982 );
7983 #[cfg(feature = "WebGlProgram")]
7984 #[wasm_bindgen(
7985 method,
7986 js_class = "WebGL2RenderingContext",
7987 js_name = "bindAttribLocation"
7988 )]
7989 #[doc = "The `bindAttribLocation()` method."]
7990 #[doc = ""]
7991 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)"]
7992 #[doc = ""]
7993 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7994 pub fn bind_attrib_location(
7995 this: &WebGl2RenderingContext,
7996 program: &WebGlProgram,
7997 index: u32,
7998 name: &str,
7999 );
8000 #[cfg(feature = "WebGlBuffer")]
8001 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bindBuffer")]
8002 #[doc = "The `bindBuffer()` method."]
8003 #[doc = ""]
8004 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)"]
8005 #[doc = ""]
8006 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8007 pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
8008 #[cfg(feature = "WebGlFramebuffer")]
8009 #[wasm_bindgen(
8010 method,
8011 js_class = "WebGL2RenderingContext",
8012 js_name = "bindFramebuffer"
8013 )]
8014 #[doc = "The `bindFramebuffer()` method."]
8015 #[doc = ""]
8016 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)"]
8017 #[doc = ""]
8018 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8019 pub fn bind_framebuffer(
8020 this: &WebGl2RenderingContext,
8021 target: u32,
8022 framebuffer: Option<&WebGlFramebuffer>,
8023 );
8024 #[cfg(feature = "WebGlRenderbuffer")]
8025 #[wasm_bindgen(
8026 method,
8027 js_class = "WebGL2RenderingContext",
8028 js_name = "bindRenderbuffer"
8029 )]
8030 #[doc = "The `bindRenderbuffer()` method."]
8031 #[doc = ""]
8032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)"]
8033 #[doc = ""]
8034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8035 pub fn bind_renderbuffer(
8036 this: &WebGl2RenderingContext,
8037 target: u32,
8038 renderbuffer: Option<&WebGlRenderbuffer>,
8039 );
8040 #[cfg(feature = "WebGlTexture")]
8041 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "bindTexture")]
8042 #[doc = "The `bindTexture()` method."]
8043 #[doc = ""]
8044 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)"]
8045 #[doc = ""]
8046 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8047 pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>);
8048 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "blendColor")]
8049 #[doc = "The `blendColor()` method."]
8050 #[doc = ""]
8051 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)"]
8052 #[doc = ""]
8053 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8054 pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
8055 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "blendEquation")]
8056 #[doc = "The `blendEquation()` method."]
8057 #[doc = ""]
8058 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)"]
8059 #[doc = ""]
8060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8061 pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32);
8062 #[wasm_bindgen(
8063 method,
8064 js_class = "WebGL2RenderingContext",
8065 js_name = "blendEquationSeparate"
8066 )]
8067 #[doc = "The `blendEquationSeparate()` method."]
8068 #[doc = ""]
8069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)"]
8070 #[doc = ""]
8071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8072 pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32);
8073 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "blendFunc")]
8074 #[doc = "The `blendFunc()` method."]
8075 #[doc = ""]
8076 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)"]
8077 #[doc = ""]
8078 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8079 pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32);
8080 #[wasm_bindgen(
8081 method,
8082 js_class = "WebGL2RenderingContext",
8083 js_name = "blendFuncSeparate"
8084 )]
8085 #[doc = "The `blendFuncSeparate()` method."]
8086 #[doc = ""]
8087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)"]
8088 #[doc = ""]
8089 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8090 pub fn blend_func_separate(
8091 this: &WebGl2RenderingContext,
8092 src_rgb: u32,
8093 dst_rgb: u32,
8094 src_alpha: u32,
8095 dst_alpha: u32,
8096 );
8097 #[wasm_bindgen(
8098 method,
8099 js_class = "WebGL2RenderingContext",
8100 js_name = "checkFramebufferStatus"
8101 )]
8102 #[doc = "The `checkFramebufferStatus()` method."]
8103 #[doc = ""]
8104 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)"]
8105 #[doc = ""]
8106 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8107 pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32;
8108 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8109 #[doc = "The `clear()` method."]
8110 #[doc = ""]
8111 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)"]
8112 #[doc = ""]
8113 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8114 pub fn clear(this: &WebGl2RenderingContext, mask: u32);
8115 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearColor")]
8116 #[doc = "The `clearColor()` method."]
8117 #[doc = ""]
8118 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)"]
8119 #[doc = ""]
8120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8121 pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
8122 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearDepth")]
8123 #[doc = "The `clearDepth()` method."]
8124 #[doc = ""]
8125 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)"]
8126 #[doc = ""]
8127 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8128 pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32);
8129 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "clearStencil")]
8130 #[doc = "The `clearStencil()` method."]
8131 #[doc = ""]
8132 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)"]
8133 #[doc = ""]
8134 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8135 pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32);
8136 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "colorMask")]
8137 #[doc = "The `colorMask()` method."]
8138 #[doc = ""]
8139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)"]
8140 #[doc = ""]
8141 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8142 pub fn color_mask(
8143 this: &WebGl2RenderingContext,
8144 red: bool,
8145 green: bool,
8146 blue: bool,
8147 alpha: bool,
8148 );
8149 #[cfg(feature = "WebGlShader")]
8150 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "compileShader")]
8151 #[doc = "The `compileShader()` method."]
8152 #[doc = ""]
8153 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)"]
8154 #[doc = ""]
8155 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8156 pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader);
8157 #[wasm_bindgen(
8158 method,
8159 js_class = "WebGL2RenderingContext",
8160 js_name = "copyTexImage2D"
8161 )]
8162 #[doc = "The `copyTexImage2D()` method."]
8163 #[doc = ""]
8164 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)"]
8165 #[doc = ""]
8166 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8167 pub fn copy_tex_image_2d(
8168 this: &WebGl2RenderingContext,
8169 target: u32,
8170 level: i32,
8171 internalformat: u32,
8172 x: i32,
8173 y: i32,
8174 width: i32,
8175 height: i32,
8176 border: i32,
8177 );
8178 #[wasm_bindgen(
8179 method,
8180 js_class = "WebGL2RenderingContext",
8181 js_name = "copyTexSubImage2D"
8182 )]
8183 #[doc = "The `copyTexSubImage2D()` method."]
8184 #[doc = ""]
8185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)"]
8186 #[doc = ""]
8187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8188 pub fn copy_tex_sub_image_2d(
8189 this: &WebGl2RenderingContext,
8190 target: u32,
8191 level: i32,
8192 xoffset: i32,
8193 yoffset: i32,
8194 x: i32,
8195 y: i32,
8196 width: i32,
8197 height: i32,
8198 );
8199 #[cfg(feature = "WebGlBuffer")]
8200 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createBuffer")]
8201 #[doc = "The `createBuffer()` method."]
8202 #[doc = ""]
8203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)"]
8204 #[doc = ""]
8205 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8206 pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>;
8207 #[cfg(feature = "WebGlFramebuffer")]
8208 #[wasm_bindgen(
8209 method,
8210 js_class = "WebGL2RenderingContext",
8211 js_name = "createFramebuffer"
8212 )]
8213 #[doc = "The `createFramebuffer()` method."]
8214 #[doc = ""]
8215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)"]
8216 #[doc = ""]
8217 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8218 pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>;
8219 #[cfg(feature = "WebGlProgram")]
8220 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createProgram")]
8221 #[doc = "The `createProgram()` method."]
8222 #[doc = ""]
8223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)"]
8224 #[doc = ""]
8225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8226 pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>;
8227 #[cfg(feature = "WebGlRenderbuffer")]
8228 #[wasm_bindgen(
8229 method,
8230 js_class = "WebGL2RenderingContext",
8231 js_name = "createRenderbuffer"
8232 )]
8233 #[doc = "The `createRenderbuffer()` method."]
8234 #[doc = ""]
8235 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)"]
8236 #[doc = ""]
8237 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8238 pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>;
8239 #[cfg(feature = "WebGlShader")]
8240 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createShader")]
8241 #[doc = "The `createShader()` method."]
8242 #[doc = ""]
8243 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)"]
8244 #[doc = ""]
8245 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8246 pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>;
8247 #[cfg(feature = "WebGlTexture")]
8248 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "createTexture")]
8249 #[doc = "The `createTexture()` method."]
8250 #[doc = ""]
8251 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)"]
8252 #[doc = ""]
8253 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8254 pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>;
8255 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "cullFace")]
8256 #[doc = "The `cullFace()` method."]
8257 #[doc = ""]
8258 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)"]
8259 #[doc = ""]
8260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8261 pub fn cull_face(this: &WebGl2RenderingContext, mode: u32);
8262 #[cfg(feature = "WebGlBuffer")]
8263 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteBuffer")]
8264 #[doc = "The `deleteBuffer()` method."]
8265 #[doc = ""]
8266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)"]
8267 #[doc = ""]
8268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8269 pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>);
8270 #[cfg(feature = "WebGlFramebuffer")]
8271 #[wasm_bindgen(
8272 method,
8273 js_class = "WebGL2RenderingContext",
8274 js_name = "deleteFramebuffer"
8275 )]
8276 #[doc = "The `deleteFramebuffer()` method."]
8277 #[doc = ""]
8278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)"]
8279 #[doc = ""]
8280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8281 pub fn delete_framebuffer(
8282 this: &WebGl2RenderingContext,
8283 framebuffer: Option<&WebGlFramebuffer>,
8284 );
8285 #[cfg(feature = "WebGlProgram")]
8286 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteProgram")]
8287 #[doc = "The `deleteProgram()` method."]
8288 #[doc = ""]
8289 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)"]
8290 #[doc = ""]
8291 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8292 pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
8293 #[cfg(feature = "WebGlRenderbuffer")]
8294 #[wasm_bindgen(
8295 method,
8296 js_class = "WebGL2RenderingContext",
8297 js_name = "deleteRenderbuffer"
8298 )]
8299 #[doc = "The `deleteRenderbuffer()` method."]
8300 #[doc = ""]
8301 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)"]
8302 #[doc = ""]
8303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8304 pub fn delete_renderbuffer(
8305 this: &WebGl2RenderingContext,
8306 renderbuffer: Option<&WebGlRenderbuffer>,
8307 );
8308 #[cfg(feature = "WebGlShader")]
8309 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteShader")]
8310 #[doc = "The `deleteShader()` method."]
8311 #[doc = ""]
8312 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)"]
8313 #[doc = ""]
8314 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8315 pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>);
8316 #[cfg(feature = "WebGlTexture")]
8317 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "deleteTexture")]
8318 #[doc = "The `deleteTexture()` method."]
8319 #[doc = ""]
8320 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)"]
8321 #[doc = ""]
8322 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8323 pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>);
8324 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "depthFunc")]
8325 #[doc = "The `depthFunc()` method."]
8326 #[doc = ""]
8327 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)"]
8328 #[doc = ""]
8329 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8330 pub fn depth_func(this: &WebGl2RenderingContext, func: u32);
8331 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "depthMask")]
8332 #[doc = "The `depthMask()` method."]
8333 #[doc = ""]
8334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)"]
8335 #[doc = ""]
8336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8337 pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool);
8338 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "depthRange")]
8339 #[doc = "The `depthRange()` method."]
8340 #[doc = ""]
8341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)"]
8342 #[doc = ""]
8343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8344 pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32);
8345 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
8346 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "detachShader")]
8347 #[doc = "The `detachShader()` method."]
8348 #[doc = ""]
8349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)"]
8350 #[doc = ""]
8351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
8352 pub fn detach_shader(
8353 this: &WebGl2RenderingContext,
8354 program: &WebGlProgram,
8355 shader: &WebGlShader,
8356 );
8357 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8358 #[doc = "The `disable()` method."]
8359 #[doc = ""]
8360 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)"]
8361 #[doc = ""]
8362 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8363 pub fn disable(this: &WebGl2RenderingContext, cap: u32);
8364 #[wasm_bindgen(
8365 method,
8366 js_class = "WebGL2RenderingContext",
8367 js_name = "disableVertexAttribArray"
8368 )]
8369 #[doc = "The `disableVertexAttribArray()` method."]
8370 #[doc = ""]
8371 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)"]
8372 #[doc = ""]
8373 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8374 pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
8375 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawArrays")]
8376 #[doc = "The `drawArrays()` method."]
8377 #[doc = ""]
8378 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)"]
8379 #[doc = ""]
8380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8381 pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32);
8382 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawElements")]
8383 #[doc = "The `drawElements()` method."]
8384 #[doc = ""]
8385 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
8386 #[doc = ""]
8387 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8388 pub fn draw_elements_with_i32(
8389 this: &WebGl2RenderingContext,
8390 mode: u32,
8391 count: i32,
8392 type_: u32,
8393 offset: i32,
8394 );
8395 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "drawElements")]
8396 #[doc = "The `drawElements()` method."]
8397 #[doc = ""]
8398 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
8399 #[doc = ""]
8400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8401 pub fn draw_elements_with_f64(
8402 this: &WebGl2RenderingContext,
8403 mode: u32,
8404 count: i32,
8405 type_: u32,
8406 offset: f64,
8407 );
8408 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8409 #[doc = "The `enable()` method."]
8410 #[doc = ""]
8411 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)"]
8412 #[doc = ""]
8413 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8414 pub fn enable(this: &WebGl2RenderingContext, cap: u32);
8415 #[wasm_bindgen(
8416 method,
8417 js_class = "WebGL2RenderingContext",
8418 js_name = "enableVertexAttribArray"
8419 )]
8420 #[doc = "The `enableVertexAttribArray()` method."]
8421 #[doc = ""]
8422 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)"]
8423 #[doc = ""]
8424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8425 pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
8426 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8427 #[doc = "The `finish()` method."]
8428 #[doc = ""]
8429 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)"]
8430 #[doc = ""]
8431 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8432 pub fn finish(this: &WebGl2RenderingContext);
8433 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8434 #[doc = "The `flush()` method."]
8435 #[doc = ""]
8436 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)"]
8437 #[doc = ""]
8438 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8439 pub fn flush(this: &WebGl2RenderingContext);
8440 #[cfg(feature = "WebGlRenderbuffer")]
8441 #[wasm_bindgen(
8442 method,
8443 js_class = "WebGL2RenderingContext",
8444 js_name = "framebufferRenderbuffer"
8445 )]
8446 #[doc = "The `framebufferRenderbuffer()` method."]
8447 #[doc = ""]
8448 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)"]
8449 #[doc = ""]
8450 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8451 pub fn framebuffer_renderbuffer(
8452 this: &WebGl2RenderingContext,
8453 target: u32,
8454 attachment: u32,
8455 renderbuffertarget: u32,
8456 renderbuffer: Option<&WebGlRenderbuffer>,
8457 );
8458 #[cfg(feature = "WebGlTexture")]
8459 #[wasm_bindgen(
8460 method,
8461 js_class = "WebGL2RenderingContext",
8462 js_name = "framebufferTexture2D"
8463 )]
8464 #[doc = "The `framebufferTexture2D()` method."]
8465 #[doc = ""]
8466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)"]
8467 #[doc = ""]
8468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8469 pub fn framebuffer_texture_2d(
8470 this: &WebGl2RenderingContext,
8471 target: u32,
8472 attachment: u32,
8473 textarget: u32,
8474 texture: Option<&WebGlTexture>,
8475 level: i32,
8476 );
8477 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "frontFace")]
8478 #[doc = "The `frontFace()` method."]
8479 #[doc = ""]
8480 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)"]
8481 #[doc = ""]
8482 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8483 pub fn front_face(this: &WebGl2RenderingContext, mode: u32);
8484 #[wasm_bindgen(
8485 method,
8486 js_class = "WebGL2RenderingContext",
8487 js_name = "generateMipmap"
8488 )]
8489 #[doc = "The `generateMipmap()` method."]
8490 #[doc = ""]
8491 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)"]
8492 #[doc = ""]
8493 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8494 pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32);
8495 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
8496 #[wasm_bindgen(
8497 method,
8498 js_class = "WebGL2RenderingContext",
8499 js_name = "getActiveAttrib"
8500 )]
8501 #[doc = "The `getActiveAttrib()` method."]
8502 #[doc = ""]
8503 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)"]
8504 #[doc = ""]
8505 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
8506 pub fn get_active_attrib(
8507 this: &WebGl2RenderingContext,
8508 program: &WebGlProgram,
8509 index: u32,
8510 ) -> Option<WebGlActiveInfo>;
8511 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
8512 #[wasm_bindgen(
8513 method,
8514 js_class = "WebGL2RenderingContext",
8515 js_name = "getActiveUniform"
8516 )]
8517 #[doc = "The `getActiveUniform()` method."]
8518 #[doc = ""]
8519 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)"]
8520 #[doc = ""]
8521 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
8522 pub fn get_active_uniform(
8523 this: &WebGl2RenderingContext,
8524 program: &WebGlProgram,
8525 index: u32,
8526 ) -> Option<WebGlActiveInfo>;
8527 #[cfg(feature = "WebGlProgram")]
8528 #[wasm_bindgen(
8529 method,
8530 js_class = "WebGL2RenderingContext",
8531 js_name = "getAttachedShaders"
8532 )]
8533 #[doc = "The `getAttachedShaders()` method."]
8534 #[doc = ""]
8535 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)"]
8536 #[doc = ""]
8537 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8538 pub fn get_attached_shaders(
8539 this: &WebGl2RenderingContext,
8540 program: &WebGlProgram,
8541 ) -> Option<::js_sys::Array>;
8542 #[cfg(feature = "WebGlProgram")]
8543 #[wasm_bindgen(
8544 method,
8545 js_class = "WebGL2RenderingContext",
8546 js_name = "getAttribLocation"
8547 )]
8548 #[doc = "The `getAttribLocation()` method."]
8549 #[doc = ""]
8550 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)"]
8551 #[doc = ""]
8552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8553 pub fn get_attrib_location(
8554 this: &WebGl2RenderingContext,
8555 program: &WebGlProgram,
8556 name: &str,
8557 ) -> i32;
8558 #[wasm_bindgen(
8559 method,
8560 js_class = "WebGL2RenderingContext",
8561 js_name = "getBufferParameter"
8562 )]
8563 #[doc = "The `getBufferParameter()` method."]
8564 #[doc = ""]
8565 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)"]
8566 #[doc = ""]
8567 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8568 pub fn get_buffer_parameter(
8569 this: &WebGl2RenderingContext,
8570 target: u32,
8571 pname: u32,
8572 ) -> ::wasm_bindgen::JsValue;
8573 #[cfg(feature = "WebGlContextAttributes")]
8574 #[wasm_bindgen(
8575 method,
8576 js_class = "WebGL2RenderingContext",
8577 js_name = "getContextAttributes"
8578 )]
8579 #[doc = "The `getContextAttributes()` method."]
8580 #[doc = ""]
8581 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)"]
8582 #[doc = ""]
8583 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*"]
8584 pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>;
8585 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "getError")]
8586 #[doc = "The `getError()` method."]
8587 #[doc = ""]
8588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)"]
8589 #[doc = ""]
8590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8591 pub fn get_error(this: &WebGl2RenderingContext) -> u32;
8592 #[wasm_bindgen(
8593 catch,
8594 method,
8595 js_class = "WebGL2RenderingContext",
8596 js_name = "getExtension"
8597 )]
8598 #[doc = "The `getExtension()` method."]
8599 #[doc = ""]
8600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)"]
8601 #[doc = ""]
8602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8603 pub fn get_extension(
8604 this: &WebGl2RenderingContext,
8605 name: &str,
8606 ) -> Result<Option<::js_sys::Object>, JsValue>;
8607 #[wasm_bindgen(
8608 catch,
8609 method,
8610 js_class = "WebGL2RenderingContext",
8611 js_name = "getFramebufferAttachmentParameter"
8612 )]
8613 #[doc = "The `getFramebufferAttachmentParameter()` method."]
8614 #[doc = ""]
8615 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)"]
8616 #[doc = ""]
8617 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8618 pub fn get_framebuffer_attachment_parameter(
8619 this: &WebGl2RenderingContext,
8620 target: u32,
8621 attachment: u32,
8622 pname: u32,
8623 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
8624 #[wasm_bindgen(
8625 catch,
8626 method,
8627 js_class = "WebGL2RenderingContext",
8628 js_name = "getParameter"
8629 )]
8630 #[doc = "The `getParameter()` method."]
8631 #[doc = ""]
8632 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)"]
8633 #[doc = ""]
8634 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8635 pub fn get_parameter(
8636 this: &WebGl2RenderingContext,
8637 pname: u32,
8638 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
8639 #[cfg(feature = "WebGlProgram")]
8640 #[wasm_bindgen(
8641 method,
8642 js_class = "WebGL2RenderingContext",
8643 js_name = "getProgramInfoLog"
8644 )]
8645 #[doc = "The `getProgramInfoLog()` method."]
8646 #[doc = ""]
8647 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)"]
8648 #[doc = ""]
8649 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8650 pub fn get_program_info_log(
8651 this: &WebGl2RenderingContext,
8652 program: &WebGlProgram,
8653 ) -> Option<::alloc::string::String>;
8654 #[cfg(feature = "WebGlProgram")]
8655 #[wasm_bindgen(
8656 method,
8657 js_class = "WebGL2RenderingContext",
8658 js_name = "getProgramParameter"
8659 )]
8660 #[doc = "The `getProgramParameter()` method."]
8661 #[doc = ""]
8662 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)"]
8663 #[doc = ""]
8664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8665 pub fn get_program_parameter(
8666 this: &WebGl2RenderingContext,
8667 program: &WebGlProgram,
8668 pname: u32,
8669 ) -> ::wasm_bindgen::JsValue;
8670 #[wasm_bindgen(
8671 method,
8672 js_class = "WebGL2RenderingContext",
8673 js_name = "getRenderbufferParameter"
8674 )]
8675 #[doc = "The `getRenderbufferParameter()` method."]
8676 #[doc = ""]
8677 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)"]
8678 #[doc = ""]
8679 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8680 pub fn get_renderbuffer_parameter(
8681 this: &WebGl2RenderingContext,
8682 target: u32,
8683 pname: u32,
8684 ) -> ::wasm_bindgen::JsValue;
8685 #[cfg(feature = "WebGlShader")]
8686 #[wasm_bindgen(
8687 method,
8688 js_class = "WebGL2RenderingContext",
8689 js_name = "getShaderInfoLog"
8690 )]
8691 #[doc = "The `getShaderInfoLog()` method."]
8692 #[doc = ""]
8693 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)"]
8694 #[doc = ""]
8695 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8696 pub fn get_shader_info_log(
8697 this: &WebGl2RenderingContext,
8698 shader: &WebGlShader,
8699 ) -> Option<::alloc::string::String>;
8700 #[cfg(feature = "WebGlShader")]
8701 #[wasm_bindgen(
8702 method,
8703 js_class = "WebGL2RenderingContext",
8704 js_name = "getShaderParameter"
8705 )]
8706 #[doc = "The `getShaderParameter()` method."]
8707 #[doc = ""]
8708 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)"]
8709 #[doc = ""]
8710 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8711 pub fn get_shader_parameter(
8712 this: &WebGl2RenderingContext,
8713 shader: &WebGlShader,
8714 pname: u32,
8715 ) -> ::wasm_bindgen::JsValue;
8716 #[cfg(feature = "WebGlShaderPrecisionFormat")]
8717 #[wasm_bindgen(
8718 method,
8719 js_class = "WebGL2RenderingContext",
8720 js_name = "getShaderPrecisionFormat"
8721 )]
8722 #[doc = "The `getShaderPrecisionFormat()` method."]
8723 #[doc = ""]
8724 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)"]
8725 #[doc = ""]
8726 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*"]
8727 pub fn get_shader_precision_format(
8728 this: &WebGl2RenderingContext,
8729 shadertype: u32,
8730 precisiontype: u32,
8731 ) -> Option<WebGlShaderPrecisionFormat>;
8732 #[cfg(feature = "WebGlShader")]
8733 #[wasm_bindgen(
8734 method,
8735 js_class = "WebGL2RenderingContext",
8736 js_name = "getShaderSource"
8737 )]
8738 #[doc = "The `getShaderSource()` method."]
8739 #[doc = ""]
8740 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)"]
8741 #[doc = ""]
8742 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8743 pub fn get_shader_source(
8744 this: &WebGl2RenderingContext,
8745 shader: &WebGlShader,
8746 ) -> Option<::alloc::string::String>;
8747 #[wasm_bindgen(
8748 method,
8749 js_class = "WebGL2RenderingContext",
8750 js_name = "getSupportedExtensions"
8751 )]
8752 #[doc = "The `getSupportedExtensions()` method."]
8753 #[doc = ""]
8754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)"]
8755 #[doc = ""]
8756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8757 pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>;
8758 #[wasm_bindgen(
8759 method,
8760 js_class = "WebGL2RenderingContext",
8761 js_name = "getTexParameter"
8762 )]
8763 #[doc = "The `getTexParameter()` method."]
8764 #[doc = ""]
8765 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)"]
8766 #[doc = ""]
8767 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8768 pub fn get_tex_parameter(
8769 this: &WebGl2RenderingContext,
8770 target: u32,
8771 pname: u32,
8772 ) -> ::wasm_bindgen::JsValue;
8773 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
8774 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "getUniform")]
8775 #[doc = "The `getUniform()` method."]
8776 #[doc = ""]
8777 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)"]
8778 #[doc = ""]
8779 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
8780 pub fn get_uniform(
8781 this: &WebGl2RenderingContext,
8782 program: &WebGlProgram,
8783 location: &WebGlUniformLocation,
8784 ) -> ::wasm_bindgen::JsValue;
8785 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
8786 #[wasm_bindgen(
8787 method,
8788 js_class = "WebGL2RenderingContext",
8789 js_name = "getUniformLocation"
8790 )]
8791 #[doc = "The `getUniformLocation()` method."]
8792 #[doc = ""]
8793 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)"]
8794 #[doc = ""]
8795 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
8796 pub fn get_uniform_location(
8797 this: &WebGl2RenderingContext,
8798 program: &WebGlProgram,
8799 name: &str,
8800 ) -> Option<WebGlUniformLocation>;
8801 #[wasm_bindgen(
8802 catch,
8803 method,
8804 js_class = "WebGL2RenderingContext",
8805 js_name = "getVertexAttrib"
8806 )]
8807 #[doc = "The `getVertexAttrib()` method."]
8808 #[doc = ""]
8809 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)"]
8810 #[doc = ""]
8811 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8812 pub fn get_vertex_attrib(
8813 this: &WebGl2RenderingContext,
8814 index: u32,
8815 pname: u32,
8816 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
8817 #[wasm_bindgen(
8818 method,
8819 js_class = "WebGL2RenderingContext",
8820 js_name = "getVertexAttribOffset"
8821 )]
8822 #[doc = "The `getVertexAttribOffset()` method."]
8823 #[doc = ""]
8824 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)"]
8825 #[doc = ""]
8826 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8827 pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64;
8828 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8829 #[doc = "The `hint()` method."]
8830 #[doc = ""]
8831 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)"]
8832 #[doc = ""]
8833 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8834 pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32);
8835 #[cfg(feature = "WebGlBuffer")]
8836 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isBuffer")]
8837 #[doc = "The `isBuffer()` method."]
8838 #[doc = ""]
8839 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)"]
8840 #[doc = ""]
8841 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
8842 pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
8843 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isContextLost")]
8844 #[doc = "The `isContextLost()` method."]
8845 #[doc = ""]
8846 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)"]
8847 #[doc = ""]
8848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8849 pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool;
8850 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isEnabled")]
8851 #[doc = "The `isEnabled()` method."]
8852 #[doc = ""]
8853 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)"]
8854 #[doc = ""]
8855 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8856 pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool;
8857 #[cfg(feature = "WebGlFramebuffer")]
8858 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isFramebuffer")]
8859 #[doc = "The `isFramebuffer()` method."]
8860 #[doc = ""]
8861 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)"]
8862 #[doc = ""]
8863 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
8864 pub fn is_framebuffer(
8865 this: &WebGl2RenderingContext,
8866 framebuffer: Option<&WebGlFramebuffer>,
8867 ) -> bool;
8868 #[cfg(feature = "WebGlProgram")]
8869 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isProgram")]
8870 #[doc = "The `isProgram()` method."]
8871 #[doc = ""]
8872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)"]
8873 #[doc = ""]
8874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8875 pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool;
8876 #[cfg(feature = "WebGlRenderbuffer")]
8877 #[wasm_bindgen(
8878 method,
8879 js_class = "WebGL2RenderingContext",
8880 js_name = "isRenderbuffer"
8881 )]
8882 #[doc = "The `isRenderbuffer()` method."]
8883 #[doc = ""]
8884 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)"]
8885 #[doc = ""]
8886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
8887 pub fn is_renderbuffer(
8888 this: &WebGl2RenderingContext,
8889 renderbuffer: Option<&WebGlRenderbuffer>,
8890 ) -> bool;
8891 #[cfg(feature = "WebGlShader")]
8892 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isShader")]
8893 #[doc = "The `isShader()` method."]
8894 #[doc = ""]
8895 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)"]
8896 #[doc = ""]
8897 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8898 pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool;
8899 #[cfg(feature = "WebGlTexture")]
8900 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "isTexture")]
8901 #[doc = "The `isTexture()` method."]
8902 #[doc = ""]
8903 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)"]
8904 #[doc = ""]
8905 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
8906 pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool;
8907 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "lineWidth")]
8908 #[doc = "The `lineWidth()` method."]
8909 #[doc = ""]
8910 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)"]
8911 #[doc = ""]
8912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8913 pub fn line_width(this: &WebGl2RenderingContext, width: f32);
8914 #[cfg(feature = "WebGlProgram")]
8915 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "linkProgram")]
8916 #[doc = "The `linkProgram()` method."]
8917 #[doc = ""]
8918 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)"]
8919 #[doc = ""]
8920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
8921 pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
8922 #[cfg(web_sys_unstable_apis)]
8923 #[wasm_bindgen(
8924 method,
8925 js_class = "WebGL2RenderingContext",
8926 js_name = "makeXRCompatible"
8927 )]
8928 #[doc = "The `makeXRCompatible()` method."]
8929 #[doc = ""]
8930 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)"]
8931 #[doc = ""]
8932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8933 #[doc = ""]
8934 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
8935 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
8936 pub fn make_xr_compatible(
8937 this: &WebGl2RenderingContext,
8938 ) -> ::js_sys::Promise<::js_sys::Undefined>;
8939 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "pixelStorei")]
8940 #[doc = "The `pixelStorei()` method."]
8941 #[doc = ""]
8942 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)"]
8943 #[doc = ""]
8944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8945 pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32);
8946 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "polygonOffset")]
8947 #[doc = "The `polygonOffset()` method."]
8948 #[doc = ""]
8949 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)"]
8950 #[doc = ""]
8951 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8952 pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32);
8953 #[wasm_bindgen(
8954 method,
8955 js_class = "WebGL2RenderingContext",
8956 js_name = "renderbufferStorage"
8957 )]
8958 #[doc = "The `renderbufferStorage()` method."]
8959 #[doc = ""]
8960 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)"]
8961 #[doc = ""]
8962 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8963 pub fn renderbuffer_storage(
8964 this: &WebGl2RenderingContext,
8965 target: u32,
8966 internalformat: u32,
8967 width: i32,
8968 height: i32,
8969 );
8970 #[wasm_bindgen(
8971 method,
8972 js_class = "WebGL2RenderingContext",
8973 js_name = "sampleCoverage"
8974 )]
8975 #[doc = "The `sampleCoverage()` method."]
8976 #[doc = ""]
8977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)"]
8978 #[doc = ""]
8979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8980 pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool);
8981 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
8982 #[doc = "The `scissor()` method."]
8983 #[doc = ""]
8984 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)"]
8985 #[doc = ""]
8986 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8987 pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
8988 #[cfg(feature = "WebGlShader")]
8989 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "shaderSource")]
8990 #[doc = "The `shaderSource()` method."]
8991 #[doc = ""]
8992 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)"]
8993 #[doc = ""]
8994 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
8995 pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str);
8996 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "stencilFunc")]
8997 #[doc = "The `stencilFunc()` method."]
8998 #[doc = ""]
8999 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)"]
9000 #[doc = ""]
9001 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9002 pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32);
9003 #[wasm_bindgen(
9004 method,
9005 js_class = "WebGL2RenderingContext",
9006 js_name = "stencilFuncSeparate"
9007 )]
9008 #[doc = "The `stencilFuncSeparate()` method."]
9009 #[doc = ""]
9010 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)"]
9011 #[doc = ""]
9012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9013 pub fn stencil_func_separate(
9014 this: &WebGl2RenderingContext,
9015 face: u32,
9016 func: u32,
9017 ref_: i32,
9018 mask: u32,
9019 );
9020 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "stencilMask")]
9021 #[doc = "The `stencilMask()` method."]
9022 #[doc = ""]
9023 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)"]
9024 #[doc = ""]
9025 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9026 pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32);
9027 #[wasm_bindgen(
9028 method,
9029 js_class = "WebGL2RenderingContext",
9030 js_name = "stencilMaskSeparate"
9031 )]
9032 #[doc = "The `stencilMaskSeparate()` method."]
9033 #[doc = ""]
9034 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)"]
9035 #[doc = ""]
9036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9037 pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32);
9038 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "stencilOp")]
9039 #[doc = "The `stencilOp()` method."]
9040 #[doc = ""]
9041 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)"]
9042 #[doc = ""]
9043 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9044 pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32);
9045 #[wasm_bindgen(
9046 method,
9047 js_class = "WebGL2RenderingContext",
9048 js_name = "stencilOpSeparate"
9049 )]
9050 #[doc = "The `stencilOpSeparate()` method."]
9051 #[doc = ""]
9052 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)"]
9053 #[doc = ""]
9054 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9055 pub fn stencil_op_separate(
9056 this: &WebGl2RenderingContext,
9057 face: u32,
9058 fail: u32,
9059 zfail: u32,
9060 zpass: u32,
9061 );
9062 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texParameterf")]
9063 #[doc = "The `texParameterf()` method."]
9064 #[doc = ""]
9065 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)"]
9066 #[doc = ""]
9067 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9068 pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32);
9069 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "texParameteri")]
9070 #[doc = "The `texParameteri()` method."]
9071 #[doc = ""]
9072 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)"]
9073 #[doc = ""]
9074 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9075 pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32);
9076 #[cfg(feature = "WebGlUniformLocation")]
9077 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9078 #[doc = "The `uniform1f()` method."]
9079 #[doc = ""]
9080 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)"]
9081 #[doc = ""]
9082 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9083 pub fn uniform1f(
9084 this: &WebGl2RenderingContext,
9085 location: Option<&WebGlUniformLocation>,
9086 x: f32,
9087 );
9088 #[cfg(feature = "WebGlUniformLocation")]
9089 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9090 #[doc = "The `uniform1i()` method."]
9091 #[doc = ""]
9092 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)"]
9093 #[doc = ""]
9094 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9095 pub fn uniform1i(
9096 this: &WebGl2RenderingContext,
9097 location: Option<&WebGlUniformLocation>,
9098 x: i32,
9099 );
9100 #[cfg(feature = "WebGlUniformLocation")]
9101 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9102 #[doc = "The `uniform2f()` method."]
9103 #[doc = ""]
9104 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)"]
9105 #[doc = ""]
9106 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9107 pub fn uniform2f(
9108 this: &WebGl2RenderingContext,
9109 location: Option<&WebGlUniformLocation>,
9110 x: f32,
9111 y: f32,
9112 );
9113 #[cfg(feature = "WebGlUniformLocation")]
9114 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9115 #[doc = "The `uniform2i()` method."]
9116 #[doc = ""]
9117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)"]
9118 #[doc = ""]
9119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9120 pub fn uniform2i(
9121 this: &WebGl2RenderingContext,
9122 location: Option<&WebGlUniformLocation>,
9123 x: i32,
9124 y: i32,
9125 );
9126 #[cfg(feature = "WebGlUniformLocation")]
9127 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9128 #[doc = "The `uniform3f()` method."]
9129 #[doc = ""]
9130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)"]
9131 #[doc = ""]
9132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9133 pub fn uniform3f(
9134 this: &WebGl2RenderingContext,
9135 location: Option<&WebGlUniformLocation>,
9136 x: f32,
9137 y: f32,
9138 z: f32,
9139 );
9140 #[cfg(feature = "WebGlUniformLocation")]
9141 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9142 #[doc = "The `uniform3i()` method."]
9143 #[doc = ""]
9144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)"]
9145 #[doc = ""]
9146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9147 pub fn uniform3i(
9148 this: &WebGl2RenderingContext,
9149 location: Option<&WebGlUniformLocation>,
9150 x: i32,
9151 y: i32,
9152 z: i32,
9153 );
9154 #[cfg(feature = "WebGlUniformLocation")]
9155 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9156 #[doc = "The `uniform4f()` method."]
9157 #[doc = ""]
9158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)"]
9159 #[doc = ""]
9160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9161 pub fn uniform4f(
9162 this: &WebGl2RenderingContext,
9163 location: Option<&WebGlUniformLocation>,
9164 x: f32,
9165 y: f32,
9166 z: f32,
9167 w: f32,
9168 );
9169 #[cfg(feature = "WebGlUniformLocation")]
9170 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9171 #[doc = "The `uniform4i()` method."]
9172 #[doc = ""]
9173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)"]
9174 #[doc = ""]
9175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
9176 pub fn uniform4i(
9177 this: &WebGl2RenderingContext,
9178 location: Option<&WebGlUniformLocation>,
9179 x: i32,
9180 y: i32,
9181 z: i32,
9182 w: i32,
9183 );
9184 #[cfg(feature = "WebGlProgram")]
9185 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext", js_name = "useProgram")]
9186 #[doc = "The `useProgram()` method."]
9187 #[doc = ""]
9188 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)"]
9189 #[doc = ""]
9190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
9191 pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
9192 #[cfg(feature = "WebGlProgram")]
9193 #[wasm_bindgen(
9194 method,
9195 js_class = "WebGL2RenderingContext",
9196 js_name = "validateProgram"
9197 )]
9198 #[doc = "The `validateProgram()` method."]
9199 #[doc = ""]
9200 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)"]
9201 #[doc = ""]
9202 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
9203 pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
9204 #[wasm_bindgen(
9205 method,
9206 js_class = "WebGL2RenderingContext",
9207 js_name = "vertexAttrib1f"
9208 )]
9209 #[doc = "The `vertexAttrib1f()` method."]
9210 #[doc = ""]
9211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)"]
9212 #[doc = ""]
9213 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9214 pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32);
9215 #[wasm_bindgen(
9216 method,
9217 js_class = "WebGL2RenderingContext",
9218 js_name = "vertexAttrib1fv"
9219 )]
9220 #[doc = "The `vertexAttrib1fv()` method."]
9221 #[doc = ""]
9222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
9223 #[doc = ""]
9224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9225 pub fn vertex_attrib1fv_with_f32_array(
9226 this: &WebGl2RenderingContext,
9227 indx: u32,
9228 values: &[f32],
9229 );
9230 #[wasm_bindgen(
9231 method,
9232 js_class = "WebGL2RenderingContext",
9233 js_name = "vertexAttrib1fv"
9234 )]
9235 #[doc = "The `vertexAttrib1fv()` method."]
9236 #[doc = ""]
9237 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
9238 #[doc = ""]
9239 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9240 pub fn vertex_attrib1fv_with_js_f32_array(
9241 this: &WebGl2RenderingContext,
9242 indx: u32,
9243 values: &::js_sys::Float32Array,
9244 );
9245 #[wasm_bindgen(
9246 method,
9247 js_class = "WebGL2RenderingContext",
9248 js_name = "vertexAttrib1fv"
9249 )]
9250 #[doc = "The `vertexAttrib1fv()` method."]
9251 #[doc = ""]
9252 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
9253 #[doc = ""]
9254 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9255 pub fn vertex_attrib1fv_with_f32_sequence(
9256 this: &WebGl2RenderingContext,
9257 indx: u32,
9258 values: &::wasm_bindgen::JsValue,
9259 );
9260 #[wasm_bindgen(
9261 method,
9262 js_class = "WebGL2RenderingContext",
9263 js_name = "vertexAttrib2f"
9264 )]
9265 #[doc = "The `vertexAttrib2f()` method."]
9266 #[doc = ""]
9267 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)"]
9268 #[doc = ""]
9269 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9270 pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32);
9271 #[wasm_bindgen(
9272 method,
9273 js_class = "WebGL2RenderingContext",
9274 js_name = "vertexAttrib2fv"
9275 )]
9276 #[doc = "The `vertexAttrib2fv()` method."]
9277 #[doc = ""]
9278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
9279 #[doc = ""]
9280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9281 pub fn vertex_attrib2fv_with_f32_array(
9282 this: &WebGl2RenderingContext,
9283 indx: u32,
9284 values: &[f32],
9285 );
9286 #[wasm_bindgen(
9287 method,
9288 js_class = "WebGL2RenderingContext",
9289 js_name = "vertexAttrib2fv"
9290 )]
9291 #[doc = "The `vertexAttrib2fv()` method."]
9292 #[doc = ""]
9293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
9294 #[doc = ""]
9295 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9296 pub fn vertex_attrib2fv_with_js_f32_array(
9297 this: &WebGl2RenderingContext,
9298 indx: u32,
9299 values: &::js_sys::Float32Array,
9300 );
9301 #[wasm_bindgen(
9302 method,
9303 js_class = "WebGL2RenderingContext",
9304 js_name = "vertexAttrib2fv"
9305 )]
9306 #[doc = "The `vertexAttrib2fv()` method."]
9307 #[doc = ""]
9308 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
9309 #[doc = ""]
9310 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9311 pub fn vertex_attrib2fv_with_f32_sequence(
9312 this: &WebGl2RenderingContext,
9313 indx: u32,
9314 values: &::wasm_bindgen::JsValue,
9315 );
9316 #[wasm_bindgen(
9317 method,
9318 js_class = "WebGL2RenderingContext",
9319 js_name = "vertexAttrib3f"
9320 )]
9321 #[doc = "The `vertexAttrib3f()` method."]
9322 #[doc = ""]
9323 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)"]
9324 #[doc = ""]
9325 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9326 pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32);
9327 #[wasm_bindgen(
9328 method,
9329 js_class = "WebGL2RenderingContext",
9330 js_name = "vertexAttrib3fv"
9331 )]
9332 #[doc = "The `vertexAttrib3fv()` method."]
9333 #[doc = ""]
9334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
9335 #[doc = ""]
9336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9337 pub fn vertex_attrib3fv_with_f32_array(
9338 this: &WebGl2RenderingContext,
9339 indx: u32,
9340 values: &[f32],
9341 );
9342 #[wasm_bindgen(
9343 method,
9344 js_class = "WebGL2RenderingContext",
9345 js_name = "vertexAttrib3fv"
9346 )]
9347 #[doc = "The `vertexAttrib3fv()` method."]
9348 #[doc = ""]
9349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
9350 #[doc = ""]
9351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9352 pub fn vertex_attrib3fv_with_js_f32_array(
9353 this: &WebGl2RenderingContext,
9354 indx: u32,
9355 values: &::js_sys::Float32Array,
9356 );
9357 #[wasm_bindgen(
9358 method,
9359 js_class = "WebGL2RenderingContext",
9360 js_name = "vertexAttrib3fv"
9361 )]
9362 #[doc = "The `vertexAttrib3fv()` method."]
9363 #[doc = ""]
9364 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
9365 #[doc = ""]
9366 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9367 pub fn vertex_attrib3fv_with_f32_sequence(
9368 this: &WebGl2RenderingContext,
9369 indx: u32,
9370 values: &::wasm_bindgen::JsValue,
9371 );
9372 #[wasm_bindgen(
9373 method,
9374 js_class = "WebGL2RenderingContext",
9375 js_name = "vertexAttrib4f"
9376 )]
9377 #[doc = "The `vertexAttrib4f()` method."]
9378 #[doc = ""]
9379 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)"]
9380 #[doc = ""]
9381 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9382 pub fn vertex_attrib4f(
9383 this: &WebGl2RenderingContext,
9384 indx: u32,
9385 x: f32,
9386 y: f32,
9387 z: f32,
9388 w: f32,
9389 );
9390 #[wasm_bindgen(
9391 method,
9392 js_class = "WebGL2RenderingContext",
9393 js_name = "vertexAttrib4fv"
9394 )]
9395 #[doc = "The `vertexAttrib4fv()` method."]
9396 #[doc = ""]
9397 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
9398 #[doc = ""]
9399 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9400 pub fn vertex_attrib4fv_with_f32_array(
9401 this: &WebGl2RenderingContext,
9402 indx: u32,
9403 values: &[f32],
9404 );
9405 #[wasm_bindgen(
9406 method,
9407 js_class = "WebGL2RenderingContext",
9408 js_name = "vertexAttrib4fv"
9409 )]
9410 #[doc = "The `vertexAttrib4fv()` method."]
9411 #[doc = ""]
9412 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
9413 #[doc = ""]
9414 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9415 pub fn vertex_attrib4fv_with_js_f32_array(
9416 this: &WebGl2RenderingContext,
9417 indx: u32,
9418 values: &::js_sys::Float32Array,
9419 );
9420 #[wasm_bindgen(
9421 method,
9422 js_class = "WebGL2RenderingContext",
9423 js_name = "vertexAttrib4fv"
9424 )]
9425 #[doc = "The `vertexAttrib4fv()` method."]
9426 #[doc = ""]
9427 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
9428 #[doc = ""]
9429 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9430 pub fn vertex_attrib4fv_with_f32_sequence(
9431 this: &WebGl2RenderingContext,
9432 indx: u32,
9433 values: &::wasm_bindgen::JsValue,
9434 );
9435 #[wasm_bindgen(
9436 method,
9437 js_class = "WebGL2RenderingContext",
9438 js_name = "vertexAttribPointer"
9439 )]
9440 #[doc = "The `vertexAttribPointer()` method."]
9441 #[doc = ""]
9442 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
9443 #[doc = ""]
9444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9445 pub fn vertex_attrib_pointer_with_i32(
9446 this: &WebGl2RenderingContext,
9447 indx: u32,
9448 size: i32,
9449 type_: u32,
9450 normalized: bool,
9451 stride: i32,
9452 offset: i32,
9453 );
9454 #[wasm_bindgen(
9455 method,
9456 js_class = "WebGL2RenderingContext",
9457 js_name = "vertexAttribPointer"
9458 )]
9459 #[doc = "The `vertexAttribPointer()` method."]
9460 #[doc = ""]
9461 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
9462 #[doc = ""]
9463 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9464 pub fn vertex_attrib_pointer_with_f64(
9465 this: &WebGl2RenderingContext,
9466 indx: u32,
9467 size: i32,
9468 type_: u32,
9469 normalized: bool,
9470 stride: i32,
9471 offset: f64,
9472 );
9473 #[wasm_bindgen(method, js_class = "WebGL2RenderingContext")]
9474 #[doc = "The `viewport()` method."]
9475 #[doc = ""]
9476 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)"]
9477 #[doc = ""]
9478 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9479 pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
9480}
9481impl WebGl2RenderingContext {
9482 #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const."]
9483 #[doc = ""]
9484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9485 pub const READ_BUFFER: u32 = 3074u64 as u32;
9486 #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const."]
9487 #[doc = ""]
9488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9489 pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32;
9490 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const."]
9491 #[doc = ""]
9492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9493 pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32;
9494 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const."]
9495 #[doc = ""]
9496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9497 pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32;
9498 #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const."]
9499 #[doc = ""]
9500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9501 pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32;
9502 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const."]
9503 #[doc = ""]
9504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9505 pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32;
9506 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const."]
9507 #[doc = ""]
9508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9509 pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32;
9510 #[doc = "The `WebGL2RenderingContext.COLOR` const."]
9511 #[doc = ""]
9512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9513 pub const COLOR: u32 = 6144u64 as u32;
9514 #[doc = "The `WebGL2RenderingContext.DEPTH` const."]
9515 #[doc = ""]
9516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9517 pub const DEPTH: u32 = 6145u64 as u32;
9518 #[doc = "The `WebGL2RenderingContext.STENCIL` const."]
9519 #[doc = ""]
9520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9521 pub const STENCIL: u32 = 6146u64 as u32;
9522 #[doc = "The `WebGL2RenderingContext.RED` const."]
9523 #[doc = ""]
9524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9525 pub const RED: u32 = 6403u64 as u32;
9526 #[doc = "The `WebGL2RenderingContext.RGB8` const."]
9527 #[doc = ""]
9528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9529 pub const RGB8: u32 = 32849u64 as u32;
9530 #[doc = "The `WebGL2RenderingContext.RGBA8` const."]
9531 #[doc = ""]
9532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9533 pub const RGBA8: u32 = 32856u64 as u32;
9534 #[doc = "The `WebGL2RenderingContext.RGB10_A2` const."]
9535 #[doc = ""]
9536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9537 pub const RGB10_A2: u32 = 32857u64 as u32;
9538 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const."]
9539 #[doc = ""]
9540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9541 pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32;
9542 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const."]
9543 #[doc = ""]
9544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9545 pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32;
9546 #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const."]
9547 #[doc = ""]
9548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9549 pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32;
9550 #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const."]
9551 #[doc = ""]
9552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9553 pub const TEXTURE_3D: u32 = 32879u64 as u32;
9554 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const."]
9555 #[doc = ""]
9556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9557 pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32;
9558 #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const."]
9559 #[doc = ""]
9560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9561 pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32;
9562 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const."]
9563 #[doc = ""]
9564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9565 pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32;
9566 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const."]
9567 #[doc = ""]
9568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9569 pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32;
9570 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const."]
9571 #[doc = ""]
9572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9573 pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32;
9574 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const."]
9575 #[doc = ""]
9576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9577 pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32;
9578 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const."]
9579 #[doc = ""]
9580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9581 pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32;
9582 #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const."]
9583 #[doc = ""]
9584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9585 pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32;
9586 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const."]
9587 #[doc = ""]
9588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9589 pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32;
9590 #[doc = "The `WebGL2RenderingContext.MIN` const."]
9591 #[doc = ""]
9592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9593 pub const MIN: u32 = 32775u64 as u32;
9594 #[doc = "The `WebGL2RenderingContext.MAX` const."]
9595 #[doc = ""]
9596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9597 pub const MAX: u32 = 32776u64 as u32;
9598 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const."]
9599 #[doc = ""]
9600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9601 pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32;
9602 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const."]
9603 #[doc = ""]
9604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9605 pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32;
9606 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const."]
9607 #[doc = ""]
9608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9609 pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32;
9610 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const."]
9611 #[doc = ""]
9612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9613 pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32;
9614 #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const."]
9615 #[doc = ""]
9616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9617 pub const CURRENT_QUERY: u32 = 34917u64 as u32;
9618 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const."]
9619 #[doc = ""]
9620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9621 pub const QUERY_RESULT: u32 = 34918u64 as u32;
9622 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const."]
9623 #[doc = ""]
9624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9625 pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32;
9626 #[doc = "The `WebGL2RenderingContext.STREAM_READ` const."]
9627 #[doc = ""]
9628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9629 pub const STREAM_READ: u32 = 35041u64 as u32;
9630 #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const."]
9631 #[doc = ""]
9632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9633 pub const STREAM_COPY: u32 = 35042u64 as u32;
9634 #[doc = "The `WebGL2RenderingContext.STATIC_READ` const."]
9635 #[doc = ""]
9636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9637 pub const STATIC_READ: u32 = 35045u64 as u32;
9638 #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const."]
9639 #[doc = ""]
9640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9641 pub const STATIC_COPY: u32 = 35046u64 as u32;
9642 #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const."]
9643 #[doc = ""]
9644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9645 pub const DYNAMIC_READ: u32 = 35049u64 as u32;
9646 #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const."]
9647 #[doc = ""]
9648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9649 pub const DYNAMIC_COPY: u32 = 35050u64 as u32;
9650 #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const."]
9651 #[doc = ""]
9652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9653 pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32;
9654 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const."]
9655 #[doc = ""]
9656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9657 pub const DRAW_BUFFER0: u32 = 34853u64 as u32;
9658 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const."]
9659 #[doc = ""]
9660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9661 pub const DRAW_BUFFER1: u32 = 34854u64 as u32;
9662 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const."]
9663 #[doc = ""]
9664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9665 pub const DRAW_BUFFER2: u32 = 34855u64 as u32;
9666 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const."]
9667 #[doc = ""]
9668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9669 pub const DRAW_BUFFER3: u32 = 34856u64 as u32;
9670 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const."]
9671 #[doc = ""]
9672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9673 pub const DRAW_BUFFER4: u32 = 34857u64 as u32;
9674 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const."]
9675 #[doc = ""]
9676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9677 pub const DRAW_BUFFER5: u32 = 34858u64 as u32;
9678 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const."]
9679 #[doc = ""]
9680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9681 pub const DRAW_BUFFER6: u32 = 34859u64 as u32;
9682 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const."]
9683 #[doc = ""]
9684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9685 pub const DRAW_BUFFER7: u32 = 34860u64 as u32;
9686 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const."]
9687 #[doc = ""]
9688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9689 pub const DRAW_BUFFER8: u32 = 34861u64 as u32;
9690 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const."]
9691 #[doc = ""]
9692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9693 pub const DRAW_BUFFER9: u32 = 34862u64 as u32;
9694 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const."]
9695 #[doc = ""]
9696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9697 pub const DRAW_BUFFER10: u32 = 34863u64 as u32;
9698 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const."]
9699 #[doc = ""]
9700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9701 pub const DRAW_BUFFER11: u32 = 34864u64 as u32;
9702 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const."]
9703 #[doc = ""]
9704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9705 pub const DRAW_BUFFER12: u32 = 34865u64 as u32;
9706 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const."]
9707 #[doc = ""]
9708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9709 pub const DRAW_BUFFER13: u32 = 34866u64 as u32;
9710 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const."]
9711 #[doc = ""]
9712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9713 pub const DRAW_BUFFER14: u32 = 34867u64 as u32;
9714 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const."]
9715 #[doc = ""]
9716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9717 pub const DRAW_BUFFER15: u32 = 34868u64 as u32;
9718 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const."]
9719 #[doc = ""]
9720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9721 pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32;
9722 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const."]
9723 #[doc = ""]
9724 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9725 pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32;
9726 #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const."]
9727 #[doc = ""]
9728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9729 pub const SAMPLER_3D: u32 = 35679u64 as u32;
9730 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const."]
9731 #[doc = ""]
9732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9733 pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32;
9734 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const."]
9735 #[doc = ""]
9736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9737 pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32;
9738 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const."]
9739 #[doc = ""]
9740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9741 pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32;
9742 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const."]
9743 #[doc = ""]
9744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9745 pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32;
9746 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const."]
9747 #[doc = ""]
9748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9749 pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32;
9750 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const."]
9751 #[doc = ""]
9752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9753 pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32;
9754 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const."]
9755 #[doc = ""]
9756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9757 pub const FLOAT_MAT2X3: u32 = 35685u64 as u32;
9758 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const."]
9759 #[doc = ""]
9760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9761 pub const FLOAT_MAT2X4: u32 = 35686u64 as u32;
9762 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const."]
9763 #[doc = ""]
9764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9765 pub const FLOAT_MAT3X2: u32 = 35687u64 as u32;
9766 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const."]
9767 #[doc = ""]
9768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9769 pub const FLOAT_MAT3X4: u32 = 35688u64 as u32;
9770 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const."]
9771 #[doc = ""]
9772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9773 pub const FLOAT_MAT4X2: u32 = 35689u64 as u32;
9774 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const."]
9775 #[doc = ""]
9776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9777 pub const FLOAT_MAT4X3: u32 = 35690u64 as u32;
9778 #[doc = "The `WebGL2RenderingContext.SRGB` const."]
9779 #[doc = ""]
9780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9781 pub const SRGB: u32 = 35904u64 as u32;
9782 #[doc = "The `WebGL2RenderingContext.SRGB8` const."]
9783 #[doc = ""]
9784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9785 pub const SRGB8: u32 = 35905u64 as u32;
9786 #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const."]
9787 #[doc = ""]
9788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9789 pub const SRGB8_ALPHA8: u32 = 35907u64 as u32;
9790 #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const."]
9791 #[doc = ""]
9792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9793 pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32;
9794 #[doc = "The `WebGL2RenderingContext.RGBA32F` const."]
9795 #[doc = ""]
9796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9797 pub const RGBA32F: u32 = 34836u64 as u32;
9798 #[doc = "The `WebGL2RenderingContext.RGB32F` const."]
9799 #[doc = ""]
9800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9801 pub const RGB32F: u32 = 34837u64 as u32;
9802 #[doc = "The `WebGL2RenderingContext.RGBA16F` const."]
9803 #[doc = ""]
9804 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9805 pub const RGBA16F: u32 = 34842u64 as u32;
9806 #[doc = "The `WebGL2RenderingContext.RGB16F` const."]
9807 #[doc = ""]
9808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9809 pub const RGB16F: u32 = 34843u64 as u32;
9810 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const."]
9811 #[doc = ""]
9812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9813 pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32;
9814 #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const."]
9815 #[doc = ""]
9816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9817 pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32;
9818 #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const."]
9819 #[doc = ""]
9820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9821 pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32;
9822 #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const."]
9823 #[doc = ""]
9824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9825 pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32;
9826 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const."]
9827 #[doc = ""]
9828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9829 pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32;
9830 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const."]
9831 #[doc = ""]
9832 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9833 pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32;
9834 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const."]
9835 #[doc = ""]
9836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9837 pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32;
9838 #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const."]
9839 #[doc = ""]
9840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9841 pub const R11F_G11F_B10F: u32 = 35898u64 as u32;
9842 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const."]
9843 #[doc = ""]
9844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9845 pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32;
9846 #[doc = "The `WebGL2RenderingContext.RGB9_E5` const."]
9847 #[doc = ""]
9848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9849 pub const RGB9_E5: u32 = 35901u64 as u32;
9850 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const."]
9851 #[doc = ""]
9852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9853 pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32;
9854 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const."]
9855 #[doc = ""]
9856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9857 pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32;
9858 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const."]
9859 #[doc = ""]
9860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9861 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32;
9862 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const."]
9863 #[doc = ""]
9864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9865 pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32;
9866 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const."]
9867 #[doc = ""]
9868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9869 pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32;
9870 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const."]
9871 #[doc = ""]
9872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9873 pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32;
9874 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const."]
9875 #[doc = ""]
9876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9877 pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32;
9878 #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const."]
9879 #[doc = ""]
9880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9881 pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32;
9882 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const."]
9883 #[doc = ""]
9884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9885 pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32;
9886 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const."]
9887 #[doc = ""]
9888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9889 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32;
9890 #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const."]
9891 #[doc = ""]
9892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9893 pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32;
9894 #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const."]
9895 #[doc = ""]
9896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9897 pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32;
9898 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const."]
9899 #[doc = ""]
9900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9901 pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32;
9902 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const."]
9903 #[doc = ""]
9904 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9905 pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32;
9906 #[doc = "The `WebGL2RenderingContext.RGBA32UI` const."]
9907 #[doc = ""]
9908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9909 pub const RGBA32UI: u32 = 36208u64 as u32;
9910 #[doc = "The `WebGL2RenderingContext.RGB32UI` const."]
9911 #[doc = ""]
9912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9913 pub const RGB32UI: u32 = 36209u64 as u32;
9914 #[doc = "The `WebGL2RenderingContext.RGBA16UI` const."]
9915 #[doc = ""]
9916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9917 pub const RGBA16UI: u32 = 36214u64 as u32;
9918 #[doc = "The `WebGL2RenderingContext.RGB16UI` const."]
9919 #[doc = ""]
9920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9921 pub const RGB16UI: u32 = 36215u64 as u32;
9922 #[doc = "The `WebGL2RenderingContext.RGBA8UI` const."]
9923 #[doc = ""]
9924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9925 pub const RGBA8UI: u32 = 36220u64 as u32;
9926 #[doc = "The `WebGL2RenderingContext.RGB8UI` const."]
9927 #[doc = ""]
9928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9929 pub const RGB8UI: u32 = 36221u64 as u32;
9930 #[doc = "The `WebGL2RenderingContext.RGBA32I` const."]
9931 #[doc = ""]
9932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9933 pub const RGBA32I: u32 = 36226u64 as u32;
9934 #[doc = "The `WebGL2RenderingContext.RGB32I` const."]
9935 #[doc = ""]
9936 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9937 pub const RGB32I: u32 = 36227u64 as u32;
9938 #[doc = "The `WebGL2RenderingContext.RGBA16I` const."]
9939 #[doc = ""]
9940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9941 pub const RGBA16I: u32 = 36232u64 as u32;
9942 #[doc = "The `WebGL2RenderingContext.RGB16I` const."]
9943 #[doc = ""]
9944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9945 pub const RGB16I: u32 = 36233u64 as u32;
9946 #[doc = "The `WebGL2RenderingContext.RGBA8I` const."]
9947 #[doc = ""]
9948 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9949 pub const RGBA8I: u32 = 36238u64 as u32;
9950 #[doc = "The `WebGL2RenderingContext.RGB8I` const."]
9951 #[doc = ""]
9952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9953 pub const RGB8I: u32 = 36239u64 as u32;
9954 #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const."]
9955 #[doc = ""]
9956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9957 pub const RED_INTEGER: u32 = 36244u64 as u32;
9958 #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const."]
9959 #[doc = ""]
9960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9961 pub const RGB_INTEGER: u32 = 36248u64 as u32;
9962 #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const."]
9963 #[doc = ""]
9964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9965 pub const RGBA_INTEGER: u32 = 36249u64 as u32;
9966 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const."]
9967 #[doc = ""]
9968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9969 pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32;
9970 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const."]
9971 #[doc = ""]
9972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9973 pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32;
9974 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const."]
9975 #[doc = ""]
9976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9977 pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32;
9978 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const."]
9979 #[doc = ""]
9980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9981 pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32;
9982 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const."]
9983 #[doc = ""]
9984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9985 pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32;
9986 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const."]
9987 #[doc = ""]
9988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9989 pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32;
9990 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const."]
9991 #[doc = ""]
9992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9993 pub const INT_SAMPLER_2D: u32 = 36298u64 as u32;
9994 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const."]
9995 #[doc = ""]
9996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9997 pub const INT_SAMPLER_3D: u32 = 36299u64 as u32;
9998 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const."]
9999 #[doc = ""]
10000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10001 pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32;
10002 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const."]
10003 #[doc = ""]
10004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10005 pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32;
10006 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const."]
10007 #[doc = ""]
10008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10009 pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32;
10010 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const."]
10011 #[doc = ""]
10012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10013 pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32;
10014 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const."]
10015 #[doc = ""]
10016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10017 pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32;
10018 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const."]
10019 #[doc = ""]
10020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10021 pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32;
10022 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const."]
10023 #[doc = ""]
10024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10025 pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32;
10026 #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const."]
10027 #[doc = ""]
10028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10029 pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32;
10030 #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const."]
10031 #[doc = ""]
10032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10033 pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32;
10034 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const."]
10035 #[doc = ""]
10036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10037 pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32;
10038 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const."]
10039 #[doc = ""]
10040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10041 pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32;
10042 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const."]
10043 #[doc = ""]
10044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10045 pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32;
10046 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const."]
10047 #[doc = ""]
10048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10049 pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32;
10050 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const."]
10051 #[doc = ""]
10052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10053 pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32;
10054 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const."]
10055 #[doc = ""]
10056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10057 pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32;
10058 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const."]
10059 #[doc = ""]
10060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10061 pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32;
10062 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const."]
10063 #[doc = ""]
10064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10065 pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32;
10066 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const."]
10067 #[doc = ""]
10068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10069 pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32;
10070 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const."]
10071 #[doc = ""]
10072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10073 pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32;
10074 #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const."]
10075 #[doc = ""]
10076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10077 pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32;
10078 #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const."]
10079 #[doc = ""]
10080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10081 pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32;
10082 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const."]
10083 #[doc = ""]
10084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10085 pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
10086 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const."]
10087 #[doc = ""]
10088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10089 pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32;
10090 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const."]
10091 #[doc = ""]
10092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10093 pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32;
10094 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const."]
10095 #[doc = ""]
10096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10097 pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32;
10098 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const."]
10099 #[doc = ""]
10100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10101 pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32;
10102 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const."]
10103 #[doc = ""]
10104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10105 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32;
10106 #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const."]
10107 #[doc = ""]
10108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10109 pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32;
10110 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const."]
10111 #[doc = ""]
10112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10113 pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32;
10114 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const."]
10115 #[doc = ""]
10116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10117 pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32;
10118 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const."]
10119 #[doc = ""]
10120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10121 pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32;
10122 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const."]
10123 #[doc = ""]
10124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10125 pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32;
10126 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const."]
10127 #[doc = ""]
10128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10129 pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32;
10130 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const."]
10131 #[doc = ""]
10132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10133 pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32;
10134 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const."]
10135 #[doc = ""]
10136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10137 pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32;
10138 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const."]
10139 #[doc = ""]
10140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10141 pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32;
10142 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const."]
10143 #[doc = ""]
10144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10145 pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32;
10146 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const."]
10147 #[doc = ""]
10148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10149 pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32;
10150 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const."]
10151 #[doc = ""]
10152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10153 pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32;
10154 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const."]
10155 #[doc = ""]
10156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10157 pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32;
10158 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const."]
10159 #[doc = ""]
10160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10161 pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32;
10162 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const."]
10163 #[doc = ""]
10164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10165 pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32;
10166 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const."]
10167 #[doc = ""]
10168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10169 pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32;
10170 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const."]
10171 #[doc = ""]
10172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10173 pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32;
10174 #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const."]
10175 #[doc = ""]
10176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10177 pub const MAX_SAMPLES: u32 = 36183u64 as u32;
10178 #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const."]
10179 #[doc = ""]
10180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10181 pub const HALF_FLOAT: u32 = 5131u64 as u32;
10182 #[doc = "The `WebGL2RenderingContext.RG` const."]
10183 #[doc = ""]
10184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10185 pub const RG: u32 = 33319u64 as u32;
10186 #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const."]
10187 #[doc = ""]
10188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10189 pub const RG_INTEGER: u32 = 33320u64 as u32;
10190 #[doc = "The `WebGL2RenderingContext.R8` const."]
10191 #[doc = ""]
10192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10193 pub const R8: u32 = 33321u64 as u32;
10194 #[doc = "The `WebGL2RenderingContext.RG8` const."]
10195 #[doc = ""]
10196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10197 pub const RG8: u32 = 33323u64 as u32;
10198 #[doc = "The `WebGL2RenderingContext.R16F` const."]
10199 #[doc = ""]
10200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10201 pub const R16F: u32 = 33325u64 as u32;
10202 #[doc = "The `WebGL2RenderingContext.R32F` const."]
10203 #[doc = ""]
10204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10205 pub const R32F: u32 = 33326u64 as u32;
10206 #[doc = "The `WebGL2RenderingContext.RG16F` const."]
10207 #[doc = ""]
10208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10209 pub const RG16F: u32 = 33327u64 as u32;
10210 #[doc = "The `WebGL2RenderingContext.RG32F` const."]
10211 #[doc = ""]
10212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10213 pub const RG32F: u32 = 33328u64 as u32;
10214 #[doc = "The `WebGL2RenderingContext.R8I` const."]
10215 #[doc = ""]
10216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10217 pub const R8I: u32 = 33329u64 as u32;
10218 #[doc = "The `WebGL2RenderingContext.R8UI` const."]
10219 #[doc = ""]
10220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10221 pub const R8UI: u32 = 33330u64 as u32;
10222 #[doc = "The `WebGL2RenderingContext.R16I` const."]
10223 #[doc = ""]
10224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10225 pub const R16I: u32 = 33331u64 as u32;
10226 #[doc = "The `WebGL2RenderingContext.R16UI` const."]
10227 #[doc = ""]
10228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10229 pub const R16UI: u32 = 33332u64 as u32;
10230 #[doc = "The `WebGL2RenderingContext.R32I` const."]
10231 #[doc = ""]
10232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10233 pub const R32I: u32 = 33333u64 as u32;
10234 #[doc = "The `WebGL2RenderingContext.R32UI` const."]
10235 #[doc = ""]
10236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10237 pub const R32UI: u32 = 33334u64 as u32;
10238 #[doc = "The `WebGL2RenderingContext.RG8I` const."]
10239 #[doc = ""]
10240 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10241 pub const RG8I: u32 = 33335u64 as u32;
10242 #[doc = "The `WebGL2RenderingContext.RG8UI` const."]
10243 #[doc = ""]
10244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10245 pub const RG8UI: u32 = 33336u64 as u32;
10246 #[doc = "The `WebGL2RenderingContext.RG16I` const."]
10247 #[doc = ""]
10248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10249 pub const RG16I: u32 = 33337u64 as u32;
10250 #[doc = "The `WebGL2RenderingContext.RG16UI` const."]
10251 #[doc = ""]
10252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10253 pub const RG16UI: u32 = 33338u64 as u32;
10254 #[doc = "The `WebGL2RenderingContext.RG32I` const."]
10255 #[doc = ""]
10256 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10257 pub const RG32I: u32 = 33339u64 as u32;
10258 #[doc = "The `WebGL2RenderingContext.RG32UI` const."]
10259 #[doc = ""]
10260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10261 pub const RG32UI: u32 = 33340u64 as u32;
10262 #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const."]
10263 #[doc = ""]
10264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10265 pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32;
10266 #[doc = "The `WebGL2RenderingContext.R8_SNORM` const."]
10267 #[doc = ""]
10268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10269 pub const R8_SNORM: u32 = 36756u64 as u32;
10270 #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const."]
10271 #[doc = ""]
10272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10273 pub const RG8_SNORM: u32 = 36757u64 as u32;
10274 #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const."]
10275 #[doc = ""]
10276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10277 pub const RGB8_SNORM: u32 = 36758u64 as u32;
10278 #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const."]
10279 #[doc = ""]
10280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10281 pub const RGBA8_SNORM: u32 = 36759u64 as u32;
10282 #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const."]
10283 #[doc = ""]
10284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10285 pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32;
10286 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const."]
10287 #[doc = ""]
10288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10289 pub const COPY_READ_BUFFER: u32 = 36662u64 as u32;
10290 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const."]
10291 #[doc = ""]
10292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10293 pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32;
10294 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const."]
10295 #[doc = ""]
10296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10297 pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32;
10298 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const."]
10299 #[doc = ""]
10300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10301 pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32;
10302 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const."]
10303 #[doc = ""]
10304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10305 pub const UNIFORM_BUFFER: u32 = 35345u64 as u32;
10306 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const."]
10307 #[doc = ""]
10308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10309 pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32;
10310 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const."]
10311 #[doc = ""]
10312 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10313 pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32;
10314 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const."]
10315 #[doc = ""]
10316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10317 pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32;
10318 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const."]
10319 #[doc = ""]
10320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10321 pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32;
10322 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const."]
10323 #[doc = ""]
10324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10325 pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32;
10326 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const."]
10327 #[doc = ""]
10328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10329 pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32;
10330 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const."]
10331 #[doc = ""]
10332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10333 pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32;
10334 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const."]
10335 #[doc = ""]
10336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10337 pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32;
10338 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const."]
10339 #[doc = ""]
10340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10341 pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32;
10342 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const."]
10343 #[doc = ""]
10344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10345 pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32;
10346 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const."]
10347 #[doc = ""]
10348 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10349 pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32;
10350 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const."]
10351 #[doc = ""]
10352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10353 pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32;
10354 #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const."]
10355 #[doc = ""]
10356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10357 pub const UNIFORM_TYPE: u32 = 35383u64 as u32;
10358 #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const."]
10359 #[doc = ""]
10360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10361 pub const UNIFORM_SIZE: u32 = 35384u64 as u32;
10362 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const."]
10363 #[doc = ""]
10364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10365 pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32;
10366 #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const."]
10367 #[doc = ""]
10368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10369 pub const UNIFORM_OFFSET: u32 = 35387u64 as u32;
10370 #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const."]
10371 #[doc = ""]
10372 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10373 pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32;
10374 #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const."]
10375 #[doc = ""]
10376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10377 pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32;
10378 #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const."]
10379 #[doc = ""]
10380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10381 pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32;
10382 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const."]
10383 #[doc = ""]
10384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10385 pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32;
10386 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const."]
10387 #[doc = ""]
10388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10389 pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32;
10390 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const."]
10391 #[doc = ""]
10392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10393 pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32;
10394 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const."]
10395 #[doc = ""]
10396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10397 pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32;
10398 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const."]
10399 #[doc = ""]
10400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10401 pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32;
10402 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const."]
10403 #[doc = ""]
10404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10405 pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32;
10406 #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const."]
10407 #[doc = ""]
10408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10409 pub const INVALID_INDEX: u32 = 4294967295u64 as u32;
10410 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const."]
10411 #[doc = ""]
10412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10413 pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32;
10414 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const."]
10415 #[doc = ""]
10416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10417 pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32;
10418 #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const."]
10419 #[doc = ""]
10420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10421 pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32;
10422 #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const."]
10423 #[doc = ""]
10424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10425 pub const OBJECT_TYPE: u32 = 37138u64 as u32;
10426 #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const."]
10427 #[doc = ""]
10428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10429 pub const SYNC_CONDITION: u32 = 37139u64 as u32;
10430 #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const."]
10431 #[doc = ""]
10432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10433 pub const SYNC_STATUS: u32 = 37140u64 as u32;
10434 #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const."]
10435 #[doc = ""]
10436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10437 pub const SYNC_FLAGS: u32 = 37141u64 as u32;
10438 #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const."]
10439 #[doc = ""]
10440 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10441 pub const SYNC_FENCE: u32 = 37142u64 as u32;
10442 #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const."]
10443 #[doc = ""]
10444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10445 pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32;
10446 #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const."]
10447 #[doc = ""]
10448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10449 pub const UNSIGNALED: u32 = 37144u64 as u32;
10450 #[doc = "The `WebGL2RenderingContext.SIGNALED` const."]
10451 #[doc = ""]
10452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10453 pub const SIGNALED: u32 = 37145u64 as u32;
10454 #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const."]
10455 #[doc = ""]
10456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10457 pub const ALREADY_SIGNALED: u32 = 37146u64 as u32;
10458 #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const."]
10459 #[doc = ""]
10460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10461 pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32;
10462 #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const."]
10463 #[doc = ""]
10464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10465 pub const CONDITION_SATISFIED: u32 = 37148u64 as u32;
10466 #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const."]
10467 #[doc = ""]
10468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10469 pub const WAIT_FAILED: u32 = 37149u64 as u32;
10470 #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const."]
10471 #[doc = ""]
10472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10473 pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32;
10474 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const."]
10475 #[doc = ""]
10476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10477 pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32;
10478 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const."]
10479 #[doc = ""]
10480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10481 pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32;
10482 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const."]
10483 #[doc = ""]
10484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10485 pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32;
10486 #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const."]
10487 #[doc = ""]
10488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10489 pub const SAMPLER_BINDING: u32 = 35097u64 as u32;
10490 #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const."]
10491 #[doc = ""]
10492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10493 pub const RGB10_A2UI: u32 = 36975u64 as u32;
10494 #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const."]
10495 #[doc = ""]
10496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10497 pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32;
10498 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const."]
10499 #[doc = ""]
10500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10501 pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32;
10502 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const."]
10503 #[doc = ""]
10504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10505 pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32;
10506 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const."]
10507 #[doc = ""]
10508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10509 pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32;
10510 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const."]
10511 #[doc = ""]
10512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10513 pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32;
10514 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const."]
10515 #[doc = ""]
10516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10517 pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32;
10518 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const."]
10519 #[doc = ""]
10520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10521 pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32;
10522 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const."]
10523 #[doc = ""]
10524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10525 pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32;
10526 #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const."]
10527 #[doc = ""]
10528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10529 pub const TIMEOUT_IGNORED: f64 = -1i64 as f64;
10530 #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const."]
10531 #[doc = ""]
10532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10533 pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32;
10534 #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const."]
10535 #[doc = ""]
10536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10537 pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
10538 #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const."]
10539 #[doc = ""]
10540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10541 pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
10542 #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const."]
10543 #[doc = ""]
10544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10545 pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
10546 #[doc = "The `WebGL2RenderingContext.POINTS` const."]
10547 #[doc = ""]
10548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10549 pub const POINTS: u32 = 0u64 as u32;
10550 #[doc = "The `WebGL2RenderingContext.LINES` const."]
10551 #[doc = ""]
10552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10553 pub const LINES: u32 = 1u64 as u32;
10554 #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const."]
10555 #[doc = ""]
10556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10557 pub const LINE_LOOP: u32 = 2u64 as u32;
10558 #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const."]
10559 #[doc = ""]
10560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10561 pub const LINE_STRIP: u32 = 3u64 as u32;
10562 #[doc = "The `WebGL2RenderingContext.TRIANGLES` const."]
10563 #[doc = ""]
10564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10565 pub const TRIANGLES: u32 = 4u64 as u32;
10566 #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const."]
10567 #[doc = ""]
10568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10569 pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
10570 #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const."]
10571 #[doc = ""]
10572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10573 pub const TRIANGLE_FAN: u32 = 6u64 as u32;
10574 #[doc = "The `WebGL2RenderingContext.ZERO` const."]
10575 #[doc = ""]
10576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10577 pub const ZERO: u32 = 0i64 as u32;
10578 #[doc = "The `WebGL2RenderingContext.ONE` const."]
10579 #[doc = ""]
10580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10581 pub const ONE: u32 = 1u64 as u32;
10582 #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const."]
10583 #[doc = ""]
10584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10585 pub const SRC_COLOR: u32 = 768u64 as u32;
10586 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const."]
10587 #[doc = ""]
10588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10589 pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
10590 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const."]
10591 #[doc = ""]
10592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10593 pub const SRC_ALPHA: u32 = 770u64 as u32;
10594 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const."]
10595 #[doc = ""]
10596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10597 pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
10598 #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const."]
10599 #[doc = ""]
10600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10601 pub const DST_ALPHA: u32 = 772u64 as u32;
10602 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const."]
10603 #[doc = ""]
10604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10605 pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
10606 #[doc = "The `WebGL2RenderingContext.DST_COLOR` const."]
10607 #[doc = ""]
10608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10609 pub const DST_COLOR: u32 = 774u64 as u32;
10610 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const."]
10611 #[doc = ""]
10612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10613 pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
10614 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const."]
10615 #[doc = ""]
10616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10617 pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
10618 #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const."]
10619 #[doc = ""]
10620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10621 pub const FUNC_ADD: u32 = 32774u64 as u32;
10622 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const."]
10623 #[doc = ""]
10624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10625 pub const BLEND_EQUATION: u32 = 32777u64 as u32;
10626 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const."]
10627 #[doc = ""]
10628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10629 pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
10630 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const."]
10631 #[doc = ""]
10632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10633 pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
10634 #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const."]
10635 #[doc = ""]
10636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10637 pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
10638 #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const."]
10639 #[doc = ""]
10640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10641 pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
10642 #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const."]
10643 #[doc = ""]
10644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10645 pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
10646 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const."]
10647 #[doc = ""]
10648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10649 pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
10650 #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const."]
10651 #[doc = ""]
10652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10653 pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
10654 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const."]
10655 #[doc = ""]
10656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10657 pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
10658 #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const."]
10659 #[doc = ""]
10660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10661 pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
10662 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
10663 #[doc = ""]
10664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10665 pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
10666 #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const."]
10667 #[doc = ""]
10668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10669 pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
10670 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
10671 #[doc = ""]
10672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10673 pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
10674 #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const."]
10675 #[doc = ""]
10676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10677 pub const BLEND_COLOR: u32 = 32773u64 as u32;
10678 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const."]
10679 #[doc = ""]
10680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10681 pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
10682 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const."]
10683 #[doc = ""]
10684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10685 pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
10686 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const."]
10687 #[doc = ""]
10688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10689 pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
10690 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
10691 #[doc = ""]
10692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10693 pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
10694 #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const."]
10695 #[doc = ""]
10696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10697 pub const STREAM_DRAW: u32 = 35040u64 as u32;
10698 #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const."]
10699 #[doc = ""]
10700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10701 pub const STATIC_DRAW: u32 = 35044u64 as u32;
10702 #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const."]
10703 #[doc = ""]
10704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10705 pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
10706 #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const."]
10707 #[doc = ""]
10708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10709 pub const BUFFER_SIZE: u32 = 34660u64 as u32;
10710 #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const."]
10711 #[doc = ""]
10712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10713 pub const BUFFER_USAGE: u32 = 34661u64 as u32;
10714 #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const."]
10715 #[doc = ""]
10716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10717 pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
10718 #[doc = "The `WebGL2RenderingContext.FRONT` const."]
10719 #[doc = ""]
10720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10721 pub const FRONT: u32 = 1028u64 as u32;
10722 #[doc = "The `WebGL2RenderingContext.BACK` const."]
10723 #[doc = ""]
10724 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10725 pub const BACK: u32 = 1029u64 as u32;
10726 #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const."]
10727 #[doc = ""]
10728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10729 pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
10730 #[doc = "The `WebGL2RenderingContext.CULL_FACE` const."]
10731 #[doc = ""]
10732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10733 pub const CULL_FACE: u32 = 2884u64 as u32;
10734 #[doc = "The `WebGL2RenderingContext.BLEND` const."]
10735 #[doc = ""]
10736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10737 pub const BLEND: u32 = 3042u64 as u32;
10738 #[doc = "The `WebGL2RenderingContext.DITHER` const."]
10739 #[doc = ""]
10740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10741 pub const DITHER: u32 = 3024u64 as u32;
10742 #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const."]
10743 #[doc = ""]
10744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10745 pub const STENCIL_TEST: u32 = 2960u64 as u32;
10746 #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const."]
10747 #[doc = ""]
10748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10749 pub const DEPTH_TEST: u32 = 2929u64 as u32;
10750 #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const."]
10751 #[doc = ""]
10752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10753 pub const SCISSOR_TEST: u32 = 3089u64 as u32;
10754 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const."]
10755 #[doc = ""]
10756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10757 pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
10758 #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
10759 #[doc = ""]
10760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10761 pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
10762 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const."]
10763 #[doc = ""]
10764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10765 pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
10766 #[doc = "The `WebGL2RenderingContext.NO_ERROR` const."]
10767 #[doc = ""]
10768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10769 pub const NO_ERROR: u32 = 0i64 as u32;
10770 #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const."]
10771 #[doc = ""]
10772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10773 pub const INVALID_ENUM: u32 = 1280u64 as u32;
10774 #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const."]
10775 #[doc = ""]
10776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10777 pub const INVALID_VALUE: u32 = 1281u64 as u32;
10778 #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const."]
10779 #[doc = ""]
10780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10781 pub const INVALID_OPERATION: u32 = 1282u64 as u32;
10782 #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const."]
10783 #[doc = ""]
10784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10785 pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
10786 #[doc = "The `WebGL2RenderingContext.CW` const."]
10787 #[doc = ""]
10788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10789 pub const CW: u32 = 2304u64 as u32;
10790 #[doc = "The `WebGL2RenderingContext.CCW` const."]
10791 #[doc = ""]
10792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10793 pub const CCW: u32 = 2305u64 as u32;
10794 #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const."]
10795 #[doc = ""]
10796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10797 pub const LINE_WIDTH: u32 = 2849u64 as u32;
10798 #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
10799 #[doc = ""]
10800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10801 pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
10802 #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
10803 #[doc = ""]
10804 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10805 pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
10806 #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const."]
10807 #[doc = ""]
10808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10809 pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
10810 #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const."]
10811 #[doc = ""]
10812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10813 pub const FRONT_FACE: u32 = 2886u64 as u32;
10814 #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const."]
10815 #[doc = ""]
10816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10817 pub const DEPTH_RANGE: u32 = 2928u64 as u32;
10818 #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const."]
10819 #[doc = ""]
10820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10821 pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
10822 #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const."]
10823 #[doc = ""]
10824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10825 pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
10826 #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const."]
10827 #[doc = ""]
10828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10829 pub const DEPTH_FUNC: u32 = 2932u64 as u32;
10830 #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const."]
10831 #[doc = ""]
10832 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10833 pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
10834 #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const."]
10835 #[doc = ""]
10836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10837 pub const STENCIL_FUNC: u32 = 2962u64 as u32;
10838 #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const."]
10839 #[doc = ""]
10840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10841 pub const STENCIL_FAIL: u32 = 2964u64 as u32;
10842 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
10843 #[doc = ""]
10844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10845 pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
10846 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
10847 #[doc = ""]
10848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10849 pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
10850 #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const."]
10851 #[doc = ""]
10852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10853 pub const STENCIL_REF: u32 = 2967u64 as u32;
10854 #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const."]
10855 #[doc = ""]
10856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10857 pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
10858 #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const."]
10859 #[doc = ""]
10860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10861 pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
10862 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const."]
10863 #[doc = ""]
10864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10865 pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
10866 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const."]
10867 #[doc = ""]
10868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10869 pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
10870 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
10871 #[doc = ""]
10872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10873 pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
10874 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
10875 #[doc = ""]
10876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10877 pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
10878 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const."]
10879 #[doc = ""]
10880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10881 pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
10882 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const."]
10883 #[doc = ""]
10884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10885 pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
10886 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const."]
10887 #[doc = ""]
10888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10889 pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
10890 #[doc = "The `WebGL2RenderingContext.VIEWPORT` const."]
10891 #[doc = ""]
10892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10893 pub const VIEWPORT: u32 = 2978u64 as u32;
10894 #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const."]
10895 #[doc = ""]
10896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10897 pub const SCISSOR_BOX: u32 = 3088u64 as u32;
10898 #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const."]
10899 #[doc = ""]
10900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10901 pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
10902 #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const."]
10903 #[doc = ""]
10904 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10905 pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
10906 #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const."]
10907 #[doc = ""]
10908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10909 pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
10910 #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const."]
10911 #[doc = ""]
10912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10913 pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
10914 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const."]
10915 #[doc = ""]
10916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10917 pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
10918 #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const."]
10919 #[doc = ""]
10920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10921 pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
10922 #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const."]
10923 #[doc = ""]
10924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10925 pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
10926 #[doc = "The `WebGL2RenderingContext.RED_BITS` const."]
10927 #[doc = ""]
10928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10929 pub const RED_BITS: u32 = 3410u64 as u32;
10930 #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const."]
10931 #[doc = ""]
10932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10933 pub const GREEN_BITS: u32 = 3411u64 as u32;
10934 #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const."]
10935 #[doc = ""]
10936 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10937 pub const BLUE_BITS: u32 = 3412u64 as u32;
10938 #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const."]
10939 #[doc = ""]
10940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10941 pub const ALPHA_BITS: u32 = 3413u64 as u32;
10942 #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const."]
10943 #[doc = ""]
10944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10945 pub const DEPTH_BITS: u32 = 3414u64 as u32;
10946 #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const."]
10947 #[doc = ""]
10948 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10949 pub const STENCIL_BITS: u32 = 3415u64 as u32;
10950 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const."]
10951 #[doc = ""]
10952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10953 pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
10954 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const."]
10955 #[doc = ""]
10956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10957 pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
10958 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const."]
10959 #[doc = ""]
10960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10961 pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
10962 #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const."]
10963 #[doc = ""]
10964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10965 pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
10966 #[doc = "The `WebGL2RenderingContext.SAMPLES` const."]
10967 #[doc = ""]
10968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10969 pub const SAMPLES: u32 = 32937u64 as u32;
10970 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const."]
10971 #[doc = ""]
10972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10973 pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
10974 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const."]
10975 #[doc = ""]
10976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10977 pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
10978 #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
10979 #[doc = ""]
10980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10981 pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
10982 #[doc = "The `WebGL2RenderingContext.DONT_CARE` const."]
10983 #[doc = ""]
10984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10985 pub const DONT_CARE: u32 = 4352u64 as u32;
10986 #[doc = "The `WebGL2RenderingContext.FASTEST` const."]
10987 #[doc = ""]
10988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10989 pub const FASTEST: u32 = 4353u64 as u32;
10990 #[doc = "The `WebGL2RenderingContext.NICEST` const."]
10991 #[doc = ""]
10992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10993 pub const NICEST: u32 = 4354u64 as u32;
10994 #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const."]
10995 #[doc = ""]
10996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10997 pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
10998 #[doc = "The `WebGL2RenderingContext.BYTE` const."]
10999 #[doc = ""]
11000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11001 pub const BYTE: u32 = 5120u64 as u32;
11002 #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const."]
11003 #[doc = ""]
11004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11005 pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
11006 #[doc = "The `WebGL2RenderingContext.SHORT` const."]
11007 #[doc = ""]
11008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11009 pub const SHORT: u32 = 5122u64 as u32;
11010 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const."]
11011 #[doc = ""]
11012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11013 pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
11014 #[doc = "The `WebGL2RenderingContext.INT` const."]
11015 #[doc = ""]
11016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11017 pub const INT: u32 = 5124u64 as u32;
11018 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const."]
11019 #[doc = ""]
11020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11021 pub const UNSIGNED_INT: u32 = 5125u64 as u32;
11022 #[doc = "The `WebGL2RenderingContext.FLOAT` const."]
11023 #[doc = ""]
11024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11025 pub const FLOAT: u32 = 5126u64 as u32;
11026 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const."]
11027 #[doc = ""]
11028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11029 pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
11030 #[doc = "The `WebGL2RenderingContext.ALPHA` const."]
11031 #[doc = ""]
11032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11033 pub const ALPHA: u32 = 6406u64 as u32;
11034 #[doc = "The `WebGL2RenderingContext.RGB` const."]
11035 #[doc = ""]
11036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11037 pub const RGB: u32 = 6407u64 as u32;
11038 #[doc = "The `WebGL2RenderingContext.RGBA` const."]
11039 #[doc = ""]
11040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11041 pub const RGBA: u32 = 6408u64 as u32;
11042 #[doc = "The `WebGL2RenderingContext.LUMINANCE` const."]
11043 #[doc = ""]
11044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11045 pub const LUMINANCE: u32 = 6409u64 as u32;
11046 #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const."]
11047 #[doc = ""]
11048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11049 pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
11050 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
11051 #[doc = ""]
11052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11053 pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
11054 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
11055 #[doc = ""]
11056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11057 pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
11058 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const."]
11059 #[doc = ""]
11060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11061 pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
11062 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const."]
11063 #[doc = ""]
11064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11065 pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
11066 #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const."]
11067 #[doc = ""]
11068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11069 pub const VERTEX_SHADER: u32 = 35633u64 as u32;
11070 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const."]
11071 #[doc = ""]
11072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11073 pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
11074 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
11075 #[doc = ""]
11076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11077 pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
11078 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const."]
11079 #[doc = ""]
11080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11081 pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
11082 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
11083 #[doc = ""]
11084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11085 pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
11086 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
11087 #[doc = ""]
11088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11089 pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
11090 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
11091 #[doc = ""]
11092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11093 pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
11094 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
11095 #[doc = ""]
11096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11097 pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
11098 #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const."]
11099 #[doc = ""]
11100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11101 pub const SHADER_TYPE: u32 = 35663u64 as u32;
11102 #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const."]
11103 #[doc = ""]
11104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11105 pub const DELETE_STATUS: u32 = 35712u64 as u32;
11106 #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const."]
11107 #[doc = ""]
11108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11109 pub const LINK_STATUS: u32 = 35714u64 as u32;
11110 #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const."]
11111 #[doc = ""]
11112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11113 pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
11114 #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const."]
11115 #[doc = ""]
11116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11117 pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
11118 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const."]
11119 #[doc = ""]
11120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11121 pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
11122 #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const."]
11123 #[doc = ""]
11124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11125 pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
11126 #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const."]
11127 #[doc = ""]
11128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11129 pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
11130 #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const."]
11131 #[doc = ""]
11132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11133 pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
11134 #[doc = "The `WebGL2RenderingContext.NEVER` const."]
11135 #[doc = ""]
11136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11137 pub const NEVER: u32 = 512u64 as u32;
11138 #[doc = "The `WebGL2RenderingContext.LESS` const."]
11139 #[doc = ""]
11140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11141 pub const LESS: u32 = 513u64 as u32;
11142 #[doc = "The `WebGL2RenderingContext.EQUAL` const."]
11143 #[doc = ""]
11144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11145 pub const EQUAL: u32 = 514u64 as u32;
11146 #[doc = "The `WebGL2RenderingContext.LEQUAL` const."]
11147 #[doc = ""]
11148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11149 pub const LEQUAL: u32 = 515u64 as u32;
11150 #[doc = "The `WebGL2RenderingContext.GREATER` const."]
11151 #[doc = ""]
11152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11153 pub const GREATER: u32 = 516u64 as u32;
11154 #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const."]
11155 #[doc = ""]
11156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11157 pub const NOTEQUAL: u32 = 517u64 as u32;
11158 #[doc = "The `WebGL2RenderingContext.GEQUAL` const."]
11159 #[doc = ""]
11160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11161 pub const GEQUAL: u32 = 518u64 as u32;
11162 #[doc = "The `WebGL2RenderingContext.ALWAYS` const."]
11163 #[doc = ""]
11164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11165 pub const ALWAYS: u32 = 519u64 as u32;
11166 #[doc = "The `WebGL2RenderingContext.KEEP` const."]
11167 #[doc = ""]
11168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11169 pub const KEEP: u32 = 7680u64 as u32;
11170 #[doc = "The `WebGL2RenderingContext.REPLACE` const."]
11171 #[doc = ""]
11172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11173 pub const REPLACE: u32 = 7681u64 as u32;
11174 #[doc = "The `WebGL2RenderingContext.INCR` const."]
11175 #[doc = ""]
11176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11177 pub const INCR: u32 = 7682u64 as u32;
11178 #[doc = "The `WebGL2RenderingContext.DECR` const."]
11179 #[doc = ""]
11180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11181 pub const DECR: u32 = 7683u64 as u32;
11182 #[doc = "The `WebGL2RenderingContext.INVERT` const."]
11183 #[doc = ""]
11184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11185 pub const INVERT: u32 = 5386u64 as u32;
11186 #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const."]
11187 #[doc = ""]
11188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11189 pub const INCR_WRAP: u32 = 34055u64 as u32;
11190 #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const."]
11191 #[doc = ""]
11192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11193 pub const DECR_WRAP: u32 = 34056u64 as u32;
11194 #[doc = "The `WebGL2RenderingContext.VENDOR` const."]
11195 #[doc = ""]
11196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11197 pub const VENDOR: u32 = 7936u64 as u32;
11198 #[doc = "The `WebGL2RenderingContext.RENDERER` const."]
11199 #[doc = ""]
11200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11201 pub const RENDERER: u32 = 7937u64 as u32;
11202 #[doc = "The `WebGL2RenderingContext.VERSION` const."]
11203 #[doc = ""]
11204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11205 pub const VERSION: u32 = 7938u64 as u32;
11206 #[doc = "The `WebGL2RenderingContext.NEAREST` const."]
11207 #[doc = ""]
11208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11209 pub const NEAREST: u32 = 9728u64 as u32;
11210 #[doc = "The `WebGL2RenderingContext.LINEAR` const."]
11211 #[doc = ""]
11212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11213 pub const LINEAR: u32 = 9729u64 as u32;
11214 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const."]
11215 #[doc = ""]
11216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11217 pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
11218 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const."]
11219 #[doc = ""]
11220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11221 pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
11222 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const."]
11223 #[doc = ""]
11224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11225 pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
11226 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const."]
11227 #[doc = ""]
11228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11229 pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
11230 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const."]
11231 #[doc = ""]
11232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11233 pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
11234 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const."]
11235 #[doc = ""]
11236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11237 pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
11238 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const."]
11239 #[doc = ""]
11240 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11241 pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
11242 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const."]
11243 #[doc = ""]
11244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11245 pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
11246 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const."]
11247 #[doc = ""]
11248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11249 pub const TEXTURE_2D: u32 = 3553u64 as u32;
11250 #[doc = "The `WebGL2RenderingContext.TEXTURE` const."]
11251 #[doc = ""]
11252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11253 pub const TEXTURE: u32 = 5890u64 as u32;
11254 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const."]
11255 #[doc = ""]
11256 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11257 pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
11258 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
11259 #[doc = ""]
11260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11261 pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
11262 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
11263 #[doc = ""]
11264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11265 pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
11266 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
11267 #[doc = ""]
11268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11269 pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
11270 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
11271 #[doc = ""]
11272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11273 pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
11274 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
11275 #[doc = ""]
11276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11277 pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
11278 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
11279 #[doc = ""]
11280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11281 pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
11282 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
11283 #[doc = ""]
11284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11285 pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
11286 #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
11287 #[doc = ""]
11288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11289 pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
11290 #[doc = "The `WebGL2RenderingContext.TEXTURE0` const."]
11291 #[doc = ""]
11292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11293 pub const TEXTURE0: u32 = 33984u64 as u32;
11294 #[doc = "The `WebGL2RenderingContext.TEXTURE1` const."]
11295 #[doc = ""]
11296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11297 pub const TEXTURE1: u32 = 33985u64 as u32;
11298 #[doc = "The `WebGL2RenderingContext.TEXTURE2` const."]
11299 #[doc = ""]
11300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11301 pub const TEXTURE2: u32 = 33986u64 as u32;
11302 #[doc = "The `WebGL2RenderingContext.TEXTURE3` const."]
11303 #[doc = ""]
11304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11305 pub const TEXTURE3: u32 = 33987u64 as u32;
11306 #[doc = "The `WebGL2RenderingContext.TEXTURE4` const."]
11307 #[doc = ""]
11308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11309 pub const TEXTURE4: u32 = 33988u64 as u32;
11310 #[doc = "The `WebGL2RenderingContext.TEXTURE5` const."]
11311 #[doc = ""]
11312 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11313 pub const TEXTURE5: u32 = 33989u64 as u32;
11314 #[doc = "The `WebGL2RenderingContext.TEXTURE6` const."]
11315 #[doc = ""]
11316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11317 pub const TEXTURE6: u32 = 33990u64 as u32;
11318 #[doc = "The `WebGL2RenderingContext.TEXTURE7` const."]
11319 #[doc = ""]
11320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11321 pub const TEXTURE7: u32 = 33991u64 as u32;
11322 #[doc = "The `WebGL2RenderingContext.TEXTURE8` const."]
11323 #[doc = ""]
11324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11325 pub const TEXTURE8: u32 = 33992u64 as u32;
11326 #[doc = "The `WebGL2RenderingContext.TEXTURE9` const."]
11327 #[doc = ""]
11328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11329 pub const TEXTURE9: u32 = 33993u64 as u32;
11330 #[doc = "The `WebGL2RenderingContext.TEXTURE10` const."]
11331 #[doc = ""]
11332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11333 pub const TEXTURE10: u32 = 33994u64 as u32;
11334 #[doc = "The `WebGL2RenderingContext.TEXTURE11` const."]
11335 #[doc = ""]
11336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11337 pub const TEXTURE11: u32 = 33995u64 as u32;
11338 #[doc = "The `WebGL2RenderingContext.TEXTURE12` const."]
11339 #[doc = ""]
11340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11341 pub const TEXTURE12: u32 = 33996u64 as u32;
11342 #[doc = "The `WebGL2RenderingContext.TEXTURE13` const."]
11343 #[doc = ""]
11344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11345 pub const TEXTURE13: u32 = 33997u64 as u32;
11346 #[doc = "The `WebGL2RenderingContext.TEXTURE14` const."]
11347 #[doc = ""]
11348 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11349 pub const TEXTURE14: u32 = 33998u64 as u32;
11350 #[doc = "The `WebGL2RenderingContext.TEXTURE15` const."]
11351 #[doc = ""]
11352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11353 pub const TEXTURE15: u32 = 33999u64 as u32;
11354 #[doc = "The `WebGL2RenderingContext.TEXTURE16` const."]
11355 #[doc = ""]
11356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11357 pub const TEXTURE16: u32 = 34000u64 as u32;
11358 #[doc = "The `WebGL2RenderingContext.TEXTURE17` const."]
11359 #[doc = ""]
11360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11361 pub const TEXTURE17: u32 = 34001u64 as u32;
11362 #[doc = "The `WebGL2RenderingContext.TEXTURE18` const."]
11363 #[doc = ""]
11364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11365 pub const TEXTURE18: u32 = 34002u64 as u32;
11366 #[doc = "The `WebGL2RenderingContext.TEXTURE19` const."]
11367 #[doc = ""]
11368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11369 pub const TEXTURE19: u32 = 34003u64 as u32;
11370 #[doc = "The `WebGL2RenderingContext.TEXTURE20` const."]
11371 #[doc = ""]
11372 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11373 pub const TEXTURE20: u32 = 34004u64 as u32;
11374 #[doc = "The `WebGL2RenderingContext.TEXTURE21` const."]
11375 #[doc = ""]
11376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11377 pub const TEXTURE21: u32 = 34005u64 as u32;
11378 #[doc = "The `WebGL2RenderingContext.TEXTURE22` const."]
11379 #[doc = ""]
11380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11381 pub const TEXTURE22: u32 = 34006u64 as u32;
11382 #[doc = "The `WebGL2RenderingContext.TEXTURE23` const."]
11383 #[doc = ""]
11384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11385 pub const TEXTURE23: u32 = 34007u64 as u32;
11386 #[doc = "The `WebGL2RenderingContext.TEXTURE24` const."]
11387 #[doc = ""]
11388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11389 pub const TEXTURE24: u32 = 34008u64 as u32;
11390 #[doc = "The `WebGL2RenderingContext.TEXTURE25` const."]
11391 #[doc = ""]
11392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11393 pub const TEXTURE25: u32 = 34009u64 as u32;
11394 #[doc = "The `WebGL2RenderingContext.TEXTURE26` const."]
11395 #[doc = ""]
11396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11397 pub const TEXTURE26: u32 = 34010u64 as u32;
11398 #[doc = "The `WebGL2RenderingContext.TEXTURE27` const."]
11399 #[doc = ""]
11400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11401 pub const TEXTURE27: u32 = 34011u64 as u32;
11402 #[doc = "The `WebGL2RenderingContext.TEXTURE28` const."]
11403 #[doc = ""]
11404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11405 pub const TEXTURE28: u32 = 34012u64 as u32;
11406 #[doc = "The `WebGL2RenderingContext.TEXTURE29` const."]
11407 #[doc = ""]
11408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11409 pub const TEXTURE29: u32 = 34013u64 as u32;
11410 #[doc = "The `WebGL2RenderingContext.TEXTURE30` const."]
11411 #[doc = ""]
11412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11413 pub const TEXTURE30: u32 = 34014u64 as u32;
11414 #[doc = "The `WebGL2RenderingContext.TEXTURE31` const."]
11415 #[doc = ""]
11416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11417 pub const TEXTURE31: u32 = 34015u64 as u32;
11418 #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const."]
11419 #[doc = ""]
11420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11421 pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
11422 #[doc = "The `WebGL2RenderingContext.REPEAT` const."]
11423 #[doc = ""]
11424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11425 pub const REPEAT: u32 = 10497u64 as u32;
11426 #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const."]
11427 #[doc = ""]
11428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11429 pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
11430 #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const."]
11431 #[doc = ""]
11432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11433 pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
11434 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const."]
11435 #[doc = ""]
11436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11437 pub const FLOAT_VEC2: u32 = 35664u64 as u32;
11438 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const."]
11439 #[doc = ""]
11440 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11441 pub const FLOAT_VEC3: u32 = 35665u64 as u32;
11442 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const."]
11443 #[doc = ""]
11444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11445 pub const FLOAT_VEC4: u32 = 35666u64 as u32;
11446 #[doc = "The `WebGL2RenderingContext.INT_VEC2` const."]
11447 #[doc = ""]
11448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11449 pub const INT_VEC2: u32 = 35667u64 as u32;
11450 #[doc = "The `WebGL2RenderingContext.INT_VEC3` const."]
11451 #[doc = ""]
11452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11453 pub const INT_VEC3: u32 = 35668u64 as u32;
11454 #[doc = "The `WebGL2RenderingContext.INT_VEC4` const."]
11455 #[doc = ""]
11456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11457 pub const INT_VEC4: u32 = 35669u64 as u32;
11458 #[doc = "The `WebGL2RenderingContext.BOOL` const."]
11459 #[doc = ""]
11460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11461 pub const BOOL: u32 = 35670u64 as u32;
11462 #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const."]
11463 #[doc = ""]
11464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11465 pub const BOOL_VEC2: u32 = 35671u64 as u32;
11466 #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const."]
11467 #[doc = ""]
11468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11469 pub const BOOL_VEC3: u32 = 35672u64 as u32;
11470 #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const."]
11471 #[doc = ""]
11472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11473 pub const BOOL_VEC4: u32 = 35673u64 as u32;
11474 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const."]
11475 #[doc = ""]
11476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11477 pub const FLOAT_MAT2: u32 = 35674u64 as u32;
11478 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const."]
11479 #[doc = ""]
11480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11481 pub const FLOAT_MAT3: u32 = 35675u64 as u32;
11482 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const."]
11483 #[doc = ""]
11484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11485 pub const FLOAT_MAT4: u32 = 35676u64 as u32;
11486 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const."]
11487 #[doc = ""]
11488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11489 pub const SAMPLER_2D: u32 = 35678u64 as u32;
11490 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const."]
11491 #[doc = ""]
11492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11493 pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
11494 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
11495 #[doc = ""]
11496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11497 pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
11498 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
11499 #[doc = ""]
11500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11501 pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
11502 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
11503 #[doc = ""]
11504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11505 pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
11506 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
11507 #[doc = ""]
11508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11509 pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
11510 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
11511 #[doc = ""]
11512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11513 pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
11514 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
11515 #[doc = ""]
11516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11517 pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
11518 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
11519 #[doc = ""]
11520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11521 pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
11522 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
11523 #[doc = ""]
11524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11525 pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
11526 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
11527 #[doc = ""]
11528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11529 pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
11530 #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const."]
11531 #[doc = ""]
11532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11533 pub const COMPILE_STATUS: u32 = 35713u64 as u32;
11534 #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const."]
11535 #[doc = ""]
11536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11537 pub const LOW_FLOAT: u32 = 36336u64 as u32;
11538 #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const."]
11539 #[doc = ""]
11540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11541 pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
11542 #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const."]
11543 #[doc = ""]
11544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11545 pub const HIGH_FLOAT: u32 = 36338u64 as u32;
11546 #[doc = "The `WebGL2RenderingContext.LOW_INT` const."]
11547 #[doc = ""]
11548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11549 pub const LOW_INT: u32 = 36339u64 as u32;
11550 #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const."]
11551 #[doc = ""]
11552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11553 pub const MEDIUM_INT: u32 = 36340u64 as u32;
11554 #[doc = "The `WebGL2RenderingContext.HIGH_INT` const."]
11555 #[doc = ""]
11556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11557 pub const HIGH_INT: u32 = 36341u64 as u32;
11558 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const."]
11559 #[doc = ""]
11560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11561 pub const FRAMEBUFFER: u32 = 36160u64 as u32;
11562 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const."]
11563 #[doc = ""]
11564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11565 pub const RENDERBUFFER: u32 = 36161u64 as u32;
11566 #[doc = "The `WebGL2RenderingContext.RGBA4` const."]
11567 #[doc = ""]
11568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11569 pub const RGBA4: u32 = 32854u64 as u32;
11570 #[doc = "The `WebGL2RenderingContext.RGB5_A1` const."]
11571 #[doc = ""]
11572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11573 pub const RGB5_A1: u32 = 32855u64 as u32;
11574 #[doc = "The `WebGL2RenderingContext.RGB565` const."]
11575 #[doc = ""]
11576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11577 pub const RGB565: u32 = 36194u64 as u32;
11578 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const."]
11579 #[doc = ""]
11580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11581 pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
11582 #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const."]
11583 #[doc = ""]
11584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11585 pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
11586 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const."]
11587 #[doc = ""]
11588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11589 pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
11590 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const."]
11591 #[doc = ""]
11592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11593 pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
11594 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const."]
11595 #[doc = ""]
11596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11597 pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
11598 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
11599 #[doc = ""]
11600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11601 pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
11602 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const."]
11603 #[doc = ""]
11604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11605 pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
11606 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
11607 #[doc = ""]
11608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11609 pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
11610 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
11611 #[doc = ""]
11612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11613 pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
11614 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
11615 #[doc = ""]
11616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11617 pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
11618 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
11619 #[doc = ""]
11620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11621 pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
11622 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
11623 #[doc = ""]
11624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11625 pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
11626 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
11627 #[doc = ""]
11628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11629 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
11630 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
11631 #[doc = ""]
11632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11633 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
11634 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
11635 #[doc = ""]
11636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11637 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
11638 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
11639 #[doc = ""]
11640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11641 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
11642 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const."]
11643 #[doc = ""]
11644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11645 pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
11646 #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const."]
11647 #[doc = ""]
11648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11649 pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
11650 #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const."]
11651 #[doc = ""]
11652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11653 pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
11654 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
11655 #[doc = ""]
11656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11657 pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
11658 #[doc = "The `WebGL2RenderingContext.NONE` const."]
11659 #[doc = ""]
11660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11661 pub const NONE: u32 = 0i64 as u32;
11662 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const."]
11663 #[doc = ""]
11664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11665 pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
11666 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
11667 #[doc = ""]
11668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11669 pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
11670 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
11671 #[doc = ""]
11672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11673 pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
11674 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
11675 #[doc = ""]
11676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11677 pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
11678 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
11679 #[doc = ""]
11680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11681 pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
11682 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const."]
11683 #[doc = ""]
11684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11685 pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
11686 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const."]
11687 #[doc = ""]
11688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11689 pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
11690 #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const."]
11691 #[doc = ""]
11692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11693 pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
11694 #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
11695 #[doc = ""]
11696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11697 pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
11698 #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
11699 #[doc = ""]
11700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11701 pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
11702 #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
11703 #[doc = ""]
11704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11705 pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
11706 #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const."]
11707 #[doc = ""]
11708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11709 pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
11710 #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
11711 #[doc = ""]
11712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11713 pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
11714 #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const."]
11715 #[doc = ""]
11716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
11717 pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
11718}