1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGL2RenderingContext , typescript_type = "WebGL2RenderingContext")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `WebGl2RenderingContext` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
14 pub type WebGl2RenderingContext;
15 # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = canvas)]
16 #[doc = "Getter for the `canvas` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
21 pub fn canvas(this: &WebGl2RenderingContext) -> Option<::js_sys::Object>;
22 # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferWidth)]
23 #[doc = "Getter for the `drawingBufferWidth` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
28 pub fn drawing_buffer_width(this: &WebGl2RenderingContext) -> i32;
29 # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferHeight)]
30 #[doc = "Getter for the `drawingBufferHeight` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
35 pub fn drawing_buffer_height(this: &WebGl2RenderingContext) -> i32;
36 #[cfg(feature = "WebGlQuery")]
37 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginQuery)]
38 #[doc = "The `beginQuery()` method."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
43 pub fn begin_query(this: &WebGl2RenderingContext, target: u32, query: &WebGlQuery);
44 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginTransformFeedback)]
45 #[doc = "The `beginTransformFeedback()` method."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
50 pub fn begin_transform_feedback(this: &WebGl2RenderingContext, primitive_mode: u32);
51 #[cfg(feature = "WebGlBuffer")]
52 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferBase)]
53 #[doc = "The `bindBufferBase()` method."]
54 #[doc = ""]
55 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)"]
56 #[doc = ""]
57 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
58 pub fn bind_buffer_base(
59 this: &WebGl2RenderingContext,
60 target: u32,
61 index: u32,
62 buffer: Option<&WebGlBuffer>,
63 );
64 #[cfg(feature = "WebGlBuffer")]
65 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
66 #[doc = "The `bindBufferRange()` method."]
67 #[doc = ""]
68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
71 pub fn bind_buffer_range_with_i32_and_i32(
72 this: &WebGl2RenderingContext,
73 target: u32,
74 index: u32,
75 buffer: Option<&WebGlBuffer>,
76 offset: i32,
77 size: i32,
78 );
79 #[cfg(feature = "WebGlBuffer")]
80 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
81 #[doc = "The `bindBufferRange()` method."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
86 pub fn bind_buffer_range_with_f64_and_i32(
87 this: &WebGl2RenderingContext,
88 target: u32,
89 index: u32,
90 buffer: Option<&WebGlBuffer>,
91 offset: f64,
92 size: i32,
93 );
94 #[cfg(feature = "WebGlBuffer")]
95 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
96 #[doc = "The `bindBufferRange()` method."]
97 #[doc = ""]
98 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
99 #[doc = ""]
100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
101 pub fn bind_buffer_range_with_i32_and_f64(
102 this: &WebGl2RenderingContext,
103 target: u32,
104 index: u32,
105 buffer: Option<&WebGlBuffer>,
106 offset: i32,
107 size: f64,
108 );
109 #[cfg(feature = "WebGlBuffer")]
110 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
111 #[doc = "The `bindBufferRange()` method."]
112 #[doc = ""]
113 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
114 #[doc = ""]
115 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
116 pub fn bind_buffer_range_with_f64_and_f64(
117 this: &WebGl2RenderingContext,
118 target: u32,
119 index: u32,
120 buffer: Option<&WebGlBuffer>,
121 offset: f64,
122 size: f64,
123 );
124 #[cfg(feature = "WebGlSampler")]
125 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindSampler)]
126 #[doc = "The `bindSampler()` method."]
127 #[doc = ""]
128 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)"]
129 #[doc = ""]
130 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
131 pub fn bind_sampler(this: &WebGl2RenderingContext, unit: u32, sampler: Option<&WebGlSampler>);
132 #[cfg(feature = "WebGlTransformFeedback")]
133 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTransformFeedback)]
134 #[doc = "The `bindTransformFeedback()` method."]
135 #[doc = ""]
136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)"]
137 #[doc = ""]
138 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
139 pub fn bind_transform_feedback(
140 this: &WebGl2RenderingContext,
141 target: u32,
142 tf: Option<&WebGlTransformFeedback>,
143 );
144 #[cfg(feature = "WebGlVertexArrayObject")]
145 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindVertexArray)]
146 #[doc = "The `bindVertexArray()` method."]
147 #[doc = ""]
148 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)"]
149 #[doc = ""]
150 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
151 pub fn bind_vertex_array(this: &WebGl2RenderingContext, array: Option<&WebGlVertexArrayObject>);
152 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blitFramebuffer)]
153 #[doc = "The `blitFramebuffer()` method."]
154 #[doc = ""]
155 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)"]
156 #[doc = ""]
157 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
158 pub fn blit_framebuffer(
159 this: &WebGl2RenderingContext,
160 src_x0: i32,
161 src_y0: i32,
162 src_x1: i32,
163 src_y1: i32,
164 dst_x0: i32,
165 dst_y0: i32,
166 dst_x1: i32,
167 dst_y1: i32,
168 mask: u32,
169 filter: u32,
170 );
171 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
172 #[doc = "The `bufferData()` method."]
173 #[doc = ""]
174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
175 #[doc = ""]
176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
177 pub fn buffer_data_with_i32(this: &WebGl2RenderingContext, target: u32, size: i32, usage: u32);
178 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
179 #[doc = "The `bufferData()` method."]
180 #[doc = ""]
181 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
182 #[doc = ""]
183 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
184 pub fn buffer_data_with_f64(this: &WebGl2RenderingContext, target: u32, size: f64, usage: u32);
185 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
186 #[doc = "The `bufferData()` method."]
187 #[doc = ""]
188 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
189 #[doc = ""]
190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
191 pub fn buffer_data_with_opt_array_buffer(
192 this: &WebGl2RenderingContext,
193 target: u32,
194 src_data: Option<&::js_sys::ArrayBuffer>,
195 usage: u32,
196 );
197 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
198 #[doc = "The `bufferData()` method."]
199 #[doc = ""]
200 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
201 #[doc = ""]
202 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
203 pub fn buffer_data_with_array_buffer_view(
204 this: &WebGl2RenderingContext,
205 target: u32,
206 src_data: &::js_sys::Object,
207 usage: u32,
208 );
209 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
210 #[doc = "The `bufferData()` method."]
211 #[doc = ""]
212 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
213 #[doc = ""]
214 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
215 pub fn buffer_data_with_u8_array(
216 this: &WebGl2RenderingContext,
217 target: u32,
218 src_data: &[u8],
219 usage: u32,
220 );
221 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
222 #[doc = "The `bufferData()` method."]
223 #[doc = ""]
224 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
225 #[doc = ""]
226 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
227 pub fn buffer_data_with_js_u8_array(
228 this: &WebGl2RenderingContext,
229 target: u32,
230 src_data: &::js_sys::Uint8Array,
231 usage: u32,
232 );
233 # [wasm_bindgen (method , structural , 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_array_buffer_view_and_src_offset(
240 this: &WebGl2RenderingContext,
241 target: u32,
242 src_data: &::js_sys::Object,
243 usage: u32,
244 src_offset: u32,
245 );
246 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
247 #[doc = "The `bufferData()` method."]
248 #[doc = ""]
249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
250 #[doc = ""]
251 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
252 pub fn buffer_data_with_u8_array_and_src_offset(
253 this: &WebGl2RenderingContext,
254 target: u32,
255 src_data: &[u8],
256 usage: u32,
257 src_offset: u32,
258 );
259 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
260 #[doc = "The `bufferData()` method."]
261 #[doc = ""]
262 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
263 #[doc = ""]
264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
265 pub fn buffer_data_with_js_u8_array_and_src_offset(
266 this: &WebGl2RenderingContext,
267 target: u32,
268 src_data: &::js_sys::Uint8Array,
269 usage: u32,
270 src_offset: u32,
271 );
272 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
273 #[doc = "The `bufferData()` method."]
274 #[doc = ""]
275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
276 #[doc = ""]
277 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
278 pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length(
279 this: &WebGl2RenderingContext,
280 target: u32,
281 src_data: &::js_sys::Object,
282 usage: u32,
283 src_offset: u32,
284 length: u32,
285 );
286 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
287 #[doc = "The `bufferData()` method."]
288 #[doc = ""]
289 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
290 #[doc = ""]
291 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
292 pub fn buffer_data_with_u8_array_and_src_offset_and_length(
293 this: &WebGl2RenderingContext,
294 target: u32,
295 src_data: &[u8],
296 usage: u32,
297 src_offset: u32,
298 length: u32,
299 );
300 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
301 #[doc = "The `bufferData()` method."]
302 #[doc = ""]
303 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
304 #[doc = ""]
305 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
306 pub fn buffer_data_with_js_u8_array_and_src_offset_and_length(
307 this: &WebGl2RenderingContext,
308 target: u32,
309 src_data: &::js_sys::Uint8Array,
310 usage: u32,
311 src_offset: u32,
312 length: u32,
313 );
314 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
315 #[doc = "The `bufferSubData()` method."]
316 #[doc = ""]
317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
318 #[doc = ""]
319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
320 pub fn buffer_sub_data_with_i32_and_array_buffer(
321 this: &WebGl2RenderingContext,
322 target: u32,
323 offset: i32,
324 src_data: &::js_sys::ArrayBuffer,
325 );
326 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
327 #[doc = "The `bufferSubData()` method."]
328 #[doc = ""]
329 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
330 #[doc = ""]
331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
332 pub fn buffer_sub_data_with_f64_and_array_buffer(
333 this: &WebGl2RenderingContext,
334 target: u32,
335 offset: f64,
336 src_data: &::js_sys::ArrayBuffer,
337 );
338 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
339 #[doc = "The `bufferSubData()` method."]
340 #[doc = ""]
341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
342 #[doc = ""]
343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
344 pub fn buffer_sub_data_with_i32_and_array_buffer_view(
345 this: &WebGl2RenderingContext,
346 target: u32,
347 offset: i32,
348 src_data: &::js_sys::Object,
349 );
350 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
351 #[doc = "The `bufferSubData()` method."]
352 #[doc = ""]
353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
354 #[doc = ""]
355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
356 pub fn buffer_sub_data_with_f64_and_array_buffer_view(
357 this: &WebGl2RenderingContext,
358 target: u32,
359 offset: f64,
360 src_data: &::js_sys::Object,
361 );
362 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
363 #[doc = "The `bufferSubData()` method."]
364 #[doc = ""]
365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
366 #[doc = ""]
367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
368 pub fn buffer_sub_data_with_i32_and_u8_array(
369 this: &WebGl2RenderingContext,
370 target: u32,
371 offset: i32,
372 src_data: &[u8],
373 );
374 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
375 #[doc = "The `bufferSubData()` method."]
376 #[doc = ""]
377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
378 #[doc = ""]
379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
380 pub fn buffer_sub_data_with_f64_and_u8_array(
381 this: &WebGl2RenderingContext,
382 target: u32,
383 offset: f64,
384 src_data: &[u8],
385 );
386 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
387 #[doc = "The `bufferSubData()` method."]
388 #[doc = ""]
389 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
390 #[doc = ""]
391 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
392 pub fn buffer_sub_data_with_i32_and_js_u8_array(
393 this: &WebGl2RenderingContext,
394 target: u32,
395 offset: i32,
396 src_data: &::js_sys::Uint8Array,
397 );
398 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
399 #[doc = "The `bufferSubData()` method."]
400 #[doc = ""]
401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
402 #[doc = ""]
403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
404 pub fn buffer_sub_data_with_f64_and_js_u8_array(
405 this: &WebGl2RenderingContext,
406 target: u32,
407 offset: f64,
408 src_data: &::js_sys::Uint8Array,
409 );
410 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
411 #[doc = "The `bufferSubData()` method."]
412 #[doc = ""]
413 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
414 #[doc = ""]
415 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
416 pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset(
417 this: &WebGl2RenderingContext,
418 target: u32,
419 dst_byte_offset: i32,
420 src_data: &::js_sys::Object,
421 src_offset: u32,
422 );
423 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
424 #[doc = "The `bufferSubData()` method."]
425 #[doc = ""]
426 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
427 #[doc = ""]
428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
429 pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset(
430 this: &WebGl2RenderingContext,
431 target: u32,
432 dst_byte_offset: f64,
433 src_data: &::js_sys::Object,
434 src_offset: u32,
435 );
436 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
437 #[doc = "The `bufferSubData()` method."]
438 #[doc = ""]
439 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
440 #[doc = ""]
441 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
442 pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset(
443 this: &WebGl2RenderingContext,
444 target: u32,
445 dst_byte_offset: i32,
446 src_data: &[u8],
447 src_offset: u32,
448 );
449 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
450 #[doc = "The `bufferSubData()` method."]
451 #[doc = ""]
452 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
453 #[doc = ""]
454 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
455 pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset(
456 this: &WebGl2RenderingContext,
457 target: u32,
458 dst_byte_offset: f64,
459 src_data: &[u8],
460 src_offset: u32,
461 );
462 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
463 #[doc = "The `bufferSubData()` method."]
464 #[doc = ""]
465 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
466 #[doc = ""]
467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
468 pub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset(
469 this: &WebGl2RenderingContext,
470 target: u32,
471 dst_byte_offset: i32,
472 src_data: &::js_sys::Uint8Array,
473 src_offset: u32,
474 );
475 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
476 #[doc = "The `bufferSubData()` method."]
477 #[doc = ""]
478 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
479 #[doc = ""]
480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
481 pub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset(
482 this: &WebGl2RenderingContext,
483 target: u32,
484 dst_byte_offset: f64,
485 src_data: &::js_sys::Uint8Array,
486 src_offset: u32,
487 );
488 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
489 #[doc = "The `bufferSubData()` method."]
490 #[doc = ""]
491 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
492 #[doc = ""]
493 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
494 pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length(
495 this: &WebGl2RenderingContext,
496 target: u32,
497 dst_byte_offset: i32,
498 src_data: &::js_sys::Object,
499 src_offset: u32,
500 length: u32,
501 );
502 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
503 #[doc = "The `bufferSubData()` method."]
504 #[doc = ""]
505 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
506 #[doc = ""]
507 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
508 pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length(
509 this: &WebGl2RenderingContext,
510 target: u32,
511 dst_byte_offset: f64,
512 src_data: &::js_sys::Object,
513 src_offset: u32,
514 length: u32,
515 );
516 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
517 #[doc = "The `bufferSubData()` method."]
518 #[doc = ""]
519 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
520 #[doc = ""]
521 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
522 pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length(
523 this: &WebGl2RenderingContext,
524 target: u32,
525 dst_byte_offset: i32,
526 src_data: &[u8],
527 src_offset: u32,
528 length: u32,
529 );
530 # [wasm_bindgen (method , structural , 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_u8_array_and_src_offset_and_length(
537 this: &WebGl2RenderingContext,
538 target: u32,
539 dst_byte_offset: f64,
540 src_data: &[u8],
541 src_offset: u32,
542 length: u32,
543 );
544 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
545 #[doc = "The `bufferSubData()` method."]
546 #[doc = ""]
547 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
548 #[doc = ""]
549 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
550 pub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset_and_length(
551 this: &WebGl2RenderingContext,
552 target: u32,
553 dst_byte_offset: i32,
554 src_data: &::js_sys::Uint8Array,
555 src_offset: u32,
556 length: u32,
557 );
558 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
559 #[doc = "The `bufferSubData()` method."]
560 #[doc = ""]
561 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
562 #[doc = ""]
563 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
564 pub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset_and_length(
565 this: &WebGl2RenderingContext,
566 target: u32,
567 dst_byte_offset: f64,
568 src_data: &::js_sys::Uint8Array,
569 src_offset: u32,
570 length: u32,
571 );
572 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfi)]
573 #[doc = "The `clearBufferfi()` method."]
574 #[doc = ""]
575 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)"]
576 #[doc = ""]
577 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
578 pub fn clear_bufferfi(
579 this: &WebGl2RenderingContext,
580 buffer: u32,
581 drawbuffer: i32,
582 depth: f32,
583 stencil: i32,
584 );
585 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
586 #[doc = "The `clearBufferfv()` method."]
587 #[doc = ""]
588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
589 #[doc = ""]
590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
591 pub fn clear_bufferfv_with_f32_array(
592 this: &WebGl2RenderingContext,
593 buffer: u32,
594 drawbuffer: i32,
595 values: &[f32],
596 );
597 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
598 #[doc = "The `clearBufferfv()` method."]
599 #[doc = ""]
600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
601 #[doc = ""]
602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
603 pub fn clear_bufferfv_with_js_f32_array(
604 this: &WebGl2RenderingContext,
605 buffer: u32,
606 drawbuffer: i32,
607 values: &::js_sys::Float32Array,
608 );
609 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
610 #[doc = "The `clearBufferfv()` method."]
611 #[doc = ""]
612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
613 #[doc = ""]
614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
615 pub fn clear_bufferfv_with_f32_sequence(
616 this: &WebGl2RenderingContext,
617 buffer: u32,
618 drawbuffer: i32,
619 values: &::wasm_bindgen::JsValue,
620 );
621 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
622 #[doc = "The `clearBufferfv()` method."]
623 #[doc = ""]
624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
625 #[doc = ""]
626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
627 pub fn clear_bufferfv_with_f32_array_and_src_offset(
628 this: &WebGl2RenderingContext,
629 buffer: u32,
630 drawbuffer: i32,
631 values: &[f32],
632 src_offset: u32,
633 );
634 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
635 #[doc = "The `clearBufferfv()` method."]
636 #[doc = ""]
637 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
638 #[doc = ""]
639 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
640 pub fn clear_bufferfv_with_js_f32_array_and_src_offset(
641 this: &WebGl2RenderingContext,
642 buffer: u32,
643 drawbuffer: i32,
644 values: &::js_sys::Float32Array,
645 src_offset: u32,
646 );
647 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
648 #[doc = "The `clearBufferfv()` method."]
649 #[doc = ""]
650 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
651 #[doc = ""]
652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
653 pub fn clear_bufferfv_with_f32_sequence_and_src_offset(
654 this: &WebGl2RenderingContext,
655 buffer: u32,
656 drawbuffer: i32,
657 values: &::wasm_bindgen::JsValue,
658 src_offset: u32,
659 );
660 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
661 #[doc = "The `clearBufferiv()` method."]
662 #[doc = ""]
663 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
664 #[doc = ""]
665 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
666 pub fn clear_bufferiv_with_i32_array(
667 this: &WebGl2RenderingContext,
668 buffer: u32,
669 drawbuffer: i32,
670 values: &[i32],
671 );
672 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
673 #[doc = "The `clearBufferiv()` method."]
674 #[doc = ""]
675 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
676 #[doc = ""]
677 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
678 pub fn clear_bufferiv_with_js_i32_array(
679 this: &WebGl2RenderingContext,
680 buffer: u32,
681 drawbuffer: i32,
682 values: &::js_sys::Int32Array,
683 );
684 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
685 #[doc = "The `clearBufferiv()` method."]
686 #[doc = ""]
687 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
688 #[doc = ""]
689 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
690 pub fn clear_bufferiv_with_i32_sequence(
691 this: &WebGl2RenderingContext,
692 buffer: u32,
693 drawbuffer: i32,
694 values: &::wasm_bindgen::JsValue,
695 );
696 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
697 #[doc = "The `clearBufferiv()` method."]
698 #[doc = ""]
699 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
700 #[doc = ""]
701 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
702 pub fn clear_bufferiv_with_i32_array_and_src_offset(
703 this: &WebGl2RenderingContext,
704 buffer: u32,
705 drawbuffer: i32,
706 values: &[i32],
707 src_offset: u32,
708 );
709 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
710 #[doc = "The `clearBufferiv()` method."]
711 #[doc = ""]
712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
713 #[doc = ""]
714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
715 pub fn clear_bufferiv_with_js_i32_array_and_src_offset(
716 this: &WebGl2RenderingContext,
717 buffer: u32,
718 drawbuffer: i32,
719 values: &::js_sys::Int32Array,
720 src_offset: u32,
721 );
722 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
723 #[doc = "The `clearBufferiv()` method."]
724 #[doc = ""]
725 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
726 #[doc = ""]
727 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
728 pub fn clear_bufferiv_with_i32_sequence_and_src_offset(
729 this: &WebGl2RenderingContext,
730 buffer: u32,
731 drawbuffer: i32,
732 values: &::wasm_bindgen::JsValue,
733 src_offset: u32,
734 );
735 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
736 #[doc = "The `clearBufferuiv()` method."]
737 #[doc = ""]
738 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
739 #[doc = ""]
740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
741 pub fn clear_bufferuiv_with_u32_array(
742 this: &WebGl2RenderingContext,
743 buffer: u32,
744 drawbuffer: i32,
745 values: &[u32],
746 );
747 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
748 #[doc = "The `clearBufferuiv()` method."]
749 #[doc = ""]
750 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
751 #[doc = ""]
752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
753 pub fn clear_bufferuiv_with_js_u32_array(
754 this: &WebGl2RenderingContext,
755 buffer: u32,
756 drawbuffer: i32,
757 values: &::js_sys::Uint32Array,
758 );
759 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
760 #[doc = "The `clearBufferuiv()` method."]
761 #[doc = ""]
762 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
763 #[doc = ""]
764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
765 pub fn clear_bufferuiv_with_u32_sequence(
766 this: &WebGl2RenderingContext,
767 buffer: u32,
768 drawbuffer: i32,
769 values: &::wasm_bindgen::JsValue,
770 );
771 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
772 #[doc = "The `clearBufferuiv()` method."]
773 #[doc = ""]
774 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
775 #[doc = ""]
776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
777 pub fn clear_bufferuiv_with_u32_array_and_src_offset(
778 this: &WebGl2RenderingContext,
779 buffer: u32,
780 drawbuffer: i32,
781 values: &[u32],
782 src_offset: u32,
783 );
784 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
785 #[doc = "The `clearBufferuiv()` method."]
786 #[doc = ""]
787 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
788 #[doc = ""]
789 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
790 pub fn clear_bufferuiv_with_js_u32_array_and_src_offset(
791 this: &WebGl2RenderingContext,
792 buffer: u32,
793 drawbuffer: i32,
794 values: &::js_sys::Uint32Array,
795 src_offset: u32,
796 );
797 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
798 #[doc = "The `clearBufferuiv()` method."]
799 #[doc = ""]
800 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
801 #[doc = ""]
802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
803 pub fn clear_bufferuiv_with_u32_sequence_and_src_offset(
804 this: &WebGl2RenderingContext,
805 buffer: u32,
806 drawbuffer: i32,
807 values: &::wasm_bindgen::JsValue,
808 src_offset: u32,
809 );
810 #[cfg(feature = "WebGlSync")]
811 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)]
812 #[doc = "The `clientWaitSync()` method."]
813 #[doc = ""]
814 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"]
815 #[doc = ""]
816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
817 pub fn client_wait_sync_with_u32(
818 this: &WebGl2RenderingContext,
819 sync: &WebGlSync,
820 flags: u32,
821 timeout: u32,
822 ) -> u32;
823 #[cfg(feature = "WebGlSync")]
824 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)]
825 #[doc = "The `clientWaitSync()` method."]
826 #[doc = ""]
827 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"]
828 #[doc = ""]
829 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
830 pub fn client_wait_sync_with_f64(
831 this: &WebGl2RenderingContext,
832 sync: &WebGlSync,
833 flags: u32,
834 timeout: f64,
835 ) -> u32;
836 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
837 #[doc = "The `compressedTexImage2D()` method."]
838 #[doc = ""]
839 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
840 #[doc = ""]
841 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
842 pub fn compressed_tex_image_2d_with_i32_and_i32(
843 this: &WebGl2RenderingContext,
844 target: u32,
845 level: i32,
846 internalformat: u32,
847 width: i32,
848 height: i32,
849 border: i32,
850 image_size: i32,
851 offset: i32,
852 );
853 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
854 #[doc = "The `compressedTexImage2D()` method."]
855 #[doc = ""]
856 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
857 #[doc = ""]
858 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
859 pub fn compressed_tex_image_2d_with_i32_and_f64(
860 this: &WebGl2RenderingContext,
861 target: u32,
862 level: i32,
863 internalformat: u32,
864 width: i32,
865 height: i32,
866 border: i32,
867 image_size: i32,
868 offset: f64,
869 );
870 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
871 #[doc = "The `compressedTexImage2D()` method."]
872 #[doc = ""]
873 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
874 #[doc = ""]
875 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
876 pub fn compressed_tex_image_2d_with_array_buffer_view(
877 this: &WebGl2RenderingContext,
878 target: u32,
879 level: i32,
880 internalformat: u32,
881 width: i32,
882 height: i32,
883 border: i32,
884 src_data: &::js_sys::Object,
885 );
886 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
887 #[doc = "The `compressedTexImage2D()` method."]
888 #[doc = ""]
889 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
890 #[doc = ""]
891 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
892 pub fn compressed_tex_image_2d_with_u8_array(
893 this: &WebGl2RenderingContext,
894 target: u32,
895 level: i32,
896 internalformat: u32,
897 width: i32,
898 height: i32,
899 border: i32,
900 src_data: &[u8],
901 );
902 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
903 #[doc = "The `compressedTexImage2D()` method."]
904 #[doc = ""]
905 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
906 #[doc = ""]
907 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
908 pub fn compressed_tex_image_2d_with_js_u8_array(
909 this: &WebGl2RenderingContext,
910 target: u32,
911 level: i32,
912 internalformat: u32,
913 width: i32,
914 height: i32,
915 border: i32,
916 src_data: &::js_sys::Uint8Array,
917 );
918 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
919 #[doc = "The `compressedTexImage2D()` method."]
920 #[doc = ""]
921 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
922 #[doc = ""]
923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
924 pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32(
925 this: &WebGl2RenderingContext,
926 target: u32,
927 level: i32,
928 internalformat: u32,
929 width: i32,
930 height: i32,
931 border: i32,
932 src_data: &::js_sys::Object,
933 src_offset: u32,
934 );
935 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
936 #[doc = "The `compressedTexImage2D()` method."]
937 #[doc = ""]
938 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
939 #[doc = ""]
940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
941 pub fn compressed_tex_image_2d_with_u8_array_and_u32(
942 this: &WebGl2RenderingContext,
943 target: u32,
944 level: i32,
945 internalformat: u32,
946 width: i32,
947 height: i32,
948 border: i32,
949 src_data: &[u8],
950 src_offset: u32,
951 );
952 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
953 #[doc = "The `compressedTexImage2D()` method."]
954 #[doc = ""]
955 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
956 #[doc = ""]
957 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
958 pub fn compressed_tex_image_2d_with_js_u8_array_and_u32(
959 this: &WebGl2RenderingContext,
960 target: u32,
961 level: i32,
962 internalformat: u32,
963 width: i32,
964 height: i32,
965 border: i32,
966 src_data: &::js_sys::Uint8Array,
967 src_offset: u32,
968 );
969 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
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_and_u32_and_src_length_override(
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 src_offset: u32,
985 src_length_override: u32,
986 );
987 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
988 #[doc = "The `compressedTexImage2D()` method."]
989 #[doc = ""]
990 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
991 #[doc = ""]
992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
993 pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override(
994 this: &WebGl2RenderingContext,
995 target: u32,
996 level: i32,
997 internalformat: u32,
998 width: i32,
999 height: i32,
1000 border: i32,
1001 src_data: &[u8],
1002 src_offset: u32,
1003 src_length_override: u32,
1004 );
1005 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
1006 #[doc = "The `compressedTexImage2D()` method."]
1007 #[doc = ""]
1008 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
1009 #[doc = ""]
1010 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1011 pub fn compressed_tex_image_2d_with_js_u8_array_and_u32_and_src_length_override(
1012 this: &WebGl2RenderingContext,
1013 target: u32,
1014 level: i32,
1015 internalformat: u32,
1016 width: i32,
1017 height: i32,
1018 border: i32,
1019 src_data: &::js_sys::Uint8Array,
1020 src_offset: u32,
1021 src_length_override: u32,
1022 );
1023 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1024 #[doc = "The `compressedTexImage3D()` method."]
1025 #[doc = ""]
1026 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1027 #[doc = ""]
1028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1029 pub fn compressed_tex_image_3d_with_i32_and_i32(
1030 this: &WebGl2RenderingContext,
1031 target: u32,
1032 level: i32,
1033 internalformat: u32,
1034 width: i32,
1035 height: i32,
1036 depth: i32,
1037 border: i32,
1038 image_size: i32,
1039 offset: i32,
1040 );
1041 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1042 #[doc = "The `compressedTexImage3D()` method."]
1043 #[doc = ""]
1044 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1045 #[doc = ""]
1046 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1047 pub fn compressed_tex_image_3d_with_i32_and_f64(
1048 this: &WebGl2RenderingContext,
1049 target: u32,
1050 level: i32,
1051 internalformat: u32,
1052 width: i32,
1053 height: i32,
1054 depth: i32,
1055 border: i32,
1056 image_size: i32,
1057 offset: f64,
1058 );
1059 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1060 #[doc = "The `compressedTexImage3D()` method."]
1061 #[doc = ""]
1062 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1063 #[doc = ""]
1064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1065 pub fn compressed_tex_image_3d_with_array_buffer_view(
1066 this: &WebGl2RenderingContext,
1067 target: u32,
1068 level: i32,
1069 internalformat: u32,
1070 width: i32,
1071 height: i32,
1072 depth: i32,
1073 border: i32,
1074 src_data: &::js_sys::Object,
1075 );
1076 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1077 #[doc = "The `compressedTexImage3D()` method."]
1078 #[doc = ""]
1079 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1080 #[doc = ""]
1081 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1082 pub fn compressed_tex_image_3d_with_u8_array(
1083 this: &WebGl2RenderingContext,
1084 target: u32,
1085 level: i32,
1086 internalformat: u32,
1087 width: i32,
1088 height: i32,
1089 depth: i32,
1090 border: i32,
1091 src_data: &[u8],
1092 );
1093 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1094 #[doc = "The `compressedTexImage3D()` method."]
1095 #[doc = ""]
1096 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1097 #[doc = ""]
1098 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1099 pub fn compressed_tex_image_3d_with_js_u8_array(
1100 this: &WebGl2RenderingContext,
1101 target: u32,
1102 level: i32,
1103 internalformat: u32,
1104 width: i32,
1105 height: i32,
1106 depth: i32,
1107 border: i32,
1108 src_data: &::js_sys::Uint8Array,
1109 );
1110 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1111 #[doc = "The `compressedTexImage3D()` method."]
1112 #[doc = ""]
1113 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1114 #[doc = ""]
1115 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1116 pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32(
1117 this: &WebGl2RenderingContext,
1118 target: u32,
1119 level: i32,
1120 internalformat: u32,
1121 width: i32,
1122 height: i32,
1123 depth: i32,
1124 border: i32,
1125 src_data: &::js_sys::Object,
1126 src_offset: u32,
1127 );
1128 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1129 #[doc = "The `compressedTexImage3D()` method."]
1130 #[doc = ""]
1131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1132 #[doc = ""]
1133 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1134 pub fn compressed_tex_image_3d_with_u8_array_and_u32(
1135 this: &WebGl2RenderingContext,
1136 target: u32,
1137 level: i32,
1138 internalformat: u32,
1139 width: i32,
1140 height: i32,
1141 depth: i32,
1142 border: i32,
1143 src_data: &[u8],
1144 src_offset: u32,
1145 );
1146 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1147 #[doc = "The `compressedTexImage3D()` method."]
1148 #[doc = ""]
1149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1150 #[doc = ""]
1151 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1152 pub fn compressed_tex_image_3d_with_js_u8_array_and_u32(
1153 this: &WebGl2RenderingContext,
1154 target: u32,
1155 level: i32,
1156 internalformat: u32,
1157 width: i32,
1158 height: i32,
1159 depth: i32,
1160 border: i32,
1161 src_data: &::js_sys::Uint8Array,
1162 src_offset: u32,
1163 );
1164 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1165 #[doc = "The `compressedTexImage3D()` method."]
1166 #[doc = ""]
1167 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1168 #[doc = ""]
1169 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1170 pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
1171 this: &WebGl2RenderingContext,
1172 target: u32,
1173 level: i32,
1174 internalformat: u32,
1175 width: i32,
1176 height: i32,
1177 depth: i32,
1178 border: i32,
1179 src_data: &::js_sys::Object,
1180 src_offset: u32,
1181 src_length_override: u32,
1182 );
1183 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
1184 #[doc = "The `compressedTexImage3D()` method."]
1185 #[doc = ""]
1186 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
1187 #[doc = ""]
1188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1189 pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override(
1190 this: &WebGl2RenderingContext,
1191 target: u32,
1192 level: i32,
1193 internalformat: u32,
1194 width: i32,
1195 height: i32,
1196 depth: i32,
1197 border: i32,
1198 src_data: &[u8],
1199 src_offset: u32,
1200 src_length_override: u32,
1201 );
1202 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
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_js_u8_array_and_u32_and_src_length_override(
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::Uint8Array,
1218 src_offset: u32,
1219 src_length_override: u32,
1220 );
1221 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1222 #[doc = "The `compressedTexSubImage2D()` method."]
1223 #[doc = ""]
1224 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1225 #[doc = ""]
1226 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1227 pub fn compressed_tex_sub_image_2d_with_i32_and_i32(
1228 this: &WebGl2RenderingContext,
1229 target: u32,
1230 level: i32,
1231 xoffset: i32,
1232 yoffset: i32,
1233 width: i32,
1234 height: i32,
1235 format: u32,
1236 image_size: i32,
1237 offset: i32,
1238 );
1239 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1240 #[doc = "The `compressedTexSubImage2D()` method."]
1241 #[doc = ""]
1242 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1243 #[doc = ""]
1244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1245 pub fn compressed_tex_sub_image_2d_with_i32_and_f64(
1246 this: &WebGl2RenderingContext,
1247 target: u32,
1248 level: i32,
1249 xoffset: i32,
1250 yoffset: i32,
1251 width: i32,
1252 height: i32,
1253 format: u32,
1254 image_size: i32,
1255 offset: f64,
1256 );
1257 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1258 #[doc = "The `compressedTexSubImage2D()` method."]
1259 #[doc = ""]
1260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1261 #[doc = ""]
1262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1263 pub fn compressed_tex_sub_image_2d_with_array_buffer_view(
1264 this: &WebGl2RenderingContext,
1265 target: u32,
1266 level: i32,
1267 xoffset: i32,
1268 yoffset: i32,
1269 width: i32,
1270 height: i32,
1271 format: u32,
1272 src_data: &::js_sys::Object,
1273 );
1274 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1275 #[doc = "The `compressedTexSubImage2D()` method."]
1276 #[doc = ""]
1277 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1278 #[doc = ""]
1279 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1280 pub fn compressed_tex_sub_image_2d_with_u8_array(
1281 this: &WebGl2RenderingContext,
1282 target: u32,
1283 level: i32,
1284 xoffset: i32,
1285 yoffset: i32,
1286 width: i32,
1287 height: i32,
1288 format: u32,
1289 src_data: &mut [u8],
1290 );
1291 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1292 #[doc = "The `compressedTexSubImage2D()` method."]
1293 #[doc = ""]
1294 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1295 #[doc = ""]
1296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1297 pub fn compressed_tex_sub_image_2d_with_js_u8_array(
1298 this: &WebGl2RenderingContext,
1299 target: u32,
1300 level: i32,
1301 xoffset: i32,
1302 yoffset: i32,
1303 width: i32,
1304 height: i32,
1305 format: u32,
1306 src_data: &::js_sys::Uint8Array,
1307 );
1308 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1309 #[doc = "The `compressedTexSubImage2D()` method."]
1310 #[doc = ""]
1311 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1312 #[doc = ""]
1313 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1314 pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32(
1315 this: &WebGl2RenderingContext,
1316 target: u32,
1317 level: i32,
1318 xoffset: i32,
1319 yoffset: i32,
1320 width: i32,
1321 height: i32,
1322 format: u32,
1323 src_data: &::js_sys::Object,
1324 src_offset: u32,
1325 );
1326 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1327 #[doc = "The `compressedTexSubImage2D()` method."]
1328 #[doc = ""]
1329 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1330 #[doc = ""]
1331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1332 pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32(
1333 this: &WebGl2RenderingContext,
1334 target: u32,
1335 level: i32,
1336 xoffset: i32,
1337 yoffset: i32,
1338 width: i32,
1339 height: i32,
1340 format: u32,
1341 src_data: &mut [u8],
1342 src_offset: u32,
1343 );
1344 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1345 #[doc = "The `compressedTexSubImage2D()` method."]
1346 #[doc = ""]
1347 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1348 #[doc = ""]
1349 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1350 pub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32(
1351 this: &WebGl2RenderingContext,
1352 target: u32,
1353 level: i32,
1354 xoffset: i32,
1355 yoffset: i32,
1356 width: i32,
1357 height: i32,
1358 format: u32,
1359 src_data: &::js_sys::Uint8Array,
1360 src_offset: u32,
1361 );
1362 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1363 #[doc = "The `compressedTexSubImage2D()` method."]
1364 #[doc = ""]
1365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1366 #[doc = ""]
1367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1368 pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
1369 this: &WebGl2RenderingContext,
1370 target: u32,
1371 level: i32,
1372 xoffset: i32,
1373 yoffset: i32,
1374 width: i32,
1375 height: i32,
1376 format: u32,
1377 src_data: &::js_sys::Object,
1378 src_offset: u32,
1379 src_length_override: u32,
1380 );
1381 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
1382 #[doc = "The `compressedTexSubImage2D()` method."]
1383 #[doc = ""]
1384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
1385 #[doc = ""]
1386 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1387 pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override(
1388 this: &WebGl2RenderingContext,
1389 target: u32,
1390 level: i32,
1391 xoffset: i32,
1392 yoffset: i32,
1393 width: i32,
1394 height: i32,
1395 format: u32,
1396 src_data: &mut [u8],
1397 src_offset: u32,
1398 src_length_override: u32,
1399 );
1400 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
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_js_u8_array_and_u32_and_src_length_override(
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 src_data: &::js_sys::Uint8Array,
1416 src_offset: u32,
1417 src_length_override: u32,
1418 );
1419 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1420 #[doc = "The `compressedTexSubImage3D()` method."]
1421 #[doc = ""]
1422 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1423 #[doc = ""]
1424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1425 pub fn compressed_tex_sub_image_3d_with_i32_and_i32(
1426 this: &WebGl2RenderingContext,
1427 target: u32,
1428 level: i32,
1429 xoffset: i32,
1430 yoffset: i32,
1431 zoffset: i32,
1432 width: i32,
1433 height: i32,
1434 depth: i32,
1435 format: u32,
1436 image_size: i32,
1437 offset: i32,
1438 );
1439 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1440 #[doc = "The `compressedTexSubImage3D()` method."]
1441 #[doc = ""]
1442 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1443 #[doc = ""]
1444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1445 pub fn compressed_tex_sub_image_3d_with_i32_and_f64(
1446 this: &WebGl2RenderingContext,
1447 target: u32,
1448 level: i32,
1449 xoffset: i32,
1450 yoffset: i32,
1451 zoffset: i32,
1452 width: i32,
1453 height: i32,
1454 depth: i32,
1455 format: u32,
1456 image_size: i32,
1457 offset: f64,
1458 );
1459 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1460 #[doc = "The `compressedTexSubImage3D()` method."]
1461 #[doc = ""]
1462 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1463 #[doc = ""]
1464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1465 pub fn compressed_tex_sub_image_3d_with_array_buffer_view(
1466 this: &WebGl2RenderingContext,
1467 target: u32,
1468 level: i32,
1469 xoffset: i32,
1470 yoffset: i32,
1471 zoffset: i32,
1472 width: i32,
1473 height: i32,
1474 depth: i32,
1475 format: u32,
1476 src_data: &::js_sys::Object,
1477 );
1478 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1479 #[doc = "The `compressedTexSubImage3D()` method."]
1480 #[doc = ""]
1481 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1482 #[doc = ""]
1483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1484 pub fn compressed_tex_sub_image_3d_with_u8_array(
1485 this: &WebGl2RenderingContext,
1486 target: u32,
1487 level: i32,
1488 xoffset: i32,
1489 yoffset: i32,
1490 zoffset: i32,
1491 width: i32,
1492 height: i32,
1493 depth: i32,
1494 format: u32,
1495 src_data: &mut [u8],
1496 );
1497 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1498 #[doc = "The `compressedTexSubImage3D()` method."]
1499 #[doc = ""]
1500 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1501 #[doc = ""]
1502 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1503 pub fn compressed_tex_sub_image_3d_with_js_u8_array(
1504 this: &WebGl2RenderingContext,
1505 target: u32,
1506 level: i32,
1507 xoffset: i32,
1508 yoffset: i32,
1509 zoffset: i32,
1510 width: i32,
1511 height: i32,
1512 depth: i32,
1513 format: u32,
1514 src_data: &::js_sys::Uint8Array,
1515 );
1516 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1517 #[doc = "The `compressedTexSubImage3D()` method."]
1518 #[doc = ""]
1519 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1520 #[doc = ""]
1521 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1522 pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32(
1523 this: &WebGl2RenderingContext,
1524 target: u32,
1525 level: i32,
1526 xoffset: i32,
1527 yoffset: i32,
1528 zoffset: i32,
1529 width: i32,
1530 height: i32,
1531 depth: i32,
1532 format: u32,
1533 src_data: &::js_sys::Object,
1534 src_offset: u32,
1535 );
1536 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1537 #[doc = "The `compressedTexSubImage3D()` method."]
1538 #[doc = ""]
1539 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1540 #[doc = ""]
1541 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1542 pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32(
1543 this: &WebGl2RenderingContext,
1544 target: u32,
1545 level: i32,
1546 xoffset: i32,
1547 yoffset: i32,
1548 zoffset: i32,
1549 width: i32,
1550 height: i32,
1551 depth: i32,
1552 format: u32,
1553 src_data: &mut [u8],
1554 src_offset: u32,
1555 );
1556 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1557 #[doc = "The `compressedTexSubImage3D()` method."]
1558 #[doc = ""]
1559 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1560 #[doc = ""]
1561 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1562 pub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32(
1563 this: &WebGl2RenderingContext,
1564 target: u32,
1565 level: i32,
1566 xoffset: i32,
1567 yoffset: i32,
1568 zoffset: i32,
1569 width: i32,
1570 height: i32,
1571 depth: i32,
1572 format: u32,
1573 src_data: &::js_sys::Uint8Array,
1574 src_offset: u32,
1575 );
1576 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1577 #[doc = "The `compressedTexSubImage3D()` method."]
1578 #[doc = ""]
1579 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1580 #[doc = ""]
1581 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1582 pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
1583 this: &WebGl2RenderingContext,
1584 target: u32,
1585 level: i32,
1586 xoffset: i32,
1587 yoffset: i32,
1588 zoffset: i32,
1589 width: i32,
1590 height: i32,
1591 depth: i32,
1592 format: u32,
1593 src_data: &::js_sys::Object,
1594 src_offset: u32,
1595 src_length_override: u32,
1596 );
1597 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1598 #[doc = "The `compressedTexSubImage3D()` method."]
1599 #[doc = ""]
1600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1601 #[doc = ""]
1602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1603 pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override(
1604 this: &WebGl2RenderingContext,
1605 target: u32,
1606 level: i32,
1607 xoffset: i32,
1608 yoffset: i32,
1609 zoffset: i32,
1610 width: i32,
1611 height: i32,
1612 depth: i32,
1613 format: u32,
1614 src_data: &mut [u8],
1615 src_offset: u32,
1616 src_length_override: u32,
1617 );
1618 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
1619 #[doc = "The `compressedTexSubImage3D()` method."]
1620 #[doc = ""]
1621 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
1622 #[doc = ""]
1623 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1624 pub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32_and_src_length_override(
1625 this: &WebGl2RenderingContext,
1626 target: u32,
1627 level: i32,
1628 xoffset: i32,
1629 yoffset: i32,
1630 zoffset: i32,
1631 width: i32,
1632 height: i32,
1633 depth: i32,
1634 format: u32,
1635 src_data: &::js_sys::Uint8Array,
1636 src_offset: u32,
1637 src_length_override: u32,
1638 );
1639 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1640 #[doc = "The `copyBufferSubData()` method."]
1641 #[doc = ""]
1642 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1643 #[doc = ""]
1644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1645 pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32(
1646 this: &WebGl2RenderingContext,
1647 read_target: u32,
1648 write_target: u32,
1649 read_offset: i32,
1650 write_offset: i32,
1651 size: i32,
1652 );
1653 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1654 #[doc = "The `copyBufferSubData()` method."]
1655 #[doc = ""]
1656 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1657 #[doc = ""]
1658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1659 pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32(
1660 this: &WebGl2RenderingContext,
1661 read_target: u32,
1662 write_target: u32,
1663 read_offset: f64,
1664 write_offset: i32,
1665 size: i32,
1666 );
1667 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1668 #[doc = "The `copyBufferSubData()` method."]
1669 #[doc = ""]
1670 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1671 #[doc = ""]
1672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1673 pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32(
1674 this: &WebGl2RenderingContext,
1675 read_target: u32,
1676 write_target: u32,
1677 read_offset: i32,
1678 write_offset: f64,
1679 size: i32,
1680 );
1681 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1682 #[doc = "The `copyBufferSubData()` method."]
1683 #[doc = ""]
1684 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1685 #[doc = ""]
1686 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1687 pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32(
1688 this: &WebGl2RenderingContext,
1689 read_target: u32,
1690 write_target: u32,
1691 read_offset: f64,
1692 write_offset: f64,
1693 size: i32,
1694 );
1695 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1696 #[doc = "The `copyBufferSubData()` method."]
1697 #[doc = ""]
1698 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1699 #[doc = ""]
1700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1701 pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64(
1702 this: &WebGl2RenderingContext,
1703 read_target: u32,
1704 write_target: u32,
1705 read_offset: i32,
1706 write_offset: i32,
1707 size: f64,
1708 );
1709 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1710 #[doc = "The `copyBufferSubData()` method."]
1711 #[doc = ""]
1712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1713 #[doc = ""]
1714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1715 pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64(
1716 this: &WebGl2RenderingContext,
1717 read_target: u32,
1718 write_target: u32,
1719 read_offset: f64,
1720 write_offset: i32,
1721 size: f64,
1722 );
1723 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1724 #[doc = "The `copyBufferSubData()` method."]
1725 #[doc = ""]
1726 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1727 #[doc = ""]
1728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1729 pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64(
1730 this: &WebGl2RenderingContext,
1731 read_target: u32,
1732 write_target: u32,
1733 read_offset: i32,
1734 write_offset: f64,
1735 size: f64,
1736 );
1737 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
1738 #[doc = "The `copyBufferSubData()` method."]
1739 #[doc = ""]
1740 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
1741 #[doc = ""]
1742 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1743 pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64(
1744 this: &WebGl2RenderingContext,
1745 read_target: u32,
1746 write_target: u32,
1747 read_offset: f64,
1748 write_offset: f64,
1749 size: f64,
1750 );
1751 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage3D)]
1752 #[doc = "The `copyTexSubImage3D()` method."]
1753 #[doc = ""]
1754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)"]
1755 #[doc = ""]
1756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1757 pub fn copy_tex_sub_image_3d(
1758 this: &WebGl2RenderingContext,
1759 target: u32,
1760 level: i32,
1761 xoffset: i32,
1762 yoffset: i32,
1763 zoffset: i32,
1764 x: i32,
1765 y: i32,
1766 width: i32,
1767 height: i32,
1768 );
1769 #[cfg(feature = "WebGlQuery")]
1770 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createQuery)]
1771 #[doc = "The `createQuery()` method."]
1772 #[doc = ""]
1773 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)"]
1774 #[doc = ""]
1775 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
1776 pub fn create_query(this: &WebGl2RenderingContext) -> Option<WebGlQuery>;
1777 #[cfg(feature = "WebGlSampler")]
1778 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createSampler)]
1779 #[doc = "The `createSampler()` method."]
1780 #[doc = ""]
1781 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)"]
1782 #[doc = ""]
1783 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
1784 pub fn create_sampler(this: &WebGl2RenderingContext) -> Option<WebGlSampler>;
1785 #[cfg(feature = "WebGlTransformFeedback")]
1786 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTransformFeedback)]
1787 #[doc = "The `createTransformFeedback()` method."]
1788 #[doc = ""]
1789 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)"]
1790 #[doc = ""]
1791 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
1792 pub fn create_transform_feedback(
1793 this: &WebGl2RenderingContext,
1794 ) -> Option<WebGlTransformFeedback>;
1795 #[cfg(feature = "WebGlVertexArrayObject")]
1796 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createVertexArray)]
1797 #[doc = "The `createVertexArray()` method."]
1798 #[doc = ""]
1799 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)"]
1800 #[doc = ""]
1801 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
1802 pub fn create_vertex_array(this: &WebGl2RenderingContext) -> Option<WebGlVertexArrayObject>;
1803 #[cfg(feature = "WebGlQuery")]
1804 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteQuery)]
1805 #[doc = "The `deleteQuery()` method."]
1806 #[doc = ""]
1807 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)"]
1808 #[doc = ""]
1809 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
1810 pub fn delete_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>);
1811 #[cfg(feature = "WebGlSampler")]
1812 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSampler)]
1813 #[doc = "The `deleteSampler()` method."]
1814 #[doc = ""]
1815 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)"]
1816 #[doc = ""]
1817 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
1818 pub fn delete_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>);
1819 #[cfg(feature = "WebGlSync")]
1820 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSync)]
1821 #[doc = "The `deleteSync()` method."]
1822 #[doc = ""]
1823 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)"]
1824 #[doc = ""]
1825 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
1826 pub fn delete_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>);
1827 #[cfg(feature = "WebGlTransformFeedback")]
1828 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTransformFeedback)]
1829 #[doc = "The `deleteTransformFeedback()` method."]
1830 #[doc = ""]
1831 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)"]
1832 #[doc = ""]
1833 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
1834 pub fn delete_transform_feedback(
1835 this: &WebGl2RenderingContext,
1836 tf: Option<&WebGlTransformFeedback>,
1837 );
1838 #[cfg(feature = "WebGlVertexArrayObject")]
1839 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteVertexArray)]
1840 #[doc = "The `deleteVertexArray()` method."]
1841 #[doc = ""]
1842 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)"]
1843 #[doc = ""]
1844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
1845 pub fn delete_vertex_array(
1846 this: &WebGl2RenderingContext,
1847 vertex_array: Option<&WebGlVertexArrayObject>,
1848 );
1849 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArraysInstanced)]
1850 #[doc = "The `drawArraysInstanced()` method."]
1851 #[doc = ""]
1852 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)"]
1853 #[doc = ""]
1854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1855 pub fn draw_arrays_instanced(
1856 this: &WebGl2RenderingContext,
1857 mode: u32,
1858 first: i32,
1859 count: i32,
1860 instance_count: i32,
1861 );
1862 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawBuffers)]
1863 #[doc = "The `drawBuffers()` method."]
1864 #[doc = ""]
1865 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers)"]
1866 #[doc = ""]
1867 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1868 pub fn draw_buffers(this: &WebGl2RenderingContext, buffers: &::wasm_bindgen::JsValue);
1869 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)]
1870 #[doc = "The `drawElementsInstanced()` method."]
1871 #[doc = ""]
1872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"]
1873 #[doc = ""]
1874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1875 pub fn draw_elements_instanced_with_i32(
1876 this: &WebGl2RenderingContext,
1877 mode: u32,
1878 count: i32,
1879 type_: u32,
1880 offset: i32,
1881 instance_count: i32,
1882 );
1883 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)]
1884 #[doc = "The `drawElementsInstanced()` method."]
1885 #[doc = ""]
1886 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"]
1887 #[doc = ""]
1888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1889 pub fn draw_elements_instanced_with_f64(
1890 this: &WebGl2RenderingContext,
1891 mode: u32,
1892 count: i32,
1893 type_: u32,
1894 offset: f64,
1895 instance_count: i32,
1896 );
1897 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)]
1898 #[doc = "The `drawRangeElements()` method."]
1899 #[doc = ""]
1900 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"]
1901 #[doc = ""]
1902 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1903 pub fn draw_range_elements_with_i32(
1904 this: &WebGl2RenderingContext,
1905 mode: u32,
1906 start: u32,
1907 end: u32,
1908 count: i32,
1909 type_: u32,
1910 offset: i32,
1911 );
1912 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)]
1913 #[doc = "The `drawRangeElements()` method."]
1914 #[doc = ""]
1915 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"]
1916 #[doc = ""]
1917 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1918 pub fn draw_range_elements_with_f64(
1919 this: &WebGl2RenderingContext,
1920 mode: u32,
1921 start: u32,
1922 end: u32,
1923 count: i32,
1924 type_: u32,
1925 offset: f64,
1926 );
1927 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endQuery)]
1928 #[doc = "The `endQuery()` method."]
1929 #[doc = ""]
1930 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)"]
1931 #[doc = ""]
1932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1933 pub fn end_query(this: &WebGl2RenderingContext, target: u32);
1934 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endTransformFeedback)]
1935 #[doc = "The `endTransformFeedback()` method."]
1936 #[doc = ""]
1937 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)"]
1938 #[doc = ""]
1939 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
1940 pub fn end_transform_feedback(this: &WebGl2RenderingContext);
1941 #[cfg(feature = "WebGlSync")]
1942 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = fenceSync)]
1943 #[doc = "The `fenceSync()` method."]
1944 #[doc = ""]
1945 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)"]
1946 #[doc = ""]
1947 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
1948 pub fn fence_sync(
1949 this: &WebGl2RenderingContext,
1950 condition: u32,
1951 flags: u32,
1952 ) -> Option<WebGlSync>;
1953 #[cfg(feature = "WebGlTexture")]
1954 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTextureLayer)]
1955 #[doc = "The `framebufferTextureLayer()` method."]
1956 #[doc = ""]
1957 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)"]
1958 #[doc = ""]
1959 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
1960 pub fn framebuffer_texture_layer(
1961 this: &WebGl2RenderingContext,
1962 target: u32,
1963 attachment: u32,
1964 texture: Option<&WebGlTexture>,
1965 level: i32,
1966 layer: i32,
1967 );
1968 #[cfg(feature = "WebGlProgram")]
1969 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockName)]
1970 #[doc = "The `getActiveUniformBlockName()` method."]
1971 #[doc = ""]
1972 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)"]
1973 #[doc = ""]
1974 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
1975 pub fn get_active_uniform_block_name(
1976 this: &WebGl2RenderingContext,
1977 program: &WebGlProgram,
1978 uniform_block_index: u32,
1979 ) -> Option<::alloc::string::String>;
1980 #[cfg(feature = "WebGlProgram")]
1981 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockParameter)]
1982 #[doc = "The `getActiveUniformBlockParameter()` method."]
1983 #[doc = ""]
1984 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)"]
1985 #[doc = ""]
1986 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
1987 pub fn get_active_uniform_block_parameter(
1988 this: &WebGl2RenderingContext,
1989 program: &WebGlProgram,
1990 uniform_block_index: u32,
1991 pname: u32,
1992 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
1993 #[cfg(feature = "WebGlProgram")]
1994 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniforms)]
1995 #[doc = "The `getActiveUniforms()` method."]
1996 #[doc = ""]
1997 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms)"]
1998 #[doc = ""]
1999 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2000 pub fn get_active_uniforms(
2001 this: &WebGl2RenderingContext,
2002 program: &WebGlProgram,
2003 uniform_indices: &::wasm_bindgen::JsValue,
2004 pname: u32,
2005 ) -> ::wasm_bindgen::JsValue;
2006 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2007 #[doc = "The `getBufferSubData()` method."]
2008 #[doc = ""]
2009 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2010 #[doc = ""]
2011 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2012 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view(
2013 this: &WebGl2RenderingContext,
2014 target: u32,
2015 src_byte_offset: i32,
2016 dst_data: &::js_sys::Object,
2017 );
2018 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2019 #[doc = "The `getBufferSubData()` method."]
2020 #[doc = ""]
2021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2022 #[doc = ""]
2023 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2024 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view(
2025 this: &WebGl2RenderingContext,
2026 target: u32,
2027 src_byte_offset: f64,
2028 dst_data: &::js_sys::Object,
2029 );
2030 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2031 #[doc = "The `getBufferSubData()` method."]
2032 #[doc = ""]
2033 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2034 #[doc = ""]
2035 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2036 pub fn get_buffer_sub_data_with_i32_and_u8_array(
2037 this: &WebGl2RenderingContext,
2038 target: u32,
2039 src_byte_offset: i32,
2040 dst_data: &mut [u8],
2041 );
2042 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2043 #[doc = "The `getBufferSubData()` method."]
2044 #[doc = ""]
2045 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2046 #[doc = ""]
2047 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2048 pub fn get_buffer_sub_data_with_f64_and_u8_array(
2049 this: &WebGl2RenderingContext,
2050 target: u32,
2051 src_byte_offset: f64,
2052 dst_data: &mut [u8],
2053 );
2054 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2055 #[doc = "The `getBufferSubData()` method."]
2056 #[doc = ""]
2057 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2058 #[doc = ""]
2059 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2060 pub fn get_buffer_sub_data_with_i32_and_js_u8_array(
2061 this: &WebGl2RenderingContext,
2062 target: u32,
2063 src_byte_offset: i32,
2064 dst_data: &::js_sys::Uint8Array,
2065 );
2066 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2067 #[doc = "The `getBufferSubData()` method."]
2068 #[doc = ""]
2069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2070 #[doc = ""]
2071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2072 pub fn get_buffer_sub_data_with_f64_and_js_u8_array(
2073 this: &WebGl2RenderingContext,
2074 target: u32,
2075 src_byte_offset: f64,
2076 dst_data: &::js_sys::Uint8Array,
2077 );
2078 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2079 #[doc = "The `getBufferSubData()` method."]
2080 #[doc = ""]
2081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2082 #[doc = ""]
2083 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2084 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset(
2085 this: &WebGl2RenderingContext,
2086 target: u32,
2087 src_byte_offset: i32,
2088 dst_data: &::js_sys::Object,
2089 dst_offset: u32,
2090 );
2091 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2092 #[doc = "The `getBufferSubData()` method."]
2093 #[doc = ""]
2094 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2095 #[doc = ""]
2096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2097 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset(
2098 this: &WebGl2RenderingContext,
2099 target: u32,
2100 src_byte_offset: f64,
2101 dst_data: &::js_sys::Object,
2102 dst_offset: u32,
2103 );
2104 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2105 #[doc = "The `getBufferSubData()` method."]
2106 #[doc = ""]
2107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2108 #[doc = ""]
2109 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2110 pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset(
2111 this: &WebGl2RenderingContext,
2112 target: u32,
2113 src_byte_offset: i32,
2114 dst_data: &mut [u8],
2115 dst_offset: u32,
2116 );
2117 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2118 #[doc = "The `getBufferSubData()` method."]
2119 #[doc = ""]
2120 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2121 #[doc = ""]
2122 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2123 pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset(
2124 this: &WebGl2RenderingContext,
2125 target: u32,
2126 src_byte_offset: f64,
2127 dst_data: &mut [u8],
2128 dst_offset: u32,
2129 );
2130 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2131 #[doc = "The `getBufferSubData()` method."]
2132 #[doc = ""]
2133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2134 #[doc = ""]
2135 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2136 pub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset(
2137 this: &WebGl2RenderingContext,
2138 target: u32,
2139 src_byte_offset: i32,
2140 dst_data: &::js_sys::Uint8Array,
2141 dst_offset: u32,
2142 );
2143 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2144 #[doc = "The `getBufferSubData()` method."]
2145 #[doc = ""]
2146 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2147 #[doc = ""]
2148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2149 pub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset(
2150 this: &WebGl2RenderingContext,
2151 target: u32,
2152 src_byte_offset: f64,
2153 dst_data: &::js_sys::Uint8Array,
2154 dst_offset: u32,
2155 );
2156 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2157 #[doc = "The `getBufferSubData()` method."]
2158 #[doc = ""]
2159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2160 #[doc = ""]
2161 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2162 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length(
2163 this: &WebGl2RenderingContext,
2164 target: u32,
2165 src_byte_offset: i32,
2166 dst_data: &::js_sys::Object,
2167 dst_offset: u32,
2168 length: u32,
2169 );
2170 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2171 #[doc = "The `getBufferSubData()` method."]
2172 #[doc = ""]
2173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2174 #[doc = ""]
2175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2176 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length(
2177 this: &WebGl2RenderingContext,
2178 target: u32,
2179 src_byte_offset: f64,
2180 dst_data: &::js_sys::Object,
2181 dst_offset: u32,
2182 length: u32,
2183 );
2184 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2185 #[doc = "The `getBufferSubData()` method."]
2186 #[doc = ""]
2187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2188 #[doc = ""]
2189 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2190 pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length(
2191 this: &WebGl2RenderingContext,
2192 target: u32,
2193 src_byte_offset: i32,
2194 dst_data: &mut [u8],
2195 dst_offset: u32,
2196 length: u32,
2197 );
2198 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2199 #[doc = "The `getBufferSubData()` method."]
2200 #[doc = ""]
2201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2202 #[doc = ""]
2203 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2204 pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length(
2205 this: &WebGl2RenderingContext,
2206 target: u32,
2207 src_byte_offset: f64,
2208 dst_data: &mut [u8],
2209 dst_offset: u32,
2210 length: u32,
2211 );
2212 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2213 #[doc = "The `getBufferSubData()` method."]
2214 #[doc = ""]
2215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2216 #[doc = ""]
2217 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2218 pub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset_and_length(
2219 this: &WebGl2RenderingContext,
2220 target: u32,
2221 src_byte_offset: i32,
2222 dst_data: &::js_sys::Uint8Array,
2223 dst_offset: u32,
2224 length: u32,
2225 );
2226 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
2227 #[doc = "The `getBufferSubData()` method."]
2228 #[doc = ""]
2229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
2230 #[doc = ""]
2231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2232 pub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset_and_length(
2233 this: &WebGl2RenderingContext,
2234 target: u32,
2235 src_byte_offset: f64,
2236 dst_data: &::js_sys::Uint8Array,
2237 dst_offset: u32,
2238 length: u32,
2239 );
2240 #[cfg(feature = "WebGlProgram")]
2241 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getFragDataLocation)]
2242 #[doc = "The `getFragDataLocation()` method."]
2243 #[doc = ""]
2244 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)"]
2245 #[doc = ""]
2246 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2247 pub fn get_frag_data_location(
2248 this: &WebGl2RenderingContext,
2249 program: &WebGlProgram,
2250 name: &str,
2251 ) -> i32;
2252 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getIndexedParameter)]
2253 #[doc = "The `getIndexedParameter()` method."]
2254 #[doc = ""]
2255 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)"]
2256 #[doc = ""]
2257 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2258 pub fn get_indexed_parameter(
2259 this: &WebGl2RenderingContext,
2260 target: u32,
2261 index: u32,
2262 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
2263 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getInternalformatParameter)]
2264 #[doc = "The `getInternalformatParameter()` method."]
2265 #[doc = ""]
2266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)"]
2267 #[doc = ""]
2268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2269 pub fn get_internalformat_parameter(
2270 this: &WebGl2RenderingContext,
2271 target: u32,
2272 internalformat: u32,
2273 pname: u32,
2274 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
2275 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQuery)]
2276 #[doc = "The `getQuery()` method."]
2277 #[doc = ""]
2278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)"]
2279 #[doc = ""]
2280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2281 pub fn get_query(
2282 this: &WebGl2RenderingContext,
2283 target: u32,
2284 pname: u32,
2285 ) -> ::wasm_bindgen::JsValue;
2286 #[cfg(feature = "WebGlQuery")]
2287 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQueryParameter)]
2288 #[doc = "The `getQueryParameter()` method."]
2289 #[doc = ""]
2290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)"]
2291 #[doc = ""]
2292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
2293 pub fn get_query_parameter(
2294 this: &WebGl2RenderingContext,
2295 query: &WebGlQuery,
2296 pname: u32,
2297 ) -> ::wasm_bindgen::JsValue;
2298 #[cfg(feature = "WebGlSampler")]
2299 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSamplerParameter)]
2300 #[doc = "The `getSamplerParameter()` method."]
2301 #[doc = ""]
2302 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)"]
2303 #[doc = ""]
2304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2305 pub fn get_sampler_parameter(
2306 this: &WebGl2RenderingContext,
2307 sampler: &WebGlSampler,
2308 pname: u32,
2309 ) -> ::wasm_bindgen::JsValue;
2310 #[cfg(feature = "WebGlSync")]
2311 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSyncParameter)]
2312 #[doc = "The `getSyncParameter()` method."]
2313 #[doc = ""]
2314 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)"]
2315 #[doc = ""]
2316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
2317 pub fn get_sync_parameter(
2318 this: &WebGl2RenderingContext,
2319 sync: &WebGlSync,
2320 pname: u32,
2321 ) -> ::wasm_bindgen::JsValue;
2322 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
2323 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTransformFeedbackVarying)]
2324 #[doc = "The `getTransformFeedbackVarying()` method."]
2325 #[doc = ""]
2326 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)"]
2327 #[doc = ""]
2328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
2329 pub fn get_transform_feedback_varying(
2330 this: &WebGl2RenderingContext,
2331 program: &WebGlProgram,
2332 index: u32,
2333 ) -> Option<WebGlActiveInfo>;
2334 #[cfg(feature = "WebGlProgram")]
2335 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformBlockIndex)]
2336 #[doc = "The `getUniformBlockIndex()` method."]
2337 #[doc = ""]
2338 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)"]
2339 #[doc = ""]
2340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2341 pub fn get_uniform_block_index(
2342 this: &WebGl2RenderingContext,
2343 program: &WebGlProgram,
2344 uniform_block_name: &str,
2345 ) -> u32;
2346 #[cfg(feature = "WebGlProgram")]
2347 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformIndices)]
2348 #[doc = "The `getUniformIndices()` method."]
2349 #[doc = ""]
2350 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices)"]
2351 #[doc = ""]
2352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
2353 pub fn get_uniform_indices(
2354 this: &WebGl2RenderingContext,
2355 program: &WebGlProgram,
2356 uniform_names: &::wasm_bindgen::JsValue,
2357 ) -> Option<::js_sys::Array>;
2358 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateFramebuffer)]
2359 #[doc = "The `invalidateFramebuffer()` method."]
2360 #[doc = ""]
2361 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer)"]
2362 #[doc = ""]
2363 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2364 pub fn invalidate_framebuffer(
2365 this: &WebGl2RenderingContext,
2366 target: u32,
2367 attachments: &::wasm_bindgen::JsValue,
2368 ) -> Result<(), JsValue>;
2369 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateSubFramebuffer)]
2370 #[doc = "The `invalidateSubFramebuffer()` method."]
2371 #[doc = ""]
2372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer)"]
2373 #[doc = ""]
2374 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2375 pub fn invalidate_sub_framebuffer(
2376 this: &WebGl2RenderingContext,
2377 target: u32,
2378 attachments: &::wasm_bindgen::JsValue,
2379 x: i32,
2380 y: i32,
2381 width: i32,
2382 height: i32,
2383 ) -> Result<(), JsValue>;
2384 #[cfg(feature = "WebGlQuery")]
2385 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isQuery)]
2386 #[doc = "The `isQuery()` method."]
2387 #[doc = ""]
2388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)"]
2389 #[doc = ""]
2390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
2391 pub fn is_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>) -> bool;
2392 #[cfg(feature = "WebGlSampler")]
2393 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSampler)]
2394 #[doc = "The `isSampler()` method."]
2395 #[doc = ""]
2396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)"]
2397 #[doc = ""]
2398 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2399 pub fn is_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>) -> bool;
2400 #[cfg(feature = "WebGlSync")]
2401 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSync)]
2402 #[doc = "The `isSync()` method."]
2403 #[doc = ""]
2404 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)"]
2405 #[doc = ""]
2406 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
2407 pub fn is_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>) -> bool;
2408 #[cfg(feature = "WebGlTransformFeedback")]
2409 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTransformFeedback)]
2410 #[doc = "The `isTransformFeedback()` method."]
2411 #[doc = ""]
2412 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)"]
2413 #[doc = ""]
2414 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
2415 pub fn is_transform_feedback(
2416 this: &WebGl2RenderingContext,
2417 tf: Option<&WebGlTransformFeedback>,
2418 ) -> bool;
2419 #[cfg(feature = "WebGlVertexArrayObject")]
2420 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isVertexArray)]
2421 #[doc = "The `isVertexArray()` method."]
2422 #[doc = ""]
2423 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)"]
2424 #[doc = ""]
2425 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
2426 pub fn is_vertex_array(
2427 this: &WebGl2RenderingContext,
2428 vertex_array: Option<&WebGlVertexArrayObject>,
2429 ) -> bool;
2430 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pauseTransformFeedback)]
2431 #[doc = "The `pauseTransformFeedback()` method."]
2432 #[doc = ""]
2433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)"]
2434 #[doc = ""]
2435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2436 pub fn pause_transform_feedback(this: &WebGl2RenderingContext);
2437 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = readBuffer)]
2438 #[doc = "The `readBuffer()` method."]
2439 #[doc = ""]
2440 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)"]
2441 #[doc = ""]
2442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2443 pub fn read_buffer(this: &WebGl2RenderingContext, src: u32);
2444 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2445 #[doc = "The `readPixels()` method."]
2446 #[doc = ""]
2447 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2448 #[doc = ""]
2449 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2450 pub fn read_pixels_with_opt_array_buffer_view(
2451 this: &WebGl2RenderingContext,
2452 x: i32,
2453 y: i32,
2454 width: i32,
2455 height: i32,
2456 format: u32,
2457 type_: u32,
2458 dst_data: Option<&::js_sys::Object>,
2459 ) -> Result<(), JsValue>;
2460 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2461 #[doc = "The `readPixels()` method."]
2462 #[doc = ""]
2463 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2464 #[doc = ""]
2465 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2466 pub fn read_pixels_with_opt_u8_array(
2467 this: &WebGl2RenderingContext,
2468 x: i32,
2469 y: i32,
2470 width: i32,
2471 height: i32,
2472 format: u32,
2473 type_: u32,
2474 dst_data: Option<&mut [u8]>,
2475 ) -> Result<(), JsValue>;
2476 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2477 #[doc = "The `readPixels()` method."]
2478 #[doc = ""]
2479 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2480 #[doc = ""]
2481 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2482 pub fn read_pixels_with_opt_js_u8_array(
2483 this: &WebGl2RenderingContext,
2484 x: i32,
2485 y: i32,
2486 width: i32,
2487 height: i32,
2488 format: u32,
2489 type_: u32,
2490 dst_data: Option<&::js_sys::Uint8Array>,
2491 ) -> Result<(), JsValue>;
2492 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2493 #[doc = "The `readPixels()` method."]
2494 #[doc = ""]
2495 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2496 #[doc = ""]
2497 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2498 pub fn read_pixels_with_i32(
2499 this: &WebGl2RenderingContext,
2500 x: i32,
2501 y: i32,
2502 width: i32,
2503 height: i32,
2504 format: u32,
2505 type_: u32,
2506 offset: i32,
2507 ) -> Result<(), JsValue>;
2508 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2509 #[doc = "The `readPixels()` method."]
2510 #[doc = ""]
2511 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2512 #[doc = ""]
2513 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2514 pub fn read_pixels_with_f64(
2515 this: &WebGl2RenderingContext,
2516 x: i32,
2517 y: i32,
2518 width: i32,
2519 height: i32,
2520 format: u32,
2521 type_: u32,
2522 offset: f64,
2523 ) -> Result<(), JsValue>;
2524 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2525 #[doc = "The `readPixels()` method."]
2526 #[doc = ""]
2527 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2528 #[doc = ""]
2529 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2530 pub fn read_pixels_with_array_buffer_view_and_dst_offset(
2531 this: &WebGl2RenderingContext,
2532 x: i32,
2533 y: i32,
2534 width: i32,
2535 height: i32,
2536 format: u32,
2537 type_: u32,
2538 dst_data: &::js_sys::Object,
2539 dst_offset: u32,
2540 ) -> Result<(), JsValue>;
2541 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2542 #[doc = "The `readPixels()` method."]
2543 #[doc = ""]
2544 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2545 #[doc = ""]
2546 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2547 pub fn read_pixels_with_u8_array_and_dst_offset(
2548 this: &WebGl2RenderingContext,
2549 x: i32,
2550 y: i32,
2551 width: i32,
2552 height: i32,
2553 format: u32,
2554 type_: u32,
2555 dst_data: &mut [u8],
2556 dst_offset: u32,
2557 ) -> Result<(), JsValue>;
2558 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
2559 #[doc = "The `readPixels()` method."]
2560 #[doc = ""]
2561 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
2562 #[doc = ""]
2563 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2564 pub fn read_pixels_with_js_u8_array_and_dst_offset(
2565 this: &WebGl2RenderingContext,
2566 x: i32,
2567 y: i32,
2568 width: i32,
2569 height: i32,
2570 format: u32,
2571 type_: u32,
2572 dst_data: &::js_sys::Uint8Array,
2573 dst_offset: u32,
2574 ) -> Result<(), JsValue>;
2575 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorageMultisample)]
2576 #[doc = "The `renderbufferStorageMultisample()` method."]
2577 #[doc = ""]
2578 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)"]
2579 #[doc = ""]
2580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2581 pub fn renderbuffer_storage_multisample(
2582 this: &WebGl2RenderingContext,
2583 target: u32,
2584 samples: i32,
2585 internalformat: u32,
2586 width: i32,
2587 height: i32,
2588 );
2589 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = resumeTransformFeedback)]
2590 #[doc = "The `resumeTransformFeedback()` method."]
2591 #[doc = ""]
2592 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)"]
2593 #[doc = ""]
2594 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2595 pub fn resume_transform_feedback(this: &WebGl2RenderingContext);
2596 #[cfg(feature = "WebGlSampler")]
2597 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameterf)]
2598 #[doc = "The `samplerParameterf()` method."]
2599 #[doc = ""]
2600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)"]
2601 #[doc = ""]
2602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2603 pub fn sampler_parameterf(
2604 this: &WebGl2RenderingContext,
2605 sampler: &WebGlSampler,
2606 pname: u32,
2607 param: f32,
2608 );
2609 #[cfg(feature = "WebGlSampler")]
2610 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameteri)]
2611 #[doc = "The `samplerParameteri()` method."]
2612 #[doc = ""]
2613 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)"]
2614 #[doc = ""]
2615 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
2616 pub fn sampler_parameteri(
2617 this: &WebGl2RenderingContext,
2618 sampler: &WebGlSampler,
2619 pname: u32,
2620 param: i32,
2621 );
2622 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2623 #[doc = "The `texImage2D()` method."]
2624 #[doc = ""]
2625 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2626 #[doc = ""]
2627 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2628 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
2629 this: &WebGl2RenderingContext,
2630 target: u32,
2631 level: i32,
2632 internalformat: i32,
2633 width: i32,
2634 height: i32,
2635 border: i32,
2636 format: u32,
2637 type_: u32,
2638 pixels: Option<&::js_sys::Object>,
2639 ) -> Result<(), JsValue>;
2640 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2641 #[doc = "The `texImage2D()` method."]
2642 #[doc = ""]
2643 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2644 #[doc = ""]
2645 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2646 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
2647 this: &WebGl2RenderingContext,
2648 target: u32,
2649 level: i32,
2650 internalformat: i32,
2651 width: i32,
2652 height: i32,
2653 border: i32,
2654 format: u32,
2655 type_: u32,
2656 pixels: Option<&[u8]>,
2657 ) -> Result<(), JsValue>;
2658 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2659 #[doc = "The `texImage2D()` method."]
2660 #[doc = ""]
2661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2662 #[doc = ""]
2663 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2664 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_js_u8_array(
2665 this: &WebGl2RenderingContext,
2666 target: u32,
2667 level: i32,
2668 internalformat: i32,
2669 width: i32,
2670 height: i32,
2671 border: i32,
2672 format: u32,
2673 type_: u32,
2674 pixels: Option<&::js_sys::Uint8Array>,
2675 ) -> Result<(), JsValue>;
2676 #[cfg(feature = "HtmlCanvasElement")]
2677 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2678 #[doc = "The `texImage2D()` method."]
2679 #[doc = ""]
2680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2681 #[doc = ""]
2682 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
2683 pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element(
2684 this: &WebGl2RenderingContext,
2685 target: u32,
2686 level: i32,
2687 internalformat: i32,
2688 format: u32,
2689 type_: u32,
2690 source: &HtmlCanvasElement,
2691 ) -> Result<(), JsValue>;
2692 #[cfg(feature = "HtmlImageElement")]
2693 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2694 #[doc = "The `texImage2D()` method."]
2695 #[doc = ""]
2696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2697 #[doc = ""]
2698 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
2699 pub fn tex_image_2d_with_u32_and_u32_and_html_image_element(
2700 this: &WebGl2RenderingContext,
2701 target: u32,
2702 level: i32,
2703 internalformat: i32,
2704 format: u32,
2705 type_: u32,
2706 source: &HtmlImageElement,
2707 ) -> Result<(), JsValue>;
2708 #[cfg(feature = "HtmlVideoElement")]
2709 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2710 #[doc = "The `texImage2D()` method."]
2711 #[doc = ""]
2712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2713 #[doc = ""]
2714 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
2715 pub fn tex_image_2d_with_u32_and_u32_and_html_video_element(
2716 this: &WebGl2RenderingContext,
2717 target: u32,
2718 level: i32,
2719 internalformat: i32,
2720 format: u32,
2721 type_: u32,
2722 source: &HtmlVideoElement,
2723 ) -> Result<(), JsValue>;
2724 #[cfg(feature = "VideoFrame")]
2725 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2726 #[doc = "The `texImage2D()` method."]
2727 #[doc = ""]
2728 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2729 #[doc = ""]
2730 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
2731 pub fn tex_image_2d_with_u32_and_u32_and_video_frame(
2732 this: &WebGl2RenderingContext,
2733 target: u32,
2734 level: i32,
2735 internalformat: i32,
2736 format: u32,
2737 type_: u32,
2738 source: &VideoFrame,
2739 ) -> Result<(), JsValue>;
2740 #[cfg(feature = "ImageBitmap")]
2741 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2742 #[doc = "The `texImage2D()` method."]
2743 #[doc = ""]
2744 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2745 #[doc = ""]
2746 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
2747 pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
2748 this: &WebGl2RenderingContext,
2749 target: u32,
2750 level: i32,
2751 internalformat: i32,
2752 format: u32,
2753 type_: u32,
2754 source: &ImageBitmap,
2755 ) -> Result<(), JsValue>;
2756 #[cfg(feature = "ImageData")]
2757 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2758 #[doc = "The `texImage2D()` method."]
2759 #[doc = ""]
2760 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2761 #[doc = ""]
2762 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
2763 pub fn tex_image_2d_with_u32_and_u32_and_image_data(
2764 this: &WebGl2RenderingContext,
2765 target: u32,
2766 level: i32,
2767 internalformat: i32,
2768 format: u32,
2769 type_: u32,
2770 source: &ImageData,
2771 ) -> Result<(), JsValue>;
2772 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2773 #[doc = "The `texImage2D()` method."]
2774 #[doc = ""]
2775 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2776 #[doc = ""]
2777 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2778 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32(
2779 this: &WebGl2RenderingContext,
2780 target: u32,
2781 level: i32,
2782 internalformat: i32,
2783 width: i32,
2784 height: i32,
2785 border: i32,
2786 format: u32,
2787 type_: u32,
2788 pbo_offset: i32,
2789 ) -> Result<(), JsValue>;
2790 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2791 #[doc = "The `texImage2D()` method."]
2792 #[doc = ""]
2793 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2794 #[doc = ""]
2795 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2796 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64(
2797 this: &WebGl2RenderingContext,
2798 target: u32,
2799 level: i32,
2800 internalformat: i32,
2801 width: i32,
2802 height: i32,
2803 border: i32,
2804 format: u32,
2805 type_: u32,
2806 pbo_offset: f64,
2807 ) -> Result<(), JsValue>;
2808 #[cfg(feature = "HtmlCanvasElement")]
2809 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2810 #[doc = "The `texImage2D()` method."]
2811 #[doc = ""]
2812 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2813 #[doc = ""]
2814 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
2815 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element(
2816 this: &WebGl2RenderingContext,
2817 target: u32,
2818 level: i32,
2819 internalformat: i32,
2820 width: i32,
2821 height: i32,
2822 border: i32,
2823 format: u32,
2824 type_: u32,
2825 source: &HtmlCanvasElement,
2826 ) -> Result<(), JsValue>;
2827 #[cfg(feature = "HtmlImageElement")]
2828 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2829 #[doc = "The `texImage2D()` method."]
2830 #[doc = ""]
2831 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2832 #[doc = ""]
2833 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
2834 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element(
2835 this: &WebGl2RenderingContext,
2836 target: u32,
2837 level: i32,
2838 internalformat: i32,
2839 width: i32,
2840 height: i32,
2841 border: i32,
2842 format: u32,
2843 type_: u32,
2844 source: &HtmlImageElement,
2845 ) -> Result<(), JsValue>;
2846 #[cfg(feature = "HtmlVideoElement")]
2847 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2848 #[doc = "The `texImage2D()` method."]
2849 #[doc = ""]
2850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2851 #[doc = ""]
2852 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
2853 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element(
2854 this: &WebGl2RenderingContext,
2855 target: u32,
2856 level: i32,
2857 internalformat: i32,
2858 width: i32,
2859 height: i32,
2860 border: i32,
2861 format: u32,
2862 type_: u32,
2863 source: &HtmlVideoElement,
2864 ) -> Result<(), JsValue>;
2865 #[cfg(feature = "VideoFrame")]
2866 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2867 #[doc = "The `texImage2D()` method."]
2868 #[doc = ""]
2869 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2870 #[doc = ""]
2871 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
2872 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_video_frame(
2873 this: &WebGl2RenderingContext,
2874 target: u32,
2875 level: i32,
2876 internalformat: i32,
2877 width: i32,
2878 height: i32,
2879 border: i32,
2880 format: u32,
2881 type_: u32,
2882 source: &VideoFrame,
2883 ) -> Result<(), JsValue>;
2884 #[cfg(feature = "ImageBitmap")]
2885 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2886 #[doc = "The `texImage2D()` method."]
2887 #[doc = ""]
2888 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2889 #[doc = ""]
2890 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
2891 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap(
2892 this: &WebGl2RenderingContext,
2893 target: u32,
2894 level: i32,
2895 internalformat: i32,
2896 width: i32,
2897 height: i32,
2898 border: i32,
2899 format: u32,
2900 type_: u32,
2901 source: &ImageBitmap,
2902 ) -> Result<(), JsValue>;
2903 #[cfg(feature = "ImageData")]
2904 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2905 #[doc = "The `texImage2D()` method."]
2906 #[doc = ""]
2907 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2908 #[doc = ""]
2909 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
2910 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data(
2911 this: &WebGl2RenderingContext,
2912 target: u32,
2913 level: i32,
2914 internalformat: i32,
2915 width: i32,
2916 height: i32,
2917 border: i32,
2918 format: u32,
2919 type_: u32,
2920 source: &ImageData,
2921 ) -> Result<(), JsValue>;
2922 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2923 #[doc = "The `texImage2D()` method."]
2924 #[doc = ""]
2925 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2926 #[doc = ""]
2927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2928 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset(
2929 this: &WebGl2RenderingContext,
2930 target: u32,
2931 level: i32,
2932 internalformat: i32,
2933 width: i32,
2934 height: i32,
2935 border: i32,
2936 format: u32,
2937 type_: u32,
2938 src_data: &::js_sys::Object,
2939 src_offset: u32,
2940 ) -> Result<(), JsValue>;
2941 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2942 #[doc = "The `texImage2D()` method."]
2943 #[doc = ""]
2944 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2945 #[doc = ""]
2946 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2947 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset(
2948 this: &WebGl2RenderingContext,
2949 target: u32,
2950 level: i32,
2951 internalformat: i32,
2952 width: i32,
2953 height: i32,
2954 border: i32,
2955 format: u32,
2956 type_: u32,
2957 src_data: &[u8],
2958 src_offset: u32,
2959 ) -> Result<(), JsValue>;
2960 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2961 #[doc = "The `texImage2D()` method."]
2962 #[doc = ""]
2963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2964 #[doc = ""]
2965 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2966 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset(
2967 this: &WebGl2RenderingContext,
2968 target: u32,
2969 level: i32,
2970 internalformat: i32,
2971 width: i32,
2972 height: i32,
2973 border: i32,
2974 format: u32,
2975 type_: u32,
2976 src_data: &::js_sys::Uint8Array,
2977 src_offset: u32,
2978 ) -> Result<(), JsValue>;
2979 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
2980 #[doc = "The `texImage3D()` method."]
2981 #[doc = ""]
2982 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
2983 #[doc = ""]
2984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2985 pub fn tex_image_3d_with_i32(
2986 this: &WebGl2RenderingContext,
2987 target: u32,
2988 level: i32,
2989 internalformat: i32,
2990 width: i32,
2991 height: i32,
2992 depth: i32,
2993 border: i32,
2994 format: u32,
2995 type_: u32,
2996 pbo_offset: i32,
2997 ) -> Result<(), JsValue>;
2998 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
2999 #[doc = "The `texImage3D()` method."]
3000 #[doc = ""]
3001 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3002 #[doc = ""]
3003 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3004 pub fn tex_image_3d_with_f64(
3005 this: &WebGl2RenderingContext,
3006 target: u32,
3007 level: i32,
3008 internalformat: i32,
3009 width: i32,
3010 height: i32,
3011 depth: i32,
3012 border: i32,
3013 format: u32,
3014 type_: u32,
3015 pbo_offset: f64,
3016 ) -> Result<(), JsValue>;
3017 #[cfg(feature = "HtmlCanvasElement")]
3018 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3019 #[doc = "The `texImage3D()` method."]
3020 #[doc = ""]
3021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3022 #[doc = ""]
3023 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3024 pub fn tex_image_3d_with_html_canvas_element(
3025 this: &WebGl2RenderingContext,
3026 target: u32,
3027 level: i32,
3028 internalformat: i32,
3029 width: i32,
3030 height: i32,
3031 depth: i32,
3032 border: i32,
3033 format: u32,
3034 type_: u32,
3035 source: &HtmlCanvasElement,
3036 ) -> Result<(), JsValue>;
3037 #[cfg(feature = "HtmlImageElement")]
3038 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3039 #[doc = "The `texImage3D()` method."]
3040 #[doc = ""]
3041 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3042 #[doc = ""]
3043 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3044 pub fn tex_image_3d_with_html_image_element(
3045 this: &WebGl2RenderingContext,
3046 target: u32,
3047 level: i32,
3048 internalformat: i32,
3049 width: i32,
3050 height: i32,
3051 depth: i32,
3052 border: i32,
3053 format: u32,
3054 type_: u32,
3055 source: &HtmlImageElement,
3056 ) -> Result<(), JsValue>;
3057 #[cfg(feature = "HtmlVideoElement")]
3058 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3059 #[doc = "The `texImage3D()` method."]
3060 #[doc = ""]
3061 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3062 #[doc = ""]
3063 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3064 pub fn tex_image_3d_with_html_video_element(
3065 this: &WebGl2RenderingContext,
3066 target: u32,
3067 level: i32,
3068 internalformat: i32,
3069 width: i32,
3070 height: i32,
3071 depth: i32,
3072 border: i32,
3073 format: u32,
3074 type_: u32,
3075 source: &HtmlVideoElement,
3076 ) -> Result<(), JsValue>;
3077 #[cfg(feature = "VideoFrame")]
3078 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3079 #[doc = "The `texImage3D()` method."]
3080 #[doc = ""]
3081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3082 #[doc = ""]
3083 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3084 pub fn tex_image_3d_with_video_frame(
3085 this: &WebGl2RenderingContext,
3086 target: u32,
3087 level: i32,
3088 internalformat: i32,
3089 width: i32,
3090 height: i32,
3091 depth: i32,
3092 border: i32,
3093 format: u32,
3094 type_: u32,
3095 source: &VideoFrame,
3096 ) -> Result<(), JsValue>;
3097 #[cfg(feature = "ImageBitmap")]
3098 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3099 #[doc = "The `texImage3D()` method."]
3100 #[doc = ""]
3101 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3102 #[doc = ""]
3103 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3104 pub fn tex_image_3d_with_image_bitmap(
3105 this: &WebGl2RenderingContext,
3106 target: u32,
3107 level: i32,
3108 internalformat: i32,
3109 width: i32,
3110 height: i32,
3111 depth: i32,
3112 border: i32,
3113 format: u32,
3114 type_: u32,
3115 source: &ImageBitmap,
3116 ) -> Result<(), JsValue>;
3117 #[cfg(feature = "ImageData")]
3118 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3119 #[doc = "The `texImage3D()` method."]
3120 #[doc = ""]
3121 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3122 #[doc = ""]
3123 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3124 pub fn tex_image_3d_with_image_data(
3125 this: &WebGl2RenderingContext,
3126 target: u32,
3127 level: i32,
3128 internalformat: i32,
3129 width: i32,
3130 height: i32,
3131 depth: i32,
3132 border: i32,
3133 format: u32,
3134 type_: u32,
3135 source: &ImageData,
3136 ) -> Result<(), JsValue>;
3137 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3138 #[doc = "The `texImage3D()` method."]
3139 #[doc = ""]
3140 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3141 #[doc = ""]
3142 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3143 pub fn tex_image_3d_with_opt_array_buffer_view(
3144 this: &WebGl2RenderingContext,
3145 target: u32,
3146 level: i32,
3147 internalformat: i32,
3148 width: i32,
3149 height: i32,
3150 depth: i32,
3151 border: i32,
3152 format: u32,
3153 type_: u32,
3154 src_data: Option<&::js_sys::Object>,
3155 ) -> Result<(), JsValue>;
3156 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3157 #[doc = "The `texImage3D()` method."]
3158 #[doc = ""]
3159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3160 #[doc = ""]
3161 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3162 pub fn tex_image_3d_with_opt_u8_array(
3163 this: &WebGl2RenderingContext,
3164 target: u32,
3165 level: i32,
3166 internalformat: i32,
3167 width: i32,
3168 height: i32,
3169 depth: i32,
3170 border: i32,
3171 format: u32,
3172 type_: u32,
3173 src_data: Option<&[u8]>,
3174 ) -> Result<(), JsValue>;
3175 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3176 #[doc = "The `texImage3D()` method."]
3177 #[doc = ""]
3178 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3179 #[doc = ""]
3180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3181 pub fn tex_image_3d_with_opt_js_u8_array(
3182 this: &WebGl2RenderingContext,
3183 target: u32,
3184 level: i32,
3185 internalformat: i32,
3186 width: i32,
3187 height: i32,
3188 depth: i32,
3189 border: i32,
3190 format: u32,
3191 type_: u32,
3192 src_data: Option<&::js_sys::Uint8Array>,
3193 ) -> Result<(), JsValue>;
3194 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3195 #[doc = "The `texImage3D()` method."]
3196 #[doc = ""]
3197 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3198 #[doc = ""]
3199 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3200 pub fn tex_image_3d_with_array_buffer_view_and_src_offset(
3201 this: &WebGl2RenderingContext,
3202 target: u32,
3203 level: i32,
3204 internalformat: i32,
3205 width: i32,
3206 height: i32,
3207 depth: i32,
3208 border: i32,
3209 format: u32,
3210 type_: u32,
3211 src_data: &::js_sys::Object,
3212 src_offset: u32,
3213 ) -> Result<(), JsValue>;
3214 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3215 #[doc = "The `texImage3D()` method."]
3216 #[doc = ""]
3217 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3218 #[doc = ""]
3219 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3220 pub fn tex_image_3d_with_u8_array_and_src_offset(
3221 this: &WebGl2RenderingContext,
3222 target: u32,
3223 level: i32,
3224 internalformat: i32,
3225 width: i32,
3226 height: i32,
3227 depth: i32,
3228 border: i32,
3229 format: u32,
3230 type_: u32,
3231 src_data: &[u8],
3232 src_offset: u32,
3233 ) -> Result<(), JsValue>;
3234 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3235 #[doc = "The `texImage3D()` method."]
3236 #[doc = ""]
3237 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3238 #[doc = ""]
3239 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3240 pub fn tex_image_3d_with_js_u8_array_and_src_offset(
3241 this: &WebGl2RenderingContext,
3242 target: u32,
3243 level: i32,
3244 internalformat: i32,
3245 width: i32,
3246 height: i32,
3247 depth: i32,
3248 border: i32,
3249 format: u32,
3250 type_: u32,
3251 src_data: &::js_sys::Uint8Array,
3252 src_offset: u32,
3253 ) -> Result<(), JsValue>;
3254 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage2D)]
3255 #[doc = "The `texStorage2D()` method."]
3256 #[doc = ""]
3257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)"]
3258 #[doc = ""]
3259 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3260 pub fn tex_storage_2d(
3261 this: &WebGl2RenderingContext,
3262 target: u32,
3263 levels: i32,
3264 internalformat: u32,
3265 width: i32,
3266 height: i32,
3267 );
3268 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage3D)]
3269 #[doc = "The `texStorage3D()` method."]
3270 #[doc = ""]
3271 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)"]
3272 #[doc = ""]
3273 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3274 pub fn tex_storage_3d(
3275 this: &WebGl2RenderingContext,
3276 target: u32,
3277 levels: i32,
3278 internalformat: u32,
3279 width: i32,
3280 height: i32,
3281 depth: i32,
3282 );
3283 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3284 #[doc = "The `texSubImage2D()` method."]
3285 #[doc = ""]
3286 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3287 #[doc = ""]
3288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3289 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
3290 this: &WebGl2RenderingContext,
3291 target: u32,
3292 level: i32,
3293 xoffset: i32,
3294 yoffset: i32,
3295 width: i32,
3296 height: i32,
3297 format: u32,
3298 type_: u32,
3299 pixels: Option<&::js_sys::Object>,
3300 ) -> Result<(), JsValue>;
3301 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3302 #[doc = "The `texSubImage2D()` method."]
3303 #[doc = ""]
3304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3305 #[doc = ""]
3306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3307 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
3308 this: &WebGl2RenderingContext,
3309 target: u32,
3310 level: i32,
3311 xoffset: i32,
3312 yoffset: i32,
3313 width: i32,
3314 height: i32,
3315 format: u32,
3316 type_: u32,
3317 pixels: Option<&[u8]>,
3318 ) -> Result<(), JsValue>;
3319 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3320 #[doc = "The `texSubImage2D()` method."]
3321 #[doc = ""]
3322 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3323 #[doc = ""]
3324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3325 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array(
3326 this: &WebGl2RenderingContext,
3327 target: u32,
3328 level: i32,
3329 xoffset: i32,
3330 yoffset: i32,
3331 width: i32,
3332 height: i32,
3333 format: u32,
3334 type_: u32,
3335 pixels: Option<&::js_sys::Uint8Array>,
3336 ) -> Result<(), JsValue>;
3337 #[cfg(feature = "HtmlCanvasElement")]
3338 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3339 #[doc = "The `texSubImage2D()` method."]
3340 #[doc = ""]
3341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3342 #[doc = ""]
3343 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3344 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element(
3345 this: &WebGl2RenderingContext,
3346 target: u32,
3347 level: i32,
3348 xoffset: i32,
3349 yoffset: i32,
3350 format: u32,
3351 type_: u32,
3352 source: &HtmlCanvasElement,
3353 ) -> Result<(), JsValue>;
3354 #[cfg(feature = "HtmlImageElement")]
3355 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3356 #[doc = "The `texSubImage2D()` method."]
3357 #[doc = ""]
3358 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3359 #[doc = ""]
3360 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3361 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element(
3362 this: &WebGl2RenderingContext,
3363 target: u32,
3364 level: i32,
3365 xoffset: i32,
3366 yoffset: i32,
3367 format: u32,
3368 type_: u32,
3369 source: &HtmlImageElement,
3370 ) -> Result<(), JsValue>;
3371 #[cfg(feature = "HtmlVideoElement")]
3372 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3373 #[doc = "The `texSubImage2D()` method."]
3374 #[doc = ""]
3375 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3376 #[doc = ""]
3377 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3378 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element(
3379 this: &WebGl2RenderingContext,
3380 target: u32,
3381 level: i32,
3382 xoffset: i32,
3383 yoffset: i32,
3384 format: u32,
3385 type_: u32,
3386 source: &HtmlVideoElement,
3387 ) -> Result<(), JsValue>;
3388 #[cfg(feature = "VideoFrame")]
3389 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3390 #[doc = "The `texSubImage2D()` method."]
3391 #[doc = ""]
3392 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3393 #[doc = ""]
3394 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3395 pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame(
3396 this: &WebGl2RenderingContext,
3397 target: u32,
3398 level: i32,
3399 xoffset: i32,
3400 yoffset: i32,
3401 format: u32,
3402 type_: u32,
3403 source: &VideoFrame,
3404 ) -> Result<(), JsValue>;
3405 #[cfg(feature = "ImageBitmap")]
3406 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3407 #[doc = "The `texSubImage2D()` method."]
3408 #[doc = ""]
3409 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3410 #[doc = ""]
3411 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3412 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
3413 this: &WebGl2RenderingContext,
3414 target: u32,
3415 level: i32,
3416 xoffset: i32,
3417 yoffset: i32,
3418 format: u32,
3419 type_: u32,
3420 source: &ImageBitmap,
3421 ) -> Result<(), JsValue>;
3422 #[cfg(feature = "ImageData")]
3423 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3424 #[doc = "The `texSubImage2D()` method."]
3425 #[doc = ""]
3426 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3427 #[doc = ""]
3428 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3429 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
3430 this: &WebGl2RenderingContext,
3431 target: u32,
3432 level: i32,
3433 xoffset: i32,
3434 yoffset: i32,
3435 format: u32,
3436 type_: u32,
3437 source: &ImageData,
3438 ) -> Result<(), JsValue>;
3439 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3440 #[doc = "The `texSubImage2D()` method."]
3441 #[doc = ""]
3442 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3443 #[doc = ""]
3444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3445 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32(
3446 this: &WebGl2RenderingContext,
3447 target: u32,
3448 level: i32,
3449 xoffset: i32,
3450 yoffset: i32,
3451 width: i32,
3452 height: i32,
3453 format: u32,
3454 type_: u32,
3455 pbo_offset: i32,
3456 ) -> Result<(), JsValue>;
3457 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3458 #[doc = "The `texSubImage2D()` method."]
3459 #[doc = ""]
3460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3461 #[doc = ""]
3462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3463 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64(
3464 this: &WebGl2RenderingContext,
3465 target: u32,
3466 level: i32,
3467 xoffset: i32,
3468 yoffset: i32,
3469 width: i32,
3470 height: i32,
3471 format: u32,
3472 type_: u32,
3473 pbo_offset: f64,
3474 ) -> Result<(), JsValue>;
3475 #[cfg(feature = "HtmlCanvasElement")]
3476 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3477 #[doc = "The `texSubImage2D()` method."]
3478 #[doc = ""]
3479 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3480 #[doc = ""]
3481 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3482 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element(
3483 this: &WebGl2RenderingContext,
3484 target: u32,
3485 level: i32,
3486 xoffset: i32,
3487 yoffset: i32,
3488 width: i32,
3489 height: i32,
3490 format: u32,
3491 type_: u32,
3492 source: &HtmlCanvasElement,
3493 ) -> Result<(), JsValue>;
3494 #[cfg(feature = "HtmlImageElement")]
3495 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3496 #[doc = "The `texSubImage2D()` method."]
3497 #[doc = ""]
3498 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3499 #[doc = ""]
3500 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3501 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element(
3502 this: &WebGl2RenderingContext,
3503 target: u32,
3504 level: i32,
3505 xoffset: i32,
3506 yoffset: i32,
3507 width: i32,
3508 height: i32,
3509 format: u32,
3510 type_: u32,
3511 source: &HtmlImageElement,
3512 ) -> Result<(), JsValue>;
3513 #[cfg(feature = "HtmlVideoElement")]
3514 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3515 #[doc = "The `texSubImage2D()` method."]
3516 #[doc = ""]
3517 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3518 #[doc = ""]
3519 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3520 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element(
3521 this: &WebGl2RenderingContext,
3522 target: u32,
3523 level: i32,
3524 xoffset: i32,
3525 yoffset: i32,
3526 width: i32,
3527 height: i32,
3528 format: u32,
3529 type_: u32,
3530 source: &HtmlVideoElement,
3531 ) -> Result<(), JsValue>;
3532 #[cfg(feature = "VideoFrame")]
3533 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3534 #[doc = "The `texSubImage2D()` method."]
3535 #[doc = ""]
3536 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3537 #[doc = ""]
3538 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3539 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_video_frame(
3540 this: &WebGl2RenderingContext,
3541 target: u32,
3542 level: i32,
3543 xoffset: i32,
3544 yoffset: i32,
3545 width: i32,
3546 height: i32,
3547 format: u32,
3548 type_: u32,
3549 source: &VideoFrame,
3550 ) -> Result<(), JsValue>;
3551 #[cfg(feature = "ImageBitmap")]
3552 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3553 #[doc = "The `texSubImage2D()` method."]
3554 #[doc = ""]
3555 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3556 #[doc = ""]
3557 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3558 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap(
3559 this: &WebGl2RenderingContext,
3560 target: u32,
3561 level: i32,
3562 xoffset: i32,
3563 yoffset: i32,
3564 width: i32,
3565 height: i32,
3566 format: u32,
3567 type_: u32,
3568 source: &ImageBitmap,
3569 ) -> Result<(), JsValue>;
3570 #[cfg(feature = "ImageData")]
3571 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3572 #[doc = "The `texSubImage2D()` method."]
3573 #[doc = ""]
3574 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3575 #[doc = ""]
3576 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3577 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data(
3578 this: &WebGl2RenderingContext,
3579 target: u32,
3580 level: i32,
3581 xoffset: i32,
3582 yoffset: i32,
3583 width: i32,
3584 height: i32,
3585 format: u32,
3586 type_: u32,
3587 source: &ImageData,
3588 ) -> Result<(), JsValue>;
3589 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3590 #[doc = "The `texSubImage2D()` method."]
3591 #[doc = ""]
3592 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3593 #[doc = ""]
3594 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3595 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset(
3596 this: &WebGl2RenderingContext,
3597 target: u32,
3598 level: i32,
3599 xoffset: i32,
3600 yoffset: i32,
3601 width: i32,
3602 height: i32,
3603 format: u32,
3604 type_: u32,
3605 src_data: &::js_sys::Object,
3606 src_offset: u32,
3607 ) -> Result<(), JsValue>;
3608 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3609 #[doc = "The `texSubImage2D()` method."]
3610 #[doc = ""]
3611 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3612 #[doc = ""]
3613 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3614 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset(
3615 this: &WebGl2RenderingContext,
3616 target: u32,
3617 level: i32,
3618 xoffset: i32,
3619 yoffset: i32,
3620 width: i32,
3621 height: i32,
3622 format: u32,
3623 type_: u32,
3624 src_data: &[u8],
3625 src_offset: u32,
3626 ) -> Result<(), JsValue>;
3627 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3628 #[doc = "The `texSubImage2D()` method."]
3629 #[doc = ""]
3630 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3631 #[doc = ""]
3632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3633 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset(
3634 this: &WebGl2RenderingContext,
3635 target: u32,
3636 level: i32,
3637 xoffset: i32,
3638 yoffset: i32,
3639 width: i32,
3640 height: i32,
3641 format: u32,
3642 type_: u32,
3643 src_data: &::js_sys::Uint8Array,
3644 src_offset: u32,
3645 ) -> Result<(), JsValue>;
3646 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3647 #[doc = "The `texSubImage3D()` method."]
3648 #[doc = ""]
3649 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3650 #[doc = ""]
3651 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3652 pub fn tex_sub_image_3d_with_i32(
3653 this: &WebGl2RenderingContext,
3654 target: u32,
3655 level: i32,
3656 xoffset: i32,
3657 yoffset: i32,
3658 zoffset: i32,
3659 width: i32,
3660 height: i32,
3661 depth: i32,
3662 format: u32,
3663 type_: u32,
3664 pbo_offset: i32,
3665 ) -> Result<(), JsValue>;
3666 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3667 #[doc = "The `texSubImage3D()` method."]
3668 #[doc = ""]
3669 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3670 #[doc = ""]
3671 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3672 pub fn tex_sub_image_3d_with_f64(
3673 this: &WebGl2RenderingContext,
3674 target: u32,
3675 level: i32,
3676 xoffset: i32,
3677 yoffset: i32,
3678 zoffset: i32,
3679 width: i32,
3680 height: i32,
3681 depth: i32,
3682 format: u32,
3683 type_: u32,
3684 pbo_offset: f64,
3685 ) -> Result<(), JsValue>;
3686 #[cfg(feature = "HtmlCanvasElement")]
3687 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3688 #[doc = "The `texSubImage3D()` method."]
3689 #[doc = ""]
3690 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3691 #[doc = ""]
3692 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3693 pub fn tex_sub_image_3d_with_html_canvas_element(
3694 this: &WebGl2RenderingContext,
3695 target: u32,
3696 level: i32,
3697 xoffset: i32,
3698 yoffset: i32,
3699 zoffset: i32,
3700 width: i32,
3701 height: i32,
3702 depth: i32,
3703 format: u32,
3704 type_: u32,
3705 source: &HtmlCanvasElement,
3706 ) -> Result<(), JsValue>;
3707 #[cfg(feature = "HtmlImageElement")]
3708 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3709 #[doc = "The `texSubImage3D()` method."]
3710 #[doc = ""]
3711 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3712 #[doc = ""]
3713 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3714 pub fn tex_sub_image_3d_with_html_image_element(
3715 this: &WebGl2RenderingContext,
3716 target: u32,
3717 level: i32,
3718 xoffset: i32,
3719 yoffset: i32,
3720 zoffset: i32,
3721 width: i32,
3722 height: i32,
3723 depth: i32,
3724 format: u32,
3725 type_: u32,
3726 source: &HtmlImageElement,
3727 ) -> Result<(), JsValue>;
3728 #[cfg(feature = "HtmlVideoElement")]
3729 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3730 #[doc = "The `texSubImage3D()` method."]
3731 #[doc = ""]
3732 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3733 #[doc = ""]
3734 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3735 pub fn tex_sub_image_3d_with_html_video_element(
3736 this: &WebGl2RenderingContext,
3737 target: u32,
3738 level: i32,
3739 xoffset: i32,
3740 yoffset: i32,
3741 zoffset: i32,
3742 width: i32,
3743 height: i32,
3744 depth: i32,
3745 format: u32,
3746 type_: u32,
3747 source: &HtmlVideoElement,
3748 ) -> Result<(), JsValue>;
3749 #[cfg(feature = "VideoFrame")]
3750 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3751 #[doc = "The `texSubImage3D()` method."]
3752 #[doc = ""]
3753 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3754 #[doc = ""]
3755 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3756 pub fn tex_sub_image_3d_with_video_frame(
3757 this: &WebGl2RenderingContext,
3758 target: u32,
3759 level: i32,
3760 xoffset: i32,
3761 yoffset: i32,
3762 zoffset: i32,
3763 width: i32,
3764 height: i32,
3765 depth: i32,
3766 format: u32,
3767 type_: u32,
3768 source: &VideoFrame,
3769 ) -> Result<(), JsValue>;
3770 #[cfg(feature = "ImageBitmap")]
3771 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3772 #[doc = "The `texSubImage3D()` method."]
3773 #[doc = ""]
3774 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3775 #[doc = ""]
3776 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3777 pub fn tex_sub_image_3d_with_image_bitmap(
3778 this: &WebGl2RenderingContext,
3779 target: u32,
3780 level: i32,
3781 xoffset: i32,
3782 yoffset: i32,
3783 zoffset: i32,
3784 width: i32,
3785 height: i32,
3786 depth: i32,
3787 format: u32,
3788 type_: u32,
3789 source: &ImageBitmap,
3790 ) -> Result<(), JsValue>;
3791 #[cfg(feature = "ImageData")]
3792 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3793 #[doc = "The `texSubImage3D()` method."]
3794 #[doc = ""]
3795 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3796 #[doc = ""]
3797 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3798 pub fn tex_sub_image_3d_with_image_data(
3799 this: &WebGl2RenderingContext,
3800 target: u32,
3801 level: i32,
3802 xoffset: i32,
3803 yoffset: i32,
3804 zoffset: i32,
3805 width: i32,
3806 height: i32,
3807 depth: i32,
3808 format: u32,
3809 type_: u32,
3810 source: &ImageData,
3811 ) -> Result<(), JsValue>;
3812 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3813 #[doc = "The `texSubImage3D()` method."]
3814 #[doc = ""]
3815 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3816 #[doc = ""]
3817 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3818 pub fn tex_sub_image_3d_with_opt_array_buffer_view(
3819 this: &WebGl2RenderingContext,
3820 target: u32,
3821 level: i32,
3822 xoffset: i32,
3823 yoffset: i32,
3824 zoffset: i32,
3825 width: i32,
3826 height: i32,
3827 depth: i32,
3828 format: u32,
3829 type_: u32,
3830 src_data: Option<&::js_sys::Object>,
3831 ) -> Result<(), JsValue>;
3832 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3833 #[doc = "The `texSubImage3D()` method."]
3834 #[doc = ""]
3835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3836 #[doc = ""]
3837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3838 pub fn tex_sub_image_3d_with_opt_u8_array(
3839 this: &WebGl2RenderingContext,
3840 target: u32,
3841 level: i32,
3842 xoffset: i32,
3843 yoffset: i32,
3844 zoffset: i32,
3845 width: i32,
3846 height: i32,
3847 depth: i32,
3848 format: u32,
3849 type_: u32,
3850 src_data: Option<&[u8]>,
3851 ) -> Result<(), JsValue>;
3852 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3853 #[doc = "The `texSubImage3D()` method."]
3854 #[doc = ""]
3855 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3856 #[doc = ""]
3857 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3858 pub fn tex_sub_image_3d_with_opt_js_u8_array(
3859 this: &WebGl2RenderingContext,
3860 target: u32,
3861 level: i32,
3862 xoffset: i32,
3863 yoffset: i32,
3864 zoffset: i32,
3865 width: i32,
3866 height: i32,
3867 depth: i32,
3868 format: u32,
3869 type_: u32,
3870 src_data: Option<&::js_sys::Uint8Array>,
3871 ) -> Result<(), JsValue>;
3872 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3873 #[doc = "The `texSubImage3D()` method."]
3874 #[doc = ""]
3875 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3876 #[doc = ""]
3877 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3878 pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset(
3879 this: &WebGl2RenderingContext,
3880 target: u32,
3881 level: i32,
3882 xoffset: i32,
3883 yoffset: i32,
3884 zoffset: i32,
3885 width: i32,
3886 height: i32,
3887 depth: i32,
3888 format: u32,
3889 type_: u32,
3890 src_data: Option<&::js_sys::Object>,
3891 src_offset: u32,
3892 ) -> Result<(), JsValue>;
3893 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3894 #[doc = "The `texSubImage3D()` method."]
3895 #[doc = ""]
3896 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3897 #[doc = ""]
3898 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3899 pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset(
3900 this: &WebGl2RenderingContext,
3901 target: u32,
3902 level: i32,
3903 xoffset: i32,
3904 yoffset: i32,
3905 zoffset: i32,
3906 width: i32,
3907 height: i32,
3908 depth: i32,
3909 format: u32,
3910 type_: u32,
3911 src_data: Option<&[u8]>,
3912 src_offset: u32,
3913 ) -> Result<(), JsValue>;
3914 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3915 #[doc = "The `texSubImage3D()` method."]
3916 #[doc = ""]
3917 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3918 #[doc = ""]
3919 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3920 pub fn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset(
3921 this: &WebGl2RenderingContext,
3922 target: u32,
3923 level: i32,
3924 xoffset: i32,
3925 yoffset: i32,
3926 zoffset: i32,
3927 width: i32,
3928 height: i32,
3929 depth: i32,
3930 format: u32,
3931 type_: u32,
3932 src_data: Option<&::js_sys::Uint8Array>,
3933 src_offset: u32,
3934 ) -> Result<(), JsValue>;
3935 #[cfg(feature = "WebGlProgram")]
3936 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = transformFeedbackVaryings)]
3937 #[doc = "The `transformFeedbackVaryings()` method."]
3938 #[doc = ""]
3939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)"]
3940 #[doc = ""]
3941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
3942 pub fn transform_feedback_varyings(
3943 this: &WebGl2RenderingContext,
3944 program: &WebGlProgram,
3945 varyings: &::wasm_bindgen::JsValue,
3946 buffer_mode: u32,
3947 );
3948 #[cfg(feature = "WebGlUniformLocation")]
3949 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
3950 #[doc = "The `uniform1fv()` method."]
3951 #[doc = ""]
3952 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
3953 #[doc = ""]
3954 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
3955 pub fn uniform1fv_with_f32_array(
3956 this: &WebGl2RenderingContext,
3957 location: Option<&WebGlUniformLocation>,
3958 data: &[f32],
3959 );
3960 #[cfg(feature = "WebGlUniformLocation")]
3961 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
3962 #[doc = "The `uniform1fv()` method."]
3963 #[doc = ""]
3964 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
3965 #[doc = ""]
3966 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
3967 pub fn uniform1fv_with_js_f32_array(
3968 this: &WebGl2RenderingContext,
3969 location: Option<&WebGlUniformLocation>,
3970 data: &::js_sys::Float32Array,
3971 );
3972 #[cfg(feature = "WebGlUniformLocation")]
3973 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
3974 #[doc = "The `uniform1fv()` method."]
3975 #[doc = ""]
3976 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
3977 #[doc = ""]
3978 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
3979 pub fn uniform1fv_with_f32_sequence(
3980 this: &WebGl2RenderingContext,
3981 location: Option<&WebGlUniformLocation>,
3982 data: &::wasm_bindgen::JsValue,
3983 );
3984 #[cfg(feature = "WebGlUniformLocation")]
3985 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
3986 #[doc = "The `uniform1fv()` method."]
3987 #[doc = ""]
3988 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
3989 #[doc = ""]
3990 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
3991 pub fn uniform1fv_with_f32_array_and_src_offset(
3992 this: &WebGl2RenderingContext,
3993 location: Option<&WebGlUniformLocation>,
3994 data: &[f32],
3995 src_offset: u32,
3996 );
3997 #[cfg(feature = "WebGlUniformLocation")]
3998 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
3999 #[doc = "The `uniform1fv()` method."]
4000 #[doc = ""]
4001 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4002 #[doc = ""]
4003 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4004 pub fn uniform1fv_with_js_f32_array_and_src_offset(
4005 this: &WebGl2RenderingContext,
4006 location: Option<&WebGlUniformLocation>,
4007 data: &::js_sys::Float32Array,
4008 src_offset: u32,
4009 );
4010 #[cfg(feature = "WebGlUniformLocation")]
4011 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4012 #[doc = "The `uniform1fv()` method."]
4013 #[doc = ""]
4014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4015 #[doc = ""]
4016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4017 pub fn uniform1fv_with_f32_sequence_and_src_offset(
4018 this: &WebGl2RenderingContext,
4019 location: Option<&WebGlUniformLocation>,
4020 data: &::wasm_bindgen::JsValue,
4021 src_offset: u32,
4022 );
4023 #[cfg(feature = "WebGlUniformLocation")]
4024 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4025 #[doc = "The `uniform1fv()` method."]
4026 #[doc = ""]
4027 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4028 #[doc = ""]
4029 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4030 pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length(
4031 this: &WebGl2RenderingContext,
4032 location: Option<&WebGlUniformLocation>,
4033 data: &[f32],
4034 src_offset: u32,
4035 src_length: u32,
4036 );
4037 #[cfg(feature = "WebGlUniformLocation")]
4038 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4039 #[doc = "The `uniform1fv()` method."]
4040 #[doc = ""]
4041 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4042 #[doc = ""]
4043 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4044 pub fn uniform1fv_with_js_f32_array_and_src_offset_and_src_length(
4045 this: &WebGl2RenderingContext,
4046 location: Option<&WebGlUniformLocation>,
4047 data: &::js_sys::Float32Array,
4048 src_offset: u32,
4049 src_length: u32,
4050 );
4051 #[cfg(feature = "WebGlUniformLocation")]
4052 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4053 #[doc = "The `uniform1fv()` method."]
4054 #[doc = ""]
4055 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4056 #[doc = ""]
4057 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4058 pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length(
4059 this: &WebGl2RenderingContext,
4060 location: Option<&WebGlUniformLocation>,
4061 data: &::wasm_bindgen::JsValue,
4062 src_offset: u32,
4063 src_length: u32,
4064 );
4065 #[cfg(feature = "WebGlUniformLocation")]
4066 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4067 #[doc = "The `uniform1iv()` method."]
4068 #[doc = ""]
4069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4070 #[doc = ""]
4071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4072 pub fn uniform1iv_with_i32_array(
4073 this: &WebGl2RenderingContext,
4074 location: Option<&WebGlUniformLocation>,
4075 data: &[i32],
4076 );
4077 #[cfg(feature = "WebGlUniformLocation")]
4078 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4079 #[doc = "The `uniform1iv()` method."]
4080 #[doc = ""]
4081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4082 #[doc = ""]
4083 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4084 pub fn uniform1iv_with_js_i32_array(
4085 this: &WebGl2RenderingContext,
4086 location: Option<&WebGlUniformLocation>,
4087 data: &::js_sys::Int32Array,
4088 );
4089 #[cfg(feature = "WebGlUniformLocation")]
4090 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4091 #[doc = "The `uniform1iv()` method."]
4092 #[doc = ""]
4093 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4094 #[doc = ""]
4095 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4096 pub fn uniform1iv_with_i32_sequence(
4097 this: &WebGl2RenderingContext,
4098 location: Option<&WebGlUniformLocation>,
4099 data: &::wasm_bindgen::JsValue,
4100 );
4101 #[cfg(feature = "WebGlUniformLocation")]
4102 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4103 #[doc = "The `uniform1iv()` method."]
4104 #[doc = ""]
4105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4106 #[doc = ""]
4107 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4108 pub fn uniform1iv_with_i32_array_and_src_offset(
4109 this: &WebGl2RenderingContext,
4110 location: Option<&WebGlUniformLocation>,
4111 data: &[i32],
4112 src_offset: u32,
4113 );
4114 #[cfg(feature = "WebGlUniformLocation")]
4115 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4116 #[doc = "The `uniform1iv()` method."]
4117 #[doc = ""]
4118 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4119 #[doc = ""]
4120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4121 pub fn uniform1iv_with_js_i32_array_and_src_offset(
4122 this: &WebGl2RenderingContext,
4123 location: Option<&WebGlUniformLocation>,
4124 data: &::js_sys::Int32Array,
4125 src_offset: u32,
4126 );
4127 #[cfg(feature = "WebGlUniformLocation")]
4128 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4129 #[doc = "The `uniform1iv()` method."]
4130 #[doc = ""]
4131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4132 #[doc = ""]
4133 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4134 pub fn uniform1iv_with_i32_sequence_and_src_offset(
4135 this: &WebGl2RenderingContext,
4136 location: Option<&WebGlUniformLocation>,
4137 data: &::wasm_bindgen::JsValue,
4138 src_offset: u32,
4139 );
4140 #[cfg(feature = "WebGlUniformLocation")]
4141 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4142 #[doc = "The `uniform1iv()` method."]
4143 #[doc = ""]
4144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4145 #[doc = ""]
4146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4147 pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length(
4148 this: &WebGl2RenderingContext,
4149 location: Option<&WebGlUniformLocation>,
4150 data: &[i32],
4151 src_offset: u32,
4152 src_length: u32,
4153 );
4154 #[cfg(feature = "WebGlUniformLocation")]
4155 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4156 #[doc = "The `uniform1iv()` method."]
4157 #[doc = ""]
4158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4159 #[doc = ""]
4160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4161 pub fn uniform1iv_with_js_i32_array_and_src_offset_and_src_length(
4162 this: &WebGl2RenderingContext,
4163 location: Option<&WebGlUniformLocation>,
4164 data: &::js_sys::Int32Array,
4165 src_offset: u32,
4166 src_length: u32,
4167 );
4168 #[cfg(feature = "WebGlUniformLocation")]
4169 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4170 #[doc = "The `uniform1iv()` method."]
4171 #[doc = ""]
4172 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4173 #[doc = ""]
4174 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4175 pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length(
4176 this: &WebGl2RenderingContext,
4177 location: Option<&WebGlUniformLocation>,
4178 data: &::wasm_bindgen::JsValue,
4179 src_offset: u32,
4180 src_length: u32,
4181 );
4182 #[cfg(feature = "WebGlUniformLocation")]
4183 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1ui)]
4184 #[doc = "The `uniform1ui()` method."]
4185 #[doc = ""]
4186 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)"]
4187 #[doc = ""]
4188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4189 pub fn uniform1ui(
4190 this: &WebGl2RenderingContext,
4191 location: Option<&WebGlUniformLocation>,
4192 v0: u32,
4193 );
4194 #[cfg(feature = "WebGlUniformLocation")]
4195 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4196 #[doc = "The `uniform1uiv()` method."]
4197 #[doc = ""]
4198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4199 #[doc = ""]
4200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4201 pub fn uniform1uiv_with_u32_array(
4202 this: &WebGl2RenderingContext,
4203 location: Option<&WebGlUniformLocation>,
4204 data: &[u32],
4205 );
4206 #[cfg(feature = "WebGlUniformLocation")]
4207 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4208 #[doc = "The `uniform1uiv()` method."]
4209 #[doc = ""]
4210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4211 #[doc = ""]
4212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4213 pub fn uniform1uiv_with_js_u32_array(
4214 this: &WebGl2RenderingContext,
4215 location: Option<&WebGlUniformLocation>,
4216 data: &::js_sys::Uint32Array,
4217 );
4218 #[cfg(feature = "WebGlUniformLocation")]
4219 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4220 #[doc = "The `uniform1uiv()` method."]
4221 #[doc = ""]
4222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4223 #[doc = ""]
4224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4225 pub fn uniform1uiv_with_u32_sequence(
4226 this: &WebGl2RenderingContext,
4227 location: Option<&WebGlUniformLocation>,
4228 data: &::wasm_bindgen::JsValue,
4229 );
4230 #[cfg(feature = "WebGlUniformLocation")]
4231 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4232 #[doc = "The `uniform1uiv()` method."]
4233 #[doc = ""]
4234 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4235 #[doc = ""]
4236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4237 pub fn uniform1uiv_with_u32_array_and_src_offset(
4238 this: &WebGl2RenderingContext,
4239 location: Option<&WebGlUniformLocation>,
4240 data: &[u32],
4241 src_offset: u32,
4242 );
4243 #[cfg(feature = "WebGlUniformLocation")]
4244 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4245 #[doc = "The `uniform1uiv()` method."]
4246 #[doc = ""]
4247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4248 #[doc = ""]
4249 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4250 pub fn uniform1uiv_with_js_u32_array_and_src_offset(
4251 this: &WebGl2RenderingContext,
4252 location: Option<&WebGlUniformLocation>,
4253 data: &::js_sys::Uint32Array,
4254 src_offset: u32,
4255 );
4256 #[cfg(feature = "WebGlUniformLocation")]
4257 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4258 #[doc = "The `uniform1uiv()` method."]
4259 #[doc = ""]
4260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4261 #[doc = ""]
4262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4263 pub fn uniform1uiv_with_u32_sequence_and_src_offset(
4264 this: &WebGl2RenderingContext,
4265 location: Option<&WebGlUniformLocation>,
4266 data: &::wasm_bindgen::JsValue,
4267 src_offset: u32,
4268 );
4269 #[cfg(feature = "WebGlUniformLocation")]
4270 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4271 #[doc = "The `uniform1uiv()` method."]
4272 #[doc = ""]
4273 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4274 #[doc = ""]
4275 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4276 pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length(
4277 this: &WebGl2RenderingContext,
4278 location: Option<&WebGlUniformLocation>,
4279 data: &[u32],
4280 src_offset: u32,
4281 src_length: u32,
4282 );
4283 #[cfg(feature = "WebGlUniformLocation")]
4284 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4285 #[doc = "The `uniform1uiv()` method."]
4286 #[doc = ""]
4287 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4288 #[doc = ""]
4289 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4290 pub fn uniform1uiv_with_js_u32_array_and_src_offset_and_src_length(
4291 this: &WebGl2RenderingContext,
4292 location: Option<&WebGlUniformLocation>,
4293 data: &::js_sys::Uint32Array,
4294 src_offset: u32,
4295 src_length: u32,
4296 );
4297 #[cfg(feature = "WebGlUniformLocation")]
4298 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4299 #[doc = "The `uniform1uiv()` method."]
4300 #[doc = ""]
4301 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4302 #[doc = ""]
4303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4304 pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length(
4305 this: &WebGl2RenderingContext,
4306 location: Option<&WebGlUniformLocation>,
4307 data: &::wasm_bindgen::JsValue,
4308 src_offset: u32,
4309 src_length: u32,
4310 );
4311 #[cfg(feature = "WebGlUniformLocation")]
4312 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4313 #[doc = "The `uniform2fv()` method."]
4314 #[doc = ""]
4315 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4316 #[doc = ""]
4317 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4318 pub fn uniform2fv_with_f32_array(
4319 this: &WebGl2RenderingContext,
4320 location: Option<&WebGlUniformLocation>,
4321 data: &[f32],
4322 );
4323 #[cfg(feature = "WebGlUniformLocation")]
4324 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4325 #[doc = "The `uniform2fv()` method."]
4326 #[doc = ""]
4327 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4328 #[doc = ""]
4329 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4330 pub fn uniform2fv_with_js_f32_array(
4331 this: &WebGl2RenderingContext,
4332 location: Option<&WebGlUniformLocation>,
4333 data: &::js_sys::Float32Array,
4334 );
4335 #[cfg(feature = "WebGlUniformLocation")]
4336 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4337 #[doc = "The `uniform2fv()` method."]
4338 #[doc = ""]
4339 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4340 #[doc = ""]
4341 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4342 pub fn uniform2fv_with_f32_sequence(
4343 this: &WebGl2RenderingContext,
4344 location: Option<&WebGlUniformLocation>,
4345 data: &::wasm_bindgen::JsValue,
4346 );
4347 #[cfg(feature = "WebGlUniformLocation")]
4348 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4349 #[doc = "The `uniform2fv()` method."]
4350 #[doc = ""]
4351 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4352 #[doc = ""]
4353 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4354 pub fn uniform2fv_with_f32_array_and_src_offset(
4355 this: &WebGl2RenderingContext,
4356 location: Option<&WebGlUniformLocation>,
4357 data: &[f32],
4358 src_offset: u32,
4359 );
4360 #[cfg(feature = "WebGlUniformLocation")]
4361 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4362 #[doc = "The `uniform2fv()` method."]
4363 #[doc = ""]
4364 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4365 #[doc = ""]
4366 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4367 pub fn uniform2fv_with_js_f32_array_and_src_offset(
4368 this: &WebGl2RenderingContext,
4369 location: Option<&WebGlUniformLocation>,
4370 data: &::js_sys::Float32Array,
4371 src_offset: u32,
4372 );
4373 #[cfg(feature = "WebGlUniformLocation")]
4374 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4375 #[doc = "The `uniform2fv()` method."]
4376 #[doc = ""]
4377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4378 #[doc = ""]
4379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4380 pub fn uniform2fv_with_f32_sequence_and_src_offset(
4381 this: &WebGl2RenderingContext,
4382 location: Option<&WebGlUniformLocation>,
4383 data: &::wasm_bindgen::JsValue,
4384 src_offset: u32,
4385 );
4386 #[cfg(feature = "WebGlUniformLocation")]
4387 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4388 #[doc = "The `uniform2fv()` method."]
4389 #[doc = ""]
4390 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4391 #[doc = ""]
4392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4393 pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length(
4394 this: &WebGl2RenderingContext,
4395 location: Option<&WebGlUniformLocation>,
4396 data: &[f32],
4397 src_offset: u32,
4398 src_length: u32,
4399 );
4400 #[cfg(feature = "WebGlUniformLocation")]
4401 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4402 #[doc = "The `uniform2fv()` method."]
4403 #[doc = ""]
4404 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4405 #[doc = ""]
4406 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4407 pub fn uniform2fv_with_js_f32_array_and_src_offset_and_src_length(
4408 this: &WebGl2RenderingContext,
4409 location: Option<&WebGlUniformLocation>,
4410 data: &::js_sys::Float32Array,
4411 src_offset: u32,
4412 src_length: u32,
4413 );
4414 #[cfg(feature = "WebGlUniformLocation")]
4415 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4416 #[doc = "The `uniform2fv()` method."]
4417 #[doc = ""]
4418 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4419 #[doc = ""]
4420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4421 pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length(
4422 this: &WebGl2RenderingContext,
4423 location: Option<&WebGlUniformLocation>,
4424 data: &::wasm_bindgen::JsValue,
4425 src_offset: u32,
4426 src_length: u32,
4427 );
4428 #[cfg(feature = "WebGlUniformLocation")]
4429 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4430 #[doc = "The `uniform2iv()` method."]
4431 #[doc = ""]
4432 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4433 #[doc = ""]
4434 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4435 pub fn uniform2iv_with_i32_array(
4436 this: &WebGl2RenderingContext,
4437 location: Option<&WebGlUniformLocation>,
4438 data: &[i32],
4439 );
4440 #[cfg(feature = "WebGlUniformLocation")]
4441 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4442 #[doc = "The `uniform2iv()` method."]
4443 #[doc = ""]
4444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4445 #[doc = ""]
4446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4447 pub fn uniform2iv_with_js_i32_array(
4448 this: &WebGl2RenderingContext,
4449 location: Option<&WebGlUniformLocation>,
4450 data: &::js_sys::Int32Array,
4451 );
4452 #[cfg(feature = "WebGlUniformLocation")]
4453 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4454 #[doc = "The `uniform2iv()` method."]
4455 #[doc = ""]
4456 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4457 #[doc = ""]
4458 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4459 pub fn uniform2iv_with_i32_sequence(
4460 this: &WebGl2RenderingContext,
4461 location: Option<&WebGlUniformLocation>,
4462 data: &::wasm_bindgen::JsValue,
4463 );
4464 #[cfg(feature = "WebGlUniformLocation")]
4465 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4466 #[doc = "The `uniform2iv()` method."]
4467 #[doc = ""]
4468 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4469 #[doc = ""]
4470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4471 pub fn uniform2iv_with_i32_array_and_src_offset(
4472 this: &WebGl2RenderingContext,
4473 location: Option<&WebGlUniformLocation>,
4474 data: &[i32],
4475 src_offset: u32,
4476 );
4477 #[cfg(feature = "WebGlUniformLocation")]
4478 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4479 #[doc = "The `uniform2iv()` method."]
4480 #[doc = ""]
4481 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4482 #[doc = ""]
4483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4484 pub fn uniform2iv_with_js_i32_array_and_src_offset(
4485 this: &WebGl2RenderingContext,
4486 location: Option<&WebGlUniformLocation>,
4487 data: &::js_sys::Int32Array,
4488 src_offset: u32,
4489 );
4490 #[cfg(feature = "WebGlUniformLocation")]
4491 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4492 #[doc = "The `uniform2iv()` method."]
4493 #[doc = ""]
4494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4495 #[doc = ""]
4496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4497 pub fn uniform2iv_with_i32_sequence_and_src_offset(
4498 this: &WebGl2RenderingContext,
4499 location: Option<&WebGlUniformLocation>,
4500 data: &::wasm_bindgen::JsValue,
4501 src_offset: u32,
4502 );
4503 #[cfg(feature = "WebGlUniformLocation")]
4504 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4505 #[doc = "The `uniform2iv()` method."]
4506 #[doc = ""]
4507 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4508 #[doc = ""]
4509 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4510 pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length(
4511 this: &WebGl2RenderingContext,
4512 location: Option<&WebGlUniformLocation>,
4513 data: &[i32],
4514 src_offset: u32,
4515 src_length: u32,
4516 );
4517 #[cfg(feature = "WebGlUniformLocation")]
4518 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4519 #[doc = "The `uniform2iv()` method."]
4520 #[doc = ""]
4521 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4522 #[doc = ""]
4523 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4524 pub fn uniform2iv_with_js_i32_array_and_src_offset_and_src_length(
4525 this: &WebGl2RenderingContext,
4526 location: Option<&WebGlUniformLocation>,
4527 data: &::js_sys::Int32Array,
4528 src_offset: u32,
4529 src_length: u32,
4530 );
4531 #[cfg(feature = "WebGlUniformLocation")]
4532 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4533 #[doc = "The `uniform2iv()` method."]
4534 #[doc = ""]
4535 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4536 #[doc = ""]
4537 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4538 pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length(
4539 this: &WebGl2RenderingContext,
4540 location: Option<&WebGlUniformLocation>,
4541 data: &::wasm_bindgen::JsValue,
4542 src_offset: u32,
4543 src_length: u32,
4544 );
4545 #[cfg(feature = "WebGlUniformLocation")]
4546 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2ui)]
4547 #[doc = "The `uniform2ui()` method."]
4548 #[doc = ""]
4549 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)"]
4550 #[doc = ""]
4551 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4552 pub fn uniform2ui(
4553 this: &WebGl2RenderingContext,
4554 location: Option<&WebGlUniformLocation>,
4555 v0: u32,
4556 v1: u32,
4557 );
4558 #[cfg(feature = "WebGlUniformLocation")]
4559 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4560 #[doc = "The `uniform2uiv()` method."]
4561 #[doc = ""]
4562 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4563 #[doc = ""]
4564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4565 pub fn uniform2uiv_with_u32_array(
4566 this: &WebGl2RenderingContext,
4567 location: Option<&WebGlUniformLocation>,
4568 data: &[u32],
4569 );
4570 #[cfg(feature = "WebGlUniformLocation")]
4571 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4572 #[doc = "The `uniform2uiv()` method."]
4573 #[doc = ""]
4574 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4575 #[doc = ""]
4576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4577 pub fn uniform2uiv_with_js_u32_array(
4578 this: &WebGl2RenderingContext,
4579 location: Option<&WebGlUniformLocation>,
4580 data: &::js_sys::Uint32Array,
4581 );
4582 #[cfg(feature = "WebGlUniformLocation")]
4583 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4584 #[doc = "The `uniform2uiv()` method."]
4585 #[doc = ""]
4586 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4587 #[doc = ""]
4588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4589 pub fn uniform2uiv_with_u32_sequence(
4590 this: &WebGl2RenderingContext,
4591 location: Option<&WebGlUniformLocation>,
4592 data: &::wasm_bindgen::JsValue,
4593 );
4594 #[cfg(feature = "WebGlUniformLocation")]
4595 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4596 #[doc = "The `uniform2uiv()` method."]
4597 #[doc = ""]
4598 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4599 #[doc = ""]
4600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4601 pub fn uniform2uiv_with_u32_array_and_src_offset(
4602 this: &WebGl2RenderingContext,
4603 location: Option<&WebGlUniformLocation>,
4604 data: &[u32],
4605 src_offset: u32,
4606 );
4607 #[cfg(feature = "WebGlUniformLocation")]
4608 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4609 #[doc = "The `uniform2uiv()` method."]
4610 #[doc = ""]
4611 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4612 #[doc = ""]
4613 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4614 pub fn uniform2uiv_with_js_u32_array_and_src_offset(
4615 this: &WebGl2RenderingContext,
4616 location: Option<&WebGlUniformLocation>,
4617 data: &::js_sys::Uint32Array,
4618 src_offset: u32,
4619 );
4620 #[cfg(feature = "WebGlUniformLocation")]
4621 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4622 #[doc = "The `uniform2uiv()` method."]
4623 #[doc = ""]
4624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4625 #[doc = ""]
4626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4627 pub fn uniform2uiv_with_u32_sequence_and_src_offset(
4628 this: &WebGl2RenderingContext,
4629 location: Option<&WebGlUniformLocation>,
4630 data: &::wasm_bindgen::JsValue,
4631 src_offset: u32,
4632 );
4633 #[cfg(feature = "WebGlUniformLocation")]
4634 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4635 #[doc = "The `uniform2uiv()` method."]
4636 #[doc = ""]
4637 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4638 #[doc = ""]
4639 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4640 pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length(
4641 this: &WebGl2RenderingContext,
4642 location: Option<&WebGlUniformLocation>,
4643 data: &[u32],
4644 src_offset: u32,
4645 src_length: u32,
4646 );
4647 #[cfg(feature = "WebGlUniformLocation")]
4648 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4649 #[doc = "The `uniform2uiv()` method."]
4650 #[doc = ""]
4651 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4652 #[doc = ""]
4653 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4654 pub fn uniform2uiv_with_js_u32_array_and_src_offset_and_src_length(
4655 this: &WebGl2RenderingContext,
4656 location: Option<&WebGlUniformLocation>,
4657 data: &::js_sys::Uint32Array,
4658 src_offset: u32,
4659 src_length: u32,
4660 );
4661 #[cfg(feature = "WebGlUniformLocation")]
4662 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4663 #[doc = "The `uniform2uiv()` method."]
4664 #[doc = ""]
4665 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4666 #[doc = ""]
4667 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4668 pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length(
4669 this: &WebGl2RenderingContext,
4670 location: Option<&WebGlUniformLocation>,
4671 data: &::wasm_bindgen::JsValue,
4672 src_offset: u32,
4673 src_length: u32,
4674 );
4675 #[cfg(feature = "WebGlUniformLocation")]
4676 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4677 #[doc = "The `uniform3fv()` method."]
4678 #[doc = ""]
4679 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4680 #[doc = ""]
4681 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4682 pub fn uniform3fv_with_f32_array(
4683 this: &WebGl2RenderingContext,
4684 location: Option<&WebGlUniformLocation>,
4685 data: &[f32],
4686 );
4687 #[cfg(feature = "WebGlUniformLocation")]
4688 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4689 #[doc = "The `uniform3fv()` method."]
4690 #[doc = ""]
4691 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4692 #[doc = ""]
4693 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4694 pub fn uniform3fv_with_js_f32_array(
4695 this: &WebGl2RenderingContext,
4696 location: Option<&WebGlUniformLocation>,
4697 data: &::js_sys::Float32Array,
4698 );
4699 #[cfg(feature = "WebGlUniformLocation")]
4700 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4701 #[doc = "The `uniform3fv()` method."]
4702 #[doc = ""]
4703 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4704 #[doc = ""]
4705 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4706 pub fn uniform3fv_with_f32_sequence(
4707 this: &WebGl2RenderingContext,
4708 location: Option<&WebGlUniformLocation>,
4709 data: &::wasm_bindgen::JsValue,
4710 );
4711 #[cfg(feature = "WebGlUniformLocation")]
4712 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4713 #[doc = "The `uniform3fv()` method."]
4714 #[doc = ""]
4715 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4716 #[doc = ""]
4717 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4718 pub fn uniform3fv_with_f32_array_and_src_offset(
4719 this: &WebGl2RenderingContext,
4720 location: Option<&WebGlUniformLocation>,
4721 data: &[f32],
4722 src_offset: u32,
4723 );
4724 #[cfg(feature = "WebGlUniformLocation")]
4725 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4726 #[doc = "The `uniform3fv()` method."]
4727 #[doc = ""]
4728 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4729 #[doc = ""]
4730 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4731 pub fn uniform3fv_with_js_f32_array_and_src_offset(
4732 this: &WebGl2RenderingContext,
4733 location: Option<&WebGlUniformLocation>,
4734 data: &::js_sys::Float32Array,
4735 src_offset: u32,
4736 );
4737 #[cfg(feature = "WebGlUniformLocation")]
4738 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4739 #[doc = "The `uniform3fv()` method."]
4740 #[doc = ""]
4741 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4742 #[doc = ""]
4743 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4744 pub fn uniform3fv_with_f32_sequence_and_src_offset(
4745 this: &WebGl2RenderingContext,
4746 location: Option<&WebGlUniformLocation>,
4747 data: &::wasm_bindgen::JsValue,
4748 src_offset: u32,
4749 );
4750 #[cfg(feature = "WebGlUniformLocation")]
4751 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4752 #[doc = "The `uniform3fv()` method."]
4753 #[doc = ""]
4754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4755 #[doc = ""]
4756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4757 pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length(
4758 this: &WebGl2RenderingContext,
4759 location: Option<&WebGlUniformLocation>,
4760 data: &[f32],
4761 src_offset: u32,
4762 src_length: u32,
4763 );
4764 #[cfg(feature = "WebGlUniformLocation")]
4765 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4766 #[doc = "The `uniform3fv()` method."]
4767 #[doc = ""]
4768 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4769 #[doc = ""]
4770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4771 pub fn uniform3fv_with_js_f32_array_and_src_offset_and_src_length(
4772 this: &WebGl2RenderingContext,
4773 location: Option<&WebGlUniformLocation>,
4774 data: &::js_sys::Float32Array,
4775 src_offset: u32,
4776 src_length: u32,
4777 );
4778 #[cfg(feature = "WebGlUniformLocation")]
4779 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4780 #[doc = "The `uniform3fv()` method."]
4781 #[doc = ""]
4782 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4783 #[doc = ""]
4784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4785 pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length(
4786 this: &WebGl2RenderingContext,
4787 location: Option<&WebGlUniformLocation>,
4788 data: &::wasm_bindgen::JsValue,
4789 src_offset: u32,
4790 src_length: u32,
4791 );
4792 #[cfg(feature = "WebGlUniformLocation")]
4793 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4794 #[doc = "The `uniform3iv()` method."]
4795 #[doc = ""]
4796 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4797 #[doc = ""]
4798 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4799 pub fn uniform3iv_with_i32_array(
4800 this: &WebGl2RenderingContext,
4801 location: Option<&WebGlUniformLocation>,
4802 data: &[i32],
4803 );
4804 #[cfg(feature = "WebGlUniformLocation")]
4805 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4806 #[doc = "The `uniform3iv()` method."]
4807 #[doc = ""]
4808 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4809 #[doc = ""]
4810 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4811 pub fn uniform3iv_with_js_i32_array(
4812 this: &WebGl2RenderingContext,
4813 location: Option<&WebGlUniformLocation>,
4814 data: &::js_sys::Int32Array,
4815 );
4816 #[cfg(feature = "WebGlUniformLocation")]
4817 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4818 #[doc = "The `uniform3iv()` method."]
4819 #[doc = ""]
4820 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4821 #[doc = ""]
4822 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4823 pub fn uniform3iv_with_i32_sequence(
4824 this: &WebGl2RenderingContext,
4825 location: Option<&WebGlUniformLocation>,
4826 data: &::wasm_bindgen::JsValue,
4827 );
4828 #[cfg(feature = "WebGlUniformLocation")]
4829 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4830 #[doc = "The `uniform3iv()` method."]
4831 #[doc = ""]
4832 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4833 #[doc = ""]
4834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4835 pub fn uniform3iv_with_i32_array_and_src_offset(
4836 this: &WebGl2RenderingContext,
4837 location: Option<&WebGlUniformLocation>,
4838 data: &[i32],
4839 src_offset: u32,
4840 );
4841 #[cfg(feature = "WebGlUniformLocation")]
4842 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4843 #[doc = "The `uniform3iv()` method."]
4844 #[doc = ""]
4845 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4846 #[doc = ""]
4847 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4848 pub fn uniform3iv_with_js_i32_array_and_src_offset(
4849 this: &WebGl2RenderingContext,
4850 location: Option<&WebGlUniformLocation>,
4851 data: &::js_sys::Int32Array,
4852 src_offset: u32,
4853 );
4854 #[cfg(feature = "WebGlUniformLocation")]
4855 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4856 #[doc = "The `uniform3iv()` method."]
4857 #[doc = ""]
4858 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4859 #[doc = ""]
4860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4861 pub fn uniform3iv_with_i32_sequence_and_src_offset(
4862 this: &WebGl2RenderingContext,
4863 location: Option<&WebGlUniformLocation>,
4864 data: &::wasm_bindgen::JsValue,
4865 src_offset: u32,
4866 );
4867 #[cfg(feature = "WebGlUniformLocation")]
4868 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4869 #[doc = "The `uniform3iv()` method."]
4870 #[doc = ""]
4871 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4872 #[doc = ""]
4873 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4874 pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length(
4875 this: &WebGl2RenderingContext,
4876 location: Option<&WebGlUniformLocation>,
4877 data: &[i32],
4878 src_offset: u32,
4879 src_length: u32,
4880 );
4881 #[cfg(feature = "WebGlUniformLocation")]
4882 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4883 #[doc = "The `uniform3iv()` method."]
4884 #[doc = ""]
4885 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4886 #[doc = ""]
4887 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4888 pub fn uniform3iv_with_js_i32_array_and_src_offset_and_src_length(
4889 this: &WebGl2RenderingContext,
4890 location: Option<&WebGlUniformLocation>,
4891 data: &::js_sys::Int32Array,
4892 src_offset: u32,
4893 src_length: u32,
4894 );
4895 #[cfg(feature = "WebGlUniformLocation")]
4896 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4897 #[doc = "The `uniform3iv()` method."]
4898 #[doc = ""]
4899 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4900 #[doc = ""]
4901 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4902 pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length(
4903 this: &WebGl2RenderingContext,
4904 location: Option<&WebGlUniformLocation>,
4905 data: &::wasm_bindgen::JsValue,
4906 src_offset: u32,
4907 src_length: u32,
4908 );
4909 #[cfg(feature = "WebGlUniformLocation")]
4910 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3ui)]
4911 #[doc = "The `uniform3ui()` method."]
4912 #[doc = ""]
4913 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)"]
4914 #[doc = ""]
4915 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4916 pub fn uniform3ui(
4917 this: &WebGl2RenderingContext,
4918 location: Option<&WebGlUniformLocation>,
4919 v0: u32,
4920 v1: u32,
4921 v2: u32,
4922 );
4923 #[cfg(feature = "WebGlUniformLocation")]
4924 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4925 #[doc = "The `uniform3uiv()` method."]
4926 #[doc = ""]
4927 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4928 #[doc = ""]
4929 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4930 pub fn uniform3uiv_with_u32_array(
4931 this: &WebGl2RenderingContext,
4932 location: Option<&WebGlUniformLocation>,
4933 data: &[u32],
4934 );
4935 #[cfg(feature = "WebGlUniformLocation")]
4936 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4937 #[doc = "The `uniform3uiv()` method."]
4938 #[doc = ""]
4939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4940 #[doc = ""]
4941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4942 pub fn uniform3uiv_with_js_u32_array(
4943 this: &WebGl2RenderingContext,
4944 location: Option<&WebGlUniformLocation>,
4945 data: &::js_sys::Uint32Array,
4946 );
4947 #[cfg(feature = "WebGlUniformLocation")]
4948 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4949 #[doc = "The `uniform3uiv()` method."]
4950 #[doc = ""]
4951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4952 #[doc = ""]
4953 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4954 pub fn uniform3uiv_with_u32_sequence(
4955 this: &WebGl2RenderingContext,
4956 location: Option<&WebGlUniformLocation>,
4957 data: &::wasm_bindgen::JsValue,
4958 );
4959 #[cfg(feature = "WebGlUniformLocation")]
4960 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4961 #[doc = "The `uniform3uiv()` method."]
4962 #[doc = ""]
4963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4964 #[doc = ""]
4965 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4966 pub fn uniform3uiv_with_u32_array_and_src_offset(
4967 this: &WebGl2RenderingContext,
4968 location: Option<&WebGlUniformLocation>,
4969 data: &[u32],
4970 src_offset: u32,
4971 );
4972 #[cfg(feature = "WebGlUniformLocation")]
4973 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4974 #[doc = "The `uniform3uiv()` method."]
4975 #[doc = ""]
4976 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4977 #[doc = ""]
4978 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4979 pub fn uniform3uiv_with_js_u32_array_and_src_offset(
4980 this: &WebGl2RenderingContext,
4981 location: Option<&WebGlUniformLocation>,
4982 data: &::js_sys::Uint32Array,
4983 src_offset: u32,
4984 );
4985 #[cfg(feature = "WebGlUniformLocation")]
4986 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4987 #[doc = "The `uniform3uiv()` method."]
4988 #[doc = ""]
4989 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4990 #[doc = ""]
4991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4992 pub fn uniform3uiv_with_u32_sequence_and_src_offset(
4993 this: &WebGl2RenderingContext,
4994 location: Option<&WebGlUniformLocation>,
4995 data: &::wasm_bindgen::JsValue,
4996 src_offset: u32,
4997 );
4998 #[cfg(feature = "WebGlUniformLocation")]
4999 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5000 #[doc = "The `uniform3uiv()` method."]
5001 #[doc = ""]
5002 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5003 #[doc = ""]
5004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5005 pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length(
5006 this: &WebGl2RenderingContext,
5007 location: Option<&WebGlUniformLocation>,
5008 data: &[u32],
5009 src_offset: u32,
5010 src_length: u32,
5011 );
5012 #[cfg(feature = "WebGlUniformLocation")]
5013 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5014 #[doc = "The `uniform3uiv()` method."]
5015 #[doc = ""]
5016 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5017 #[doc = ""]
5018 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5019 pub fn uniform3uiv_with_js_u32_array_and_src_offset_and_src_length(
5020 this: &WebGl2RenderingContext,
5021 location: Option<&WebGlUniformLocation>,
5022 data: &::js_sys::Uint32Array,
5023 src_offset: u32,
5024 src_length: u32,
5025 );
5026 #[cfg(feature = "WebGlUniformLocation")]
5027 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5028 #[doc = "The `uniform3uiv()` method."]
5029 #[doc = ""]
5030 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5031 #[doc = ""]
5032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5033 pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length(
5034 this: &WebGl2RenderingContext,
5035 location: Option<&WebGlUniformLocation>,
5036 data: &::wasm_bindgen::JsValue,
5037 src_offset: u32,
5038 src_length: u32,
5039 );
5040 #[cfg(feature = "WebGlUniformLocation")]
5041 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5042 #[doc = "The `uniform4fv()` method."]
5043 #[doc = ""]
5044 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5045 #[doc = ""]
5046 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5047 pub fn uniform4fv_with_f32_array(
5048 this: &WebGl2RenderingContext,
5049 location: Option<&WebGlUniformLocation>,
5050 data: &[f32],
5051 );
5052 #[cfg(feature = "WebGlUniformLocation")]
5053 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5054 #[doc = "The `uniform4fv()` method."]
5055 #[doc = ""]
5056 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5057 #[doc = ""]
5058 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5059 pub fn uniform4fv_with_js_f32_array(
5060 this: &WebGl2RenderingContext,
5061 location: Option<&WebGlUniformLocation>,
5062 data: &::js_sys::Float32Array,
5063 );
5064 #[cfg(feature = "WebGlUniformLocation")]
5065 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5066 #[doc = "The `uniform4fv()` method."]
5067 #[doc = ""]
5068 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5069 #[doc = ""]
5070 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5071 pub fn uniform4fv_with_f32_sequence(
5072 this: &WebGl2RenderingContext,
5073 location: Option<&WebGlUniformLocation>,
5074 data: &::wasm_bindgen::JsValue,
5075 );
5076 #[cfg(feature = "WebGlUniformLocation")]
5077 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5078 #[doc = "The `uniform4fv()` method."]
5079 #[doc = ""]
5080 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5081 #[doc = ""]
5082 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5083 pub fn uniform4fv_with_f32_array_and_src_offset(
5084 this: &WebGl2RenderingContext,
5085 location: Option<&WebGlUniformLocation>,
5086 data: &[f32],
5087 src_offset: u32,
5088 );
5089 #[cfg(feature = "WebGlUniformLocation")]
5090 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5091 #[doc = "The `uniform4fv()` method."]
5092 #[doc = ""]
5093 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5094 #[doc = ""]
5095 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5096 pub fn uniform4fv_with_js_f32_array_and_src_offset(
5097 this: &WebGl2RenderingContext,
5098 location: Option<&WebGlUniformLocation>,
5099 data: &::js_sys::Float32Array,
5100 src_offset: u32,
5101 );
5102 #[cfg(feature = "WebGlUniformLocation")]
5103 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5104 #[doc = "The `uniform4fv()` method."]
5105 #[doc = ""]
5106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5107 #[doc = ""]
5108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5109 pub fn uniform4fv_with_f32_sequence_and_src_offset(
5110 this: &WebGl2RenderingContext,
5111 location: Option<&WebGlUniformLocation>,
5112 data: &::wasm_bindgen::JsValue,
5113 src_offset: u32,
5114 );
5115 #[cfg(feature = "WebGlUniformLocation")]
5116 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5117 #[doc = "The `uniform4fv()` method."]
5118 #[doc = ""]
5119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5120 #[doc = ""]
5121 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5122 pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length(
5123 this: &WebGl2RenderingContext,
5124 location: Option<&WebGlUniformLocation>,
5125 data: &[f32],
5126 src_offset: u32,
5127 src_length: u32,
5128 );
5129 #[cfg(feature = "WebGlUniformLocation")]
5130 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5131 #[doc = "The `uniform4fv()` method."]
5132 #[doc = ""]
5133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5134 #[doc = ""]
5135 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5136 pub fn uniform4fv_with_js_f32_array_and_src_offset_and_src_length(
5137 this: &WebGl2RenderingContext,
5138 location: Option<&WebGlUniformLocation>,
5139 data: &::js_sys::Float32Array,
5140 src_offset: u32,
5141 src_length: u32,
5142 );
5143 #[cfg(feature = "WebGlUniformLocation")]
5144 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5145 #[doc = "The `uniform4fv()` method."]
5146 #[doc = ""]
5147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5148 #[doc = ""]
5149 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5150 pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length(
5151 this: &WebGl2RenderingContext,
5152 location: Option<&WebGlUniformLocation>,
5153 data: &::wasm_bindgen::JsValue,
5154 src_offset: u32,
5155 src_length: u32,
5156 );
5157 #[cfg(feature = "WebGlUniformLocation")]
5158 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5159 #[doc = "The `uniform4iv()` method."]
5160 #[doc = ""]
5161 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5162 #[doc = ""]
5163 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5164 pub fn uniform4iv_with_i32_array(
5165 this: &WebGl2RenderingContext,
5166 location: Option<&WebGlUniformLocation>,
5167 data: &[i32],
5168 );
5169 #[cfg(feature = "WebGlUniformLocation")]
5170 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5171 #[doc = "The `uniform4iv()` method."]
5172 #[doc = ""]
5173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5174 #[doc = ""]
5175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5176 pub fn uniform4iv_with_js_i32_array(
5177 this: &WebGl2RenderingContext,
5178 location: Option<&WebGlUniformLocation>,
5179 data: &::js_sys::Int32Array,
5180 );
5181 #[cfg(feature = "WebGlUniformLocation")]
5182 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5183 #[doc = "The `uniform4iv()` method."]
5184 #[doc = ""]
5185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5186 #[doc = ""]
5187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5188 pub fn uniform4iv_with_i32_sequence(
5189 this: &WebGl2RenderingContext,
5190 location: Option<&WebGlUniformLocation>,
5191 data: &::wasm_bindgen::JsValue,
5192 );
5193 #[cfg(feature = "WebGlUniformLocation")]
5194 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5195 #[doc = "The `uniform4iv()` method."]
5196 #[doc = ""]
5197 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5198 #[doc = ""]
5199 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5200 pub fn uniform4iv_with_i32_array_and_src_offset(
5201 this: &WebGl2RenderingContext,
5202 location: Option<&WebGlUniformLocation>,
5203 data: &[i32],
5204 src_offset: u32,
5205 );
5206 #[cfg(feature = "WebGlUniformLocation")]
5207 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5208 #[doc = "The `uniform4iv()` method."]
5209 #[doc = ""]
5210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5211 #[doc = ""]
5212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5213 pub fn uniform4iv_with_js_i32_array_and_src_offset(
5214 this: &WebGl2RenderingContext,
5215 location: Option<&WebGlUniformLocation>,
5216 data: &::js_sys::Int32Array,
5217 src_offset: u32,
5218 );
5219 #[cfg(feature = "WebGlUniformLocation")]
5220 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5221 #[doc = "The `uniform4iv()` method."]
5222 #[doc = ""]
5223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5224 #[doc = ""]
5225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5226 pub fn uniform4iv_with_i32_sequence_and_src_offset(
5227 this: &WebGl2RenderingContext,
5228 location: Option<&WebGlUniformLocation>,
5229 data: &::wasm_bindgen::JsValue,
5230 src_offset: u32,
5231 );
5232 #[cfg(feature = "WebGlUniformLocation")]
5233 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5234 #[doc = "The `uniform4iv()` method."]
5235 #[doc = ""]
5236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5237 #[doc = ""]
5238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5239 pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length(
5240 this: &WebGl2RenderingContext,
5241 location: Option<&WebGlUniformLocation>,
5242 data: &[i32],
5243 src_offset: u32,
5244 src_length: u32,
5245 );
5246 #[cfg(feature = "WebGlUniformLocation")]
5247 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5248 #[doc = "The `uniform4iv()` method."]
5249 #[doc = ""]
5250 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5251 #[doc = ""]
5252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5253 pub fn uniform4iv_with_js_i32_array_and_src_offset_and_src_length(
5254 this: &WebGl2RenderingContext,
5255 location: Option<&WebGlUniformLocation>,
5256 data: &::js_sys::Int32Array,
5257 src_offset: u32,
5258 src_length: u32,
5259 );
5260 #[cfg(feature = "WebGlUniformLocation")]
5261 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5262 #[doc = "The `uniform4iv()` method."]
5263 #[doc = ""]
5264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5265 #[doc = ""]
5266 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5267 pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length(
5268 this: &WebGl2RenderingContext,
5269 location: Option<&WebGlUniformLocation>,
5270 data: &::wasm_bindgen::JsValue,
5271 src_offset: u32,
5272 src_length: u32,
5273 );
5274 #[cfg(feature = "WebGlUniformLocation")]
5275 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4ui)]
5276 #[doc = "The `uniform4ui()` method."]
5277 #[doc = ""]
5278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)"]
5279 #[doc = ""]
5280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5281 pub fn uniform4ui(
5282 this: &WebGl2RenderingContext,
5283 location: Option<&WebGlUniformLocation>,
5284 v0: u32,
5285 v1: u32,
5286 v2: u32,
5287 v3: u32,
5288 );
5289 #[cfg(feature = "WebGlUniformLocation")]
5290 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5291 #[doc = "The `uniform4uiv()` method."]
5292 #[doc = ""]
5293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5294 #[doc = ""]
5295 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5296 pub fn uniform4uiv_with_u32_array(
5297 this: &WebGl2RenderingContext,
5298 location: Option<&WebGlUniformLocation>,
5299 data: &[u32],
5300 );
5301 #[cfg(feature = "WebGlUniformLocation")]
5302 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5303 #[doc = "The `uniform4uiv()` method."]
5304 #[doc = ""]
5305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5306 #[doc = ""]
5307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5308 pub fn uniform4uiv_with_js_u32_array(
5309 this: &WebGl2RenderingContext,
5310 location: Option<&WebGlUniformLocation>,
5311 data: &::js_sys::Uint32Array,
5312 );
5313 #[cfg(feature = "WebGlUniformLocation")]
5314 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5315 #[doc = "The `uniform4uiv()` method."]
5316 #[doc = ""]
5317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5318 #[doc = ""]
5319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5320 pub fn uniform4uiv_with_u32_sequence(
5321 this: &WebGl2RenderingContext,
5322 location: Option<&WebGlUniformLocation>,
5323 data: &::wasm_bindgen::JsValue,
5324 );
5325 #[cfg(feature = "WebGlUniformLocation")]
5326 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5327 #[doc = "The `uniform4uiv()` method."]
5328 #[doc = ""]
5329 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5330 #[doc = ""]
5331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5332 pub fn uniform4uiv_with_u32_array_and_src_offset(
5333 this: &WebGl2RenderingContext,
5334 location: Option<&WebGlUniformLocation>,
5335 data: &[u32],
5336 src_offset: u32,
5337 );
5338 #[cfg(feature = "WebGlUniformLocation")]
5339 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5340 #[doc = "The `uniform4uiv()` method."]
5341 #[doc = ""]
5342 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5343 #[doc = ""]
5344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5345 pub fn uniform4uiv_with_js_u32_array_and_src_offset(
5346 this: &WebGl2RenderingContext,
5347 location: Option<&WebGlUniformLocation>,
5348 data: &::js_sys::Uint32Array,
5349 src_offset: u32,
5350 );
5351 #[cfg(feature = "WebGlUniformLocation")]
5352 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5353 #[doc = "The `uniform4uiv()` method."]
5354 #[doc = ""]
5355 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5356 #[doc = ""]
5357 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5358 pub fn uniform4uiv_with_u32_sequence_and_src_offset(
5359 this: &WebGl2RenderingContext,
5360 location: Option<&WebGlUniformLocation>,
5361 data: &::wasm_bindgen::JsValue,
5362 src_offset: u32,
5363 );
5364 #[cfg(feature = "WebGlUniformLocation")]
5365 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5366 #[doc = "The `uniform4uiv()` method."]
5367 #[doc = ""]
5368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5369 #[doc = ""]
5370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5371 pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length(
5372 this: &WebGl2RenderingContext,
5373 location: Option<&WebGlUniformLocation>,
5374 data: &[u32],
5375 src_offset: u32,
5376 src_length: u32,
5377 );
5378 #[cfg(feature = "WebGlUniformLocation")]
5379 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5380 #[doc = "The `uniform4uiv()` method."]
5381 #[doc = ""]
5382 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5383 #[doc = ""]
5384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5385 pub fn uniform4uiv_with_js_u32_array_and_src_offset_and_src_length(
5386 this: &WebGl2RenderingContext,
5387 location: Option<&WebGlUniformLocation>,
5388 data: &::js_sys::Uint32Array,
5389 src_offset: u32,
5390 src_length: u32,
5391 );
5392 #[cfg(feature = "WebGlUniformLocation")]
5393 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5394 #[doc = "The `uniform4uiv()` method."]
5395 #[doc = ""]
5396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5397 #[doc = ""]
5398 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5399 pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length(
5400 this: &WebGl2RenderingContext,
5401 location: Option<&WebGlUniformLocation>,
5402 data: &::wasm_bindgen::JsValue,
5403 src_offset: u32,
5404 src_length: u32,
5405 );
5406 #[cfg(feature = "WebGlProgram")]
5407 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformBlockBinding)]
5408 #[doc = "The `uniformBlockBinding()` method."]
5409 #[doc = ""]
5410 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)"]
5411 #[doc = ""]
5412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
5413 pub fn uniform_block_binding(
5414 this: &WebGl2RenderingContext,
5415 program: &WebGlProgram,
5416 uniform_block_index: u32,
5417 uniform_block_binding: u32,
5418 );
5419 #[cfg(feature = "WebGlUniformLocation")]
5420 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5421 #[doc = "The `uniformMatrix2fv()` method."]
5422 #[doc = ""]
5423 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5424 #[doc = ""]
5425 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5426 pub fn uniform_matrix2fv_with_f32_array(
5427 this: &WebGl2RenderingContext,
5428 location: Option<&WebGlUniformLocation>,
5429 transpose: bool,
5430 data: &[f32],
5431 );
5432 #[cfg(feature = "WebGlUniformLocation")]
5433 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5434 #[doc = "The `uniformMatrix2fv()` method."]
5435 #[doc = ""]
5436 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5437 #[doc = ""]
5438 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5439 pub fn uniform_matrix2fv_with_js_f32_array(
5440 this: &WebGl2RenderingContext,
5441 location: Option<&WebGlUniformLocation>,
5442 transpose: bool,
5443 data: &::js_sys::Float32Array,
5444 );
5445 #[cfg(feature = "WebGlUniformLocation")]
5446 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5447 #[doc = "The `uniformMatrix2fv()` method."]
5448 #[doc = ""]
5449 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5450 #[doc = ""]
5451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5452 pub fn uniform_matrix2fv_with_f32_sequence(
5453 this: &WebGl2RenderingContext,
5454 location: Option<&WebGlUniformLocation>,
5455 transpose: bool,
5456 data: &::wasm_bindgen::JsValue,
5457 );
5458 #[cfg(feature = "WebGlUniformLocation")]
5459 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5460 #[doc = "The `uniformMatrix2fv()` method."]
5461 #[doc = ""]
5462 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5463 #[doc = ""]
5464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5465 pub fn uniform_matrix2fv_with_f32_array_and_src_offset(
5466 this: &WebGl2RenderingContext,
5467 location: Option<&WebGlUniformLocation>,
5468 transpose: bool,
5469 data: &[f32],
5470 src_offset: u32,
5471 );
5472 #[cfg(feature = "WebGlUniformLocation")]
5473 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5474 #[doc = "The `uniformMatrix2fv()` method."]
5475 #[doc = ""]
5476 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5477 #[doc = ""]
5478 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5479 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset(
5480 this: &WebGl2RenderingContext,
5481 location: Option<&WebGlUniformLocation>,
5482 transpose: bool,
5483 data: &::js_sys::Float32Array,
5484 src_offset: u32,
5485 );
5486 #[cfg(feature = "WebGlUniformLocation")]
5487 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5488 #[doc = "The `uniformMatrix2fv()` method."]
5489 #[doc = ""]
5490 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5491 #[doc = ""]
5492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5493 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset(
5494 this: &WebGl2RenderingContext,
5495 location: Option<&WebGlUniformLocation>,
5496 transpose: bool,
5497 data: &::wasm_bindgen::JsValue,
5498 src_offset: u32,
5499 );
5500 #[cfg(feature = "WebGlUniformLocation")]
5501 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5502 #[doc = "The `uniformMatrix2fv()` method."]
5503 #[doc = ""]
5504 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5505 #[doc = ""]
5506 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5507 pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length(
5508 this: &WebGl2RenderingContext,
5509 location: Option<&WebGlUniformLocation>,
5510 transpose: bool,
5511 data: &[f32],
5512 src_offset: u32,
5513 src_length: u32,
5514 );
5515 #[cfg(feature = "WebGlUniformLocation")]
5516 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5517 #[doc = "The `uniformMatrix2fv()` method."]
5518 #[doc = ""]
5519 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5520 #[doc = ""]
5521 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5522 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset_and_src_length(
5523 this: &WebGl2RenderingContext,
5524 location: Option<&WebGlUniformLocation>,
5525 transpose: bool,
5526 data: &::js_sys::Float32Array,
5527 src_offset: u32,
5528 src_length: u32,
5529 );
5530 #[cfg(feature = "WebGlUniformLocation")]
5531 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5532 #[doc = "The `uniformMatrix2fv()` method."]
5533 #[doc = ""]
5534 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5535 #[doc = ""]
5536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5537 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length(
5538 this: &WebGl2RenderingContext,
5539 location: Option<&WebGlUniformLocation>,
5540 transpose: bool,
5541 data: &::wasm_bindgen::JsValue,
5542 src_offset: u32,
5543 src_length: u32,
5544 );
5545 #[cfg(feature = "WebGlUniformLocation")]
5546 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5547 #[doc = "The `uniformMatrix2x3fv()` method."]
5548 #[doc = ""]
5549 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5550 #[doc = ""]
5551 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5552 pub fn uniform_matrix2x3fv_with_f32_array(
5553 this: &WebGl2RenderingContext,
5554 location: Option<&WebGlUniformLocation>,
5555 transpose: bool,
5556 data: &[f32],
5557 );
5558 #[cfg(feature = "WebGlUniformLocation")]
5559 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5560 #[doc = "The `uniformMatrix2x3fv()` method."]
5561 #[doc = ""]
5562 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5563 #[doc = ""]
5564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5565 pub fn uniform_matrix2x3fv_with_js_f32_array(
5566 this: &WebGl2RenderingContext,
5567 location: Option<&WebGlUniformLocation>,
5568 transpose: bool,
5569 data: &::js_sys::Float32Array,
5570 );
5571 #[cfg(feature = "WebGlUniformLocation")]
5572 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5573 #[doc = "The `uniformMatrix2x3fv()` method."]
5574 #[doc = ""]
5575 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5576 #[doc = ""]
5577 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5578 pub fn uniform_matrix2x3fv_with_f32_sequence(
5579 this: &WebGl2RenderingContext,
5580 location: Option<&WebGlUniformLocation>,
5581 transpose: bool,
5582 data: &::wasm_bindgen::JsValue,
5583 );
5584 #[cfg(feature = "WebGlUniformLocation")]
5585 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5586 #[doc = "The `uniformMatrix2x3fv()` method."]
5587 #[doc = ""]
5588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5589 #[doc = ""]
5590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5591 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset(
5592 this: &WebGl2RenderingContext,
5593 location: Option<&WebGlUniformLocation>,
5594 transpose: bool,
5595 data: &[f32],
5596 src_offset: u32,
5597 );
5598 #[cfg(feature = "WebGlUniformLocation")]
5599 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5600 #[doc = "The `uniformMatrix2x3fv()` method."]
5601 #[doc = ""]
5602 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5603 #[doc = ""]
5604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5605 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset(
5606 this: &WebGl2RenderingContext,
5607 location: Option<&WebGlUniformLocation>,
5608 transpose: bool,
5609 data: &::js_sys::Float32Array,
5610 src_offset: u32,
5611 );
5612 #[cfg(feature = "WebGlUniformLocation")]
5613 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5614 #[doc = "The `uniformMatrix2x3fv()` method."]
5615 #[doc = ""]
5616 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5617 #[doc = ""]
5618 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5619 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset(
5620 this: &WebGl2RenderingContext,
5621 location: Option<&WebGlUniformLocation>,
5622 transpose: bool,
5623 data: &::wasm_bindgen::JsValue,
5624 src_offset: u32,
5625 );
5626 #[cfg(feature = "WebGlUniformLocation")]
5627 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5628 #[doc = "The `uniformMatrix2x3fv()` method."]
5629 #[doc = ""]
5630 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5631 #[doc = ""]
5632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5633 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length(
5634 this: &WebGl2RenderingContext,
5635 location: Option<&WebGlUniformLocation>,
5636 transpose: bool,
5637 data: &[f32],
5638 src_offset: u32,
5639 src_length: u32,
5640 );
5641 #[cfg(feature = "WebGlUniformLocation")]
5642 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5643 #[doc = "The `uniformMatrix2x3fv()` method."]
5644 #[doc = ""]
5645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5646 #[doc = ""]
5647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5648 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset_and_src_length(
5649 this: &WebGl2RenderingContext,
5650 location: Option<&WebGlUniformLocation>,
5651 transpose: bool,
5652 data: &::js_sys::Float32Array,
5653 src_offset: u32,
5654 src_length: u32,
5655 );
5656 #[cfg(feature = "WebGlUniformLocation")]
5657 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5658 #[doc = "The `uniformMatrix2x3fv()` method."]
5659 #[doc = ""]
5660 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5661 #[doc = ""]
5662 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5663 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length(
5664 this: &WebGl2RenderingContext,
5665 location: Option<&WebGlUniformLocation>,
5666 transpose: bool,
5667 data: &::wasm_bindgen::JsValue,
5668 src_offset: u32,
5669 src_length: u32,
5670 );
5671 #[cfg(feature = "WebGlUniformLocation")]
5672 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5673 #[doc = "The `uniformMatrix2x4fv()` method."]
5674 #[doc = ""]
5675 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5676 #[doc = ""]
5677 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5678 pub fn uniform_matrix2x4fv_with_f32_array(
5679 this: &WebGl2RenderingContext,
5680 location: Option<&WebGlUniformLocation>,
5681 transpose: bool,
5682 data: &[f32],
5683 );
5684 #[cfg(feature = "WebGlUniformLocation")]
5685 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5686 #[doc = "The `uniformMatrix2x4fv()` method."]
5687 #[doc = ""]
5688 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5689 #[doc = ""]
5690 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5691 pub fn uniform_matrix2x4fv_with_js_f32_array(
5692 this: &WebGl2RenderingContext,
5693 location: Option<&WebGlUniformLocation>,
5694 transpose: bool,
5695 data: &::js_sys::Float32Array,
5696 );
5697 #[cfg(feature = "WebGlUniformLocation")]
5698 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5699 #[doc = "The `uniformMatrix2x4fv()` method."]
5700 #[doc = ""]
5701 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5702 #[doc = ""]
5703 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5704 pub fn uniform_matrix2x4fv_with_f32_sequence(
5705 this: &WebGl2RenderingContext,
5706 location: Option<&WebGlUniformLocation>,
5707 transpose: bool,
5708 data: &::wasm_bindgen::JsValue,
5709 );
5710 #[cfg(feature = "WebGlUniformLocation")]
5711 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5712 #[doc = "The `uniformMatrix2x4fv()` method."]
5713 #[doc = ""]
5714 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5715 #[doc = ""]
5716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5717 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset(
5718 this: &WebGl2RenderingContext,
5719 location: Option<&WebGlUniformLocation>,
5720 transpose: bool,
5721 data: &[f32],
5722 src_offset: u32,
5723 );
5724 #[cfg(feature = "WebGlUniformLocation")]
5725 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5726 #[doc = "The `uniformMatrix2x4fv()` method."]
5727 #[doc = ""]
5728 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5729 #[doc = ""]
5730 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5731 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset(
5732 this: &WebGl2RenderingContext,
5733 location: Option<&WebGlUniformLocation>,
5734 transpose: bool,
5735 data: &::js_sys::Float32Array,
5736 src_offset: u32,
5737 );
5738 #[cfg(feature = "WebGlUniformLocation")]
5739 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5740 #[doc = "The `uniformMatrix2x4fv()` method."]
5741 #[doc = ""]
5742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5743 #[doc = ""]
5744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5745 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset(
5746 this: &WebGl2RenderingContext,
5747 location: Option<&WebGlUniformLocation>,
5748 transpose: bool,
5749 data: &::wasm_bindgen::JsValue,
5750 src_offset: u32,
5751 );
5752 #[cfg(feature = "WebGlUniformLocation")]
5753 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5754 #[doc = "The `uniformMatrix2x4fv()` method."]
5755 #[doc = ""]
5756 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5757 #[doc = ""]
5758 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5759 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length(
5760 this: &WebGl2RenderingContext,
5761 location: Option<&WebGlUniformLocation>,
5762 transpose: bool,
5763 data: &[f32],
5764 src_offset: u32,
5765 src_length: u32,
5766 );
5767 #[cfg(feature = "WebGlUniformLocation")]
5768 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5769 #[doc = "The `uniformMatrix2x4fv()` method."]
5770 #[doc = ""]
5771 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5772 #[doc = ""]
5773 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5774 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset_and_src_length(
5775 this: &WebGl2RenderingContext,
5776 location: Option<&WebGlUniformLocation>,
5777 transpose: bool,
5778 data: &::js_sys::Float32Array,
5779 src_offset: u32,
5780 src_length: u32,
5781 );
5782 #[cfg(feature = "WebGlUniformLocation")]
5783 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5784 #[doc = "The `uniformMatrix2x4fv()` method."]
5785 #[doc = ""]
5786 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5787 #[doc = ""]
5788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5789 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length(
5790 this: &WebGl2RenderingContext,
5791 location: Option<&WebGlUniformLocation>,
5792 transpose: bool,
5793 data: &::wasm_bindgen::JsValue,
5794 src_offset: u32,
5795 src_length: u32,
5796 );
5797 #[cfg(feature = "WebGlUniformLocation")]
5798 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5799 #[doc = "The `uniformMatrix3fv()` method."]
5800 #[doc = ""]
5801 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5802 #[doc = ""]
5803 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5804 pub fn uniform_matrix3fv_with_f32_array(
5805 this: &WebGl2RenderingContext,
5806 location: Option<&WebGlUniformLocation>,
5807 transpose: bool,
5808 data: &[f32],
5809 );
5810 #[cfg(feature = "WebGlUniformLocation")]
5811 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5812 #[doc = "The `uniformMatrix3fv()` method."]
5813 #[doc = ""]
5814 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5815 #[doc = ""]
5816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5817 pub fn uniform_matrix3fv_with_js_f32_array(
5818 this: &WebGl2RenderingContext,
5819 location: Option<&WebGlUniformLocation>,
5820 transpose: bool,
5821 data: &::js_sys::Float32Array,
5822 );
5823 #[cfg(feature = "WebGlUniformLocation")]
5824 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5825 #[doc = "The `uniformMatrix3fv()` method."]
5826 #[doc = ""]
5827 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5828 #[doc = ""]
5829 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5830 pub fn uniform_matrix3fv_with_f32_sequence(
5831 this: &WebGl2RenderingContext,
5832 location: Option<&WebGlUniformLocation>,
5833 transpose: bool,
5834 data: &::wasm_bindgen::JsValue,
5835 );
5836 #[cfg(feature = "WebGlUniformLocation")]
5837 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5838 #[doc = "The `uniformMatrix3fv()` method."]
5839 #[doc = ""]
5840 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5841 #[doc = ""]
5842 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5843 pub fn uniform_matrix3fv_with_f32_array_and_src_offset(
5844 this: &WebGl2RenderingContext,
5845 location: Option<&WebGlUniformLocation>,
5846 transpose: bool,
5847 data: &[f32],
5848 src_offset: u32,
5849 );
5850 #[cfg(feature = "WebGlUniformLocation")]
5851 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5852 #[doc = "The `uniformMatrix3fv()` method."]
5853 #[doc = ""]
5854 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5855 #[doc = ""]
5856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5857 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset(
5858 this: &WebGl2RenderingContext,
5859 location: Option<&WebGlUniformLocation>,
5860 transpose: bool,
5861 data: &::js_sys::Float32Array,
5862 src_offset: u32,
5863 );
5864 #[cfg(feature = "WebGlUniformLocation")]
5865 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5866 #[doc = "The `uniformMatrix3fv()` method."]
5867 #[doc = ""]
5868 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5869 #[doc = ""]
5870 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5871 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset(
5872 this: &WebGl2RenderingContext,
5873 location: Option<&WebGlUniformLocation>,
5874 transpose: bool,
5875 data: &::wasm_bindgen::JsValue,
5876 src_offset: u32,
5877 );
5878 #[cfg(feature = "WebGlUniformLocation")]
5879 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5880 #[doc = "The `uniformMatrix3fv()` method."]
5881 #[doc = ""]
5882 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5883 #[doc = ""]
5884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5885 pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length(
5886 this: &WebGl2RenderingContext,
5887 location: Option<&WebGlUniformLocation>,
5888 transpose: bool,
5889 data: &[f32],
5890 src_offset: u32,
5891 src_length: u32,
5892 );
5893 #[cfg(feature = "WebGlUniformLocation")]
5894 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5895 #[doc = "The `uniformMatrix3fv()` method."]
5896 #[doc = ""]
5897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5898 #[doc = ""]
5899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5900 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset_and_src_length(
5901 this: &WebGl2RenderingContext,
5902 location: Option<&WebGlUniformLocation>,
5903 transpose: bool,
5904 data: &::js_sys::Float32Array,
5905 src_offset: u32,
5906 src_length: u32,
5907 );
5908 #[cfg(feature = "WebGlUniformLocation")]
5909 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5910 #[doc = "The `uniformMatrix3fv()` method."]
5911 #[doc = ""]
5912 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5913 #[doc = ""]
5914 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5915 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length(
5916 this: &WebGl2RenderingContext,
5917 location: Option<&WebGlUniformLocation>,
5918 transpose: bool,
5919 data: &::wasm_bindgen::JsValue,
5920 src_offset: u32,
5921 src_length: u32,
5922 );
5923 #[cfg(feature = "WebGlUniformLocation")]
5924 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5925 #[doc = "The `uniformMatrix3x2fv()` method."]
5926 #[doc = ""]
5927 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5928 #[doc = ""]
5929 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5930 pub fn uniform_matrix3x2fv_with_f32_array(
5931 this: &WebGl2RenderingContext,
5932 location: Option<&WebGlUniformLocation>,
5933 transpose: bool,
5934 data: &[f32],
5935 );
5936 #[cfg(feature = "WebGlUniformLocation")]
5937 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5938 #[doc = "The `uniformMatrix3x2fv()` method."]
5939 #[doc = ""]
5940 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5941 #[doc = ""]
5942 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5943 pub fn uniform_matrix3x2fv_with_js_f32_array(
5944 this: &WebGl2RenderingContext,
5945 location: Option<&WebGlUniformLocation>,
5946 transpose: bool,
5947 data: &::js_sys::Float32Array,
5948 );
5949 #[cfg(feature = "WebGlUniformLocation")]
5950 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5951 #[doc = "The `uniformMatrix3x2fv()` method."]
5952 #[doc = ""]
5953 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5954 #[doc = ""]
5955 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5956 pub fn uniform_matrix3x2fv_with_f32_sequence(
5957 this: &WebGl2RenderingContext,
5958 location: Option<&WebGlUniformLocation>,
5959 transpose: bool,
5960 data: &::wasm_bindgen::JsValue,
5961 );
5962 #[cfg(feature = "WebGlUniformLocation")]
5963 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5964 #[doc = "The `uniformMatrix3x2fv()` method."]
5965 #[doc = ""]
5966 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5967 #[doc = ""]
5968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5969 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset(
5970 this: &WebGl2RenderingContext,
5971 location: Option<&WebGlUniformLocation>,
5972 transpose: bool,
5973 data: &[f32],
5974 src_offset: u32,
5975 );
5976 #[cfg(feature = "WebGlUniformLocation")]
5977 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5978 #[doc = "The `uniformMatrix3x2fv()` method."]
5979 #[doc = ""]
5980 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5981 #[doc = ""]
5982 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5983 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset(
5984 this: &WebGl2RenderingContext,
5985 location: Option<&WebGlUniformLocation>,
5986 transpose: bool,
5987 data: &::js_sys::Float32Array,
5988 src_offset: u32,
5989 );
5990 #[cfg(feature = "WebGlUniformLocation")]
5991 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5992 #[doc = "The `uniformMatrix3x2fv()` method."]
5993 #[doc = ""]
5994 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5995 #[doc = ""]
5996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5997 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset(
5998 this: &WebGl2RenderingContext,
5999 location: Option<&WebGlUniformLocation>,
6000 transpose: bool,
6001 data: &::wasm_bindgen::JsValue,
6002 src_offset: u32,
6003 );
6004 #[cfg(feature = "WebGlUniformLocation")]
6005 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6006 #[doc = "The `uniformMatrix3x2fv()` method."]
6007 #[doc = ""]
6008 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6009 #[doc = ""]
6010 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6011 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length(
6012 this: &WebGl2RenderingContext,
6013 location: Option<&WebGlUniformLocation>,
6014 transpose: bool,
6015 data: &[f32],
6016 src_offset: u32,
6017 src_length: u32,
6018 );
6019 #[cfg(feature = "WebGlUniformLocation")]
6020 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6021 #[doc = "The `uniformMatrix3x2fv()` method."]
6022 #[doc = ""]
6023 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6024 #[doc = ""]
6025 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6026 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset_and_src_length(
6027 this: &WebGl2RenderingContext,
6028 location: Option<&WebGlUniformLocation>,
6029 transpose: bool,
6030 data: &::js_sys::Float32Array,
6031 src_offset: u32,
6032 src_length: u32,
6033 );
6034 #[cfg(feature = "WebGlUniformLocation")]
6035 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6036 #[doc = "The `uniformMatrix3x2fv()` method."]
6037 #[doc = ""]
6038 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6039 #[doc = ""]
6040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6041 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length(
6042 this: &WebGl2RenderingContext,
6043 location: Option<&WebGlUniformLocation>,
6044 transpose: bool,
6045 data: &::wasm_bindgen::JsValue,
6046 src_offset: u32,
6047 src_length: u32,
6048 );
6049 #[cfg(feature = "WebGlUniformLocation")]
6050 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6051 #[doc = "The `uniformMatrix3x4fv()` method."]
6052 #[doc = ""]
6053 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6054 #[doc = ""]
6055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6056 pub fn uniform_matrix3x4fv_with_f32_array(
6057 this: &WebGl2RenderingContext,
6058 location: Option<&WebGlUniformLocation>,
6059 transpose: bool,
6060 data: &[f32],
6061 );
6062 #[cfg(feature = "WebGlUniformLocation")]
6063 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6064 #[doc = "The `uniformMatrix3x4fv()` method."]
6065 #[doc = ""]
6066 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6067 #[doc = ""]
6068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6069 pub fn uniform_matrix3x4fv_with_js_f32_array(
6070 this: &WebGl2RenderingContext,
6071 location: Option<&WebGlUniformLocation>,
6072 transpose: bool,
6073 data: &::js_sys::Float32Array,
6074 );
6075 #[cfg(feature = "WebGlUniformLocation")]
6076 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6077 #[doc = "The `uniformMatrix3x4fv()` method."]
6078 #[doc = ""]
6079 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6080 #[doc = ""]
6081 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6082 pub fn uniform_matrix3x4fv_with_f32_sequence(
6083 this: &WebGl2RenderingContext,
6084 location: Option<&WebGlUniformLocation>,
6085 transpose: bool,
6086 data: &::wasm_bindgen::JsValue,
6087 );
6088 #[cfg(feature = "WebGlUniformLocation")]
6089 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6090 #[doc = "The `uniformMatrix3x4fv()` method."]
6091 #[doc = ""]
6092 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6093 #[doc = ""]
6094 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6095 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset(
6096 this: &WebGl2RenderingContext,
6097 location: Option<&WebGlUniformLocation>,
6098 transpose: bool,
6099 data: &[f32],
6100 src_offset: u32,
6101 );
6102 #[cfg(feature = "WebGlUniformLocation")]
6103 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6104 #[doc = "The `uniformMatrix3x4fv()` method."]
6105 #[doc = ""]
6106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6107 #[doc = ""]
6108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6109 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset(
6110 this: &WebGl2RenderingContext,
6111 location: Option<&WebGlUniformLocation>,
6112 transpose: bool,
6113 data: &::js_sys::Float32Array,
6114 src_offset: u32,
6115 );
6116 #[cfg(feature = "WebGlUniformLocation")]
6117 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6118 #[doc = "The `uniformMatrix3x4fv()` method."]
6119 #[doc = ""]
6120 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6121 #[doc = ""]
6122 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6123 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset(
6124 this: &WebGl2RenderingContext,
6125 location: Option<&WebGlUniformLocation>,
6126 transpose: bool,
6127 data: &::wasm_bindgen::JsValue,
6128 src_offset: u32,
6129 );
6130 #[cfg(feature = "WebGlUniformLocation")]
6131 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6132 #[doc = "The `uniformMatrix3x4fv()` method."]
6133 #[doc = ""]
6134 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6135 #[doc = ""]
6136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6137 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length(
6138 this: &WebGl2RenderingContext,
6139 location: Option<&WebGlUniformLocation>,
6140 transpose: bool,
6141 data: &[f32],
6142 src_offset: u32,
6143 src_length: u32,
6144 );
6145 #[cfg(feature = "WebGlUniformLocation")]
6146 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6147 #[doc = "The `uniformMatrix3x4fv()` method."]
6148 #[doc = ""]
6149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6150 #[doc = ""]
6151 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6152 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset_and_src_length(
6153 this: &WebGl2RenderingContext,
6154 location: Option<&WebGlUniformLocation>,
6155 transpose: bool,
6156 data: &::js_sys::Float32Array,
6157 src_offset: u32,
6158 src_length: u32,
6159 );
6160 #[cfg(feature = "WebGlUniformLocation")]
6161 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6162 #[doc = "The `uniformMatrix3x4fv()` method."]
6163 #[doc = ""]
6164 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6165 #[doc = ""]
6166 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6167 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length(
6168 this: &WebGl2RenderingContext,
6169 location: Option<&WebGlUniformLocation>,
6170 transpose: bool,
6171 data: &::wasm_bindgen::JsValue,
6172 src_offset: u32,
6173 src_length: u32,
6174 );
6175 #[cfg(feature = "WebGlUniformLocation")]
6176 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6177 #[doc = "The `uniformMatrix4fv()` method."]
6178 #[doc = ""]
6179 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6180 #[doc = ""]
6181 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6182 pub fn uniform_matrix4fv_with_f32_array(
6183 this: &WebGl2RenderingContext,
6184 location: Option<&WebGlUniformLocation>,
6185 transpose: bool,
6186 data: &[f32],
6187 );
6188 #[cfg(feature = "WebGlUniformLocation")]
6189 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6190 #[doc = "The `uniformMatrix4fv()` method."]
6191 #[doc = ""]
6192 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6193 #[doc = ""]
6194 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6195 pub fn uniform_matrix4fv_with_js_f32_array(
6196 this: &WebGl2RenderingContext,
6197 location: Option<&WebGlUniformLocation>,
6198 transpose: bool,
6199 data: &::js_sys::Float32Array,
6200 );
6201 #[cfg(feature = "WebGlUniformLocation")]
6202 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6203 #[doc = "The `uniformMatrix4fv()` method."]
6204 #[doc = ""]
6205 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6206 #[doc = ""]
6207 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6208 pub fn uniform_matrix4fv_with_f32_sequence(
6209 this: &WebGl2RenderingContext,
6210 location: Option<&WebGlUniformLocation>,
6211 transpose: bool,
6212 data: &::wasm_bindgen::JsValue,
6213 );
6214 #[cfg(feature = "WebGlUniformLocation")]
6215 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6216 #[doc = "The `uniformMatrix4fv()` method."]
6217 #[doc = ""]
6218 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6219 #[doc = ""]
6220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6221 pub fn uniform_matrix4fv_with_f32_array_and_src_offset(
6222 this: &WebGl2RenderingContext,
6223 location: Option<&WebGlUniformLocation>,
6224 transpose: bool,
6225 data: &[f32],
6226 src_offset: u32,
6227 );
6228 #[cfg(feature = "WebGlUniformLocation")]
6229 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6230 #[doc = "The `uniformMatrix4fv()` method."]
6231 #[doc = ""]
6232 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6233 #[doc = ""]
6234 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6235 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset(
6236 this: &WebGl2RenderingContext,
6237 location: Option<&WebGlUniformLocation>,
6238 transpose: bool,
6239 data: &::js_sys::Float32Array,
6240 src_offset: u32,
6241 );
6242 #[cfg(feature = "WebGlUniformLocation")]
6243 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6244 #[doc = "The `uniformMatrix4fv()` method."]
6245 #[doc = ""]
6246 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6247 #[doc = ""]
6248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6249 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset(
6250 this: &WebGl2RenderingContext,
6251 location: Option<&WebGlUniformLocation>,
6252 transpose: bool,
6253 data: &::wasm_bindgen::JsValue,
6254 src_offset: u32,
6255 );
6256 #[cfg(feature = "WebGlUniformLocation")]
6257 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6258 #[doc = "The `uniformMatrix4fv()` method."]
6259 #[doc = ""]
6260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6261 #[doc = ""]
6262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6263 pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length(
6264 this: &WebGl2RenderingContext,
6265 location: Option<&WebGlUniformLocation>,
6266 transpose: bool,
6267 data: &[f32],
6268 src_offset: u32,
6269 src_length: u32,
6270 );
6271 #[cfg(feature = "WebGlUniformLocation")]
6272 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6273 #[doc = "The `uniformMatrix4fv()` method."]
6274 #[doc = ""]
6275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6276 #[doc = ""]
6277 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6278 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset_and_src_length(
6279 this: &WebGl2RenderingContext,
6280 location: Option<&WebGlUniformLocation>,
6281 transpose: bool,
6282 data: &::js_sys::Float32Array,
6283 src_offset: u32,
6284 src_length: u32,
6285 );
6286 #[cfg(feature = "WebGlUniformLocation")]
6287 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6288 #[doc = "The `uniformMatrix4fv()` method."]
6289 #[doc = ""]
6290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6291 #[doc = ""]
6292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6293 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length(
6294 this: &WebGl2RenderingContext,
6295 location: Option<&WebGlUniformLocation>,
6296 transpose: bool,
6297 data: &::wasm_bindgen::JsValue,
6298 src_offset: u32,
6299 src_length: u32,
6300 );
6301 #[cfg(feature = "WebGlUniformLocation")]
6302 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6303 #[doc = "The `uniformMatrix4x2fv()` method."]
6304 #[doc = ""]
6305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6306 #[doc = ""]
6307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6308 pub fn uniform_matrix4x2fv_with_f32_array(
6309 this: &WebGl2RenderingContext,
6310 location: Option<&WebGlUniformLocation>,
6311 transpose: bool,
6312 data: &[f32],
6313 );
6314 #[cfg(feature = "WebGlUniformLocation")]
6315 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6316 #[doc = "The `uniformMatrix4x2fv()` method."]
6317 #[doc = ""]
6318 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6319 #[doc = ""]
6320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6321 pub fn uniform_matrix4x2fv_with_js_f32_array(
6322 this: &WebGl2RenderingContext,
6323 location: Option<&WebGlUniformLocation>,
6324 transpose: bool,
6325 data: &::js_sys::Float32Array,
6326 );
6327 #[cfg(feature = "WebGlUniformLocation")]
6328 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6329 #[doc = "The `uniformMatrix4x2fv()` method."]
6330 #[doc = ""]
6331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6332 #[doc = ""]
6333 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6334 pub fn uniform_matrix4x2fv_with_f32_sequence(
6335 this: &WebGl2RenderingContext,
6336 location: Option<&WebGlUniformLocation>,
6337 transpose: bool,
6338 data: &::wasm_bindgen::JsValue,
6339 );
6340 #[cfg(feature = "WebGlUniformLocation")]
6341 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6342 #[doc = "The `uniformMatrix4x2fv()` method."]
6343 #[doc = ""]
6344 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6345 #[doc = ""]
6346 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6347 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset(
6348 this: &WebGl2RenderingContext,
6349 location: Option<&WebGlUniformLocation>,
6350 transpose: bool,
6351 data: &[f32],
6352 src_offset: u32,
6353 );
6354 #[cfg(feature = "WebGlUniformLocation")]
6355 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6356 #[doc = "The `uniformMatrix4x2fv()` method."]
6357 #[doc = ""]
6358 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6359 #[doc = ""]
6360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6361 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset(
6362 this: &WebGl2RenderingContext,
6363 location: Option<&WebGlUniformLocation>,
6364 transpose: bool,
6365 data: &::js_sys::Float32Array,
6366 src_offset: u32,
6367 );
6368 #[cfg(feature = "WebGlUniformLocation")]
6369 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6370 #[doc = "The `uniformMatrix4x2fv()` method."]
6371 #[doc = ""]
6372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6373 #[doc = ""]
6374 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6375 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset(
6376 this: &WebGl2RenderingContext,
6377 location: Option<&WebGlUniformLocation>,
6378 transpose: bool,
6379 data: &::wasm_bindgen::JsValue,
6380 src_offset: u32,
6381 );
6382 #[cfg(feature = "WebGlUniformLocation")]
6383 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6384 #[doc = "The `uniformMatrix4x2fv()` method."]
6385 #[doc = ""]
6386 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6387 #[doc = ""]
6388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6389 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length(
6390 this: &WebGl2RenderingContext,
6391 location: Option<&WebGlUniformLocation>,
6392 transpose: bool,
6393 data: &[f32],
6394 src_offset: u32,
6395 src_length: u32,
6396 );
6397 #[cfg(feature = "WebGlUniformLocation")]
6398 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6399 #[doc = "The `uniformMatrix4x2fv()` method."]
6400 #[doc = ""]
6401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6402 #[doc = ""]
6403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6404 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset_and_src_length(
6405 this: &WebGl2RenderingContext,
6406 location: Option<&WebGlUniformLocation>,
6407 transpose: bool,
6408 data: &::js_sys::Float32Array,
6409 src_offset: u32,
6410 src_length: u32,
6411 );
6412 #[cfg(feature = "WebGlUniformLocation")]
6413 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6414 #[doc = "The `uniformMatrix4x2fv()` method."]
6415 #[doc = ""]
6416 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6417 #[doc = ""]
6418 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6419 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length(
6420 this: &WebGl2RenderingContext,
6421 location: Option<&WebGlUniformLocation>,
6422 transpose: bool,
6423 data: &::wasm_bindgen::JsValue,
6424 src_offset: u32,
6425 src_length: u32,
6426 );
6427 #[cfg(feature = "WebGlUniformLocation")]
6428 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6429 #[doc = "The `uniformMatrix4x3fv()` method."]
6430 #[doc = ""]
6431 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6432 #[doc = ""]
6433 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6434 pub fn uniform_matrix4x3fv_with_f32_array(
6435 this: &WebGl2RenderingContext,
6436 location: Option<&WebGlUniformLocation>,
6437 transpose: bool,
6438 data: &[f32],
6439 );
6440 #[cfg(feature = "WebGlUniformLocation")]
6441 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6442 #[doc = "The `uniformMatrix4x3fv()` method."]
6443 #[doc = ""]
6444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6445 #[doc = ""]
6446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6447 pub fn uniform_matrix4x3fv_with_js_f32_array(
6448 this: &WebGl2RenderingContext,
6449 location: Option<&WebGlUniformLocation>,
6450 transpose: bool,
6451 data: &::js_sys::Float32Array,
6452 );
6453 #[cfg(feature = "WebGlUniformLocation")]
6454 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6455 #[doc = "The `uniformMatrix4x3fv()` method."]
6456 #[doc = ""]
6457 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6458 #[doc = ""]
6459 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6460 pub fn uniform_matrix4x3fv_with_f32_sequence(
6461 this: &WebGl2RenderingContext,
6462 location: Option<&WebGlUniformLocation>,
6463 transpose: bool,
6464 data: &::wasm_bindgen::JsValue,
6465 );
6466 #[cfg(feature = "WebGlUniformLocation")]
6467 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6468 #[doc = "The `uniformMatrix4x3fv()` method."]
6469 #[doc = ""]
6470 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6471 #[doc = ""]
6472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6473 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset(
6474 this: &WebGl2RenderingContext,
6475 location: Option<&WebGlUniformLocation>,
6476 transpose: bool,
6477 data: &[f32],
6478 src_offset: u32,
6479 );
6480 #[cfg(feature = "WebGlUniformLocation")]
6481 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6482 #[doc = "The `uniformMatrix4x3fv()` method."]
6483 #[doc = ""]
6484 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6485 #[doc = ""]
6486 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6487 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset(
6488 this: &WebGl2RenderingContext,
6489 location: Option<&WebGlUniformLocation>,
6490 transpose: bool,
6491 data: &::js_sys::Float32Array,
6492 src_offset: u32,
6493 );
6494 #[cfg(feature = "WebGlUniformLocation")]
6495 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6496 #[doc = "The `uniformMatrix4x3fv()` method."]
6497 #[doc = ""]
6498 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6499 #[doc = ""]
6500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6501 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset(
6502 this: &WebGl2RenderingContext,
6503 location: Option<&WebGlUniformLocation>,
6504 transpose: bool,
6505 data: &::wasm_bindgen::JsValue,
6506 src_offset: u32,
6507 );
6508 #[cfg(feature = "WebGlUniformLocation")]
6509 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6510 #[doc = "The `uniformMatrix4x3fv()` method."]
6511 #[doc = ""]
6512 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6513 #[doc = ""]
6514 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6515 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length(
6516 this: &WebGl2RenderingContext,
6517 location: Option<&WebGlUniformLocation>,
6518 transpose: bool,
6519 data: &[f32],
6520 src_offset: u32,
6521 src_length: u32,
6522 );
6523 #[cfg(feature = "WebGlUniformLocation")]
6524 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6525 #[doc = "The `uniformMatrix4x3fv()` method."]
6526 #[doc = ""]
6527 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6528 #[doc = ""]
6529 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6530 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset_and_src_length(
6531 this: &WebGl2RenderingContext,
6532 location: Option<&WebGlUniformLocation>,
6533 transpose: bool,
6534 data: &::js_sys::Float32Array,
6535 src_offset: u32,
6536 src_length: u32,
6537 );
6538 #[cfg(feature = "WebGlUniformLocation")]
6539 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6540 #[doc = "The `uniformMatrix4x3fv()` method."]
6541 #[doc = ""]
6542 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6543 #[doc = ""]
6544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6545 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length(
6546 this: &WebGl2RenderingContext,
6547 location: Option<&WebGlUniformLocation>,
6548 transpose: bool,
6549 data: &::wasm_bindgen::JsValue,
6550 src_offset: u32,
6551 src_length: u32,
6552 );
6553 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribDivisor)]
6554 #[doc = "The `vertexAttribDivisor()` method."]
6555 #[doc = ""]
6556 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)"]
6557 #[doc = ""]
6558 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6559 pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32);
6560 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4i)]
6561 #[doc = "The `vertexAttribI4i()` method."]
6562 #[doc = ""]
6563 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)"]
6564 #[doc = ""]
6565 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6566 pub fn vertex_attrib_i4i(
6567 this: &WebGl2RenderingContext,
6568 index: u32,
6569 x: i32,
6570 y: i32,
6571 z: i32,
6572 w: i32,
6573 );
6574 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
6575 #[doc = "The `vertexAttribI4iv()` method."]
6576 #[doc = ""]
6577 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
6578 #[doc = ""]
6579 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6580 pub fn vertex_attrib_i4iv_with_i32_array(
6581 this: &WebGl2RenderingContext,
6582 index: u32,
6583 values: &mut [i32],
6584 );
6585 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
6586 #[doc = "The `vertexAttribI4iv()` method."]
6587 #[doc = ""]
6588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
6589 #[doc = ""]
6590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6591 pub fn vertex_attrib_i4iv_with_js_i32_array(
6592 this: &WebGl2RenderingContext,
6593 index: u32,
6594 values: &::js_sys::Int32Array,
6595 );
6596 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
6597 #[doc = "The `vertexAttribI4iv()` method."]
6598 #[doc = ""]
6599 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
6600 #[doc = ""]
6601 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6602 pub fn vertex_attrib_i4iv_with_i32_sequence(
6603 this: &WebGl2RenderingContext,
6604 index: u32,
6605 values: &::wasm_bindgen::JsValue,
6606 );
6607 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4ui)]
6608 #[doc = "The `vertexAttribI4ui()` method."]
6609 #[doc = ""]
6610 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)"]
6611 #[doc = ""]
6612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6613 pub fn vertex_attrib_i4ui(
6614 this: &WebGl2RenderingContext,
6615 index: u32,
6616 x: u32,
6617 y: u32,
6618 z: u32,
6619 w: u32,
6620 );
6621 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
6622 #[doc = "The `vertexAttribI4uiv()` method."]
6623 #[doc = ""]
6624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
6625 #[doc = ""]
6626 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6627 pub fn vertex_attrib_i4uiv_with_u32_array(
6628 this: &WebGl2RenderingContext,
6629 index: u32,
6630 values: &mut [u32],
6631 );
6632 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
6633 #[doc = "The `vertexAttribI4uiv()` method."]
6634 #[doc = ""]
6635 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
6636 #[doc = ""]
6637 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6638 pub fn vertex_attrib_i4uiv_with_js_u32_array(
6639 this: &WebGl2RenderingContext,
6640 index: u32,
6641 values: &::js_sys::Uint32Array,
6642 );
6643 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
6644 #[doc = "The `vertexAttribI4uiv()` method."]
6645 #[doc = ""]
6646 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
6647 #[doc = ""]
6648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6649 pub fn vertex_attrib_i4uiv_with_u32_sequence(
6650 this: &WebGl2RenderingContext,
6651 index: u32,
6652 values: &::wasm_bindgen::JsValue,
6653 );
6654 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)]
6655 #[doc = "The `vertexAttribIPointer()` method."]
6656 #[doc = ""]
6657 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
6658 #[doc = ""]
6659 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6660 pub fn vertex_attrib_i_pointer_with_i32(
6661 this: &WebGl2RenderingContext,
6662 index: u32,
6663 size: i32,
6664 type_: u32,
6665 stride: i32,
6666 offset: i32,
6667 );
6668 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)]
6669 #[doc = "The `vertexAttribIPointer()` method."]
6670 #[doc = ""]
6671 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
6672 #[doc = ""]
6673 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6674 pub fn vertex_attrib_i_pointer_with_f64(
6675 this: &WebGl2RenderingContext,
6676 index: u32,
6677 size: i32,
6678 type_: u32,
6679 stride: i32,
6680 offset: f64,
6681 );
6682 #[cfg(feature = "WebGlSync")]
6683 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)]
6684 #[doc = "The `waitSync()` method."]
6685 #[doc = ""]
6686 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
6687 #[doc = ""]
6688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
6689 pub fn wait_sync_with_i32(
6690 this: &WebGl2RenderingContext,
6691 sync: &WebGlSync,
6692 flags: u32,
6693 timeout: i32,
6694 );
6695 #[cfg(feature = "WebGlSync")]
6696 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)]
6697 #[doc = "The `waitSync()` method."]
6698 #[doc = ""]
6699 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
6700 #[doc = ""]
6701 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
6702 pub fn wait_sync_with_f64(
6703 this: &WebGl2RenderingContext,
6704 sync: &WebGlSync,
6705 flags: u32,
6706 timeout: f64,
6707 );
6708 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = activeTexture)]
6709 #[doc = "The `activeTexture()` method."]
6710 #[doc = ""]
6711 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)"]
6712 #[doc = ""]
6713 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6714 pub fn active_texture(this: &WebGl2RenderingContext, texture: u32);
6715 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
6716 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = attachShader)]
6717 #[doc = "The `attachShader()` method."]
6718 #[doc = ""]
6719 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)"]
6720 #[doc = ""]
6721 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
6722 pub fn attach_shader(
6723 this: &WebGl2RenderingContext,
6724 program: &WebGlProgram,
6725 shader: &WebGlShader,
6726 );
6727 #[cfg(feature = "WebGlProgram")]
6728 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindAttribLocation)]
6729 #[doc = "The `bindAttribLocation()` method."]
6730 #[doc = ""]
6731 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)"]
6732 #[doc = ""]
6733 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6734 pub fn bind_attrib_location(
6735 this: &WebGl2RenderingContext,
6736 program: &WebGlProgram,
6737 index: u32,
6738 name: &str,
6739 );
6740 #[cfg(feature = "WebGlBuffer")]
6741 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBuffer)]
6742 #[doc = "The `bindBuffer()` method."]
6743 #[doc = ""]
6744 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)"]
6745 #[doc = ""]
6746 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
6747 pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
6748 #[cfg(feature = "WebGlFramebuffer")]
6749 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindFramebuffer)]
6750 #[doc = "The `bindFramebuffer()` method."]
6751 #[doc = ""]
6752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)"]
6753 #[doc = ""]
6754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
6755 pub fn bind_framebuffer(
6756 this: &WebGl2RenderingContext,
6757 target: u32,
6758 framebuffer: Option<&WebGlFramebuffer>,
6759 );
6760 #[cfg(feature = "WebGlRenderbuffer")]
6761 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindRenderbuffer)]
6762 #[doc = "The `bindRenderbuffer()` method."]
6763 #[doc = ""]
6764 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)"]
6765 #[doc = ""]
6766 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
6767 pub fn bind_renderbuffer(
6768 this: &WebGl2RenderingContext,
6769 target: u32,
6770 renderbuffer: Option<&WebGlRenderbuffer>,
6771 );
6772 #[cfg(feature = "WebGlTexture")]
6773 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTexture)]
6774 #[doc = "The `bindTexture()` method."]
6775 #[doc = ""]
6776 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)"]
6777 #[doc = ""]
6778 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
6779 pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>);
6780 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendColor)]
6781 #[doc = "The `blendColor()` method."]
6782 #[doc = ""]
6783 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)"]
6784 #[doc = ""]
6785 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6786 pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
6787 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquation)]
6788 #[doc = "The `blendEquation()` method."]
6789 #[doc = ""]
6790 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)"]
6791 #[doc = ""]
6792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6793 pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32);
6794 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquationSeparate)]
6795 #[doc = "The `blendEquationSeparate()` method."]
6796 #[doc = ""]
6797 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)"]
6798 #[doc = ""]
6799 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6800 pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32);
6801 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFunc)]
6802 #[doc = "The `blendFunc()` method."]
6803 #[doc = ""]
6804 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)"]
6805 #[doc = ""]
6806 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6807 pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32);
6808 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFuncSeparate)]
6809 #[doc = "The `blendFuncSeparate()` method."]
6810 #[doc = ""]
6811 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)"]
6812 #[doc = ""]
6813 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6814 pub fn blend_func_separate(
6815 this: &WebGl2RenderingContext,
6816 src_rgb: u32,
6817 dst_rgb: u32,
6818 src_alpha: u32,
6819 dst_alpha: u32,
6820 );
6821 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = checkFramebufferStatus)]
6822 #[doc = "The `checkFramebufferStatus()` method."]
6823 #[doc = ""]
6824 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)"]
6825 #[doc = ""]
6826 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6827 pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32;
6828 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clear)]
6829 #[doc = "The `clear()` method."]
6830 #[doc = ""]
6831 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)"]
6832 #[doc = ""]
6833 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6834 pub fn clear(this: &WebGl2RenderingContext, mask: u32);
6835 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearColor)]
6836 #[doc = "The `clearColor()` method."]
6837 #[doc = ""]
6838 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)"]
6839 #[doc = ""]
6840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6841 pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
6842 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearDepth)]
6843 #[doc = "The `clearDepth()` method."]
6844 #[doc = ""]
6845 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)"]
6846 #[doc = ""]
6847 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6848 pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32);
6849 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearStencil)]
6850 #[doc = "The `clearStencil()` method."]
6851 #[doc = ""]
6852 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)"]
6853 #[doc = ""]
6854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6855 pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32);
6856 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = colorMask)]
6857 #[doc = "The `colorMask()` method."]
6858 #[doc = ""]
6859 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)"]
6860 #[doc = ""]
6861 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6862 pub fn color_mask(
6863 this: &WebGl2RenderingContext,
6864 red: bool,
6865 green: bool,
6866 blue: bool,
6867 alpha: bool,
6868 );
6869 #[cfg(feature = "WebGlShader")]
6870 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compileShader)]
6871 #[doc = "The `compileShader()` method."]
6872 #[doc = ""]
6873 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)"]
6874 #[doc = ""]
6875 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
6876 pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader);
6877 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexImage2D)]
6878 #[doc = "The `copyTexImage2D()` method."]
6879 #[doc = ""]
6880 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)"]
6881 #[doc = ""]
6882 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6883 pub fn copy_tex_image_2d(
6884 this: &WebGl2RenderingContext,
6885 target: u32,
6886 level: i32,
6887 internalformat: u32,
6888 x: i32,
6889 y: i32,
6890 width: i32,
6891 height: i32,
6892 border: i32,
6893 );
6894 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage2D)]
6895 #[doc = "The `copyTexSubImage2D()` method."]
6896 #[doc = ""]
6897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)"]
6898 #[doc = ""]
6899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6900 pub fn copy_tex_sub_image_2d(
6901 this: &WebGl2RenderingContext,
6902 target: u32,
6903 level: i32,
6904 xoffset: i32,
6905 yoffset: i32,
6906 x: i32,
6907 y: i32,
6908 width: i32,
6909 height: i32,
6910 );
6911 #[cfg(feature = "WebGlBuffer")]
6912 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createBuffer)]
6913 #[doc = "The `createBuffer()` method."]
6914 #[doc = ""]
6915 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)"]
6916 #[doc = ""]
6917 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
6918 pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>;
6919 #[cfg(feature = "WebGlFramebuffer")]
6920 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createFramebuffer)]
6921 #[doc = "The `createFramebuffer()` method."]
6922 #[doc = ""]
6923 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)"]
6924 #[doc = ""]
6925 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
6926 pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>;
6927 #[cfg(feature = "WebGlProgram")]
6928 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createProgram)]
6929 #[doc = "The `createProgram()` method."]
6930 #[doc = ""]
6931 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)"]
6932 #[doc = ""]
6933 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6934 pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>;
6935 #[cfg(feature = "WebGlRenderbuffer")]
6936 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createRenderbuffer)]
6937 #[doc = "The `createRenderbuffer()` method."]
6938 #[doc = ""]
6939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)"]
6940 #[doc = ""]
6941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
6942 pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>;
6943 #[cfg(feature = "WebGlShader")]
6944 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createShader)]
6945 #[doc = "The `createShader()` method."]
6946 #[doc = ""]
6947 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)"]
6948 #[doc = ""]
6949 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
6950 pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>;
6951 #[cfg(feature = "WebGlTexture")]
6952 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTexture)]
6953 #[doc = "The `createTexture()` method."]
6954 #[doc = ""]
6955 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)"]
6956 #[doc = ""]
6957 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
6958 pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>;
6959 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = cullFace)]
6960 #[doc = "The `cullFace()` method."]
6961 #[doc = ""]
6962 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)"]
6963 #[doc = ""]
6964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6965 pub fn cull_face(this: &WebGl2RenderingContext, mode: u32);
6966 #[cfg(feature = "WebGlBuffer")]
6967 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteBuffer)]
6968 #[doc = "The `deleteBuffer()` method."]
6969 #[doc = ""]
6970 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)"]
6971 #[doc = ""]
6972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
6973 pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>);
6974 #[cfg(feature = "WebGlFramebuffer")]
6975 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteFramebuffer)]
6976 #[doc = "The `deleteFramebuffer()` method."]
6977 #[doc = ""]
6978 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)"]
6979 #[doc = ""]
6980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
6981 pub fn delete_framebuffer(
6982 this: &WebGl2RenderingContext,
6983 framebuffer: Option<&WebGlFramebuffer>,
6984 );
6985 #[cfg(feature = "WebGlProgram")]
6986 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteProgram)]
6987 #[doc = "The `deleteProgram()` method."]
6988 #[doc = ""]
6989 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)"]
6990 #[doc = ""]
6991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6992 pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
6993 #[cfg(feature = "WebGlRenderbuffer")]
6994 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteRenderbuffer)]
6995 #[doc = "The `deleteRenderbuffer()` method."]
6996 #[doc = ""]
6997 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)"]
6998 #[doc = ""]
6999 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
7000 pub fn delete_renderbuffer(
7001 this: &WebGl2RenderingContext,
7002 renderbuffer: Option<&WebGlRenderbuffer>,
7003 );
7004 #[cfg(feature = "WebGlShader")]
7005 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteShader)]
7006 #[doc = "The `deleteShader()` method."]
7007 #[doc = ""]
7008 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)"]
7009 #[doc = ""]
7010 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7011 pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>);
7012 #[cfg(feature = "WebGlTexture")]
7013 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTexture)]
7014 #[doc = "The `deleteTexture()` method."]
7015 #[doc = ""]
7016 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)"]
7017 #[doc = ""]
7018 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
7019 pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>);
7020 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthFunc)]
7021 #[doc = "The `depthFunc()` method."]
7022 #[doc = ""]
7023 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)"]
7024 #[doc = ""]
7025 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7026 pub fn depth_func(this: &WebGl2RenderingContext, func: u32);
7027 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthMask)]
7028 #[doc = "The `depthMask()` method."]
7029 #[doc = ""]
7030 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)"]
7031 #[doc = ""]
7032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7033 pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool);
7034 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthRange)]
7035 #[doc = "The `depthRange()` method."]
7036 #[doc = ""]
7037 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)"]
7038 #[doc = ""]
7039 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7040 pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32);
7041 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
7042 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = detachShader)]
7043 #[doc = "The `detachShader()` method."]
7044 #[doc = ""]
7045 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)"]
7046 #[doc = ""]
7047 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
7048 pub fn detach_shader(
7049 this: &WebGl2RenderingContext,
7050 program: &WebGlProgram,
7051 shader: &WebGlShader,
7052 );
7053 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disable)]
7054 #[doc = "The `disable()` method."]
7055 #[doc = ""]
7056 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)"]
7057 #[doc = ""]
7058 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7059 pub fn disable(this: &WebGl2RenderingContext, cap: u32);
7060 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disableVertexAttribArray)]
7061 #[doc = "The `disableVertexAttribArray()` method."]
7062 #[doc = ""]
7063 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)"]
7064 #[doc = ""]
7065 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7066 pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
7067 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArrays)]
7068 #[doc = "The `drawArrays()` method."]
7069 #[doc = ""]
7070 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)"]
7071 #[doc = ""]
7072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7073 pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32);
7074 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)]
7075 #[doc = "The `drawElements()` method."]
7076 #[doc = ""]
7077 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
7078 #[doc = ""]
7079 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7080 pub fn draw_elements_with_i32(
7081 this: &WebGl2RenderingContext,
7082 mode: u32,
7083 count: i32,
7084 type_: u32,
7085 offset: i32,
7086 );
7087 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)]
7088 #[doc = "The `drawElements()` method."]
7089 #[doc = ""]
7090 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
7091 #[doc = ""]
7092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7093 pub fn draw_elements_with_f64(
7094 this: &WebGl2RenderingContext,
7095 mode: u32,
7096 count: i32,
7097 type_: u32,
7098 offset: f64,
7099 );
7100 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enable)]
7101 #[doc = "The `enable()` method."]
7102 #[doc = ""]
7103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)"]
7104 #[doc = ""]
7105 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7106 pub fn enable(this: &WebGl2RenderingContext, cap: u32);
7107 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enableVertexAttribArray)]
7108 #[doc = "The `enableVertexAttribArray()` method."]
7109 #[doc = ""]
7110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)"]
7111 #[doc = ""]
7112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7113 pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
7114 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = finish)]
7115 #[doc = "The `finish()` method."]
7116 #[doc = ""]
7117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)"]
7118 #[doc = ""]
7119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7120 pub fn finish(this: &WebGl2RenderingContext);
7121 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = flush)]
7122 #[doc = "The `flush()` method."]
7123 #[doc = ""]
7124 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)"]
7125 #[doc = ""]
7126 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7127 pub fn flush(this: &WebGl2RenderingContext);
7128 #[cfg(feature = "WebGlRenderbuffer")]
7129 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferRenderbuffer)]
7130 #[doc = "The `framebufferRenderbuffer()` method."]
7131 #[doc = ""]
7132 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)"]
7133 #[doc = ""]
7134 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
7135 pub fn framebuffer_renderbuffer(
7136 this: &WebGl2RenderingContext,
7137 target: u32,
7138 attachment: u32,
7139 renderbuffertarget: u32,
7140 renderbuffer: Option<&WebGlRenderbuffer>,
7141 );
7142 #[cfg(feature = "WebGlTexture")]
7143 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTexture2D)]
7144 #[doc = "The `framebufferTexture2D()` method."]
7145 #[doc = ""]
7146 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)"]
7147 #[doc = ""]
7148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
7149 pub fn framebuffer_texture_2d(
7150 this: &WebGl2RenderingContext,
7151 target: u32,
7152 attachment: u32,
7153 textarget: u32,
7154 texture: Option<&WebGlTexture>,
7155 level: i32,
7156 );
7157 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = frontFace)]
7158 #[doc = "The `frontFace()` method."]
7159 #[doc = ""]
7160 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)"]
7161 #[doc = ""]
7162 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7163 pub fn front_face(this: &WebGl2RenderingContext, mode: u32);
7164 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = generateMipmap)]
7165 #[doc = "The `generateMipmap()` method."]
7166 #[doc = ""]
7167 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)"]
7168 #[doc = ""]
7169 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7170 pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32);
7171 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
7172 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveAttrib)]
7173 #[doc = "The `getActiveAttrib()` method."]
7174 #[doc = ""]
7175 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)"]
7176 #[doc = ""]
7177 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
7178 pub fn get_active_attrib(
7179 this: &WebGl2RenderingContext,
7180 program: &WebGlProgram,
7181 index: u32,
7182 ) -> Option<WebGlActiveInfo>;
7183 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
7184 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniform)]
7185 #[doc = "The `getActiveUniform()` method."]
7186 #[doc = ""]
7187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)"]
7188 #[doc = ""]
7189 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
7190 pub fn get_active_uniform(
7191 this: &WebGl2RenderingContext,
7192 program: &WebGlProgram,
7193 index: u32,
7194 ) -> Option<WebGlActiveInfo>;
7195 #[cfg(feature = "WebGlProgram")]
7196 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttachedShaders)]
7197 #[doc = "The `getAttachedShaders()` method."]
7198 #[doc = ""]
7199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)"]
7200 #[doc = ""]
7201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7202 pub fn get_attached_shaders(
7203 this: &WebGl2RenderingContext,
7204 program: &WebGlProgram,
7205 ) -> Option<::js_sys::Array>;
7206 #[cfg(feature = "WebGlProgram")]
7207 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttribLocation)]
7208 #[doc = "The `getAttribLocation()` method."]
7209 #[doc = ""]
7210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)"]
7211 #[doc = ""]
7212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7213 pub fn get_attrib_location(
7214 this: &WebGl2RenderingContext,
7215 program: &WebGlProgram,
7216 name: &str,
7217 ) -> i32;
7218 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferParameter)]
7219 #[doc = "The `getBufferParameter()` method."]
7220 #[doc = ""]
7221 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)"]
7222 #[doc = ""]
7223 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7224 pub fn get_buffer_parameter(
7225 this: &WebGl2RenderingContext,
7226 target: u32,
7227 pname: u32,
7228 ) -> ::wasm_bindgen::JsValue;
7229 #[cfg(feature = "WebGlContextAttributes")]
7230 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getContextAttributes)]
7231 #[doc = "The `getContextAttributes()` method."]
7232 #[doc = ""]
7233 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)"]
7234 #[doc = ""]
7235 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*"]
7236 pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>;
7237 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getError)]
7238 #[doc = "The `getError()` method."]
7239 #[doc = ""]
7240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)"]
7241 #[doc = ""]
7242 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7243 pub fn get_error(this: &WebGl2RenderingContext) -> u32;
7244 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getExtension)]
7245 #[doc = "The `getExtension()` method."]
7246 #[doc = ""]
7247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)"]
7248 #[doc = ""]
7249 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7250 pub fn get_extension(
7251 this: &WebGl2RenderingContext,
7252 name: &str,
7253 ) -> Result<Option<::js_sys::Object>, JsValue>;
7254 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getFramebufferAttachmentParameter)]
7255 #[doc = "The `getFramebufferAttachmentParameter()` method."]
7256 #[doc = ""]
7257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)"]
7258 #[doc = ""]
7259 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7260 pub fn get_framebuffer_attachment_parameter(
7261 this: &WebGl2RenderingContext,
7262 target: u32,
7263 attachment: u32,
7264 pname: u32,
7265 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
7266 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getParameter)]
7267 #[doc = "The `getParameter()` method."]
7268 #[doc = ""]
7269 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)"]
7270 #[doc = ""]
7271 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7272 pub fn get_parameter(
7273 this: &WebGl2RenderingContext,
7274 pname: u32,
7275 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
7276 #[cfg(feature = "WebGlProgram")]
7277 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramInfoLog)]
7278 #[doc = "The `getProgramInfoLog()` method."]
7279 #[doc = ""]
7280 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)"]
7281 #[doc = ""]
7282 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7283 pub fn get_program_info_log(
7284 this: &WebGl2RenderingContext,
7285 program: &WebGlProgram,
7286 ) -> Option<::alloc::string::String>;
7287 #[cfg(feature = "WebGlProgram")]
7288 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramParameter)]
7289 #[doc = "The `getProgramParameter()` method."]
7290 #[doc = ""]
7291 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)"]
7292 #[doc = ""]
7293 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7294 pub fn get_program_parameter(
7295 this: &WebGl2RenderingContext,
7296 program: &WebGlProgram,
7297 pname: u32,
7298 ) -> ::wasm_bindgen::JsValue;
7299 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getRenderbufferParameter)]
7300 #[doc = "The `getRenderbufferParameter()` method."]
7301 #[doc = ""]
7302 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)"]
7303 #[doc = ""]
7304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7305 pub fn get_renderbuffer_parameter(
7306 this: &WebGl2RenderingContext,
7307 target: u32,
7308 pname: u32,
7309 ) -> ::wasm_bindgen::JsValue;
7310 #[cfg(feature = "WebGlShader")]
7311 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderInfoLog)]
7312 #[doc = "The `getShaderInfoLog()` method."]
7313 #[doc = ""]
7314 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)"]
7315 #[doc = ""]
7316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7317 pub fn get_shader_info_log(
7318 this: &WebGl2RenderingContext,
7319 shader: &WebGlShader,
7320 ) -> Option<::alloc::string::String>;
7321 #[cfg(feature = "WebGlShader")]
7322 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderParameter)]
7323 #[doc = "The `getShaderParameter()` method."]
7324 #[doc = ""]
7325 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)"]
7326 #[doc = ""]
7327 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7328 pub fn get_shader_parameter(
7329 this: &WebGl2RenderingContext,
7330 shader: &WebGlShader,
7331 pname: u32,
7332 ) -> ::wasm_bindgen::JsValue;
7333 #[cfg(feature = "WebGlShaderPrecisionFormat")]
7334 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderPrecisionFormat)]
7335 #[doc = "The `getShaderPrecisionFormat()` method."]
7336 #[doc = ""]
7337 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)"]
7338 #[doc = ""]
7339 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*"]
7340 pub fn get_shader_precision_format(
7341 this: &WebGl2RenderingContext,
7342 shadertype: u32,
7343 precisiontype: u32,
7344 ) -> Option<WebGlShaderPrecisionFormat>;
7345 #[cfg(feature = "WebGlShader")]
7346 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderSource)]
7347 #[doc = "The `getShaderSource()` method."]
7348 #[doc = ""]
7349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)"]
7350 #[doc = ""]
7351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7352 pub fn get_shader_source(
7353 this: &WebGl2RenderingContext,
7354 shader: &WebGlShader,
7355 ) -> Option<::alloc::string::String>;
7356 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSupportedExtensions)]
7357 #[doc = "The `getSupportedExtensions()` method."]
7358 #[doc = ""]
7359 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)"]
7360 #[doc = ""]
7361 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7362 pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>;
7363 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTexParameter)]
7364 #[doc = "The `getTexParameter()` method."]
7365 #[doc = ""]
7366 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)"]
7367 #[doc = ""]
7368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7369 pub fn get_tex_parameter(
7370 this: &WebGl2RenderingContext,
7371 target: u32,
7372 pname: u32,
7373 ) -> ::wasm_bindgen::JsValue;
7374 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
7375 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniform)]
7376 #[doc = "The `getUniform()` method."]
7377 #[doc = ""]
7378 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)"]
7379 #[doc = ""]
7380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
7381 pub fn get_uniform(
7382 this: &WebGl2RenderingContext,
7383 program: &WebGlProgram,
7384 location: &WebGlUniformLocation,
7385 ) -> ::wasm_bindgen::JsValue;
7386 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
7387 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformLocation)]
7388 #[doc = "The `getUniformLocation()` method."]
7389 #[doc = ""]
7390 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)"]
7391 #[doc = ""]
7392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
7393 pub fn get_uniform_location(
7394 this: &WebGl2RenderingContext,
7395 program: &WebGlProgram,
7396 name: &str,
7397 ) -> Option<WebGlUniformLocation>;
7398 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttrib)]
7399 #[doc = "The `getVertexAttrib()` method."]
7400 #[doc = ""]
7401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)"]
7402 #[doc = ""]
7403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7404 pub fn get_vertex_attrib(
7405 this: &WebGl2RenderingContext,
7406 index: u32,
7407 pname: u32,
7408 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
7409 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttribOffset)]
7410 #[doc = "The `getVertexAttribOffset()` method."]
7411 #[doc = ""]
7412 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)"]
7413 #[doc = ""]
7414 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7415 pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64;
7416 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = hint)]
7417 #[doc = "The `hint()` method."]
7418 #[doc = ""]
7419 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)"]
7420 #[doc = ""]
7421 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7422 pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32);
7423 #[cfg(feature = "WebGlBuffer")]
7424 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isBuffer)]
7425 #[doc = "The `isBuffer()` method."]
7426 #[doc = ""]
7427 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)"]
7428 #[doc = ""]
7429 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
7430 pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
7431 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isContextLost)]
7432 #[doc = "The `isContextLost()` method."]
7433 #[doc = ""]
7434 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)"]
7435 #[doc = ""]
7436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7437 pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool;
7438 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isEnabled)]
7439 #[doc = "The `isEnabled()` method."]
7440 #[doc = ""]
7441 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)"]
7442 #[doc = ""]
7443 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7444 pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool;
7445 #[cfg(feature = "WebGlFramebuffer")]
7446 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isFramebuffer)]
7447 #[doc = "The `isFramebuffer()` method."]
7448 #[doc = ""]
7449 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)"]
7450 #[doc = ""]
7451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
7452 pub fn is_framebuffer(
7453 this: &WebGl2RenderingContext,
7454 framebuffer: Option<&WebGlFramebuffer>,
7455 ) -> bool;
7456 #[cfg(feature = "WebGlProgram")]
7457 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isProgram)]
7458 #[doc = "The `isProgram()` method."]
7459 #[doc = ""]
7460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)"]
7461 #[doc = ""]
7462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7463 pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool;
7464 #[cfg(feature = "WebGlRenderbuffer")]
7465 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isRenderbuffer)]
7466 #[doc = "The `isRenderbuffer()` method."]
7467 #[doc = ""]
7468 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)"]
7469 #[doc = ""]
7470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
7471 pub fn is_renderbuffer(
7472 this: &WebGl2RenderingContext,
7473 renderbuffer: Option<&WebGlRenderbuffer>,
7474 ) -> bool;
7475 #[cfg(feature = "WebGlShader")]
7476 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isShader)]
7477 #[doc = "The `isShader()` method."]
7478 #[doc = ""]
7479 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)"]
7480 #[doc = ""]
7481 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7482 pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool;
7483 #[cfg(feature = "WebGlTexture")]
7484 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTexture)]
7485 #[doc = "The `isTexture()` method."]
7486 #[doc = ""]
7487 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)"]
7488 #[doc = ""]
7489 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
7490 pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool;
7491 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = lineWidth)]
7492 #[doc = "The `lineWidth()` method."]
7493 #[doc = ""]
7494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)"]
7495 #[doc = ""]
7496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7497 pub fn line_width(this: &WebGl2RenderingContext, width: f32);
7498 #[cfg(feature = "WebGlProgram")]
7499 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = linkProgram)]
7500 #[doc = "The `linkProgram()` method."]
7501 #[doc = ""]
7502 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)"]
7503 #[doc = ""]
7504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7505 pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
7506 #[cfg(web_sys_unstable_apis)]
7507 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = makeXRCompatible)]
7508 #[doc = "The `makeXRCompatible()` method."]
7509 #[doc = ""]
7510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)"]
7511 #[doc = ""]
7512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7513 #[doc = ""]
7514 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
7515 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
7516 pub fn make_xr_compatible(
7517 this: &WebGl2RenderingContext,
7518 ) -> ::js_sys::Promise<::js_sys::Undefined>;
7519 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei)]
7520 #[doc = "The `pixelStorei()` method."]
7521 #[doc = ""]
7522 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)"]
7523 #[doc = ""]
7524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7525 pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32);
7526 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = polygonOffset)]
7527 #[doc = "The `polygonOffset()` method."]
7528 #[doc = ""]
7529 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)"]
7530 #[doc = ""]
7531 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7532 pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32);
7533 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorage)]
7534 #[doc = "The `renderbufferStorage()` method."]
7535 #[doc = ""]
7536 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)"]
7537 #[doc = ""]
7538 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7539 pub fn renderbuffer_storage(
7540 this: &WebGl2RenderingContext,
7541 target: u32,
7542 internalformat: u32,
7543 width: i32,
7544 height: i32,
7545 );
7546 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage)]
7547 #[doc = "The `sampleCoverage()` method."]
7548 #[doc = ""]
7549 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)"]
7550 #[doc = ""]
7551 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7552 pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool);
7553 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = scissor)]
7554 #[doc = "The `scissor()` method."]
7555 #[doc = ""]
7556 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)"]
7557 #[doc = ""]
7558 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7559 pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
7560 #[cfg(feature = "WebGlShader")]
7561 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = shaderSource)]
7562 #[doc = "The `shaderSource()` method."]
7563 #[doc = ""]
7564 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)"]
7565 #[doc = ""]
7566 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7567 pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str);
7568 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFunc)]
7569 #[doc = "The `stencilFunc()` method."]
7570 #[doc = ""]
7571 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)"]
7572 #[doc = ""]
7573 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7574 pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32);
7575 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFuncSeparate)]
7576 #[doc = "The `stencilFuncSeparate()` method."]
7577 #[doc = ""]
7578 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)"]
7579 #[doc = ""]
7580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7581 pub fn stencil_func_separate(
7582 this: &WebGl2RenderingContext,
7583 face: u32,
7584 func: u32,
7585 ref_: i32,
7586 mask: u32,
7587 );
7588 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask)]
7589 #[doc = "The `stencilMask()` method."]
7590 #[doc = ""]
7591 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)"]
7592 #[doc = ""]
7593 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7594 pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32);
7595 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMaskSeparate)]
7596 #[doc = "The `stencilMaskSeparate()` method."]
7597 #[doc = ""]
7598 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)"]
7599 #[doc = ""]
7600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7601 pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32);
7602 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOp)]
7603 #[doc = "The `stencilOp()` method."]
7604 #[doc = ""]
7605 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)"]
7606 #[doc = ""]
7607 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7608 pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32);
7609 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOpSeparate)]
7610 #[doc = "The `stencilOpSeparate()` method."]
7611 #[doc = ""]
7612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)"]
7613 #[doc = ""]
7614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7615 pub fn stencil_op_separate(
7616 this: &WebGl2RenderingContext,
7617 face: u32,
7618 fail: u32,
7619 zfail: u32,
7620 zpass: u32,
7621 );
7622 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf)]
7623 #[doc = "The `texParameterf()` method."]
7624 #[doc = ""]
7625 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)"]
7626 #[doc = ""]
7627 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7628 pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32);
7629 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameteri)]
7630 #[doc = "The `texParameteri()` method."]
7631 #[doc = ""]
7632 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)"]
7633 #[doc = ""]
7634 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7635 pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32);
7636 #[cfg(feature = "WebGlUniformLocation")]
7637 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1f)]
7638 #[doc = "The `uniform1f()` method."]
7639 #[doc = ""]
7640 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)"]
7641 #[doc = ""]
7642 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7643 pub fn uniform1f(
7644 this: &WebGl2RenderingContext,
7645 location: Option<&WebGlUniformLocation>,
7646 x: f32,
7647 );
7648 #[cfg(feature = "WebGlUniformLocation")]
7649 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i)]
7650 #[doc = "The `uniform1i()` method."]
7651 #[doc = ""]
7652 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)"]
7653 #[doc = ""]
7654 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7655 pub fn uniform1i(
7656 this: &WebGl2RenderingContext,
7657 location: Option<&WebGlUniformLocation>,
7658 x: i32,
7659 );
7660 #[cfg(feature = "WebGlUniformLocation")]
7661 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f)]
7662 #[doc = "The `uniform2f()` method."]
7663 #[doc = ""]
7664 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)"]
7665 #[doc = ""]
7666 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7667 pub fn uniform2f(
7668 this: &WebGl2RenderingContext,
7669 location: Option<&WebGlUniformLocation>,
7670 x: f32,
7671 y: f32,
7672 );
7673 #[cfg(feature = "WebGlUniformLocation")]
7674 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i)]
7675 #[doc = "The `uniform2i()` method."]
7676 #[doc = ""]
7677 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)"]
7678 #[doc = ""]
7679 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7680 pub fn uniform2i(
7681 this: &WebGl2RenderingContext,
7682 location: Option<&WebGlUniformLocation>,
7683 x: i32,
7684 y: i32,
7685 );
7686 #[cfg(feature = "WebGlUniformLocation")]
7687 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f)]
7688 #[doc = "The `uniform3f()` method."]
7689 #[doc = ""]
7690 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)"]
7691 #[doc = ""]
7692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7693 pub fn uniform3f(
7694 this: &WebGl2RenderingContext,
7695 location: Option<&WebGlUniformLocation>,
7696 x: f32,
7697 y: f32,
7698 z: f32,
7699 );
7700 #[cfg(feature = "WebGlUniformLocation")]
7701 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i)]
7702 #[doc = "The `uniform3i()` method."]
7703 #[doc = ""]
7704 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)"]
7705 #[doc = ""]
7706 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7707 pub fn uniform3i(
7708 this: &WebGl2RenderingContext,
7709 location: Option<&WebGlUniformLocation>,
7710 x: i32,
7711 y: i32,
7712 z: i32,
7713 );
7714 #[cfg(feature = "WebGlUniformLocation")]
7715 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f)]
7716 #[doc = "The `uniform4f()` method."]
7717 #[doc = ""]
7718 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)"]
7719 #[doc = ""]
7720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7721 pub fn uniform4f(
7722 this: &WebGl2RenderingContext,
7723 location: Option<&WebGlUniformLocation>,
7724 x: f32,
7725 y: f32,
7726 z: f32,
7727 w: f32,
7728 );
7729 #[cfg(feature = "WebGlUniformLocation")]
7730 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i)]
7731 #[doc = "The `uniform4i()` method."]
7732 #[doc = ""]
7733 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)"]
7734 #[doc = ""]
7735 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7736 pub fn uniform4i(
7737 this: &WebGl2RenderingContext,
7738 location: Option<&WebGlUniformLocation>,
7739 x: i32,
7740 y: i32,
7741 z: i32,
7742 w: i32,
7743 );
7744 #[cfg(feature = "WebGlProgram")]
7745 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram)]
7746 #[doc = "The `useProgram()` method."]
7747 #[doc = ""]
7748 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)"]
7749 #[doc = ""]
7750 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7751 pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
7752 #[cfg(feature = "WebGlProgram")]
7753 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = validateProgram)]
7754 #[doc = "The `validateProgram()` method."]
7755 #[doc = ""]
7756 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)"]
7757 #[doc = ""]
7758 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7759 pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
7760 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1f)]
7761 #[doc = "The `vertexAttrib1f()` method."]
7762 #[doc = ""]
7763 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)"]
7764 #[doc = ""]
7765 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7766 pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32);
7767 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
7768 #[doc = "The `vertexAttrib1fv()` method."]
7769 #[doc = ""]
7770 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
7771 #[doc = ""]
7772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7773 pub fn vertex_attrib1fv_with_f32_array(
7774 this: &WebGl2RenderingContext,
7775 indx: u32,
7776 values: &[f32],
7777 );
7778 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
7779 #[doc = "The `vertexAttrib1fv()` method."]
7780 #[doc = ""]
7781 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
7782 #[doc = ""]
7783 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7784 pub fn vertex_attrib1fv_with_js_f32_array(
7785 this: &WebGl2RenderingContext,
7786 indx: u32,
7787 values: &::js_sys::Float32Array,
7788 );
7789 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
7790 #[doc = "The `vertexAttrib1fv()` method."]
7791 #[doc = ""]
7792 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
7793 #[doc = ""]
7794 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7795 pub fn vertex_attrib1fv_with_f32_sequence(
7796 this: &WebGl2RenderingContext,
7797 indx: u32,
7798 values: &::wasm_bindgen::JsValue,
7799 );
7800 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f)]
7801 #[doc = "The `vertexAttrib2f()` method."]
7802 #[doc = ""]
7803 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)"]
7804 #[doc = ""]
7805 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7806 pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32);
7807 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
7808 #[doc = "The `vertexAttrib2fv()` method."]
7809 #[doc = ""]
7810 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
7811 #[doc = ""]
7812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7813 pub fn vertex_attrib2fv_with_f32_array(
7814 this: &WebGl2RenderingContext,
7815 indx: u32,
7816 values: &[f32],
7817 );
7818 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
7819 #[doc = "The `vertexAttrib2fv()` method."]
7820 #[doc = ""]
7821 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
7822 #[doc = ""]
7823 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7824 pub fn vertex_attrib2fv_with_js_f32_array(
7825 this: &WebGl2RenderingContext,
7826 indx: u32,
7827 values: &::js_sys::Float32Array,
7828 );
7829 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
7830 #[doc = "The `vertexAttrib2fv()` method."]
7831 #[doc = ""]
7832 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
7833 #[doc = ""]
7834 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7835 pub fn vertex_attrib2fv_with_f32_sequence(
7836 this: &WebGl2RenderingContext,
7837 indx: u32,
7838 values: &::wasm_bindgen::JsValue,
7839 );
7840 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f)]
7841 #[doc = "The `vertexAttrib3f()` method."]
7842 #[doc = ""]
7843 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)"]
7844 #[doc = ""]
7845 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7846 pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32);
7847 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
7848 #[doc = "The `vertexAttrib3fv()` method."]
7849 #[doc = ""]
7850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
7851 #[doc = ""]
7852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7853 pub fn vertex_attrib3fv_with_f32_array(
7854 this: &WebGl2RenderingContext,
7855 indx: u32,
7856 values: &[f32],
7857 );
7858 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
7859 #[doc = "The `vertexAttrib3fv()` method."]
7860 #[doc = ""]
7861 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
7862 #[doc = ""]
7863 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7864 pub fn vertex_attrib3fv_with_js_f32_array(
7865 this: &WebGl2RenderingContext,
7866 indx: u32,
7867 values: &::js_sys::Float32Array,
7868 );
7869 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
7870 #[doc = "The `vertexAttrib3fv()` method."]
7871 #[doc = ""]
7872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
7873 #[doc = ""]
7874 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7875 pub fn vertex_attrib3fv_with_f32_sequence(
7876 this: &WebGl2RenderingContext,
7877 indx: u32,
7878 values: &::wasm_bindgen::JsValue,
7879 );
7880 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f)]
7881 #[doc = "The `vertexAttrib4f()` method."]
7882 #[doc = ""]
7883 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)"]
7884 #[doc = ""]
7885 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7886 pub fn vertex_attrib4f(
7887 this: &WebGl2RenderingContext,
7888 indx: u32,
7889 x: f32,
7890 y: f32,
7891 z: f32,
7892 w: f32,
7893 );
7894 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
7895 #[doc = "The `vertexAttrib4fv()` method."]
7896 #[doc = ""]
7897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
7898 #[doc = ""]
7899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7900 pub fn vertex_attrib4fv_with_f32_array(
7901 this: &WebGl2RenderingContext,
7902 indx: u32,
7903 values: &[f32],
7904 );
7905 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
7906 #[doc = "The `vertexAttrib4fv()` method."]
7907 #[doc = ""]
7908 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
7909 #[doc = ""]
7910 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7911 pub fn vertex_attrib4fv_with_js_f32_array(
7912 this: &WebGl2RenderingContext,
7913 indx: u32,
7914 values: &::js_sys::Float32Array,
7915 );
7916 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
7917 #[doc = "The `vertexAttrib4fv()` method."]
7918 #[doc = ""]
7919 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
7920 #[doc = ""]
7921 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7922 pub fn vertex_attrib4fv_with_f32_sequence(
7923 this: &WebGl2RenderingContext,
7924 indx: u32,
7925 values: &::wasm_bindgen::JsValue,
7926 );
7927 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
7928 #[doc = "The `vertexAttribPointer()` method."]
7929 #[doc = ""]
7930 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
7931 #[doc = ""]
7932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7933 pub fn vertex_attrib_pointer_with_i32(
7934 this: &WebGl2RenderingContext,
7935 indx: u32,
7936 size: i32,
7937 type_: u32,
7938 normalized: bool,
7939 stride: i32,
7940 offset: i32,
7941 );
7942 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
7943 #[doc = "The `vertexAttribPointer()` method."]
7944 #[doc = ""]
7945 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
7946 #[doc = ""]
7947 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7948 pub fn vertex_attrib_pointer_with_f64(
7949 this: &WebGl2RenderingContext,
7950 indx: u32,
7951 size: i32,
7952 type_: u32,
7953 normalized: bool,
7954 stride: i32,
7955 offset: f64,
7956 );
7957 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport)]
7958 #[doc = "The `viewport()` method."]
7959 #[doc = ""]
7960 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)"]
7961 #[doc = ""]
7962 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7963 pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
7964}
7965impl WebGl2RenderingContext {
7966 #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const."]
7967 #[doc = ""]
7968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7969 pub const READ_BUFFER: u32 = 3074u64 as u32;
7970 #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const."]
7971 #[doc = ""]
7972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7973 pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32;
7974 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const."]
7975 #[doc = ""]
7976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7977 pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32;
7978 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const."]
7979 #[doc = ""]
7980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7981 pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32;
7982 #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const."]
7983 #[doc = ""]
7984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7985 pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32;
7986 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const."]
7987 #[doc = ""]
7988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7989 pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32;
7990 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const."]
7991 #[doc = ""]
7992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7993 pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32;
7994 #[doc = "The `WebGL2RenderingContext.COLOR` const."]
7995 #[doc = ""]
7996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7997 pub const COLOR: u32 = 6144u64 as u32;
7998 #[doc = "The `WebGL2RenderingContext.DEPTH` const."]
7999 #[doc = ""]
8000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8001 pub const DEPTH: u32 = 6145u64 as u32;
8002 #[doc = "The `WebGL2RenderingContext.STENCIL` const."]
8003 #[doc = ""]
8004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8005 pub const STENCIL: u32 = 6146u64 as u32;
8006 #[doc = "The `WebGL2RenderingContext.RED` const."]
8007 #[doc = ""]
8008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8009 pub const RED: u32 = 6403u64 as u32;
8010 #[doc = "The `WebGL2RenderingContext.RGB8` const."]
8011 #[doc = ""]
8012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8013 pub const RGB8: u32 = 32849u64 as u32;
8014 #[doc = "The `WebGL2RenderingContext.RGBA8` const."]
8015 #[doc = ""]
8016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8017 pub const RGBA8: u32 = 32856u64 as u32;
8018 #[doc = "The `WebGL2RenderingContext.RGB10_A2` const."]
8019 #[doc = ""]
8020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8021 pub const RGB10_A2: u32 = 32857u64 as u32;
8022 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const."]
8023 #[doc = ""]
8024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8025 pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32;
8026 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const."]
8027 #[doc = ""]
8028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8029 pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32;
8030 #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const."]
8031 #[doc = ""]
8032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8033 pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32;
8034 #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const."]
8035 #[doc = ""]
8036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8037 pub const TEXTURE_3D: u32 = 32879u64 as u32;
8038 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const."]
8039 #[doc = ""]
8040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8041 pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32;
8042 #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const."]
8043 #[doc = ""]
8044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8045 pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32;
8046 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const."]
8047 #[doc = ""]
8048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8049 pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32;
8050 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const."]
8051 #[doc = ""]
8052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8053 pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32;
8054 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const."]
8055 #[doc = ""]
8056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8057 pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32;
8058 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const."]
8059 #[doc = ""]
8060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8061 pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32;
8062 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const."]
8063 #[doc = ""]
8064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8065 pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32;
8066 #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const."]
8067 #[doc = ""]
8068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8069 pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32;
8070 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const."]
8071 #[doc = ""]
8072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8073 pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32;
8074 #[doc = "The `WebGL2RenderingContext.MIN` const."]
8075 #[doc = ""]
8076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8077 pub const MIN: u32 = 32775u64 as u32;
8078 #[doc = "The `WebGL2RenderingContext.MAX` const."]
8079 #[doc = ""]
8080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8081 pub const MAX: u32 = 32776u64 as u32;
8082 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const."]
8083 #[doc = ""]
8084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8085 pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32;
8086 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const."]
8087 #[doc = ""]
8088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8089 pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32;
8090 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const."]
8091 #[doc = ""]
8092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8093 pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32;
8094 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const."]
8095 #[doc = ""]
8096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8097 pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32;
8098 #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const."]
8099 #[doc = ""]
8100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8101 pub const CURRENT_QUERY: u32 = 34917u64 as u32;
8102 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const."]
8103 #[doc = ""]
8104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8105 pub const QUERY_RESULT: u32 = 34918u64 as u32;
8106 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const."]
8107 #[doc = ""]
8108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8109 pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32;
8110 #[doc = "The `WebGL2RenderingContext.STREAM_READ` const."]
8111 #[doc = ""]
8112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8113 pub const STREAM_READ: u32 = 35041u64 as u32;
8114 #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const."]
8115 #[doc = ""]
8116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8117 pub const STREAM_COPY: u32 = 35042u64 as u32;
8118 #[doc = "The `WebGL2RenderingContext.STATIC_READ` const."]
8119 #[doc = ""]
8120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8121 pub const STATIC_READ: u32 = 35045u64 as u32;
8122 #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const."]
8123 #[doc = ""]
8124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8125 pub const STATIC_COPY: u32 = 35046u64 as u32;
8126 #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const."]
8127 #[doc = ""]
8128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8129 pub const DYNAMIC_READ: u32 = 35049u64 as u32;
8130 #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const."]
8131 #[doc = ""]
8132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8133 pub const DYNAMIC_COPY: u32 = 35050u64 as u32;
8134 #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const."]
8135 #[doc = ""]
8136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8137 pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32;
8138 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const."]
8139 #[doc = ""]
8140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8141 pub const DRAW_BUFFER0: u32 = 34853u64 as u32;
8142 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const."]
8143 #[doc = ""]
8144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8145 pub const DRAW_BUFFER1: u32 = 34854u64 as u32;
8146 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const."]
8147 #[doc = ""]
8148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8149 pub const DRAW_BUFFER2: u32 = 34855u64 as u32;
8150 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const."]
8151 #[doc = ""]
8152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8153 pub const DRAW_BUFFER3: u32 = 34856u64 as u32;
8154 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const."]
8155 #[doc = ""]
8156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8157 pub const DRAW_BUFFER4: u32 = 34857u64 as u32;
8158 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const."]
8159 #[doc = ""]
8160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8161 pub const DRAW_BUFFER5: u32 = 34858u64 as u32;
8162 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const."]
8163 #[doc = ""]
8164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8165 pub const DRAW_BUFFER6: u32 = 34859u64 as u32;
8166 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const."]
8167 #[doc = ""]
8168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8169 pub const DRAW_BUFFER7: u32 = 34860u64 as u32;
8170 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const."]
8171 #[doc = ""]
8172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8173 pub const DRAW_BUFFER8: u32 = 34861u64 as u32;
8174 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const."]
8175 #[doc = ""]
8176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8177 pub const DRAW_BUFFER9: u32 = 34862u64 as u32;
8178 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const."]
8179 #[doc = ""]
8180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8181 pub const DRAW_BUFFER10: u32 = 34863u64 as u32;
8182 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const."]
8183 #[doc = ""]
8184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8185 pub const DRAW_BUFFER11: u32 = 34864u64 as u32;
8186 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const."]
8187 #[doc = ""]
8188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8189 pub const DRAW_BUFFER12: u32 = 34865u64 as u32;
8190 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const."]
8191 #[doc = ""]
8192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8193 pub const DRAW_BUFFER13: u32 = 34866u64 as u32;
8194 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const."]
8195 #[doc = ""]
8196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8197 pub const DRAW_BUFFER14: u32 = 34867u64 as u32;
8198 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const."]
8199 #[doc = ""]
8200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8201 pub const DRAW_BUFFER15: u32 = 34868u64 as u32;
8202 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const."]
8203 #[doc = ""]
8204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8205 pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32;
8206 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const."]
8207 #[doc = ""]
8208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8209 pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32;
8210 #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const."]
8211 #[doc = ""]
8212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8213 pub const SAMPLER_3D: u32 = 35679u64 as u32;
8214 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const."]
8215 #[doc = ""]
8216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8217 pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32;
8218 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const."]
8219 #[doc = ""]
8220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8221 pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32;
8222 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const."]
8223 #[doc = ""]
8224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8225 pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32;
8226 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const."]
8227 #[doc = ""]
8228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8229 pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32;
8230 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const."]
8231 #[doc = ""]
8232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8233 pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32;
8234 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const."]
8235 #[doc = ""]
8236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8237 pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32;
8238 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const."]
8239 #[doc = ""]
8240 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8241 pub const FLOAT_MAT2X3: u32 = 35685u64 as u32;
8242 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const."]
8243 #[doc = ""]
8244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8245 pub const FLOAT_MAT2X4: u32 = 35686u64 as u32;
8246 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const."]
8247 #[doc = ""]
8248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8249 pub const FLOAT_MAT3X2: u32 = 35687u64 as u32;
8250 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const."]
8251 #[doc = ""]
8252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8253 pub const FLOAT_MAT3X4: u32 = 35688u64 as u32;
8254 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const."]
8255 #[doc = ""]
8256 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8257 pub const FLOAT_MAT4X2: u32 = 35689u64 as u32;
8258 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const."]
8259 #[doc = ""]
8260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8261 pub const FLOAT_MAT4X3: u32 = 35690u64 as u32;
8262 #[doc = "The `WebGL2RenderingContext.SRGB` const."]
8263 #[doc = ""]
8264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8265 pub const SRGB: u32 = 35904u64 as u32;
8266 #[doc = "The `WebGL2RenderingContext.SRGB8` const."]
8267 #[doc = ""]
8268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8269 pub const SRGB8: u32 = 35905u64 as u32;
8270 #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const."]
8271 #[doc = ""]
8272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8273 pub const SRGB8_ALPHA8: u32 = 35907u64 as u32;
8274 #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const."]
8275 #[doc = ""]
8276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8277 pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32;
8278 #[doc = "The `WebGL2RenderingContext.RGBA32F` const."]
8279 #[doc = ""]
8280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8281 pub const RGBA32F: u32 = 34836u64 as u32;
8282 #[doc = "The `WebGL2RenderingContext.RGB32F` const."]
8283 #[doc = ""]
8284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8285 pub const RGB32F: u32 = 34837u64 as u32;
8286 #[doc = "The `WebGL2RenderingContext.RGBA16F` const."]
8287 #[doc = ""]
8288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8289 pub const RGBA16F: u32 = 34842u64 as u32;
8290 #[doc = "The `WebGL2RenderingContext.RGB16F` const."]
8291 #[doc = ""]
8292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8293 pub const RGB16F: u32 = 34843u64 as u32;
8294 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const."]
8295 #[doc = ""]
8296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8297 pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32;
8298 #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const."]
8299 #[doc = ""]
8300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8301 pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32;
8302 #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const."]
8303 #[doc = ""]
8304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8305 pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32;
8306 #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const."]
8307 #[doc = ""]
8308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8309 pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32;
8310 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const."]
8311 #[doc = ""]
8312 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8313 pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32;
8314 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const."]
8315 #[doc = ""]
8316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8317 pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32;
8318 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const."]
8319 #[doc = ""]
8320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8321 pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32;
8322 #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const."]
8323 #[doc = ""]
8324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8325 pub const R11F_G11F_B10F: u32 = 35898u64 as u32;
8326 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const."]
8327 #[doc = ""]
8328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8329 pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32;
8330 #[doc = "The `WebGL2RenderingContext.RGB9_E5` const."]
8331 #[doc = ""]
8332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8333 pub const RGB9_E5: u32 = 35901u64 as u32;
8334 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const."]
8335 #[doc = ""]
8336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8337 pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32;
8338 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const."]
8339 #[doc = ""]
8340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8341 pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32;
8342 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const."]
8343 #[doc = ""]
8344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8345 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32;
8346 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const."]
8347 #[doc = ""]
8348 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8349 pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32;
8350 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const."]
8351 #[doc = ""]
8352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8353 pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32;
8354 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const."]
8355 #[doc = ""]
8356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8357 pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32;
8358 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const."]
8359 #[doc = ""]
8360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8361 pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32;
8362 #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const."]
8363 #[doc = ""]
8364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8365 pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32;
8366 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const."]
8367 #[doc = ""]
8368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8369 pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32;
8370 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const."]
8371 #[doc = ""]
8372 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8373 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32;
8374 #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const."]
8375 #[doc = ""]
8376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8377 pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32;
8378 #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const."]
8379 #[doc = ""]
8380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8381 pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32;
8382 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const."]
8383 #[doc = ""]
8384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8385 pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32;
8386 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const."]
8387 #[doc = ""]
8388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8389 pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32;
8390 #[doc = "The `WebGL2RenderingContext.RGBA32UI` const."]
8391 #[doc = ""]
8392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8393 pub const RGBA32UI: u32 = 36208u64 as u32;
8394 #[doc = "The `WebGL2RenderingContext.RGB32UI` const."]
8395 #[doc = ""]
8396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8397 pub const RGB32UI: u32 = 36209u64 as u32;
8398 #[doc = "The `WebGL2RenderingContext.RGBA16UI` const."]
8399 #[doc = ""]
8400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8401 pub const RGBA16UI: u32 = 36214u64 as u32;
8402 #[doc = "The `WebGL2RenderingContext.RGB16UI` const."]
8403 #[doc = ""]
8404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8405 pub const RGB16UI: u32 = 36215u64 as u32;
8406 #[doc = "The `WebGL2RenderingContext.RGBA8UI` const."]
8407 #[doc = ""]
8408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8409 pub const RGBA8UI: u32 = 36220u64 as u32;
8410 #[doc = "The `WebGL2RenderingContext.RGB8UI` const."]
8411 #[doc = ""]
8412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8413 pub const RGB8UI: u32 = 36221u64 as u32;
8414 #[doc = "The `WebGL2RenderingContext.RGBA32I` const."]
8415 #[doc = ""]
8416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8417 pub const RGBA32I: u32 = 36226u64 as u32;
8418 #[doc = "The `WebGL2RenderingContext.RGB32I` const."]
8419 #[doc = ""]
8420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8421 pub const RGB32I: u32 = 36227u64 as u32;
8422 #[doc = "The `WebGL2RenderingContext.RGBA16I` const."]
8423 #[doc = ""]
8424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8425 pub const RGBA16I: u32 = 36232u64 as u32;
8426 #[doc = "The `WebGL2RenderingContext.RGB16I` const."]
8427 #[doc = ""]
8428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8429 pub const RGB16I: u32 = 36233u64 as u32;
8430 #[doc = "The `WebGL2RenderingContext.RGBA8I` const."]
8431 #[doc = ""]
8432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8433 pub const RGBA8I: u32 = 36238u64 as u32;
8434 #[doc = "The `WebGL2RenderingContext.RGB8I` const."]
8435 #[doc = ""]
8436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8437 pub const RGB8I: u32 = 36239u64 as u32;
8438 #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const."]
8439 #[doc = ""]
8440 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8441 pub const RED_INTEGER: u32 = 36244u64 as u32;
8442 #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const."]
8443 #[doc = ""]
8444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8445 pub const RGB_INTEGER: u32 = 36248u64 as u32;
8446 #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const."]
8447 #[doc = ""]
8448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8449 pub const RGBA_INTEGER: u32 = 36249u64 as u32;
8450 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const."]
8451 #[doc = ""]
8452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8453 pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32;
8454 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const."]
8455 #[doc = ""]
8456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8457 pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32;
8458 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const."]
8459 #[doc = ""]
8460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8461 pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32;
8462 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const."]
8463 #[doc = ""]
8464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8465 pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32;
8466 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const."]
8467 #[doc = ""]
8468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8469 pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32;
8470 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const."]
8471 #[doc = ""]
8472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8473 pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32;
8474 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const."]
8475 #[doc = ""]
8476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8477 pub const INT_SAMPLER_2D: u32 = 36298u64 as u32;
8478 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const."]
8479 #[doc = ""]
8480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8481 pub const INT_SAMPLER_3D: u32 = 36299u64 as u32;
8482 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const."]
8483 #[doc = ""]
8484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8485 pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32;
8486 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const."]
8487 #[doc = ""]
8488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8489 pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32;
8490 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const."]
8491 #[doc = ""]
8492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8493 pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32;
8494 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const."]
8495 #[doc = ""]
8496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8497 pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32;
8498 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const."]
8499 #[doc = ""]
8500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8501 pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32;
8502 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const."]
8503 #[doc = ""]
8504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8505 pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32;
8506 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const."]
8507 #[doc = ""]
8508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8509 pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32;
8510 #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const."]
8511 #[doc = ""]
8512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8513 pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32;
8514 #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const."]
8515 #[doc = ""]
8516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8517 pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32;
8518 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const."]
8519 #[doc = ""]
8520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8521 pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32;
8522 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const."]
8523 #[doc = ""]
8524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8525 pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32;
8526 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const."]
8527 #[doc = ""]
8528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8529 pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32;
8530 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const."]
8531 #[doc = ""]
8532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8533 pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32;
8534 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const."]
8535 #[doc = ""]
8536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8537 pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32;
8538 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const."]
8539 #[doc = ""]
8540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8541 pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32;
8542 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const."]
8543 #[doc = ""]
8544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8545 pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32;
8546 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const."]
8547 #[doc = ""]
8548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8549 pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32;
8550 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const."]
8551 #[doc = ""]
8552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8553 pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32;
8554 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const."]
8555 #[doc = ""]
8556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8557 pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32;
8558 #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const."]
8559 #[doc = ""]
8560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8561 pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32;
8562 #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const."]
8563 #[doc = ""]
8564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8565 pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32;
8566 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const."]
8567 #[doc = ""]
8568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8569 pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
8570 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const."]
8571 #[doc = ""]
8572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8573 pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32;
8574 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const."]
8575 #[doc = ""]
8576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8577 pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32;
8578 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const."]
8579 #[doc = ""]
8580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8581 pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32;
8582 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const."]
8583 #[doc = ""]
8584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8585 pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32;
8586 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const."]
8587 #[doc = ""]
8588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8589 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32;
8590 #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const."]
8591 #[doc = ""]
8592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8593 pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32;
8594 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const."]
8595 #[doc = ""]
8596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8597 pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32;
8598 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const."]
8599 #[doc = ""]
8600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8601 pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32;
8602 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const."]
8603 #[doc = ""]
8604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8605 pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32;
8606 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const."]
8607 #[doc = ""]
8608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8609 pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32;
8610 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const."]
8611 #[doc = ""]
8612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8613 pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32;
8614 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const."]
8615 #[doc = ""]
8616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8617 pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32;
8618 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const."]
8619 #[doc = ""]
8620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8621 pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32;
8622 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const."]
8623 #[doc = ""]
8624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8625 pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32;
8626 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const."]
8627 #[doc = ""]
8628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8629 pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32;
8630 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const."]
8631 #[doc = ""]
8632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8633 pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32;
8634 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const."]
8635 #[doc = ""]
8636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8637 pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32;
8638 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const."]
8639 #[doc = ""]
8640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8641 pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32;
8642 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const."]
8643 #[doc = ""]
8644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8645 pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32;
8646 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const."]
8647 #[doc = ""]
8648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8649 pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32;
8650 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const."]
8651 #[doc = ""]
8652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8653 pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32;
8654 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const."]
8655 #[doc = ""]
8656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8657 pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32;
8658 #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const."]
8659 #[doc = ""]
8660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8661 pub const MAX_SAMPLES: u32 = 36183u64 as u32;
8662 #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const."]
8663 #[doc = ""]
8664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8665 pub const HALF_FLOAT: u32 = 5131u64 as u32;
8666 #[doc = "The `WebGL2RenderingContext.RG` const."]
8667 #[doc = ""]
8668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8669 pub const RG: u32 = 33319u64 as u32;
8670 #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const."]
8671 #[doc = ""]
8672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8673 pub const RG_INTEGER: u32 = 33320u64 as u32;
8674 #[doc = "The `WebGL2RenderingContext.R8` const."]
8675 #[doc = ""]
8676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8677 pub const R8: u32 = 33321u64 as u32;
8678 #[doc = "The `WebGL2RenderingContext.RG8` const."]
8679 #[doc = ""]
8680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8681 pub const RG8: u32 = 33323u64 as u32;
8682 #[doc = "The `WebGL2RenderingContext.R16F` const."]
8683 #[doc = ""]
8684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8685 pub const R16F: u32 = 33325u64 as u32;
8686 #[doc = "The `WebGL2RenderingContext.R32F` const."]
8687 #[doc = ""]
8688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8689 pub const R32F: u32 = 33326u64 as u32;
8690 #[doc = "The `WebGL2RenderingContext.RG16F` const."]
8691 #[doc = ""]
8692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8693 pub const RG16F: u32 = 33327u64 as u32;
8694 #[doc = "The `WebGL2RenderingContext.RG32F` const."]
8695 #[doc = ""]
8696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8697 pub const RG32F: u32 = 33328u64 as u32;
8698 #[doc = "The `WebGL2RenderingContext.R8I` const."]
8699 #[doc = ""]
8700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8701 pub const R8I: u32 = 33329u64 as u32;
8702 #[doc = "The `WebGL2RenderingContext.R8UI` const."]
8703 #[doc = ""]
8704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8705 pub const R8UI: u32 = 33330u64 as u32;
8706 #[doc = "The `WebGL2RenderingContext.R16I` const."]
8707 #[doc = ""]
8708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8709 pub const R16I: u32 = 33331u64 as u32;
8710 #[doc = "The `WebGL2RenderingContext.R16UI` const."]
8711 #[doc = ""]
8712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8713 pub const R16UI: u32 = 33332u64 as u32;
8714 #[doc = "The `WebGL2RenderingContext.R32I` const."]
8715 #[doc = ""]
8716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8717 pub const R32I: u32 = 33333u64 as u32;
8718 #[doc = "The `WebGL2RenderingContext.R32UI` const."]
8719 #[doc = ""]
8720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8721 pub const R32UI: u32 = 33334u64 as u32;
8722 #[doc = "The `WebGL2RenderingContext.RG8I` const."]
8723 #[doc = ""]
8724 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8725 pub const RG8I: u32 = 33335u64 as u32;
8726 #[doc = "The `WebGL2RenderingContext.RG8UI` const."]
8727 #[doc = ""]
8728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8729 pub const RG8UI: u32 = 33336u64 as u32;
8730 #[doc = "The `WebGL2RenderingContext.RG16I` const."]
8731 #[doc = ""]
8732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8733 pub const RG16I: u32 = 33337u64 as u32;
8734 #[doc = "The `WebGL2RenderingContext.RG16UI` const."]
8735 #[doc = ""]
8736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8737 pub const RG16UI: u32 = 33338u64 as u32;
8738 #[doc = "The `WebGL2RenderingContext.RG32I` const."]
8739 #[doc = ""]
8740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8741 pub const RG32I: u32 = 33339u64 as u32;
8742 #[doc = "The `WebGL2RenderingContext.RG32UI` const."]
8743 #[doc = ""]
8744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8745 pub const RG32UI: u32 = 33340u64 as u32;
8746 #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const."]
8747 #[doc = ""]
8748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8749 pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32;
8750 #[doc = "The `WebGL2RenderingContext.R8_SNORM` const."]
8751 #[doc = ""]
8752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8753 pub const R8_SNORM: u32 = 36756u64 as u32;
8754 #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const."]
8755 #[doc = ""]
8756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8757 pub const RG8_SNORM: u32 = 36757u64 as u32;
8758 #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const."]
8759 #[doc = ""]
8760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8761 pub const RGB8_SNORM: u32 = 36758u64 as u32;
8762 #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const."]
8763 #[doc = ""]
8764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8765 pub const RGBA8_SNORM: u32 = 36759u64 as u32;
8766 #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const."]
8767 #[doc = ""]
8768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8769 pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32;
8770 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const."]
8771 #[doc = ""]
8772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8773 pub const COPY_READ_BUFFER: u32 = 36662u64 as u32;
8774 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const."]
8775 #[doc = ""]
8776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8777 pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32;
8778 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const."]
8779 #[doc = ""]
8780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8781 pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32;
8782 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const."]
8783 #[doc = ""]
8784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8785 pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32;
8786 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const."]
8787 #[doc = ""]
8788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8789 pub const UNIFORM_BUFFER: u32 = 35345u64 as u32;
8790 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const."]
8791 #[doc = ""]
8792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8793 pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32;
8794 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const."]
8795 #[doc = ""]
8796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8797 pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32;
8798 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const."]
8799 #[doc = ""]
8800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8801 pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32;
8802 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const."]
8803 #[doc = ""]
8804 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8805 pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32;
8806 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const."]
8807 #[doc = ""]
8808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8809 pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32;
8810 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const."]
8811 #[doc = ""]
8812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8813 pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32;
8814 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const."]
8815 #[doc = ""]
8816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8817 pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32;
8818 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const."]
8819 #[doc = ""]
8820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8821 pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32;
8822 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const."]
8823 #[doc = ""]
8824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8825 pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32;
8826 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const."]
8827 #[doc = ""]
8828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8829 pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32;
8830 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const."]
8831 #[doc = ""]
8832 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8833 pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32;
8834 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const."]
8835 #[doc = ""]
8836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8837 pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32;
8838 #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const."]
8839 #[doc = ""]
8840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8841 pub const UNIFORM_TYPE: u32 = 35383u64 as u32;
8842 #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const."]
8843 #[doc = ""]
8844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8845 pub const UNIFORM_SIZE: u32 = 35384u64 as u32;
8846 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const."]
8847 #[doc = ""]
8848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8849 pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32;
8850 #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const."]
8851 #[doc = ""]
8852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8853 pub const UNIFORM_OFFSET: u32 = 35387u64 as u32;
8854 #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const."]
8855 #[doc = ""]
8856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8857 pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32;
8858 #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const."]
8859 #[doc = ""]
8860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8861 pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32;
8862 #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const."]
8863 #[doc = ""]
8864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8865 pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32;
8866 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const."]
8867 #[doc = ""]
8868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8869 pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32;
8870 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const."]
8871 #[doc = ""]
8872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8873 pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32;
8874 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const."]
8875 #[doc = ""]
8876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8877 pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32;
8878 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const."]
8879 #[doc = ""]
8880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8881 pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32;
8882 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const."]
8883 #[doc = ""]
8884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8885 pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32;
8886 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const."]
8887 #[doc = ""]
8888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8889 pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32;
8890 #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const."]
8891 #[doc = ""]
8892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8893 pub const INVALID_INDEX: u32 = 4294967295u64 as u32;
8894 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const."]
8895 #[doc = ""]
8896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8897 pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32;
8898 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const."]
8899 #[doc = ""]
8900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8901 pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32;
8902 #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const."]
8903 #[doc = ""]
8904 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8905 pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32;
8906 #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const."]
8907 #[doc = ""]
8908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8909 pub const OBJECT_TYPE: u32 = 37138u64 as u32;
8910 #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const."]
8911 #[doc = ""]
8912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8913 pub const SYNC_CONDITION: u32 = 37139u64 as u32;
8914 #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const."]
8915 #[doc = ""]
8916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8917 pub const SYNC_STATUS: u32 = 37140u64 as u32;
8918 #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const."]
8919 #[doc = ""]
8920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8921 pub const SYNC_FLAGS: u32 = 37141u64 as u32;
8922 #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const."]
8923 #[doc = ""]
8924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8925 pub const SYNC_FENCE: u32 = 37142u64 as u32;
8926 #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const."]
8927 #[doc = ""]
8928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8929 pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32;
8930 #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const."]
8931 #[doc = ""]
8932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8933 pub const UNSIGNALED: u32 = 37144u64 as u32;
8934 #[doc = "The `WebGL2RenderingContext.SIGNALED` const."]
8935 #[doc = ""]
8936 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8937 pub const SIGNALED: u32 = 37145u64 as u32;
8938 #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const."]
8939 #[doc = ""]
8940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8941 pub const ALREADY_SIGNALED: u32 = 37146u64 as u32;
8942 #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const."]
8943 #[doc = ""]
8944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8945 pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32;
8946 #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const."]
8947 #[doc = ""]
8948 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8949 pub const CONDITION_SATISFIED: u32 = 37148u64 as u32;
8950 #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const."]
8951 #[doc = ""]
8952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8953 pub const WAIT_FAILED: u32 = 37149u64 as u32;
8954 #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const."]
8955 #[doc = ""]
8956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8957 pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32;
8958 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const."]
8959 #[doc = ""]
8960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8961 pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32;
8962 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const."]
8963 #[doc = ""]
8964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8965 pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32;
8966 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const."]
8967 #[doc = ""]
8968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8969 pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32;
8970 #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const."]
8971 #[doc = ""]
8972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8973 pub const SAMPLER_BINDING: u32 = 35097u64 as u32;
8974 #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const."]
8975 #[doc = ""]
8976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8977 pub const RGB10_A2UI: u32 = 36975u64 as u32;
8978 #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const."]
8979 #[doc = ""]
8980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8981 pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32;
8982 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const."]
8983 #[doc = ""]
8984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8985 pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32;
8986 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const."]
8987 #[doc = ""]
8988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8989 pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32;
8990 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const."]
8991 #[doc = ""]
8992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8993 pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32;
8994 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const."]
8995 #[doc = ""]
8996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8997 pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32;
8998 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const."]
8999 #[doc = ""]
9000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9001 pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32;
9002 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const."]
9003 #[doc = ""]
9004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9005 pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32;
9006 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const."]
9007 #[doc = ""]
9008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9009 pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32;
9010 #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const."]
9011 #[doc = ""]
9012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9013 pub const TIMEOUT_IGNORED: f64 = -1i64 as f64;
9014 #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const."]
9015 #[doc = ""]
9016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9017 pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32;
9018 #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const."]
9019 #[doc = ""]
9020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9021 pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
9022 #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const."]
9023 #[doc = ""]
9024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9025 pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
9026 #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const."]
9027 #[doc = ""]
9028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9029 pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
9030 #[doc = "The `WebGL2RenderingContext.POINTS` const."]
9031 #[doc = ""]
9032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9033 pub const POINTS: u32 = 0u64 as u32;
9034 #[doc = "The `WebGL2RenderingContext.LINES` const."]
9035 #[doc = ""]
9036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9037 pub const LINES: u32 = 1u64 as u32;
9038 #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const."]
9039 #[doc = ""]
9040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9041 pub const LINE_LOOP: u32 = 2u64 as u32;
9042 #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const."]
9043 #[doc = ""]
9044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9045 pub const LINE_STRIP: u32 = 3u64 as u32;
9046 #[doc = "The `WebGL2RenderingContext.TRIANGLES` const."]
9047 #[doc = ""]
9048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9049 pub const TRIANGLES: u32 = 4u64 as u32;
9050 #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const."]
9051 #[doc = ""]
9052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9053 pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
9054 #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const."]
9055 #[doc = ""]
9056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9057 pub const TRIANGLE_FAN: u32 = 6u64 as u32;
9058 #[doc = "The `WebGL2RenderingContext.ZERO` const."]
9059 #[doc = ""]
9060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9061 pub const ZERO: u32 = 0i64 as u32;
9062 #[doc = "The `WebGL2RenderingContext.ONE` const."]
9063 #[doc = ""]
9064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9065 pub const ONE: u32 = 1u64 as u32;
9066 #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const."]
9067 #[doc = ""]
9068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9069 pub const SRC_COLOR: u32 = 768u64 as u32;
9070 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const."]
9071 #[doc = ""]
9072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9073 pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
9074 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const."]
9075 #[doc = ""]
9076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9077 pub const SRC_ALPHA: u32 = 770u64 as u32;
9078 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const."]
9079 #[doc = ""]
9080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9081 pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
9082 #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const."]
9083 #[doc = ""]
9084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9085 pub const DST_ALPHA: u32 = 772u64 as u32;
9086 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const."]
9087 #[doc = ""]
9088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9089 pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
9090 #[doc = "The `WebGL2RenderingContext.DST_COLOR` const."]
9091 #[doc = ""]
9092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9093 pub const DST_COLOR: u32 = 774u64 as u32;
9094 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const."]
9095 #[doc = ""]
9096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9097 pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
9098 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const."]
9099 #[doc = ""]
9100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9101 pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
9102 #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const."]
9103 #[doc = ""]
9104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9105 pub const FUNC_ADD: u32 = 32774u64 as u32;
9106 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const."]
9107 #[doc = ""]
9108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9109 pub const BLEND_EQUATION: u32 = 32777u64 as u32;
9110 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const."]
9111 #[doc = ""]
9112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9113 pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
9114 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const."]
9115 #[doc = ""]
9116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9117 pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
9118 #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const."]
9119 #[doc = ""]
9120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9121 pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
9122 #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const."]
9123 #[doc = ""]
9124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9125 pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
9126 #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const."]
9127 #[doc = ""]
9128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9129 pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
9130 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const."]
9131 #[doc = ""]
9132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9133 pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
9134 #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const."]
9135 #[doc = ""]
9136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9137 pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
9138 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const."]
9139 #[doc = ""]
9140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9141 pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
9142 #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const."]
9143 #[doc = ""]
9144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9145 pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
9146 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
9147 #[doc = ""]
9148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9149 pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
9150 #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const."]
9151 #[doc = ""]
9152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9153 pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
9154 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
9155 #[doc = ""]
9156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9157 pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
9158 #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const."]
9159 #[doc = ""]
9160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9161 pub const BLEND_COLOR: u32 = 32773u64 as u32;
9162 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const."]
9163 #[doc = ""]
9164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9165 pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
9166 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const."]
9167 #[doc = ""]
9168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9169 pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
9170 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const."]
9171 #[doc = ""]
9172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9173 pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
9174 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
9175 #[doc = ""]
9176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9177 pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
9178 #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const."]
9179 #[doc = ""]
9180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9181 pub const STREAM_DRAW: u32 = 35040u64 as u32;
9182 #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const."]
9183 #[doc = ""]
9184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9185 pub const STATIC_DRAW: u32 = 35044u64 as u32;
9186 #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const."]
9187 #[doc = ""]
9188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9189 pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
9190 #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const."]
9191 #[doc = ""]
9192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9193 pub const BUFFER_SIZE: u32 = 34660u64 as u32;
9194 #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const."]
9195 #[doc = ""]
9196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9197 pub const BUFFER_USAGE: u32 = 34661u64 as u32;
9198 #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const."]
9199 #[doc = ""]
9200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9201 pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
9202 #[doc = "The `WebGL2RenderingContext.FRONT` const."]
9203 #[doc = ""]
9204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9205 pub const FRONT: u32 = 1028u64 as u32;
9206 #[doc = "The `WebGL2RenderingContext.BACK` const."]
9207 #[doc = ""]
9208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9209 pub const BACK: u32 = 1029u64 as u32;
9210 #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const."]
9211 #[doc = ""]
9212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9213 pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
9214 #[doc = "The `WebGL2RenderingContext.CULL_FACE` const."]
9215 #[doc = ""]
9216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9217 pub const CULL_FACE: u32 = 2884u64 as u32;
9218 #[doc = "The `WebGL2RenderingContext.BLEND` const."]
9219 #[doc = ""]
9220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9221 pub const BLEND: u32 = 3042u64 as u32;
9222 #[doc = "The `WebGL2RenderingContext.DITHER` const."]
9223 #[doc = ""]
9224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9225 pub const DITHER: u32 = 3024u64 as u32;
9226 #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const."]
9227 #[doc = ""]
9228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9229 pub const STENCIL_TEST: u32 = 2960u64 as u32;
9230 #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const."]
9231 #[doc = ""]
9232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9233 pub const DEPTH_TEST: u32 = 2929u64 as u32;
9234 #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const."]
9235 #[doc = ""]
9236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9237 pub const SCISSOR_TEST: u32 = 3089u64 as u32;
9238 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const."]
9239 #[doc = ""]
9240 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9241 pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
9242 #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
9243 #[doc = ""]
9244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9245 pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
9246 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const."]
9247 #[doc = ""]
9248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9249 pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
9250 #[doc = "The `WebGL2RenderingContext.NO_ERROR` const."]
9251 #[doc = ""]
9252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9253 pub const NO_ERROR: u32 = 0i64 as u32;
9254 #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const."]
9255 #[doc = ""]
9256 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9257 pub const INVALID_ENUM: u32 = 1280u64 as u32;
9258 #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const."]
9259 #[doc = ""]
9260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9261 pub const INVALID_VALUE: u32 = 1281u64 as u32;
9262 #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const."]
9263 #[doc = ""]
9264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9265 pub const INVALID_OPERATION: u32 = 1282u64 as u32;
9266 #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const."]
9267 #[doc = ""]
9268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9269 pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
9270 #[doc = "The `WebGL2RenderingContext.CW` const."]
9271 #[doc = ""]
9272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9273 pub const CW: u32 = 2304u64 as u32;
9274 #[doc = "The `WebGL2RenderingContext.CCW` const."]
9275 #[doc = ""]
9276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9277 pub const CCW: u32 = 2305u64 as u32;
9278 #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const."]
9279 #[doc = ""]
9280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9281 pub const LINE_WIDTH: u32 = 2849u64 as u32;
9282 #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
9283 #[doc = ""]
9284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9285 pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
9286 #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
9287 #[doc = ""]
9288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9289 pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
9290 #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const."]
9291 #[doc = ""]
9292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9293 pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
9294 #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const."]
9295 #[doc = ""]
9296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9297 pub const FRONT_FACE: u32 = 2886u64 as u32;
9298 #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const."]
9299 #[doc = ""]
9300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9301 pub const DEPTH_RANGE: u32 = 2928u64 as u32;
9302 #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const."]
9303 #[doc = ""]
9304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9305 pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
9306 #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const."]
9307 #[doc = ""]
9308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9309 pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
9310 #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const."]
9311 #[doc = ""]
9312 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9313 pub const DEPTH_FUNC: u32 = 2932u64 as u32;
9314 #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const."]
9315 #[doc = ""]
9316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9317 pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
9318 #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const."]
9319 #[doc = ""]
9320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9321 pub const STENCIL_FUNC: u32 = 2962u64 as u32;
9322 #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const."]
9323 #[doc = ""]
9324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9325 pub const STENCIL_FAIL: u32 = 2964u64 as u32;
9326 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
9327 #[doc = ""]
9328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9329 pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
9330 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
9331 #[doc = ""]
9332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9333 pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
9334 #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const."]
9335 #[doc = ""]
9336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9337 pub const STENCIL_REF: u32 = 2967u64 as u32;
9338 #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const."]
9339 #[doc = ""]
9340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9341 pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
9342 #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const."]
9343 #[doc = ""]
9344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9345 pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
9346 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const."]
9347 #[doc = ""]
9348 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9349 pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
9350 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const."]
9351 #[doc = ""]
9352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9353 pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
9354 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
9355 #[doc = ""]
9356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9357 pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
9358 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
9359 #[doc = ""]
9360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9361 pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
9362 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const."]
9363 #[doc = ""]
9364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9365 pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
9366 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const."]
9367 #[doc = ""]
9368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9369 pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
9370 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const."]
9371 #[doc = ""]
9372 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9373 pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
9374 #[doc = "The `WebGL2RenderingContext.VIEWPORT` const."]
9375 #[doc = ""]
9376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9377 pub const VIEWPORT: u32 = 2978u64 as u32;
9378 #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const."]
9379 #[doc = ""]
9380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9381 pub const SCISSOR_BOX: u32 = 3088u64 as u32;
9382 #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const."]
9383 #[doc = ""]
9384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9385 pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
9386 #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const."]
9387 #[doc = ""]
9388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9389 pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
9390 #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const."]
9391 #[doc = ""]
9392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9393 pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
9394 #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const."]
9395 #[doc = ""]
9396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9397 pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
9398 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const."]
9399 #[doc = ""]
9400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9401 pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
9402 #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const."]
9403 #[doc = ""]
9404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9405 pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
9406 #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const."]
9407 #[doc = ""]
9408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9409 pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
9410 #[doc = "The `WebGL2RenderingContext.RED_BITS` const."]
9411 #[doc = ""]
9412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9413 pub const RED_BITS: u32 = 3410u64 as u32;
9414 #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const."]
9415 #[doc = ""]
9416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9417 pub const GREEN_BITS: u32 = 3411u64 as u32;
9418 #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const."]
9419 #[doc = ""]
9420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9421 pub const BLUE_BITS: u32 = 3412u64 as u32;
9422 #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const."]
9423 #[doc = ""]
9424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9425 pub const ALPHA_BITS: u32 = 3413u64 as u32;
9426 #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const."]
9427 #[doc = ""]
9428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9429 pub const DEPTH_BITS: u32 = 3414u64 as u32;
9430 #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const."]
9431 #[doc = ""]
9432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9433 pub const STENCIL_BITS: u32 = 3415u64 as u32;
9434 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const."]
9435 #[doc = ""]
9436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9437 pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
9438 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const."]
9439 #[doc = ""]
9440 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9441 pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
9442 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const."]
9443 #[doc = ""]
9444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9445 pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
9446 #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const."]
9447 #[doc = ""]
9448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9449 pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
9450 #[doc = "The `WebGL2RenderingContext.SAMPLES` const."]
9451 #[doc = ""]
9452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9453 pub const SAMPLES: u32 = 32937u64 as u32;
9454 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const."]
9455 #[doc = ""]
9456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9457 pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
9458 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const."]
9459 #[doc = ""]
9460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9461 pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
9462 #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
9463 #[doc = ""]
9464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9465 pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
9466 #[doc = "The `WebGL2RenderingContext.DONT_CARE` const."]
9467 #[doc = ""]
9468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9469 pub const DONT_CARE: u32 = 4352u64 as u32;
9470 #[doc = "The `WebGL2RenderingContext.FASTEST` const."]
9471 #[doc = ""]
9472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9473 pub const FASTEST: u32 = 4353u64 as u32;
9474 #[doc = "The `WebGL2RenderingContext.NICEST` const."]
9475 #[doc = ""]
9476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9477 pub const NICEST: u32 = 4354u64 as u32;
9478 #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const."]
9479 #[doc = ""]
9480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9481 pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
9482 #[doc = "The `WebGL2RenderingContext.BYTE` const."]
9483 #[doc = ""]
9484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9485 pub const BYTE: u32 = 5120u64 as u32;
9486 #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const."]
9487 #[doc = ""]
9488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9489 pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
9490 #[doc = "The `WebGL2RenderingContext.SHORT` const."]
9491 #[doc = ""]
9492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9493 pub const SHORT: u32 = 5122u64 as u32;
9494 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const."]
9495 #[doc = ""]
9496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9497 pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
9498 #[doc = "The `WebGL2RenderingContext.INT` const."]
9499 #[doc = ""]
9500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9501 pub const INT: u32 = 5124u64 as u32;
9502 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const."]
9503 #[doc = ""]
9504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9505 pub const UNSIGNED_INT: u32 = 5125u64 as u32;
9506 #[doc = "The `WebGL2RenderingContext.FLOAT` const."]
9507 #[doc = ""]
9508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9509 pub const FLOAT: u32 = 5126u64 as u32;
9510 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const."]
9511 #[doc = ""]
9512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9513 pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
9514 #[doc = "The `WebGL2RenderingContext.ALPHA` const."]
9515 #[doc = ""]
9516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9517 pub const ALPHA: u32 = 6406u64 as u32;
9518 #[doc = "The `WebGL2RenderingContext.RGB` const."]
9519 #[doc = ""]
9520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9521 pub const RGB: u32 = 6407u64 as u32;
9522 #[doc = "The `WebGL2RenderingContext.RGBA` const."]
9523 #[doc = ""]
9524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9525 pub const RGBA: u32 = 6408u64 as u32;
9526 #[doc = "The `WebGL2RenderingContext.LUMINANCE` const."]
9527 #[doc = ""]
9528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9529 pub const LUMINANCE: u32 = 6409u64 as u32;
9530 #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const."]
9531 #[doc = ""]
9532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9533 pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
9534 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
9535 #[doc = ""]
9536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9537 pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
9538 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
9539 #[doc = ""]
9540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9541 pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
9542 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const."]
9543 #[doc = ""]
9544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9545 pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
9546 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const."]
9547 #[doc = ""]
9548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9549 pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
9550 #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const."]
9551 #[doc = ""]
9552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9553 pub const VERTEX_SHADER: u32 = 35633u64 as u32;
9554 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const."]
9555 #[doc = ""]
9556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9557 pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
9558 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
9559 #[doc = ""]
9560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9561 pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
9562 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const."]
9563 #[doc = ""]
9564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9565 pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
9566 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
9567 #[doc = ""]
9568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9569 pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
9570 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
9571 #[doc = ""]
9572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9573 pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
9574 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
9575 #[doc = ""]
9576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9577 pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
9578 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
9579 #[doc = ""]
9580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9581 pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
9582 #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const."]
9583 #[doc = ""]
9584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9585 pub const SHADER_TYPE: u32 = 35663u64 as u32;
9586 #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const."]
9587 #[doc = ""]
9588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9589 pub const DELETE_STATUS: u32 = 35712u64 as u32;
9590 #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const."]
9591 #[doc = ""]
9592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9593 pub const LINK_STATUS: u32 = 35714u64 as u32;
9594 #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const."]
9595 #[doc = ""]
9596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9597 pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
9598 #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const."]
9599 #[doc = ""]
9600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9601 pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
9602 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const."]
9603 #[doc = ""]
9604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9605 pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
9606 #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const."]
9607 #[doc = ""]
9608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9609 pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
9610 #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const."]
9611 #[doc = ""]
9612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9613 pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
9614 #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const."]
9615 #[doc = ""]
9616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9617 pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
9618 #[doc = "The `WebGL2RenderingContext.NEVER` const."]
9619 #[doc = ""]
9620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9621 pub const NEVER: u32 = 512u64 as u32;
9622 #[doc = "The `WebGL2RenderingContext.LESS` const."]
9623 #[doc = ""]
9624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9625 pub const LESS: u32 = 513u64 as u32;
9626 #[doc = "The `WebGL2RenderingContext.EQUAL` const."]
9627 #[doc = ""]
9628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9629 pub const EQUAL: u32 = 514u64 as u32;
9630 #[doc = "The `WebGL2RenderingContext.LEQUAL` const."]
9631 #[doc = ""]
9632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9633 pub const LEQUAL: u32 = 515u64 as u32;
9634 #[doc = "The `WebGL2RenderingContext.GREATER` const."]
9635 #[doc = ""]
9636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9637 pub const GREATER: u32 = 516u64 as u32;
9638 #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const."]
9639 #[doc = ""]
9640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9641 pub const NOTEQUAL: u32 = 517u64 as u32;
9642 #[doc = "The `WebGL2RenderingContext.GEQUAL` const."]
9643 #[doc = ""]
9644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9645 pub const GEQUAL: u32 = 518u64 as u32;
9646 #[doc = "The `WebGL2RenderingContext.ALWAYS` const."]
9647 #[doc = ""]
9648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9649 pub const ALWAYS: u32 = 519u64 as u32;
9650 #[doc = "The `WebGL2RenderingContext.KEEP` const."]
9651 #[doc = ""]
9652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9653 pub const KEEP: u32 = 7680u64 as u32;
9654 #[doc = "The `WebGL2RenderingContext.REPLACE` const."]
9655 #[doc = ""]
9656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9657 pub const REPLACE: u32 = 7681u64 as u32;
9658 #[doc = "The `WebGL2RenderingContext.INCR` const."]
9659 #[doc = ""]
9660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9661 pub const INCR: u32 = 7682u64 as u32;
9662 #[doc = "The `WebGL2RenderingContext.DECR` const."]
9663 #[doc = ""]
9664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9665 pub const DECR: u32 = 7683u64 as u32;
9666 #[doc = "The `WebGL2RenderingContext.INVERT` const."]
9667 #[doc = ""]
9668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9669 pub const INVERT: u32 = 5386u64 as u32;
9670 #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const."]
9671 #[doc = ""]
9672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9673 pub const INCR_WRAP: u32 = 34055u64 as u32;
9674 #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const."]
9675 #[doc = ""]
9676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9677 pub const DECR_WRAP: u32 = 34056u64 as u32;
9678 #[doc = "The `WebGL2RenderingContext.VENDOR` const."]
9679 #[doc = ""]
9680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9681 pub const VENDOR: u32 = 7936u64 as u32;
9682 #[doc = "The `WebGL2RenderingContext.RENDERER` const."]
9683 #[doc = ""]
9684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9685 pub const RENDERER: u32 = 7937u64 as u32;
9686 #[doc = "The `WebGL2RenderingContext.VERSION` const."]
9687 #[doc = ""]
9688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9689 pub const VERSION: u32 = 7938u64 as u32;
9690 #[doc = "The `WebGL2RenderingContext.NEAREST` const."]
9691 #[doc = ""]
9692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9693 pub const NEAREST: u32 = 9728u64 as u32;
9694 #[doc = "The `WebGL2RenderingContext.LINEAR` const."]
9695 #[doc = ""]
9696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9697 pub const LINEAR: u32 = 9729u64 as u32;
9698 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const."]
9699 #[doc = ""]
9700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9701 pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
9702 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const."]
9703 #[doc = ""]
9704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9705 pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
9706 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const."]
9707 #[doc = ""]
9708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9709 pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
9710 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const."]
9711 #[doc = ""]
9712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9713 pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
9714 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const."]
9715 #[doc = ""]
9716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9717 pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
9718 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const."]
9719 #[doc = ""]
9720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9721 pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
9722 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const."]
9723 #[doc = ""]
9724 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9725 pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
9726 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const."]
9727 #[doc = ""]
9728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9729 pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
9730 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const."]
9731 #[doc = ""]
9732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9733 pub const TEXTURE_2D: u32 = 3553u64 as u32;
9734 #[doc = "The `WebGL2RenderingContext.TEXTURE` const."]
9735 #[doc = ""]
9736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9737 pub const TEXTURE: u32 = 5890u64 as u32;
9738 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const."]
9739 #[doc = ""]
9740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9741 pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
9742 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
9743 #[doc = ""]
9744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9745 pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
9746 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
9747 #[doc = ""]
9748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9749 pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
9750 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
9751 #[doc = ""]
9752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9753 pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
9754 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
9755 #[doc = ""]
9756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9757 pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
9758 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
9759 #[doc = ""]
9760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9761 pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
9762 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
9763 #[doc = ""]
9764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9765 pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
9766 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
9767 #[doc = ""]
9768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9769 pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
9770 #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
9771 #[doc = ""]
9772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9773 pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
9774 #[doc = "The `WebGL2RenderingContext.TEXTURE0` const."]
9775 #[doc = ""]
9776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9777 pub const TEXTURE0: u32 = 33984u64 as u32;
9778 #[doc = "The `WebGL2RenderingContext.TEXTURE1` const."]
9779 #[doc = ""]
9780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9781 pub const TEXTURE1: u32 = 33985u64 as u32;
9782 #[doc = "The `WebGL2RenderingContext.TEXTURE2` const."]
9783 #[doc = ""]
9784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9785 pub const TEXTURE2: u32 = 33986u64 as u32;
9786 #[doc = "The `WebGL2RenderingContext.TEXTURE3` const."]
9787 #[doc = ""]
9788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9789 pub const TEXTURE3: u32 = 33987u64 as u32;
9790 #[doc = "The `WebGL2RenderingContext.TEXTURE4` const."]
9791 #[doc = ""]
9792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9793 pub const TEXTURE4: u32 = 33988u64 as u32;
9794 #[doc = "The `WebGL2RenderingContext.TEXTURE5` const."]
9795 #[doc = ""]
9796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9797 pub const TEXTURE5: u32 = 33989u64 as u32;
9798 #[doc = "The `WebGL2RenderingContext.TEXTURE6` const."]
9799 #[doc = ""]
9800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9801 pub const TEXTURE6: u32 = 33990u64 as u32;
9802 #[doc = "The `WebGL2RenderingContext.TEXTURE7` const."]
9803 #[doc = ""]
9804 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9805 pub const TEXTURE7: u32 = 33991u64 as u32;
9806 #[doc = "The `WebGL2RenderingContext.TEXTURE8` const."]
9807 #[doc = ""]
9808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9809 pub const TEXTURE8: u32 = 33992u64 as u32;
9810 #[doc = "The `WebGL2RenderingContext.TEXTURE9` const."]
9811 #[doc = ""]
9812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9813 pub const TEXTURE9: u32 = 33993u64 as u32;
9814 #[doc = "The `WebGL2RenderingContext.TEXTURE10` const."]
9815 #[doc = ""]
9816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9817 pub const TEXTURE10: u32 = 33994u64 as u32;
9818 #[doc = "The `WebGL2RenderingContext.TEXTURE11` const."]
9819 #[doc = ""]
9820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9821 pub const TEXTURE11: u32 = 33995u64 as u32;
9822 #[doc = "The `WebGL2RenderingContext.TEXTURE12` const."]
9823 #[doc = ""]
9824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9825 pub const TEXTURE12: u32 = 33996u64 as u32;
9826 #[doc = "The `WebGL2RenderingContext.TEXTURE13` const."]
9827 #[doc = ""]
9828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9829 pub const TEXTURE13: u32 = 33997u64 as u32;
9830 #[doc = "The `WebGL2RenderingContext.TEXTURE14` const."]
9831 #[doc = ""]
9832 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9833 pub const TEXTURE14: u32 = 33998u64 as u32;
9834 #[doc = "The `WebGL2RenderingContext.TEXTURE15` const."]
9835 #[doc = ""]
9836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9837 pub const TEXTURE15: u32 = 33999u64 as u32;
9838 #[doc = "The `WebGL2RenderingContext.TEXTURE16` const."]
9839 #[doc = ""]
9840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9841 pub const TEXTURE16: u32 = 34000u64 as u32;
9842 #[doc = "The `WebGL2RenderingContext.TEXTURE17` const."]
9843 #[doc = ""]
9844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9845 pub const TEXTURE17: u32 = 34001u64 as u32;
9846 #[doc = "The `WebGL2RenderingContext.TEXTURE18` const."]
9847 #[doc = ""]
9848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9849 pub const TEXTURE18: u32 = 34002u64 as u32;
9850 #[doc = "The `WebGL2RenderingContext.TEXTURE19` const."]
9851 #[doc = ""]
9852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9853 pub const TEXTURE19: u32 = 34003u64 as u32;
9854 #[doc = "The `WebGL2RenderingContext.TEXTURE20` const."]
9855 #[doc = ""]
9856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9857 pub const TEXTURE20: u32 = 34004u64 as u32;
9858 #[doc = "The `WebGL2RenderingContext.TEXTURE21` const."]
9859 #[doc = ""]
9860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9861 pub const TEXTURE21: u32 = 34005u64 as u32;
9862 #[doc = "The `WebGL2RenderingContext.TEXTURE22` const."]
9863 #[doc = ""]
9864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9865 pub const TEXTURE22: u32 = 34006u64 as u32;
9866 #[doc = "The `WebGL2RenderingContext.TEXTURE23` const."]
9867 #[doc = ""]
9868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9869 pub const TEXTURE23: u32 = 34007u64 as u32;
9870 #[doc = "The `WebGL2RenderingContext.TEXTURE24` const."]
9871 #[doc = ""]
9872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9873 pub const TEXTURE24: u32 = 34008u64 as u32;
9874 #[doc = "The `WebGL2RenderingContext.TEXTURE25` const."]
9875 #[doc = ""]
9876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9877 pub const TEXTURE25: u32 = 34009u64 as u32;
9878 #[doc = "The `WebGL2RenderingContext.TEXTURE26` const."]
9879 #[doc = ""]
9880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9881 pub const TEXTURE26: u32 = 34010u64 as u32;
9882 #[doc = "The `WebGL2RenderingContext.TEXTURE27` const."]
9883 #[doc = ""]
9884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9885 pub const TEXTURE27: u32 = 34011u64 as u32;
9886 #[doc = "The `WebGL2RenderingContext.TEXTURE28` const."]
9887 #[doc = ""]
9888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9889 pub const TEXTURE28: u32 = 34012u64 as u32;
9890 #[doc = "The `WebGL2RenderingContext.TEXTURE29` const."]
9891 #[doc = ""]
9892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9893 pub const TEXTURE29: u32 = 34013u64 as u32;
9894 #[doc = "The `WebGL2RenderingContext.TEXTURE30` const."]
9895 #[doc = ""]
9896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9897 pub const TEXTURE30: u32 = 34014u64 as u32;
9898 #[doc = "The `WebGL2RenderingContext.TEXTURE31` const."]
9899 #[doc = ""]
9900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9901 pub const TEXTURE31: u32 = 34015u64 as u32;
9902 #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const."]
9903 #[doc = ""]
9904 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9905 pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
9906 #[doc = "The `WebGL2RenderingContext.REPEAT` const."]
9907 #[doc = ""]
9908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9909 pub const REPEAT: u32 = 10497u64 as u32;
9910 #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const."]
9911 #[doc = ""]
9912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9913 pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
9914 #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const."]
9915 #[doc = ""]
9916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9917 pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
9918 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const."]
9919 #[doc = ""]
9920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9921 pub const FLOAT_VEC2: u32 = 35664u64 as u32;
9922 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const."]
9923 #[doc = ""]
9924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9925 pub const FLOAT_VEC3: u32 = 35665u64 as u32;
9926 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const."]
9927 #[doc = ""]
9928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9929 pub const FLOAT_VEC4: u32 = 35666u64 as u32;
9930 #[doc = "The `WebGL2RenderingContext.INT_VEC2` const."]
9931 #[doc = ""]
9932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9933 pub const INT_VEC2: u32 = 35667u64 as u32;
9934 #[doc = "The `WebGL2RenderingContext.INT_VEC3` const."]
9935 #[doc = ""]
9936 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9937 pub const INT_VEC3: u32 = 35668u64 as u32;
9938 #[doc = "The `WebGL2RenderingContext.INT_VEC4` const."]
9939 #[doc = ""]
9940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9941 pub const INT_VEC4: u32 = 35669u64 as u32;
9942 #[doc = "The `WebGL2RenderingContext.BOOL` const."]
9943 #[doc = ""]
9944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9945 pub const BOOL: u32 = 35670u64 as u32;
9946 #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const."]
9947 #[doc = ""]
9948 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9949 pub const BOOL_VEC2: u32 = 35671u64 as u32;
9950 #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const."]
9951 #[doc = ""]
9952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9953 pub const BOOL_VEC3: u32 = 35672u64 as u32;
9954 #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const."]
9955 #[doc = ""]
9956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9957 pub const BOOL_VEC4: u32 = 35673u64 as u32;
9958 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const."]
9959 #[doc = ""]
9960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9961 pub const FLOAT_MAT2: u32 = 35674u64 as u32;
9962 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const."]
9963 #[doc = ""]
9964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9965 pub const FLOAT_MAT3: u32 = 35675u64 as u32;
9966 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const."]
9967 #[doc = ""]
9968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9969 pub const FLOAT_MAT4: u32 = 35676u64 as u32;
9970 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const."]
9971 #[doc = ""]
9972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9973 pub const SAMPLER_2D: u32 = 35678u64 as u32;
9974 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const."]
9975 #[doc = ""]
9976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9977 pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
9978 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
9979 #[doc = ""]
9980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9981 pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
9982 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
9983 #[doc = ""]
9984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9985 pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
9986 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
9987 #[doc = ""]
9988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9989 pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
9990 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
9991 #[doc = ""]
9992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9993 pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
9994 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
9995 #[doc = ""]
9996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9997 pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
9998 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
9999 #[doc = ""]
10000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10001 pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
10002 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
10003 #[doc = ""]
10004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10005 pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
10006 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
10007 #[doc = ""]
10008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10009 pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
10010 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
10011 #[doc = ""]
10012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10013 pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
10014 #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const."]
10015 #[doc = ""]
10016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10017 pub const COMPILE_STATUS: u32 = 35713u64 as u32;
10018 #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const."]
10019 #[doc = ""]
10020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10021 pub const LOW_FLOAT: u32 = 36336u64 as u32;
10022 #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const."]
10023 #[doc = ""]
10024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10025 pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
10026 #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const."]
10027 #[doc = ""]
10028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10029 pub const HIGH_FLOAT: u32 = 36338u64 as u32;
10030 #[doc = "The `WebGL2RenderingContext.LOW_INT` const."]
10031 #[doc = ""]
10032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10033 pub const LOW_INT: u32 = 36339u64 as u32;
10034 #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const."]
10035 #[doc = ""]
10036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10037 pub const MEDIUM_INT: u32 = 36340u64 as u32;
10038 #[doc = "The `WebGL2RenderingContext.HIGH_INT` const."]
10039 #[doc = ""]
10040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10041 pub const HIGH_INT: u32 = 36341u64 as u32;
10042 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const."]
10043 #[doc = ""]
10044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10045 pub const FRAMEBUFFER: u32 = 36160u64 as u32;
10046 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const."]
10047 #[doc = ""]
10048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10049 pub const RENDERBUFFER: u32 = 36161u64 as u32;
10050 #[doc = "The `WebGL2RenderingContext.RGBA4` const."]
10051 #[doc = ""]
10052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10053 pub const RGBA4: u32 = 32854u64 as u32;
10054 #[doc = "The `WebGL2RenderingContext.RGB5_A1` const."]
10055 #[doc = ""]
10056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10057 pub const RGB5_A1: u32 = 32855u64 as u32;
10058 #[doc = "The `WebGL2RenderingContext.RGB565` const."]
10059 #[doc = ""]
10060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10061 pub const RGB565: u32 = 36194u64 as u32;
10062 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const."]
10063 #[doc = ""]
10064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10065 pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
10066 #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const."]
10067 #[doc = ""]
10068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10069 pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
10070 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const."]
10071 #[doc = ""]
10072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10073 pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
10074 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const."]
10075 #[doc = ""]
10076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10077 pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
10078 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const."]
10079 #[doc = ""]
10080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10081 pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
10082 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
10083 #[doc = ""]
10084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10085 pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
10086 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const."]
10087 #[doc = ""]
10088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10089 pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
10090 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
10091 #[doc = ""]
10092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10093 pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
10094 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
10095 #[doc = ""]
10096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10097 pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
10098 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
10099 #[doc = ""]
10100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10101 pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
10102 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
10103 #[doc = ""]
10104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10105 pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
10106 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
10107 #[doc = ""]
10108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10109 pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
10110 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
10111 #[doc = ""]
10112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10113 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
10114 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
10115 #[doc = ""]
10116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10117 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
10118 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
10119 #[doc = ""]
10120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10121 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
10122 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
10123 #[doc = ""]
10124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10125 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
10126 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const."]
10127 #[doc = ""]
10128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10129 pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
10130 #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const."]
10131 #[doc = ""]
10132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10133 pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
10134 #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const."]
10135 #[doc = ""]
10136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10137 pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
10138 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
10139 #[doc = ""]
10140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10141 pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
10142 #[doc = "The `WebGL2RenderingContext.NONE` const."]
10143 #[doc = ""]
10144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10145 pub const NONE: u32 = 0i64 as u32;
10146 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const."]
10147 #[doc = ""]
10148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10149 pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
10150 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
10151 #[doc = ""]
10152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10153 pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
10154 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
10155 #[doc = ""]
10156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10157 pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
10158 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
10159 #[doc = ""]
10160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10161 pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
10162 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
10163 #[doc = ""]
10164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10165 pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
10166 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const."]
10167 #[doc = ""]
10168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10169 pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
10170 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const."]
10171 #[doc = ""]
10172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10173 pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
10174 #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const."]
10175 #[doc = ""]
10176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10177 pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
10178 #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
10179 #[doc = ""]
10180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10181 pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
10182 #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
10183 #[doc = ""]
10184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10185 pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
10186 #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
10187 #[doc = ""]
10188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10189 pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
10190 #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const."]
10191 #[doc = ""]
10192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10193 pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
10194 #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
10195 #[doc = ""]
10196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10197 pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
10198 #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const."]
10199 #[doc = ""]
10200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10201 pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
10202}