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 = "ImageBitmap")]
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: `ImageBitmap`, `WebGl2RenderingContext`*"]
2731 pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
2732 this: &WebGl2RenderingContext,
2733 target: u32,
2734 level: i32,
2735 internalformat: i32,
2736 format: u32,
2737 type_: u32,
2738 source: &ImageBitmap,
2739 ) -> Result<(), JsValue>;
2740 #[cfg(feature = "ImageData")]
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: `ImageData`, `WebGl2RenderingContext`*"]
2747 pub fn tex_image_2d_with_u32_and_u32_and_image_data(
2748 this: &WebGl2RenderingContext,
2749 target: u32,
2750 level: i32,
2751 internalformat: i32,
2752 format: u32,
2753 type_: u32,
2754 source: &ImageData,
2755 ) -> Result<(), JsValue>;
2756 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2757 #[doc = "The `texImage2D()` method."]
2758 #[doc = ""]
2759 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2760 #[doc = ""]
2761 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2762 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32(
2763 this: &WebGl2RenderingContext,
2764 target: u32,
2765 level: i32,
2766 internalformat: i32,
2767 width: i32,
2768 height: i32,
2769 border: i32,
2770 format: u32,
2771 type_: u32,
2772 pbo_offset: i32,
2773 ) -> Result<(), JsValue>;
2774 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2775 #[doc = "The `texImage2D()` method."]
2776 #[doc = ""]
2777 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2778 #[doc = ""]
2779 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2780 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64(
2781 this: &WebGl2RenderingContext,
2782 target: u32,
2783 level: i32,
2784 internalformat: i32,
2785 width: i32,
2786 height: i32,
2787 border: i32,
2788 format: u32,
2789 type_: u32,
2790 pbo_offset: f64,
2791 ) -> Result<(), JsValue>;
2792 #[cfg(feature = "HtmlCanvasElement")]
2793 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2794 #[doc = "The `texImage2D()` method."]
2795 #[doc = ""]
2796 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2797 #[doc = ""]
2798 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
2799 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element(
2800 this: &WebGl2RenderingContext,
2801 target: u32,
2802 level: i32,
2803 internalformat: i32,
2804 width: i32,
2805 height: i32,
2806 border: i32,
2807 format: u32,
2808 type_: u32,
2809 source: &HtmlCanvasElement,
2810 ) -> Result<(), JsValue>;
2811 #[cfg(feature = "HtmlImageElement")]
2812 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2813 #[doc = "The `texImage2D()` method."]
2814 #[doc = ""]
2815 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2816 #[doc = ""]
2817 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
2818 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element(
2819 this: &WebGl2RenderingContext,
2820 target: u32,
2821 level: i32,
2822 internalformat: i32,
2823 width: i32,
2824 height: i32,
2825 border: i32,
2826 format: u32,
2827 type_: u32,
2828 source: &HtmlImageElement,
2829 ) -> Result<(), JsValue>;
2830 #[cfg(feature = "HtmlVideoElement")]
2831 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2832 #[doc = "The `texImage2D()` method."]
2833 #[doc = ""]
2834 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2835 #[doc = ""]
2836 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
2837 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element(
2838 this: &WebGl2RenderingContext,
2839 target: u32,
2840 level: i32,
2841 internalformat: i32,
2842 width: i32,
2843 height: i32,
2844 border: i32,
2845 format: u32,
2846 type_: u32,
2847 source: &HtmlVideoElement,
2848 ) -> Result<(), JsValue>;
2849 #[cfg(feature = "ImageBitmap")]
2850 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2851 #[doc = "The `texImage2D()` method."]
2852 #[doc = ""]
2853 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2854 #[doc = ""]
2855 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
2856 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap(
2857 this: &WebGl2RenderingContext,
2858 target: u32,
2859 level: i32,
2860 internalformat: i32,
2861 width: i32,
2862 height: i32,
2863 border: i32,
2864 format: u32,
2865 type_: u32,
2866 source: &ImageBitmap,
2867 ) -> Result<(), JsValue>;
2868 #[cfg(feature = "ImageData")]
2869 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2870 #[doc = "The `texImage2D()` method."]
2871 #[doc = ""]
2872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2873 #[doc = ""]
2874 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
2875 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data(
2876 this: &WebGl2RenderingContext,
2877 target: u32,
2878 level: i32,
2879 internalformat: i32,
2880 width: i32,
2881 height: i32,
2882 border: i32,
2883 format: u32,
2884 type_: u32,
2885 source: &ImageData,
2886 ) -> Result<(), JsValue>;
2887 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2888 #[doc = "The `texImage2D()` method."]
2889 #[doc = ""]
2890 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2891 #[doc = ""]
2892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2893 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset(
2894 this: &WebGl2RenderingContext,
2895 target: u32,
2896 level: i32,
2897 internalformat: i32,
2898 width: i32,
2899 height: i32,
2900 border: i32,
2901 format: u32,
2902 type_: u32,
2903 src_data: &::js_sys::Object,
2904 src_offset: u32,
2905 ) -> Result<(), JsValue>;
2906 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2907 #[doc = "The `texImage2D()` method."]
2908 #[doc = ""]
2909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2910 #[doc = ""]
2911 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2912 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset(
2913 this: &WebGl2RenderingContext,
2914 target: u32,
2915 level: i32,
2916 internalformat: i32,
2917 width: i32,
2918 height: i32,
2919 border: i32,
2920 format: u32,
2921 type_: u32,
2922 src_data: &[u8],
2923 src_offset: u32,
2924 ) -> Result<(), JsValue>;
2925 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2926 #[doc = "The `texImage2D()` method."]
2927 #[doc = ""]
2928 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2929 #[doc = ""]
2930 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2931 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset(
2932 this: &WebGl2RenderingContext,
2933 target: u32,
2934 level: i32,
2935 internalformat: i32,
2936 width: i32,
2937 height: i32,
2938 border: i32,
2939 format: u32,
2940 type_: u32,
2941 src_data: &::js_sys::Uint8Array,
2942 src_offset: u32,
2943 ) -> Result<(), JsValue>;
2944 #[cfg(web_sys_unstable_apis)]
2945 #[cfg(feature = "VideoFrame")]
2946 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2947 #[doc = "The `texImage2D()` method."]
2948 #[doc = ""]
2949 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2950 #[doc = ""]
2951 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
2952 #[doc = ""]
2953 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2954 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2955 pub fn tex_image_2d_with_format_and_type_and_source(
2956 this: &WebGl2RenderingContext,
2957 target: u32,
2958 level: i32,
2959 internalformat: i32,
2960 format: u32,
2961 type_: u32,
2962 source: &VideoFrame,
2963 ) -> Result<(), JsValue>;
2964 #[cfg(web_sys_unstable_apis)]
2965 #[cfg(feature = "VideoFrame")]
2966 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
2967 #[doc = "The `texImage2D()` method."]
2968 #[doc = ""]
2969 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
2970 #[doc = ""]
2971 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
2972 #[doc = ""]
2973 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2974 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2975 pub fn tex_image_2d_with_width_and_height_and_border_and_format_and_type_and_source(
2976 this: &WebGl2RenderingContext,
2977 target: u32,
2978 level: i32,
2979 internalformat: i32,
2980 width: i32,
2981 height: i32,
2982 border: i32,
2983 format: u32,
2984 type_: u32,
2985 source: &VideoFrame,
2986 ) -> Result<(), JsValue>;
2987 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
2988 #[doc = "The `texImage3D()` method."]
2989 #[doc = ""]
2990 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
2991 #[doc = ""]
2992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
2993 pub fn tex_image_3d_with_i32(
2994 this: &WebGl2RenderingContext,
2995 target: u32,
2996 level: i32,
2997 internalformat: i32,
2998 width: i32,
2999 height: i32,
3000 depth: i32,
3001 border: i32,
3002 format: u32,
3003 type_: u32,
3004 pbo_offset: i32,
3005 ) -> Result<(), JsValue>;
3006 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3007 #[doc = "The `texImage3D()` method."]
3008 #[doc = ""]
3009 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3010 #[doc = ""]
3011 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3012 pub fn tex_image_3d_with_f64(
3013 this: &WebGl2RenderingContext,
3014 target: u32,
3015 level: i32,
3016 internalformat: i32,
3017 width: i32,
3018 height: i32,
3019 depth: i32,
3020 border: i32,
3021 format: u32,
3022 type_: u32,
3023 pbo_offset: f64,
3024 ) -> Result<(), JsValue>;
3025 #[cfg(feature = "HtmlCanvasElement")]
3026 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3027 #[doc = "The `texImage3D()` method."]
3028 #[doc = ""]
3029 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3030 #[doc = ""]
3031 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3032 pub fn tex_image_3d_with_html_canvas_element(
3033 this: &WebGl2RenderingContext,
3034 target: u32,
3035 level: i32,
3036 internalformat: i32,
3037 width: i32,
3038 height: i32,
3039 depth: i32,
3040 border: i32,
3041 format: u32,
3042 type_: u32,
3043 source: &HtmlCanvasElement,
3044 ) -> Result<(), JsValue>;
3045 #[cfg(feature = "HtmlImageElement")]
3046 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3047 #[doc = "The `texImage3D()` method."]
3048 #[doc = ""]
3049 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3050 #[doc = ""]
3051 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3052 pub fn tex_image_3d_with_html_image_element(
3053 this: &WebGl2RenderingContext,
3054 target: u32,
3055 level: i32,
3056 internalformat: i32,
3057 width: i32,
3058 height: i32,
3059 depth: i32,
3060 border: i32,
3061 format: u32,
3062 type_: u32,
3063 source: &HtmlImageElement,
3064 ) -> Result<(), JsValue>;
3065 #[cfg(feature = "HtmlVideoElement")]
3066 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3067 #[doc = "The `texImage3D()` method."]
3068 #[doc = ""]
3069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3070 #[doc = ""]
3071 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3072 pub fn tex_image_3d_with_html_video_element(
3073 this: &WebGl2RenderingContext,
3074 target: u32,
3075 level: i32,
3076 internalformat: i32,
3077 width: i32,
3078 height: i32,
3079 depth: i32,
3080 border: i32,
3081 format: u32,
3082 type_: u32,
3083 source: &HtmlVideoElement,
3084 ) -> Result<(), JsValue>;
3085 #[cfg(feature = "ImageBitmap")]
3086 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3087 #[doc = "The `texImage3D()` method."]
3088 #[doc = ""]
3089 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3090 #[doc = ""]
3091 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3092 pub fn tex_image_3d_with_image_bitmap(
3093 this: &WebGl2RenderingContext,
3094 target: u32,
3095 level: i32,
3096 internalformat: i32,
3097 width: i32,
3098 height: i32,
3099 depth: i32,
3100 border: i32,
3101 format: u32,
3102 type_: u32,
3103 source: &ImageBitmap,
3104 ) -> Result<(), JsValue>;
3105 #[cfg(feature = "ImageData")]
3106 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3107 #[doc = "The `texImage3D()` method."]
3108 #[doc = ""]
3109 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3110 #[doc = ""]
3111 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3112 pub fn tex_image_3d_with_image_data(
3113 this: &WebGl2RenderingContext,
3114 target: u32,
3115 level: i32,
3116 internalformat: i32,
3117 width: i32,
3118 height: i32,
3119 depth: i32,
3120 border: i32,
3121 format: u32,
3122 type_: u32,
3123 source: &ImageData,
3124 ) -> Result<(), JsValue>;
3125 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3126 #[doc = "The `texImage3D()` method."]
3127 #[doc = ""]
3128 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3129 #[doc = ""]
3130 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3131 pub fn tex_image_3d_with_opt_array_buffer_view(
3132 this: &WebGl2RenderingContext,
3133 target: u32,
3134 level: i32,
3135 internalformat: i32,
3136 width: i32,
3137 height: i32,
3138 depth: i32,
3139 border: i32,
3140 format: u32,
3141 type_: u32,
3142 src_data: Option<&::js_sys::Object>,
3143 ) -> Result<(), JsValue>;
3144 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3145 #[doc = "The `texImage3D()` method."]
3146 #[doc = ""]
3147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3148 #[doc = ""]
3149 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3150 pub fn tex_image_3d_with_opt_u8_array(
3151 this: &WebGl2RenderingContext,
3152 target: u32,
3153 level: i32,
3154 internalformat: i32,
3155 width: i32,
3156 height: i32,
3157 depth: i32,
3158 border: i32,
3159 format: u32,
3160 type_: u32,
3161 src_data: Option<&[u8]>,
3162 ) -> Result<(), JsValue>;
3163 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3164 #[doc = "The `texImage3D()` method."]
3165 #[doc = ""]
3166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3167 #[doc = ""]
3168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3169 pub fn tex_image_3d_with_opt_js_u8_array(
3170 this: &WebGl2RenderingContext,
3171 target: u32,
3172 level: i32,
3173 internalformat: i32,
3174 width: i32,
3175 height: i32,
3176 depth: i32,
3177 border: i32,
3178 format: u32,
3179 type_: u32,
3180 src_data: Option<&::js_sys::Uint8Array>,
3181 ) -> Result<(), JsValue>;
3182 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3183 #[doc = "The `texImage3D()` method."]
3184 #[doc = ""]
3185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3186 #[doc = ""]
3187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3188 pub fn tex_image_3d_with_array_buffer_view_and_src_offset(
3189 this: &WebGl2RenderingContext,
3190 target: u32,
3191 level: i32,
3192 internalformat: i32,
3193 width: i32,
3194 height: i32,
3195 depth: i32,
3196 border: i32,
3197 format: u32,
3198 type_: u32,
3199 src_data: &::js_sys::Object,
3200 src_offset: u32,
3201 ) -> Result<(), JsValue>;
3202 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3203 #[doc = "The `texImage3D()` method."]
3204 #[doc = ""]
3205 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3206 #[doc = ""]
3207 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3208 pub fn tex_image_3d_with_u8_array_and_src_offset(
3209 this: &WebGl2RenderingContext,
3210 target: u32,
3211 level: i32,
3212 internalformat: i32,
3213 width: i32,
3214 height: i32,
3215 depth: i32,
3216 border: i32,
3217 format: u32,
3218 type_: u32,
3219 src_data: &[u8],
3220 src_offset: u32,
3221 ) -> Result<(), JsValue>;
3222 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3223 #[doc = "The `texImage3D()` method."]
3224 #[doc = ""]
3225 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3226 #[doc = ""]
3227 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3228 pub fn tex_image_3d_with_js_u8_array_and_src_offset(
3229 this: &WebGl2RenderingContext,
3230 target: u32,
3231 level: i32,
3232 internalformat: i32,
3233 width: i32,
3234 height: i32,
3235 depth: i32,
3236 border: i32,
3237 format: u32,
3238 type_: u32,
3239 src_data: &::js_sys::Uint8Array,
3240 src_offset: u32,
3241 ) -> Result<(), JsValue>;
3242 #[cfg(web_sys_unstable_apis)]
3243 #[cfg(feature = "VideoFrame")]
3244 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
3245 #[doc = "The `texImage3D()` method."]
3246 #[doc = ""]
3247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
3248 #[doc = ""]
3249 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3250 #[doc = ""]
3251 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
3252 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
3253 pub fn tex_image_3d(
3254 this: &WebGl2RenderingContext,
3255 target: u32,
3256 level: i32,
3257 internalformat: i32,
3258 width: i32,
3259 height: i32,
3260 depth: i32,
3261 border: i32,
3262 format: u32,
3263 type_: u32,
3264 source: &VideoFrame,
3265 ) -> Result<(), JsValue>;
3266 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage2D)]
3267 #[doc = "The `texStorage2D()` method."]
3268 #[doc = ""]
3269 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)"]
3270 #[doc = ""]
3271 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3272 pub fn tex_storage_2d(
3273 this: &WebGl2RenderingContext,
3274 target: u32,
3275 levels: i32,
3276 internalformat: u32,
3277 width: i32,
3278 height: i32,
3279 );
3280 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage3D)]
3281 #[doc = "The `texStorage3D()` method."]
3282 #[doc = ""]
3283 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)"]
3284 #[doc = ""]
3285 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3286 pub fn tex_storage_3d(
3287 this: &WebGl2RenderingContext,
3288 target: u32,
3289 levels: i32,
3290 internalformat: u32,
3291 width: i32,
3292 height: i32,
3293 depth: i32,
3294 );
3295 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3296 #[doc = "The `texSubImage2D()` method."]
3297 #[doc = ""]
3298 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3299 #[doc = ""]
3300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3301 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
3302 this: &WebGl2RenderingContext,
3303 target: u32,
3304 level: i32,
3305 xoffset: i32,
3306 yoffset: i32,
3307 width: i32,
3308 height: i32,
3309 format: u32,
3310 type_: u32,
3311 pixels: Option<&::js_sys::Object>,
3312 ) -> Result<(), JsValue>;
3313 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3314 #[doc = "The `texSubImage2D()` method."]
3315 #[doc = ""]
3316 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3317 #[doc = ""]
3318 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3319 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
3320 this: &WebGl2RenderingContext,
3321 target: u32,
3322 level: i32,
3323 xoffset: i32,
3324 yoffset: i32,
3325 width: i32,
3326 height: i32,
3327 format: u32,
3328 type_: u32,
3329 pixels: Option<&[u8]>,
3330 ) -> Result<(), JsValue>;
3331 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3332 #[doc = "The `texSubImage2D()` method."]
3333 #[doc = ""]
3334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3335 #[doc = ""]
3336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3337 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array(
3338 this: &WebGl2RenderingContext,
3339 target: u32,
3340 level: i32,
3341 xoffset: i32,
3342 yoffset: i32,
3343 width: i32,
3344 height: i32,
3345 format: u32,
3346 type_: u32,
3347 pixels: Option<&::js_sys::Uint8Array>,
3348 ) -> Result<(), JsValue>;
3349 #[cfg(feature = "HtmlCanvasElement")]
3350 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3351 #[doc = "The `texSubImage2D()` method."]
3352 #[doc = ""]
3353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3354 #[doc = ""]
3355 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3356 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element(
3357 this: &WebGl2RenderingContext,
3358 target: u32,
3359 level: i32,
3360 xoffset: i32,
3361 yoffset: i32,
3362 format: u32,
3363 type_: u32,
3364 source: &HtmlCanvasElement,
3365 ) -> Result<(), JsValue>;
3366 #[cfg(feature = "HtmlImageElement")]
3367 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3368 #[doc = "The `texSubImage2D()` method."]
3369 #[doc = ""]
3370 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3371 #[doc = ""]
3372 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3373 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element(
3374 this: &WebGl2RenderingContext,
3375 target: u32,
3376 level: i32,
3377 xoffset: i32,
3378 yoffset: i32,
3379 format: u32,
3380 type_: u32,
3381 source: &HtmlImageElement,
3382 ) -> Result<(), JsValue>;
3383 #[cfg(feature = "HtmlVideoElement")]
3384 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3385 #[doc = "The `texSubImage2D()` method."]
3386 #[doc = ""]
3387 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3388 #[doc = ""]
3389 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3390 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element(
3391 this: &WebGl2RenderingContext,
3392 target: u32,
3393 level: i32,
3394 xoffset: i32,
3395 yoffset: i32,
3396 format: u32,
3397 type_: u32,
3398 source: &HtmlVideoElement,
3399 ) -> Result<(), JsValue>;
3400 #[cfg(feature = "ImageBitmap")]
3401 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3402 #[doc = "The `texSubImage2D()` method."]
3403 #[doc = ""]
3404 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3405 #[doc = ""]
3406 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3407 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
3408 this: &WebGl2RenderingContext,
3409 target: u32,
3410 level: i32,
3411 xoffset: i32,
3412 yoffset: i32,
3413 format: u32,
3414 type_: u32,
3415 source: &ImageBitmap,
3416 ) -> Result<(), JsValue>;
3417 #[cfg(feature = "ImageData")]
3418 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3419 #[doc = "The `texSubImage2D()` method."]
3420 #[doc = ""]
3421 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3422 #[doc = ""]
3423 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3424 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
3425 this: &WebGl2RenderingContext,
3426 target: u32,
3427 level: i32,
3428 xoffset: i32,
3429 yoffset: i32,
3430 format: u32,
3431 type_: u32,
3432 source: &ImageData,
3433 ) -> Result<(), JsValue>;
3434 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3435 #[doc = "The `texSubImage2D()` method."]
3436 #[doc = ""]
3437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3438 #[doc = ""]
3439 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3440 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32(
3441 this: &WebGl2RenderingContext,
3442 target: u32,
3443 level: i32,
3444 xoffset: i32,
3445 yoffset: i32,
3446 width: i32,
3447 height: i32,
3448 format: u32,
3449 type_: u32,
3450 pbo_offset: i32,
3451 ) -> Result<(), JsValue>;
3452 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3453 #[doc = "The `texSubImage2D()` method."]
3454 #[doc = ""]
3455 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3456 #[doc = ""]
3457 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3458 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64(
3459 this: &WebGl2RenderingContext,
3460 target: u32,
3461 level: i32,
3462 xoffset: i32,
3463 yoffset: i32,
3464 width: i32,
3465 height: i32,
3466 format: u32,
3467 type_: u32,
3468 pbo_offset: f64,
3469 ) -> Result<(), JsValue>;
3470 #[cfg(feature = "HtmlCanvasElement")]
3471 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3472 #[doc = "The `texSubImage2D()` method."]
3473 #[doc = ""]
3474 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3475 #[doc = ""]
3476 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3477 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element(
3478 this: &WebGl2RenderingContext,
3479 target: u32,
3480 level: i32,
3481 xoffset: i32,
3482 yoffset: i32,
3483 width: i32,
3484 height: i32,
3485 format: u32,
3486 type_: u32,
3487 source: &HtmlCanvasElement,
3488 ) -> Result<(), JsValue>;
3489 #[cfg(feature = "HtmlImageElement")]
3490 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3491 #[doc = "The `texSubImage2D()` method."]
3492 #[doc = ""]
3493 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3494 #[doc = ""]
3495 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3496 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element(
3497 this: &WebGl2RenderingContext,
3498 target: u32,
3499 level: i32,
3500 xoffset: i32,
3501 yoffset: i32,
3502 width: i32,
3503 height: i32,
3504 format: u32,
3505 type_: u32,
3506 source: &HtmlImageElement,
3507 ) -> Result<(), JsValue>;
3508 #[cfg(feature = "HtmlVideoElement")]
3509 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3510 #[doc = "The `texSubImage2D()` method."]
3511 #[doc = ""]
3512 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3513 #[doc = ""]
3514 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3515 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element(
3516 this: &WebGl2RenderingContext,
3517 target: u32,
3518 level: i32,
3519 xoffset: i32,
3520 yoffset: i32,
3521 width: i32,
3522 height: i32,
3523 format: u32,
3524 type_: u32,
3525 source: &HtmlVideoElement,
3526 ) -> Result<(), JsValue>;
3527 #[cfg(feature = "ImageBitmap")]
3528 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3529 #[doc = "The `texSubImage2D()` method."]
3530 #[doc = ""]
3531 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3532 #[doc = ""]
3533 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3534 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap(
3535 this: &WebGl2RenderingContext,
3536 target: u32,
3537 level: i32,
3538 xoffset: i32,
3539 yoffset: i32,
3540 width: i32,
3541 height: i32,
3542 format: u32,
3543 type_: u32,
3544 source: &ImageBitmap,
3545 ) -> Result<(), JsValue>;
3546 #[cfg(feature = "ImageData")]
3547 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3548 #[doc = "The `texSubImage2D()` method."]
3549 #[doc = ""]
3550 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3551 #[doc = ""]
3552 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3553 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data(
3554 this: &WebGl2RenderingContext,
3555 target: u32,
3556 level: i32,
3557 xoffset: i32,
3558 yoffset: i32,
3559 width: i32,
3560 height: i32,
3561 format: u32,
3562 type_: u32,
3563 source: &ImageData,
3564 ) -> Result<(), JsValue>;
3565 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3566 #[doc = "The `texSubImage2D()` method."]
3567 #[doc = ""]
3568 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3569 #[doc = ""]
3570 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3571 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset(
3572 this: &WebGl2RenderingContext,
3573 target: u32,
3574 level: i32,
3575 xoffset: i32,
3576 yoffset: i32,
3577 width: i32,
3578 height: i32,
3579 format: u32,
3580 type_: u32,
3581 src_data: &::js_sys::Object,
3582 src_offset: u32,
3583 ) -> Result<(), JsValue>;
3584 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3585 #[doc = "The `texSubImage2D()` method."]
3586 #[doc = ""]
3587 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3588 #[doc = ""]
3589 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3590 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset(
3591 this: &WebGl2RenderingContext,
3592 target: u32,
3593 level: i32,
3594 xoffset: i32,
3595 yoffset: i32,
3596 width: i32,
3597 height: i32,
3598 format: u32,
3599 type_: u32,
3600 src_data: &[u8],
3601 src_offset: u32,
3602 ) -> Result<(), JsValue>;
3603 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3604 #[doc = "The `texSubImage2D()` method."]
3605 #[doc = ""]
3606 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3607 #[doc = ""]
3608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3609 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset(
3610 this: &WebGl2RenderingContext,
3611 target: u32,
3612 level: i32,
3613 xoffset: i32,
3614 yoffset: i32,
3615 width: i32,
3616 height: i32,
3617 format: u32,
3618 type_: u32,
3619 src_data: &::js_sys::Uint8Array,
3620 src_offset: u32,
3621 ) -> Result<(), JsValue>;
3622 #[cfg(web_sys_unstable_apis)]
3623 #[cfg(feature = "VideoFrame")]
3624 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3625 #[doc = "The `texSubImage2D()` method."]
3626 #[doc = ""]
3627 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3628 #[doc = ""]
3629 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3630 #[doc = ""]
3631 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
3632 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
3633 pub fn tex_sub_image_2d_with_format_and_type_and_source(
3634 this: &WebGl2RenderingContext,
3635 target: u32,
3636 level: i32,
3637 xoffset: i32,
3638 yoffset: i32,
3639 format: u32,
3640 type_: u32,
3641 source: &VideoFrame,
3642 ) -> Result<(), JsValue>;
3643 #[cfg(web_sys_unstable_apis)]
3644 #[cfg(feature = "VideoFrame")]
3645 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
3646 #[doc = "The `texSubImage2D()` method."]
3647 #[doc = ""]
3648 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
3649 #[doc = ""]
3650 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3651 #[doc = ""]
3652 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
3653 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
3654 pub fn tex_sub_image_2d_with_width_and_height_and_format_and_type_and_source(
3655 this: &WebGl2RenderingContext,
3656 target: u32,
3657 level: i32,
3658 xoffset: i32,
3659 yoffset: i32,
3660 width: i32,
3661 height: i32,
3662 format: u32,
3663 type_: u32,
3664 source: &VideoFrame,
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_i32(
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: i32,
3685 ) -> Result<(), JsValue>;
3686 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3687 #[doc = "The `texSubImage3D()` method."]
3688 #[doc = ""]
3689 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3690 #[doc = ""]
3691 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3692 pub fn tex_sub_image_3d_with_f64(
3693 this: &WebGl2RenderingContext,
3694 target: u32,
3695 level: i32,
3696 xoffset: i32,
3697 yoffset: i32,
3698 zoffset: i32,
3699 width: i32,
3700 height: i32,
3701 depth: i32,
3702 format: u32,
3703 type_: u32,
3704 pbo_offset: f64,
3705 ) -> Result<(), JsValue>;
3706 #[cfg(feature = "HtmlCanvasElement")]
3707 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3708 #[doc = "The `texSubImage3D()` method."]
3709 #[doc = ""]
3710 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3711 #[doc = ""]
3712 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
3713 pub fn tex_sub_image_3d_with_html_canvas_element(
3714 this: &WebGl2RenderingContext,
3715 target: u32,
3716 level: i32,
3717 xoffset: i32,
3718 yoffset: i32,
3719 zoffset: i32,
3720 width: i32,
3721 height: i32,
3722 depth: i32,
3723 format: u32,
3724 type_: u32,
3725 source: &HtmlCanvasElement,
3726 ) -> Result<(), JsValue>;
3727 #[cfg(feature = "HtmlImageElement")]
3728 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3729 #[doc = "The `texSubImage3D()` method."]
3730 #[doc = ""]
3731 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3732 #[doc = ""]
3733 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
3734 pub fn tex_sub_image_3d_with_html_image_element(
3735 this: &WebGl2RenderingContext,
3736 target: u32,
3737 level: i32,
3738 xoffset: i32,
3739 yoffset: i32,
3740 zoffset: i32,
3741 width: i32,
3742 height: i32,
3743 depth: i32,
3744 format: u32,
3745 type_: u32,
3746 source: &HtmlImageElement,
3747 ) -> Result<(), JsValue>;
3748 #[cfg(feature = "HtmlVideoElement")]
3749 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3750 #[doc = "The `texSubImage3D()` method."]
3751 #[doc = ""]
3752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3753 #[doc = ""]
3754 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
3755 pub fn tex_sub_image_3d_with_html_video_element(
3756 this: &WebGl2RenderingContext,
3757 target: u32,
3758 level: i32,
3759 xoffset: i32,
3760 yoffset: i32,
3761 zoffset: i32,
3762 width: i32,
3763 height: i32,
3764 depth: i32,
3765 format: u32,
3766 type_: u32,
3767 source: &HtmlVideoElement,
3768 ) -> Result<(), JsValue>;
3769 #[cfg(feature = "ImageBitmap")]
3770 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3771 #[doc = "The `texSubImage3D()` method."]
3772 #[doc = ""]
3773 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3774 #[doc = ""]
3775 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
3776 pub fn tex_sub_image_3d_with_image_bitmap(
3777 this: &WebGl2RenderingContext,
3778 target: u32,
3779 level: i32,
3780 xoffset: i32,
3781 yoffset: i32,
3782 zoffset: i32,
3783 width: i32,
3784 height: i32,
3785 depth: i32,
3786 format: u32,
3787 type_: u32,
3788 source: &ImageBitmap,
3789 ) -> Result<(), JsValue>;
3790 #[cfg(feature = "ImageData")]
3791 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3792 #[doc = "The `texSubImage3D()` method."]
3793 #[doc = ""]
3794 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3795 #[doc = ""]
3796 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
3797 pub fn tex_sub_image_3d_with_image_data(
3798 this: &WebGl2RenderingContext,
3799 target: u32,
3800 level: i32,
3801 xoffset: i32,
3802 yoffset: i32,
3803 zoffset: i32,
3804 width: i32,
3805 height: i32,
3806 depth: i32,
3807 format: u32,
3808 type_: u32,
3809 source: &ImageData,
3810 ) -> Result<(), JsValue>;
3811 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3812 #[doc = "The `texSubImage3D()` method."]
3813 #[doc = ""]
3814 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3815 #[doc = ""]
3816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3817 pub fn tex_sub_image_3d_with_opt_array_buffer_view(
3818 this: &WebGl2RenderingContext,
3819 target: u32,
3820 level: i32,
3821 xoffset: i32,
3822 yoffset: i32,
3823 zoffset: i32,
3824 width: i32,
3825 height: i32,
3826 depth: i32,
3827 format: u32,
3828 type_: u32,
3829 src_data: Option<&::js_sys::Object>,
3830 ) -> Result<(), JsValue>;
3831 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3832 #[doc = "The `texSubImage3D()` method."]
3833 #[doc = ""]
3834 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3835 #[doc = ""]
3836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3837 pub fn tex_sub_image_3d_with_opt_u8_array(
3838 this: &WebGl2RenderingContext,
3839 target: u32,
3840 level: i32,
3841 xoffset: i32,
3842 yoffset: i32,
3843 zoffset: i32,
3844 width: i32,
3845 height: i32,
3846 depth: i32,
3847 format: u32,
3848 type_: u32,
3849 src_data: Option<&[u8]>,
3850 ) -> Result<(), JsValue>;
3851 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3852 #[doc = "The `texSubImage3D()` method."]
3853 #[doc = ""]
3854 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3855 #[doc = ""]
3856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3857 pub fn tex_sub_image_3d_with_opt_js_u8_array(
3858 this: &WebGl2RenderingContext,
3859 target: u32,
3860 level: i32,
3861 xoffset: i32,
3862 yoffset: i32,
3863 zoffset: i32,
3864 width: i32,
3865 height: i32,
3866 depth: i32,
3867 format: u32,
3868 type_: u32,
3869 src_data: Option<&::js_sys::Uint8Array>,
3870 ) -> Result<(), JsValue>;
3871 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3872 #[doc = "The `texSubImage3D()` method."]
3873 #[doc = ""]
3874 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3875 #[doc = ""]
3876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3877 pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset(
3878 this: &WebGl2RenderingContext,
3879 target: u32,
3880 level: i32,
3881 xoffset: i32,
3882 yoffset: i32,
3883 zoffset: i32,
3884 width: i32,
3885 height: i32,
3886 depth: i32,
3887 format: u32,
3888 type_: u32,
3889 src_data: Option<&::js_sys::Object>,
3890 src_offset: u32,
3891 ) -> Result<(), JsValue>;
3892 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3893 #[doc = "The `texSubImage3D()` method."]
3894 #[doc = ""]
3895 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3896 #[doc = ""]
3897 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3898 pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset(
3899 this: &WebGl2RenderingContext,
3900 target: u32,
3901 level: i32,
3902 xoffset: i32,
3903 yoffset: i32,
3904 zoffset: i32,
3905 width: i32,
3906 height: i32,
3907 depth: i32,
3908 format: u32,
3909 type_: u32,
3910 src_data: Option<&[u8]>,
3911 src_offset: u32,
3912 ) -> Result<(), JsValue>;
3913 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3914 #[doc = "The `texSubImage3D()` method."]
3915 #[doc = ""]
3916 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3917 #[doc = ""]
3918 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
3919 pub fn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset(
3920 this: &WebGl2RenderingContext,
3921 target: u32,
3922 level: i32,
3923 xoffset: i32,
3924 yoffset: i32,
3925 zoffset: i32,
3926 width: i32,
3927 height: i32,
3928 depth: i32,
3929 format: u32,
3930 type_: u32,
3931 src_data: Option<&::js_sys::Uint8Array>,
3932 src_offset: u32,
3933 ) -> Result<(), JsValue>;
3934 #[cfg(web_sys_unstable_apis)]
3935 #[cfg(feature = "VideoFrame")]
3936 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
3937 #[doc = "The `texSubImage3D()` method."]
3938 #[doc = ""]
3939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
3940 #[doc = ""]
3941 #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
3942 #[doc = ""]
3943 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
3944 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
3945 pub fn tex_sub_image_3d(
3946 this: &WebGl2RenderingContext,
3947 target: u32,
3948 level: i32,
3949 xoffset: i32,
3950 yoffset: i32,
3951 zoffset: i32,
3952 width: i32,
3953 height: i32,
3954 depth: i32,
3955 format: u32,
3956 type_: u32,
3957 source: &VideoFrame,
3958 ) -> Result<(), JsValue>;
3959 #[cfg(feature = "WebGlProgram")]
3960 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = transformFeedbackVaryings)]
3961 #[doc = "The `transformFeedbackVaryings()` method."]
3962 #[doc = ""]
3963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)"]
3964 #[doc = ""]
3965 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
3966 pub fn transform_feedback_varyings(
3967 this: &WebGl2RenderingContext,
3968 program: &WebGlProgram,
3969 varyings: &::wasm_bindgen::JsValue,
3970 buffer_mode: u32,
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_array(
3980 this: &WebGl2RenderingContext,
3981 location: Option<&WebGlUniformLocation>,
3982 data: &[f32],
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_js_f32_array(
3992 this: &WebGl2RenderingContext,
3993 location: Option<&WebGlUniformLocation>,
3994 data: &::js_sys::Float32Array,
3995 );
3996 #[cfg(feature = "WebGlUniformLocation")]
3997 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
3998 #[doc = "The `uniform1fv()` method."]
3999 #[doc = ""]
4000 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4001 #[doc = ""]
4002 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4003 pub fn uniform1fv_with_f32_sequence(
4004 this: &WebGl2RenderingContext,
4005 location: Option<&WebGlUniformLocation>,
4006 data: &::wasm_bindgen::JsValue,
4007 );
4008 #[cfg(feature = "WebGlUniformLocation")]
4009 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4010 #[doc = "The `uniform1fv()` method."]
4011 #[doc = ""]
4012 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4013 #[doc = ""]
4014 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4015 pub fn uniform1fv_with_f32_array_and_src_offset(
4016 this: &WebGl2RenderingContext,
4017 location: Option<&WebGlUniformLocation>,
4018 data: &[f32],
4019 src_offset: u32,
4020 );
4021 #[cfg(feature = "WebGlUniformLocation")]
4022 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4023 #[doc = "The `uniform1fv()` method."]
4024 #[doc = ""]
4025 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4026 #[doc = ""]
4027 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4028 pub fn uniform1fv_with_js_f32_array_and_src_offset(
4029 this: &WebGl2RenderingContext,
4030 location: Option<&WebGlUniformLocation>,
4031 data: &::js_sys::Float32Array,
4032 src_offset: u32,
4033 );
4034 #[cfg(feature = "WebGlUniformLocation")]
4035 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4036 #[doc = "The `uniform1fv()` method."]
4037 #[doc = ""]
4038 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4039 #[doc = ""]
4040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4041 pub fn uniform1fv_with_f32_sequence_and_src_offset(
4042 this: &WebGl2RenderingContext,
4043 location: Option<&WebGlUniformLocation>,
4044 data: &::wasm_bindgen::JsValue,
4045 src_offset: u32,
4046 );
4047 #[cfg(feature = "WebGlUniformLocation")]
4048 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4049 #[doc = "The `uniform1fv()` method."]
4050 #[doc = ""]
4051 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4052 #[doc = ""]
4053 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4054 pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length(
4055 this: &WebGl2RenderingContext,
4056 location: Option<&WebGlUniformLocation>,
4057 data: &[f32],
4058 src_offset: u32,
4059 src_length: u32,
4060 );
4061 #[cfg(feature = "WebGlUniformLocation")]
4062 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4063 #[doc = "The `uniform1fv()` method."]
4064 #[doc = ""]
4065 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4066 #[doc = ""]
4067 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4068 pub fn uniform1fv_with_js_f32_array_and_src_offset_and_src_length(
4069 this: &WebGl2RenderingContext,
4070 location: Option<&WebGlUniformLocation>,
4071 data: &::js_sys::Float32Array,
4072 src_offset: u32,
4073 src_length: u32,
4074 );
4075 #[cfg(feature = "WebGlUniformLocation")]
4076 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
4077 #[doc = "The `uniform1fv()` method."]
4078 #[doc = ""]
4079 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
4080 #[doc = ""]
4081 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4082 pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length(
4083 this: &WebGl2RenderingContext,
4084 location: Option<&WebGlUniformLocation>,
4085 data: &::wasm_bindgen::JsValue,
4086 src_offset: u32,
4087 src_length: u32,
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_array(
4097 this: &WebGl2RenderingContext,
4098 location: Option<&WebGlUniformLocation>,
4099 data: &[i32],
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_js_i32_array(
4109 this: &WebGl2RenderingContext,
4110 location: Option<&WebGlUniformLocation>,
4111 data: &::js_sys::Int32Array,
4112 );
4113 #[cfg(feature = "WebGlUniformLocation")]
4114 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4115 #[doc = "The `uniform1iv()` method."]
4116 #[doc = ""]
4117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4118 #[doc = ""]
4119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4120 pub fn uniform1iv_with_i32_sequence(
4121 this: &WebGl2RenderingContext,
4122 location: Option<&WebGlUniformLocation>,
4123 data: &::wasm_bindgen::JsValue,
4124 );
4125 #[cfg(feature = "WebGlUniformLocation")]
4126 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4127 #[doc = "The `uniform1iv()` method."]
4128 #[doc = ""]
4129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4130 #[doc = ""]
4131 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4132 pub fn uniform1iv_with_i32_array_and_src_offset(
4133 this: &WebGl2RenderingContext,
4134 location: Option<&WebGlUniformLocation>,
4135 data: &[i32],
4136 src_offset: u32,
4137 );
4138 #[cfg(feature = "WebGlUniformLocation")]
4139 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4140 #[doc = "The `uniform1iv()` method."]
4141 #[doc = ""]
4142 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4143 #[doc = ""]
4144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4145 pub fn uniform1iv_with_js_i32_array_and_src_offset(
4146 this: &WebGl2RenderingContext,
4147 location: Option<&WebGlUniformLocation>,
4148 data: &::js_sys::Int32Array,
4149 src_offset: u32,
4150 );
4151 #[cfg(feature = "WebGlUniformLocation")]
4152 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4153 #[doc = "The `uniform1iv()` method."]
4154 #[doc = ""]
4155 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4156 #[doc = ""]
4157 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4158 pub fn uniform1iv_with_i32_sequence_and_src_offset(
4159 this: &WebGl2RenderingContext,
4160 location: Option<&WebGlUniformLocation>,
4161 data: &::wasm_bindgen::JsValue,
4162 src_offset: u32,
4163 );
4164 #[cfg(feature = "WebGlUniformLocation")]
4165 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4166 #[doc = "The `uniform1iv()` method."]
4167 #[doc = ""]
4168 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4169 #[doc = ""]
4170 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4171 pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length(
4172 this: &WebGl2RenderingContext,
4173 location: Option<&WebGlUniformLocation>,
4174 data: &[i32],
4175 src_offset: u32,
4176 src_length: u32,
4177 );
4178 #[cfg(feature = "WebGlUniformLocation")]
4179 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4180 #[doc = "The `uniform1iv()` method."]
4181 #[doc = ""]
4182 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4183 #[doc = ""]
4184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4185 pub fn uniform1iv_with_js_i32_array_and_src_offset_and_src_length(
4186 this: &WebGl2RenderingContext,
4187 location: Option<&WebGlUniformLocation>,
4188 data: &::js_sys::Int32Array,
4189 src_offset: u32,
4190 src_length: u32,
4191 );
4192 #[cfg(feature = "WebGlUniformLocation")]
4193 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
4194 #[doc = "The `uniform1iv()` method."]
4195 #[doc = ""]
4196 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
4197 #[doc = ""]
4198 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4199 pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length(
4200 this: &WebGl2RenderingContext,
4201 location: Option<&WebGlUniformLocation>,
4202 data: &::wasm_bindgen::JsValue,
4203 src_offset: u32,
4204 src_length: u32,
4205 );
4206 #[cfg(feature = "WebGlUniformLocation")]
4207 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1ui)]
4208 #[doc = "The `uniform1ui()` method."]
4209 #[doc = ""]
4210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)"]
4211 #[doc = ""]
4212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4213 pub fn uniform1ui(
4214 this: &WebGl2RenderingContext,
4215 location: Option<&WebGlUniformLocation>,
4216 v0: u32,
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_array(
4226 this: &WebGl2RenderingContext,
4227 location: Option<&WebGlUniformLocation>,
4228 data: &[u32],
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_js_u32_array(
4238 this: &WebGl2RenderingContext,
4239 location: Option<&WebGlUniformLocation>,
4240 data: &::js_sys::Uint32Array,
4241 );
4242 #[cfg(feature = "WebGlUniformLocation")]
4243 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4244 #[doc = "The `uniform1uiv()` method."]
4245 #[doc = ""]
4246 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4247 #[doc = ""]
4248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4249 pub fn uniform1uiv_with_u32_sequence(
4250 this: &WebGl2RenderingContext,
4251 location: Option<&WebGlUniformLocation>,
4252 data: &::wasm_bindgen::JsValue,
4253 );
4254 #[cfg(feature = "WebGlUniformLocation")]
4255 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4256 #[doc = "The `uniform1uiv()` method."]
4257 #[doc = ""]
4258 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4259 #[doc = ""]
4260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4261 pub fn uniform1uiv_with_u32_array_and_src_offset(
4262 this: &WebGl2RenderingContext,
4263 location: Option<&WebGlUniformLocation>,
4264 data: &[u32],
4265 src_offset: u32,
4266 );
4267 #[cfg(feature = "WebGlUniformLocation")]
4268 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4269 #[doc = "The `uniform1uiv()` method."]
4270 #[doc = ""]
4271 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4272 #[doc = ""]
4273 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4274 pub fn uniform1uiv_with_js_u32_array_and_src_offset(
4275 this: &WebGl2RenderingContext,
4276 location: Option<&WebGlUniformLocation>,
4277 data: &::js_sys::Uint32Array,
4278 src_offset: u32,
4279 );
4280 #[cfg(feature = "WebGlUniformLocation")]
4281 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4282 #[doc = "The `uniform1uiv()` method."]
4283 #[doc = ""]
4284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4285 #[doc = ""]
4286 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4287 pub fn uniform1uiv_with_u32_sequence_and_src_offset(
4288 this: &WebGl2RenderingContext,
4289 location: Option<&WebGlUniformLocation>,
4290 data: &::wasm_bindgen::JsValue,
4291 src_offset: u32,
4292 );
4293 #[cfg(feature = "WebGlUniformLocation")]
4294 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4295 #[doc = "The `uniform1uiv()` method."]
4296 #[doc = ""]
4297 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4298 #[doc = ""]
4299 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4300 pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length(
4301 this: &WebGl2RenderingContext,
4302 location: Option<&WebGlUniformLocation>,
4303 data: &[u32],
4304 src_offset: u32,
4305 src_length: u32,
4306 );
4307 #[cfg(feature = "WebGlUniformLocation")]
4308 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4309 #[doc = "The `uniform1uiv()` method."]
4310 #[doc = ""]
4311 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4312 #[doc = ""]
4313 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4314 pub fn uniform1uiv_with_js_u32_array_and_src_offset_and_src_length(
4315 this: &WebGl2RenderingContext,
4316 location: Option<&WebGlUniformLocation>,
4317 data: &::js_sys::Uint32Array,
4318 src_offset: u32,
4319 src_length: u32,
4320 );
4321 #[cfg(feature = "WebGlUniformLocation")]
4322 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
4323 #[doc = "The `uniform1uiv()` method."]
4324 #[doc = ""]
4325 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
4326 #[doc = ""]
4327 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4328 pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length(
4329 this: &WebGl2RenderingContext,
4330 location: Option<&WebGlUniformLocation>,
4331 data: &::wasm_bindgen::JsValue,
4332 src_offset: u32,
4333 src_length: u32,
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_array(
4343 this: &WebGl2RenderingContext,
4344 location: Option<&WebGlUniformLocation>,
4345 data: &[f32],
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_js_f32_array(
4355 this: &WebGl2RenderingContext,
4356 location: Option<&WebGlUniformLocation>,
4357 data: &::js_sys::Float32Array,
4358 );
4359 #[cfg(feature = "WebGlUniformLocation")]
4360 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4361 #[doc = "The `uniform2fv()` method."]
4362 #[doc = ""]
4363 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4364 #[doc = ""]
4365 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4366 pub fn uniform2fv_with_f32_sequence(
4367 this: &WebGl2RenderingContext,
4368 location: Option<&WebGlUniformLocation>,
4369 data: &::wasm_bindgen::JsValue,
4370 );
4371 #[cfg(feature = "WebGlUniformLocation")]
4372 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4373 #[doc = "The `uniform2fv()` method."]
4374 #[doc = ""]
4375 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4376 #[doc = ""]
4377 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4378 pub fn uniform2fv_with_f32_array_and_src_offset(
4379 this: &WebGl2RenderingContext,
4380 location: Option<&WebGlUniformLocation>,
4381 data: &[f32],
4382 src_offset: u32,
4383 );
4384 #[cfg(feature = "WebGlUniformLocation")]
4385 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4386 #[doc = "The `uniform2fv()` method."]
4387 #[doc = ""]
4388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4389 #[doc = ""]
4390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4391 pub fn uniform2fv_with_js_f32_array_and_src_offset(
4392 this: &WebGl2RenderingContext,
4393 location: Option<&WebGlUniformLocation>,
4394 data: &::js_sys::Float32Array,
4395 src_offset: u32,
4396 );
4397 #[cfg(feature = "WebGlUniformLocation")]
4398 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4399 #[doc = "The `uniform2fv()` method."]
4400 #[doc = ""]
4401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4402 #[doc = ""]
4403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4404 pub fn uniform2fv_with_f32_sequence_and_src_offset(
4405 this: &WebGl2RenderingContext,
4406 location: Option<&WebGlUniformLocation>,
4407 data: &::wasm_bindgen::JsValue,
4408 src_offset: u32,
4409 );
4410 #[cfg(feature = "WebGlUniformLocation")]
4411 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4412 #[doc = "The `uniform2fv()` method."]
4413 #[doc = ""]
4414 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4415 #[doc = ""]
4416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4417 pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length(
4418 this: &WebGl2RenderingContext,
4419 location: Option<&WebGlUniformLocation>,
4420 data: &[f32],
4421 src_offset: u32,
4422 src_length: u32,
4423 );
4424 #[cfg(feature = "WebGlUniformLocation")]
4425 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4426 #[doc = "The `uniform2fv()` method."]
4427 #[doc = ""]
4428 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4429 #[doc = ""]
4430 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4431 pub fn uniform2fv_with_js_f32_array_and_src_offset_and_src_length(
4432 this: &WebGl2RenderingContext,
4433 location: Option<&WebGlUniformLocation>,
4434 data: &::js_sys::Float32Array,
4435 src_offset: u32,
4436 src_length: u32,
4437 );
4438 #[cfg(feature = "WebGlUniformLocation")]
4439 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
4440 #[doc = "The `uniform2fv()` method."]
4441 #[doc = ""]
4442 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
4443 #[doc = ""]
4444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4445 pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length(
4446 this: &WebGl2RenderingContext,
4447 location: Option<&WebGlUniformLocation>,
4448 data: &::wasm_bindgen::JsValue,
4449 src_offset: u32,
4450 src_length: u32,
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_array(
4460 this: &WebGl2RenderingContext,
4461 location: Option<&WebGlUniformLocation>,
4462 data: &[i32],
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_js_i32_array(
4472 this: &WebGl2RenderingContext,
4473 location: Option<&WebGlUniformLocation>,
4474 data: &::js_sys::Int32Array,
4475 );
4476 #[cfg(feature = "WebGlUniformLocation")]
4477 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4478 #[doc = "The `uniform2iv()` method."]
4479 #[doc = ""]
4480 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4481 #[doc = ""]
4482 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4483 pub fn uniform2iv_with_i32_sequence(
4484 this: &WebGl2RenderingContext,
4485 location: Option<&WebGlUniformLocation>,
4486 data: &::wasm_bindgen::JsValue,
4487 );
4488 #[cfg(feature = "WebGlUniformLocation")]
4489 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4490 #[doc = "The `uniform2iv()` method."]
4491 #[doc = ""]
4492 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4493 #[doc = ""]
4494 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4495 pub fn uniform2iv_with_i32_array_and_src_offset(
4496 this: &WebGl2RenderingContext,
4497 location: Option<&WebGlUniformLocation>,
4498 data: &[i32],
4499 src_offset: u32,
4500 );
4501 #[cfg(feature = "WebGlUniformLocation")]
4502 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4503 #[doc = "The `uniform2iv()` method."]
4504 #[doc = ""]
4505 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4506 #[doc = ""]
4507 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4508 pub fn uniform2iv_with_js_i32_array_and_src_offset(
4509 this: &WebGl2RenderingContext,
4510 location: Option<&WebGlUniformLocation>,
4511 data: &::js_sys::Int32Array,
4512 src_offset: u32,
4513 );
4514 #[cfg(feature = "WebGlUniformLocation")]
4515 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4516 #[doc = "The `uniform2iv()` method."]
4517 #[doc = ""]
4518 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4519 #[doc = ""]
4520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4521 pub fn uniform2iv_with_i32_sequence_and_src_offset(
4522 this: &WebGl2RenderingContext,
4523 location: Option<&WebGlUniformLocation>,
4524 data: &::wasm_bindgen::JsValue,
4525 src_offset: u32,
4526 );
4527 #[cfg(feature = "WebGlUniformLocation")]
4528 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4529 #[doc = "The `uniform2iv()` method."]
4530 #[doc = ""]
4531 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4532 #[doc = ""]
4533 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4534 pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length(
4535 this: &WebGl2RenderingContext,
4536 location: Option<&WebGlUniformLocation>,
4537 data: &[i32],
4538 src_offset: u32,
4539 src_length: u32,
4540 );
4541 #[cfg(feature = "WebGlUniformLocation")]
4542 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4543 #[doc = "The `uniform2iv()` method."]
4544 #[doc = ""]
4545 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4546 #[doc = ""]
4547 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4548 pub fn uniform2iv_with_js_i32_array_and_src_offset_and_src_length(
4549 this: &WebGl2RenderingContext,
4550 location: Option<&WebGlUniformLocation>,
4551 data: &::js_sys::Int32Array,
4552 src_offset: u32,
4553 src_length: u32,
4554 );
4555 #[cfg(feature = "WebGlUniformLocation")]
4556 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
4557 #[doc = "The `uniform2iv()` method."]
4558 #[doc = ""]
4559 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
4560 #[doc = ""]
4561 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4562 pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length(
4563 this: &WebGl2RenderingContext,
4564 location: Option<&WebGlUniformLocation>,
4565 data: &::wasm_bindgen::JsValue,
4566 src_offset: u32,
4567 src_length: u32,
4568 );
4569 #[cfg(feature = "WebGlUniformLocation")]
4570 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2ui)]
4571 #[doc = "The `uniform2ui()` method."]
4572 #[doc = ""]
4573 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)"]
4574 #[doc = ""]
4575 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4576 pub fn uniform2ui(
4577 this: &WebGl2RenderingContext,
4578 location: Option<&WebGlUniformLocation>,
4579 v0: u32,
4580 v1: u32,
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_array(
4590 this: &WebGl2RenderingContext,
4591 location: Option<&WebGlUniformLocation>,
4592 data: &[u32],
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_js_u32_array(
4602 this: &WebGl2RenderingContext,
4603 location: Option<&WebGlUniformLocation>,
4604 data: &::js_sys::Uint32Array,
4605 );
4606 #[cfg(feature = "WebGlUniformLocation")]
4607 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4608 #[doc = "The `uniform2uiv()` method."]
4609 #[doc = ""]
4610 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4611 #[doc = ""]
4612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4613 pub fn uniform2uiv_with_u32_sequence(
4614 this: &WebGl2RenderingContext,
4615 location: Option<&WebGlUniformLocation>,
4616 data: &::wasm_bindgen::JsValue,
4617 );
4618 #[cfg(feature = "WebGlUniformLocation")]
4619 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4620 #[doc = "The `uniform2uiv()` method."]
4621 #[doc = ""]
4622 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4623 #[doc = ""]
4624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4625 pub fn uniform2uiv_with_u32_array_and_src_offset(
4626 this: &WebGl2RenderingContext,
4627 location: Option<&WebGlUniformLocation>,
4628 data: &[u32],
4629 src_offset: u32,
4630 );
4631 #[cfg(feature = "WebGlUniformLocation")]
4632 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4633 #[doc = "The `uniform2uiv()` method."]
4634 #[doc = ""]
4635 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4636 #[doc = ""]
4637 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4638 pub fn uniform2uiv_with_js_u32_array_and_src_offset(
4639 this: &WebGl2RenderingContext,
4640 location: Option<&WebGlUniformLocation>,
4641 data: &::js_sys::Uint32Array,
4642 src_offset: u32,
4643 );
4644 #[cfg(feature = "WebGlUniformLocation")]
4645 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4646 #[doc = "The `uniform2uiv()` method."]
4647 #[doc = ""]
4648 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4649 #[doc = ""]
4650 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4651 pub fn uniform2uiv_with_u32_sequence_and_src_offset(
4652 this: &WebGl2RenderingContext,
4653 location: Option<&WebGlUniformLocation>,
4654 data: &::wasm_bindgen::JsValue,
4655 src_offset: u32,
4656 );
4657 #[cfg(feature = "WebGlUniformLocation")]
4658 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4659 #[doc = "The `uniform2uiv()` method."]
4660 #[doc = ""]
4661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4662 #[doc = ""]
4663 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4664 pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length(
4665 this: &WebGl2RenderingContext,
4666 location: Option<&WebGlUniformLocation>,
4667 data: &[u32],
4668 src_offset: u32,
4669 src_length: u32,
4670 );
4671 #[cfg(feature = "WebGlUniformLocation")]
4672 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4673 #[doc = "The `uniform2uiv()` method."]
4674 #[doc = ""]
4675 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4676 #[doc = ""]
4677 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4678 pub fn uniform2uiv_with_js_u32_array_and_src_offset_and_src_length(
4679 this: &WebGl2RenderingContext,
4680 location: Option<&WebGlUniformLocation>,
4681 data: &::js_sys::Uint32Array,
4682 src_offset: u32,
4683 src_length: u32,
4684 );
4685 #[cfg(feature = "WebGlUniformLocation")]
4686 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
4687 #[doc = "The `uniform2uiv()` method."]
4688 #[doc = ""]
4689 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
4690 #[doc = ""]
4691 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4692 pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length(
4693 this: &WebGl2RenderingContext,
4694 location: Option<&WebGlUniformLocation>,
4695 data: &::wasm_bindgen::JsValue,
4696 src_offset: u32,
4697 src_length: u32,
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_array(
4707 this: &WebGl2RenderingContext,
4708 location: Option<&WebGlUniformLocation>,
4709 data: &[f32],
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_js_f32_array(
4719 this: &WebGl2RenderingContext,
4720 location: Option<&WebGlUniformLocation>,
4721 data: &::js_sys::Float32Array,
4722 );
4723 #[cfg(feature = "WebGlUniformLocation")]
4724 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4725 #[doc = "The `uniform3fv()` method."]
4726 #[doc = ""]
4727 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4728 #[doc = ""]
4729 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4730 pub fn uniform3fv_with_f32_sequence(
4731 this: &WebGl2RenderingContext,
4732 location: Option<&WebGlUniformLocation>,
4733 data: &::wasm_bindgen::JsValue,
4734 );
4735 #[cfg(feature = "WebGlUniformLocation")]
4736 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4737 #[doc = "The `uniform3fv()` method."]
4738 #[doc = ""]
4739 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4740 #[doc = ""]
4741 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4742 pub fn uniform3fv_with_f32_array_and_src_offset(
4743 this: &WebGl2RenderingContext,
4744 location: Option<&WebGlUniformLocation>,
4745 data: &[f32],
4746 src_offset: u32,
4747 );
4748 #[cfg(feature = "WebGlUniformLocation")]
4749 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4750 #[doc = "The `uniform3fv()` method."]
4751 #[doc = ""]
4752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4753 #[doc = ""]
4754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4755 pub fn uniform3fv_with_js_f32_array_and_src_offset(
4756 this: &WebGl2RenderingContext,
4757 location: Option<&WebGlUniformLocation>,
4758 data: &::js_sys::Float32Array,
4759 src_offset: u32,
4760 );
4761 #[cfg(feature = "WebGlUniformLocation")]
4762 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4763 #[doc = "The `uniform3fv()` method."]
4764 #[doc = ""]
4765 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4766 #[doc = ""]
4767 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4768 pub fn uniform3fv_with_f32_sequence_and_src_offset(
4769 this: &WebGl2RenderingContext,
4770 location: Option<&WebGlUniformLocation>,
4771 data: &::wasm_bindgen::JsValue,
4772 src_offset: u32,
4773 );
4774 #[cfg(feature = "WebGlUniformLocation")]
4775 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4776 #[doc = "The `uniform3fv()` method."]
4777 #[doc = ""]
4778 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4779 #[doc = ""]
4780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4781 pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length(
4782 this: &WebGl2RenderingContext,
4783 location: Option<&WebGlUniformLocation>,
4784 data: &[f32],
4785 src_offset: u32,
4786 src_length: u32,
4787 );
4788 #[cfg(feature = "WebGlUniformLocation")]
4789 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4790 #[doc = "The `uniform3fv()` method."]
4791 #[doc = ""]
4792 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4793 #[doc = ""]
4794 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4795 pub fn uniform3fv_with_js_f32_array_and_src_offset_and_src_length(
4796 this: &WebGl2RenderingContext,
4797 location: Option<&WebGlUniformLocation>,
4798 data: &::js_sys::Float32Array,
4799 src_offset: u32,
4800 src_length: u32,
4801 );
4802 #[cfg(feature = "WebGlUniformLocation")]
4803 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
4804 #[doc = "The `uniform3fv()` method."]
4805 #[doc = ""]
4806 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
4807 #[doc = ""]
4808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4809 pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length(
4810 this: &WebGl2RenderingContext,
4811 location: Option<&WebGlUniformLocation>,
4812 data: &::wasm_bindgen::JsValue,
4813 src_offset: u32,
4814 src_length: u32,
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_array(
4824 this: &WebGl2RenderingContext,
4825 location: Option<&WebGlUniformLocation>,
4826 data: &[i32],
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_js_i32_array(
4836 this: &WebGl2RenderingContext,
4837 location: Option<&WebGlUniformLocation>,
4838 data: &::js_sys::Int32Array,
4839 );
4840 #[cfg(feature = "WebGlUniformLocation")]
4841 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4842 #[doc = "The `uniform3iv()` method."]
4843 #[doc = ""]
4844 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4845 #[doc = ""]
4846 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4847 pub fn uniform3iv_with_i32_sequence(
4848 this: &WebGl2RenderingContext,
4849 location: Option<&WebGlUniformLocation>,
4850 data: &::wasm_bindgen::JsValue,
4851 );
4852 #[cfg(feature = "WebGlUniformLocation")]
4853 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4854 #[doc = "The `uniform3iv()` method."]
4855 #[doc = ""]
4856 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4857 #[doc = ""]
4858 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4859 pub fn uniform3iv_with_i32_array_and_src_offset(
4860 this: &WebGl2RenderingContext,
4861 location: Option<&WebGlUniformLocation>,
4862 data: &[i32],
4863 src_offset: u32,
4864 );
4865 #[cfg(feature = "WebGlUniformLocation")]
4866 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4867 #[doc = "The `uniform3iv()` method."]
4868 #[doc = ""]
4869 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4870 #[doc = ""]
4871 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4872 pub fn uniform3iv_with_js_i32_array_and_src_offset(
4873 this: &WebGl2RenderingContext,
4874 location: Option<&WebGlUniformLocation>,
4875 data: &::js_sys::Int32Array,
4876 src_offset: u32,
4877 );
4878 #[cfg(feature = "WebGlUniformLocation")]
4879 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4880 #[doc = "The `uniform3iv()` method."]
4881 #[doc = ""]
4882 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4883 #[doc = ""]
4884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4885 pub fn uniform3iv_with_i32_sequence_and_src_offset(
4886 this: &WebGl2RenderingContext,
4887 location: Option<&WebGlUniformLocation>,
4888 data: &::wasm_bindgen::JsValue,
4889 src_offset: u32,
4890 );
4891 #[cfg(feature = "WebGlUniformLocation")]
4892 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4893 #[doc = "The `uniform3iv()` method."]
4894 #[doc = ""]
4895 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4896 #[doc = ""]
4897 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4898 pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length(
4899 this: &WebGl2RenderingContext,
4900 location: Option<&WebGlUniformLocation>,
4901 data: &[i32],
4902 src_offset: u32,
4903 src_length: u32,
4904 );
4905 #[cfg(feature = "WebGlUniformLocation")]
4906 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4907 #[doc = "The `uniform3iv()` method."]
4908 #[doc = ""]
4909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4910 #[doc = ""]
4911 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4912 pub fn uniform3iv_with_js_i32_array_and_src_offset_and_src_length(
4913 this: &WebGl2RenderingContext,
4914 location: Option<&WebGlUniformLocation>,
4915 data: &::js_sys::Int32Array,
4916 src_offset: u32,
4917 src_length: u32,
4918 );
4919 #[cfg(feature = "WebGlUniformLocation")]
4920 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
4921 #[doc = "The `uniform3iv()` method."]
4922 #[doc = ""]
4923 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
4924 #[doc = ""]
4925 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4926 pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length(
4927 this: &WebGl2RenderingContext,
4928 location: Option<&WebGlUniformLocation>,
4929 data: &::wasm_bindgen::JsValue,
4930 src_offset: u32,
4931 src_length: u32,
4932 );
4933 #[cfg(feature = "WebGlUniformLocation")]
4934 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3ui)]
4935 #[doc = "The `uniform3ui()` method."]
4936 #[doc = ""]
4937 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)"]
4938 #[doc = ""]
4939 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4940 pub fn uniform3ui(
4941 this: &WebGl2RenderingContext,
4942 location: Option<&WebGlUniformLocation>,
4943 v0: u32,
4944 v1: u32,
4945 v2: u32,
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_array(
4955 this: &WebGl2RenderingContext,
4956 location: Option<&WebGlUniformLocation>,
4957 data: &[u32],
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_js_u32_array(
4967 this: &WebGl2RenderingContext,
4968 location: Option<&WebGlUniformLocation>,
4969 data: &::js_sys::Uint32Array,
4970 );
4971 #[cfg(feature = "WebGlUniformLocation")]
4972 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4973 #[doc = "The `uniform3uiv()` method."]
4974 #[doc = ""]
4975 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4976 #[doc = ""]
4977 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4978 pub fn uniform3uiv_with_u32_sequence(
4979 this: &WebGl2RenderingContext,
4980 location: Option<&WebGlUniformLocation>,
4981 data: &::wasm_bindgen::JsValue,
4982 );
4983 #[cfg(feature = "WebGlUniformLocation")]
4984 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4985 #[doc = "The `uniform3uiv()` method."]
4986 #[doc = ""]
4987 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
4988 #[doc = ""]
4989 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
4990 pub fn uniform3uiv_with_u32_array_and_src_offset(
4991 this: &WebGl2RenderingContext,
4992 location: Option<&WebGlUniformLocation>,
4993 data: &[u32],
4994 src_offset: u32,
4995 );
4996 #[cfg(feature = "WebGlUniformLocation")]
4997 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
4998 #[doc = "The `uniform3uiv()` method."]
4999 #[doc = ""]
5000 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5001 #[doc = ""]
5002 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5003 pub fn uniform3uiv_with_js_u32_array_and_src_offset(
5004 this: &WebGl2RenderingContext,
5005 location: Option<&WebGlUniformLocation>,
5006 data: &::js_sys::Uint32Array,
5007 src_offset: u32,
5008 );
5009 #[cfg(feature = "WebGlUniformLocation")]
5010 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5011 #[doc = "The `uniform3uiv()` method."]
5012 #[doc = ""]
5013 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5014 #[doc = ""]
5015 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5016 pub fn uniform3uiv_with_u32_sequence_and_src_offset(
5017 this: &WebGl2RenderingContext,
5018 location: Option<&WebGlUniformLocation>,
5019 data: &::wasm_bindgen::JsValue,
5020 src_offset: u32,
5021 );
5022 #[cfg(feature = "WebGlUniformLocation")]
5023 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5024 #[doc = "The `uniform3uiv()` method."]
5025 #[doc = ""]
5026 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5027 #[doc = ""]
5028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5029 pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length(
5030 this: &WebGl2RenderingContext,
5031 location: Option<&WebGlUniformLocation>,
5032 data: &[u32],
5033 src_offset: u32,
5034 src_length: u32,
5035 );
5036 #[cfg(feature = "WebGlUniformLocation")]
5037 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5038 #[doc = "The `uniform3uiv()` method."]
5039 #[doc = ""]
5040 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5041 #[doc = ""]
5042 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5043 pub fn uniform3uiv_with_js_u32_array_and_src_offset_and_src_length(
5044 this: &WebGl2RenderingContext,
5045 location: Option<&WebGlUniformLocation>,
5046 data: &::js_sys::Uint32Array,
5047 src_offset: u32,
5048 src_length: u32,
5049 );
5050 #[cfg(feature = "WebGlUniformLocation")]
5051 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
5052 #[doc = "The `uniform3uiv()` method."]
5053 #[doc = ""]
5054 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
5055 #[doc = ""]
5056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5057 pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length(
5058 this: &WebGl2RenderingContext,
5059 location: Option<&WebGlUniformLocation>,
5060 data: &::wasm_bindgen::JsValue,
5061 src_offset: u32,
5062 src_length: u32,
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_array(
5072 this: &WebGl2RenderingContext,
5073 location: Option<&WebGlUniformLocation>,
5074 data: &[f32],
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_js_f32_array(
5084 this: &WebGl2RenderingContext,
5085 location: Option<&WebGlUniformLocation>,
5086 data: &::js_sys::Float32Array,
5087 );
5088 #[cfg(feature = "WebGlUniformLocation")]
5089 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5090 #[doc = "The `uniform4fv()` method."]
5091 #[doc = ""]
5092 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5093 #[doc = ""]
5094 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5095 pub fn uniform4fv_with_f32_sequence(
5096 this: &WebGl2RenderingContext,
5097 location: Option<&WebGlUniformLocation>,
5098 data: &::wasm_bindgen::JsValue,
5099 );
5100 #[cfg(feature = "WebGlUniformLocation")]
5101 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5102 #[doc = "The `uniform4fv()` method."]
5103 #[doc = ""]
5104 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5105 #[doc = ""]
5106 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5107 pub fn uniform4fv_with_f32_array_and_src_offset(
5108 this: &WebGl2RenderingContext,
5109 location: Option<&WebGlUniformLocation>,
5110 data: &[f32],
5111 src_offset: u32,
5112 );
5113 #[cfg(feature = "WebGlUniformLocation")]
5114 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5115 #[doc = "The `uniform4fv()` method."]
5116 #[doc = ""]
5117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5118 #[doc = ""]
5119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5120 pub fn uniform4fv_with_js_f32_array_and_src_offset(
5121 this: &WebGl2RenderingContext,
5122 location: Option<&WebGlUniformLocation>,
5123 data: &::js_sys::Float32Array,
5124 src_offset: u32,
5125 );
5126 #[cfg(feature = "WebGlUniformLocation")]
5127 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5128 #[doc = "The `uniform4fv()` method."]
5129 #[doc = ""]
5130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5131 #[doc = ""]
5132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5133 pub fn uniform4fv_with_f32_sequence_and_src_offset(
5134 this: &WebGl2RenderingContext,
5135 location: Option<&WebGlUniformLocation>,
5136 data: &::wasm_bindgen::JsValue,
5137 src_offset: u32,
5138 );
5139 #[cfg(feature = "WebGlUniformLocation")]
5140 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5141 #[doc = "The `uniform4fv()` method."]
5142 #[doc = ""]
5143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5144 #[doc = ""]
5145 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5146 pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length(
5147 this: &WebGl2RenderingContext,
5148 location: Option<&WebGlUniformLocation>,
5149 data: &[f32],
5150 src_offset: u32,
5151 src_length: u32,
5152 );
5153 #[cfg(feature = "WebGlUniformLocation")]
5154 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5155 #[doc = "The `uniform4fv()` method."]
5156 #[doc = ""]
5157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5158 #[doc = ""]
5159 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5160 pub fn uniform4fv_with_js_f32_array_and_src_offset_and_src_length(
5161 this: &WebGl2RenderingContext,
5162 location: Option<&WebGlUniformLocation>,
5163 data: &::js_sys::Float32Array,
5164 src_offset: u32,
5165 src_length: u32,
5166 );
5167 #[cfg(feature = "WebGlUniformLocation")]
5168 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
5169 #[doc = "The `uniform4fv()` method."]
5170 #[doc = ""]
5171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
5172 #[doc = ""]
5173 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5174 pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length(
5175 this: &WebGl2RenderingContext,
5176 location: Option<&WebGlUniformLocation>,
5177 data: &::wasm_bindgen::JsValue,
5178 src_offset: u32,
5179 src_length: u32,
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_array(
5189 this: &WebGl2RenderingContext,
5190 location: Option<&WebGlUniformLocation>,
5191 data: &[i32],
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_js_i32_array(
5201 this: &WebGl2RenderingContext,
5202 location: Option<&WebGlUniformLocation>,
5203 data: &::js_sys::Int32Array,
5204 );
5205 #[cfg(feature = "WebGlUniformLocation")]
5206 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5207 #[doc = "The `uniform4iv()` method."]
5208 #[doc = ""]
5209 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5210 #[doc = ""]
5211 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5212 pub fn uniform4iv_with_i32_sequence(
5213 this: &WebGl2RenderingContext,
5214 location: Option<&WebGlUniformLocation>,
5215 data: &::wasm_bindgen::JsValue,
5216 );
5217 #[cfg(feature = "WebGlUniformLocation")]
5218 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5219 #[doc = "The `uniform4iv()` method."]
5220 #[doc = ""]
5221 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5222 #[doc = ""]
5223 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5224 pub fn uniform4iv_with_i32_array_and_src_offset(
5225 this: &WebGl2RenderingContext,
5226 location: Option<&WebGlUniformLocation>,
5227 data: &[i32],
5228 src_offset: u32,
5229 );
5230 #[cfg(feature = "WebGlUniformLocation")]
5231 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5232 #[doc = "The `uniform4iv()` method."]
5233 #[doc = ""]
5234 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5235 #[doc = ""]
5236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5237 pub fn uniform4iv_with_js_i32_array_and_src_offset(
5238 this: &WebGl2RenderingContext,
5239 location: Option<&WebGlUniformLocation>,
5240 data: &::js_sys::Int32Array,
5241 src_offset: u32,
5242 );
5243 #[cfg(feature = "WebGlUniformLocation")]
5244 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5245 #[doc = "The `uniform4iv()` method."]
5246 #[doc = ""]
5247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5248 #[doc = ""]
5249 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5250 pub fn uniform4iv_with_i32_sequence_and_src_offset(
5251 this: &WebGl2RenderingContext,
5252 location: Option<&WebGlUniformLocation>,
5253 data: &::wasm_bindgen::JsValue,
5254 src_offset: u32,
5255 );
5256 #[cfg(feature = "WebGlUniformLocation")]
5257 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5258 #[doc = "The `uniform4iv()` method."]
5259 #[doc = ""]
5260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5261 #[doc = ""]
5262 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5263 pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length(
5264 this: &WebGl2RenderingContext,
5265 location: Option<&WebGlUniformLocation>,
5266 data: &[i32],
5267 src_offset: u32,
5268 src_length: u32,
5269 );
5270 #[cfg(feature = "WebGlUniformLocation")]
5271 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5272 #[doc = "The `uniform4iv()` method."]
5273 #[doc = ""]
5274 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5275 #[doc = ""]
5276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5277 pub fn uniform4iv_with_js_i32_array_and_src_offset_and_src_length(
5278 this: &WebGl2RenderingContext,
5279 location: Option<&WebGlUniformLocation>,
5280 data: &::js_sys::Int32Array,
5281 src_offset: u32,
5282 src_length: u32,
5283 );
5284 #[cfg(feature = "WebGlUniformLocation")]
5285 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
5286 #[doc = "The `uniform4iv()` method."]
5287 #[doc = ""]
5288 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
5289 #[doc = ""]
5290 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5291 pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length(
5292 this: &WebGl2RenderingContext,
5293 location: Option<&WebGlUniformLocation>,
5294 data: &::wasm_bindgen::JsValue,
5295 src_offset: u32,
5296 src_length: u32,
5297 );
5298 #[cfg(feature = "WebGlUniformLocation")]
5299 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4ui)]
5300 #[doc = "The `uniform4ui()` method."]
5301 #[doc = ""]
5302 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)"]
5303 #[doc = ""]
5304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5305 pub fn uniform4ui(
5306 this: &WebGl2RenderingContext,
5307 location: Option<&WebGlUniformLocation>,
5308 v0: u32,
5309 v1: u32,
5310 v2: u32,
5311 v3: u32,
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_array(
5321 this: &WebGl2RenderingContext,
5322 location: Option<&WebGlUniformLocation>,
5323 data: &[u32],
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_js_u32_array(
5333 this: &WebGl2RenderingContext,
5334 location: Option<&WebGlUniformLocation>,
5335 data: &::js_sys::Uint32Array,
5336 );
5337 #[cfg(feature = "WebGlUniformLocation")]
5338 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5339 #[doc = "The `uniform4uiv()` method."]
5340 #[doc = ""]
5341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5342 #[doc = ""]
5343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5344 pub fn uniform4uiv_with_u32_sequence(
5345 this: &WebGl2RenderingContext,
5346 location: Option<&WebGlUniformLocation>,
5347 data: &::wasm_bindgen::JsValue,
5348 );
5349 #[cfg(feature = "WebGlUniformLocation")]
5350 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5351 #[doc = "The `uniform4uiv()` method."]
5352 #[doc = ""]
5353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5354 #[doc = ""]
5355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5356 pub fn uniform4uiv_with_u32_array_and_src_offset(
5357 this: &WebGl2RenderingContext,
5358 location: Option<&WebGlUniformLocation>,
5359 data: &[u32],
5360 src_offset: u32,
5361 );
5362 #[cfg(feature = "WebGlUniformLocation")]
5363 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5364 #[doc = "The `uniform4uiv()` method."]
5365 #[doc = ""]
5366 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5367 #[doc = ""]
5368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5369 pub fn uniform4uiv_with_js_u32_array_and_src_offset(
5370 this: &WebGl2RenderingContext,
5371 location: Option<&WebGlUniformLocation>,
5372 data: &::js_sys::Uint32Array,
5373 src_offset: u32,
5374 );
5375 #[cfg(feature = "WebGlUniformLocation")]
5376 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5377 #[doc = "The `uniform4uiv()` method."]
5378 #[doc = ""]
5379 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5380 #[doc = ""]
5381 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5382 pub fn uniform4uiv_with_u32_sequence_and_src_offset(
5383 this: &WebGl2RenderingContext,
5384 location: Option<&WebGlUniformLocation>,
5385 data: &::wasm_bindgen::JsValue,
5386 src_offset: u32,
5387 );
5388 #[cfg(feature = "WebGlUniformLocation")]
5389 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5390 #[doc = "The `uniform4uiv()` method."]
5391 #[doc = ""]
5392 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5393 #[doc = ""]
5394 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5395 pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length(
5396 this: &WebGl2RenderingContext,
5397 location: Option<&WebGlUniformLocation>,
5398 data: &[u32],
5399 src_offset: u32,
5400 src_length: u32,
5401 );
5402 #[cfg(feature = "WebGlUniformLocation")]
5403 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5404 #[doc = "The `uniform4uiv()` method."]
5405 #[doc = ""]
5406 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5407 #[doc = ""]
5408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5409 pub fn uniform4uiv_with_js_u32_array_and_src_offset_and_src_length(
5410 this: &WebGl2RenderingContext,
5411 location: Option<&WebGlUniformLocation>,
5412 data: &::js_sys::Uint32Array,
5413 src_offset: u32,
5414 src_length: u32,
5415 );
5416 #[cfg(feature = "WebGlUniformLocation")]
5417 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
5418 #[doc = "The `uniform4uiv()` method."]
5419 #[doc = ""]
5420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
5421 #[doc = ""]
5422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5423 pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length(
5424 this: &WebGl2RenderingContext,
5425 location: Option<&WebGlUniformLocation>,
5426 data: &::wasm_bindgen::JsValue,
5427 src_offset: u32,
5428 src_length: u32,
5429 );
5430 #[cfg(feature = "WebGlProgram")]
5431 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformBlockBinding)]
5432 #[doc = "The `uniformBlockBinding()` method."]
5433 #[doc = ""]
5434 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)"]
5435 #[doc = ""]
5436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
5437 pub fn uniform_block_binding(
5438 this: &WebGl2RenderingContext,
5439 program: &WebGlProgram,
5440 uniform_block_index: u32,
5441 uniform_block_binding: u32,
5442 );
5443 #[cfg(feature = "WebGlUniformLocation")]
5444 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5445 #[doc = "The `uniformMatrix2fv()` method."]
5446 #[doc = ""]
5447 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5448 #[doc = ""]
5449 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5450 pub fn uniform_matrix2fv_with_f32_array(
5451 this: &WebGl2RenderingContext,
5452 location: Option<&WebGlUniformLocation>,
5453 transpose: bool,
5454 data: &[f32],
5455 );
5456 #[cfg(feature = "WebGlUniformLocation")]
5457 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5458 #[doc = "The `uniformMatrix2fv()` method."]
5459 #[doc = ""]
5460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5461 #[doc = ""]
5462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5463 pub fn uniform_matrix2fv_with_js_f32_array(
5464 this: &WebGl2RenderingContext,
5465 location: Option<&WebGlUniformLocation>,
5466 transpose: bool,
5467 data: &::js_sys::Float32Array,
5468 );
5469 #[cfg(feature = "WebGlUniformLocation")]
5470 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5471 #[doc = "The `uniformMatrix2fv()` method."]
5472 #[doc = ""]
5473 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5474 #[doc = ""]
5475 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5476 pub fn uniform_matrix2fv_with_f32_sequence(
5477 this: &WebGl2RenderingContext,
5478 location: Option<&WebGlUniformLocation>,
5479 transpose: bool,
5480 data: &::wasm_bindgen::JsValue,
5481 );
5482 #[cfg(feature = "WebGlUniformLocation")]
5483 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5484 #[doc = "The `uniformMatrix2fv()` method."]
5485 #[doc = ""]
5486 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5487 #[doc = ""]
5488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5489 pub fn uniform_matrix2fv_with_f32_array_and_src_offset(
5490 this: &WebGl2RenderingContext,
5491 location: Option<&WebGlUniformLocation>,
5492 transpose: bool,
5493 data: &[f32],
5494 src_offset: u32,
5495 );
5496 #[cfg(feature = "WebGlUniformLocation")]
5497 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5498 #[doc = "The `uniformMatrix2fv()` method."]
5499 #[doc = ""]
5500 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5501 #[doc = ""]
5502 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5503 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset(
5504 this: &WebGl2RenderingContext,
5505 location: Option<&WebGlUniformLocation>,
5506 transpose: bool,
5507 data: &::js_sys::Float32Array,
5508 src_offset: u32,
5509 );
5510 #[cfg(feature = "WebGlUniformLocation")]
5511 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5512 #[doc = "The `uniformMatrix2fv()` method."]
5513 #[doc = ""]
5514 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5515 #[doc = ""]
5516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5517 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset(
5518 this: &WebGl2RenderingContext,
5519 location: Option<&WebGlUniformLocation>,
5520 transpose: bool,
5521 data: &::wasm_bindgen::JsValue,
5522 src_offset: u32,
5523 );
5524 #[cfg(feature = "WebGlUniformLocation")]
5525 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5526 #[doc = "The `uniformMatrix2fv()` method."]
5527 #[doc = ""]
5528 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5529 #[doc = ""]
5530 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5531 pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length(
5532 this: &WebGl2RenderingContext,
5533 location: Option<&WebGlUniformLocation>,
5534 transpose: bool,
5535 data: &[f32],
5536 src_offset: u32,
5537 src_length: u32,
5538 );
5539 #[cfg(feature = "WebGlUniformLocation")]
5540 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5541 #[doc = "The `uniformMatrix2fv()` method."]
5542 #[doc = ""]
5543 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5544 #[doc = ""]
5545 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5546 pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset_and_src_length(
5547 this: &WebGl2RenderingContext,
5548 location: Option<&WebGlUniformLocation>,
5549 transpose: bool,
5550 data: &::js_sys::Float32Array,
5551 src_offset: u32,
5552 src_length: u32,
5553 );
5554 #[cfg(feature = "WebGlUniformLocation")]
5555 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
5556 #[doc = "The `uniformMatrix2fv()` method."]
5557 #[doc = ""]
5558 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
5559 #[doc = ""]
5560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5561 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length(
5562 this: &WebGl2RenderingContext,
5563 location: Option<&WebGlUniformLocation>,
5564 transpose: bool,
5565 data: &::wasm_bindgen::JsValue,
5566 src_offset: u32,
5567 src_length: u32,
5568 );
5569 #[cfg(feature = "WebGlUniformLocation")]
5570 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5571 #[doc = "The `uniformMatrix2x3fv()` method."]
5572 #[doc = ""]
5573 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5574 #[doc = ""]
5575 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5576 pub fn uniform_matrix2x3fv_with_f32_array(
5577 this: &WebGl2RenderingContext,
5578 location: Option<&WebGlUniformLocation>,
5579 transpose: bool,
5580 data: &[f32],
5581 );
5582 #[cfg(feature = "WebGlUniformLocation")]
5583 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5584 #[doc = "The `uniformMatrix2x3fv()` method."]
5585 #[doc = ""]
5586 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5587 #[doc = ""]
5588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5589 pub fn uniform_matrix2x3fv_with_js_f32_array(
5590 this: &WebGl2RenderingContext,
5591 location: Option<&WebGlUniformLocation>,
5592 transpose: bool,
5593 data: &::js_sys::Float32Array,
5594 );
5595 #[cfg(feature = "WebGlUniformLocation")]
5596 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5597 #[doc = "The `uniformMatrix2x3fv()` method."]
5598 #[doc = ""]
5599 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5600 #[doc = ""]
5601 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5602 pub fn uniform_matrix2x3fv_with_f32_sequence(
5603 this: &WebGl2RenderingContext,
5604 location: Option<&WebGlUniformLocation>,
5605 transpose: bool,
5606 data: &::wasm_bindgen::JsValue,
5607 );
5608 #[cfg(feature = "WebGlUniformLocation")]
5609 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5610 #[doc = "The `uniformMatrix2x3fv()` method."]
5611 #[doc = ""]
5612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5613 #[doc = ""]
5614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5615 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset(
5616 this: &WebGl2RenderingContext,
5617 location: Option<&WebGlUniformLocation>,
5618 transpose: bool,
5619 data: &[f32],
5620 src_offset: u32,
5621 );
5622 #[cfg(feature = "WebGlUniformLocation")]
5623 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5624 #[doc = "The `uniformMatrix2x3fv()` method."]
5625 #[doc = ""]
5626 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5627 #[doc = ""]
5628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5629 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset(
5630 this: &WebGl2RenderingContext,
5631 location: Option<&WebGlUniformLocation>,
5632 transpose: bool,
5633 data: &::js_sys::Float32Array,
5634 src_offset: u32,
5635 );
5636 #[cfg(feature = "WebGlUniformLocation")]
5637 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5638 #[doc = "The `uniformMatrix2x3fv()` method."]
5639 #[doc = ""]
5640 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5641 #[doc = ""]
5642 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5643 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset(
5644 this: &WebGl2RenderingContext,
5645 location: Option<&WebGlUniformLocation>,
5646 transpose: bool,
5647 data: &::wasm_bindgen::JsValue,
5648 src_offset: u32,
5649 );
5650 #[cfg(feature = "WebGlUniformLocation")]
5651 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5652 #[doc = "The `uniformMatrix2x3fv()` method."]
5653 #[doc = ""]
5654 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5655 #[doc = ""]
5656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5657 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length(
5658 this: &WebGl2RenderingContext,
5659 location: Option<&WebGlUniformLocation>,
5660 transpose: bool,
5661 data: &[f32],
5662 src_offset: u32,
5663 src_length: u32,
5664 );
5665 #[cfg(feature = "WebGlUniformLocation")]
5666 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5667 #[doc = "The `uniformMatrix2x3fv()` method."]
5668 #[doc = ""]
5669 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5670 #[doc = ""]
5671 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5672 pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset_and_src_length(
5673 this: &WebGl2RenderingContext,
5674 location: Option<&WebGlUniformLocation>,
5675 transpose: bool,
5676 data: &::js_sys::Float32Array,
5677 src_offset: u32,
5678 src_length: u32,
5679 );
5680 #[cfg(feature = "WebGlUniformLocation")]
5681 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
5682 #[doc = "The `uniformMatrix2x3fv()` method."]
5683 #[doc = ""]
5684 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
5685 #[doc = ""]
5686 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5687 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length(
5688 this: &WebGl2RenderingContext,
5689 location: Option<&WebGlUniformLocation>,
5690 transpose: bool,
5691 data: &::wasm_bindgen::JsValue,
5692 src_offset: u32,
5693 src_length: u32,
5694 );
5695 #[cfg(feature = "WebGlUniformLocation")]
5696 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5697 #[doc = "The `uniformMatrix2x4fv()` method."]
5698 #[doc = ""]
5699 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5700 #[doc = ""]
5701 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5702 pub fn uniform_matrix2x4fv_with_f32_array(
5703 this: &WebGl2RenderingContext,
5704 location: Option<&WebGlUniformLocation>,
5705 transpose: bool,
5706 data: &[f32],
5707 );
5708 #[cfg(feature = "WebGlUniformLocation")]
5709 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5710 #[doc = "The `uniformMatrix2x4fv()` method."]
5711 #[doc = ""]
5712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5713 #[doc = ""]
5714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5715 pub fn uniform_matrix2x4fv_with_js_f32_array(
5716 this: &WebGl2RenderingContext,
5717 location: Option<&WebGlUniformLocation>,
5718 transpose: bool,
5719 data: &::js_sys::Float32Array,
5720 );
5721 #[cfg(feature = "WebGlUniformLocation")]
5722 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5723 #[doc = "The `uniformMatrix2x4fv()` method."]
5724 #[doc = ""]
5725 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5726 #[doc = ""]
5727 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5728 pub fn uniform_matrix2x4fv_with_f32_sequence(
5729 this: &WebGl2RenderingContext,
5730 location: Option<&WebGlUniformLocation>,
5731 transpose: bool,
5732 data: &::wasm_bindgen::JsValue,
5733 );
5734 #[cfg(feature = "WebGlUniformLocation")]
5735 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5736 #[doc = "The `uniformMatrix2x4fv()` method."]
5737 #[doc = ""]
5738 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5739 #[doc = ""]
5740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5741 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset(
5742 this: &WebGl2RenderingContext,
5743 location: Option<&WebGlUniformLocation>,
5744 transpose: bool,
5745 data: &[f32],
5746 src_offset: u32,
5747 );
5748 #[cfg(feature = "WebGlUniformLocation")]
5749 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5750 #[doc = "The `uniformMatrix2x4fv()` method."]
5751 #[doc = ""]
5752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5753 #[doc = ""]
5754 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5755 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset(
5756 this: &WebGl2RenderingContext,
5757 location: Option<&WebGlUniformLocation>,
5758 transpose: bool,
5759 data: &::js_sys::Float32Array,
5760 src_offset: u32,
5761 );
5762 #[cfg(feature = "WebGlUniformLocation")]
5763 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5764 #[doc = "The `uniformMatrix2x4fv()` method."]
5765 #[doc = ""]
5766 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5767 #[doc = ""]
5768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5769 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset(
5770 this: &WebGl2RenderingContext,
5771 location: Option<&WebGlUniformLocation>,
5772 transpose: bool,
5773 data: &::wasm_bindgen::JsValue,
5774 src_offset: u32,
5775 );
5776 #[cfg(feature = "WebGlUniformLocation")]
5777 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5778 #[doc = "The `uniformMatrix2x4fv()` method."]
5779 #[doc = ""]
5780 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5781 #[doc = ""]
5782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5783 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length(
5784 this: &WebGl2RenderingContext,
5785 location: Option<&WebGlUniformLocation>,
5786 transpose: bool,
5787 data: &[f32],
5788 src_offset: u32,
5789 src_length: u32,
5790 );
5791 #[cfg(feature = "WebGlUniformLocation")]
5792 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5793 #[doc = "The `uniformMatrix2x4fv()` method."]
5794 #[doc = ""]
5795 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5796 #[doc = ""]
5797 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5798 pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset_and_src_length(
5799 this: &WebGl2RenderingContext,
5800 location: Option<&WebGlUniformLocation>,
5801 transpose: bool,
5802 data: &::js_sys::Float32Array,
5803 src_offset: u32,
5804 src_length: u32,
5805 );
5806 #[cfg(feature = "WebGlUniformLocation")]
5807 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
5808 #[doc = "The `uniformMatrix2x4fv()` method."]
5809 #[doc = ""]
5810 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
5811 #[doc = ""]
5812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5813 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length(
5814 this: &WebGl2RenderingContext,
5815 location: Option<&WebGlUniformLocation>,
5816 transpose: bool,
5817 data: &::wasm_bindgen::JsValue,
5818 src_offset: u32,
5819 src_length: u32,
5820 );
5821 #[cfg(feature = "WebGlUniformLocation")]
5822 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5823 #[doc = "The `uniformMatrix3fv()` method."]
5824 #[doc = ""]
5825 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5826 #[doc = ""]
5827 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5828 pub fn uniform_matrix3fv_with_f32_array(
5829 this: &WebGl2RenderingContext,
5830 location: Option<&WebGlUniformLocation>,
5831 transpose: bool,
5832 data: &[f32],
5833 );
5834 #[cfg(feature = "WebGlUniformLocation")]
5835 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5836 #[doc = "The `uniformMatrix3fv()` method."]
5837 #[doc = ""]
5838 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5839 #[doc = ""]
5840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5841 pub fn uniform_matrix3fv_with_js_f32_array(
5842 this: &WebGl2RenderingContext,
5843 location: Option<&WebGlUniformLocation>,
5844 transpose: bool,
5845 data: &::js_sys::Float32Array,
5846 );
5847 #[cfg(feature = "WebGlUniformLocation")]
5848 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5849 #[doc = "The `uniformMatrix3fv()` method."]
5850 #[doc = ""]
5851 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5852 #[doc = ""]
5853 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5854 pub fn uniform_matrix3fv_with_f32_sequence(
5855 this: &WebGl2RenderingContext,
5856 location: Option<&WebGlUniformLocation>,
5857 transpose: bool,
5858 data: &::wasm_bindgen::JsValue,
5859 );
5860 #[cfg(feature = "WebGlUniformLocation")]
5861 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5862 #[doc = "The `uniformMatrix3fv()` method."]
5863 #[doc = ""]
5864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5865 #[doc = ""]
5866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5867 pub fn uniform_matrix3fv_with_f32_array_and_src_offset(
5868 this: &WebGl2RenderingContext,
5869 location: Option<&WebGlUniformLocation>,
5870 transpose: bool,
5871 data: &[f32],
5872 src_offset: u32,
5873 );
5874 #[cfg(feature = "WebGlUniformLocation")]
5875 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5876 #[doc = "The `uniformMatrix3fv()` method."]
5877 #[doc = ""]
5878 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5879 #[doc = ""]
5880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5881 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset(
5882 this: &WebGl2RenderingContext,
5883 location: Option<&WebGlUniformLocation>,
5884 transpose: bool,
5885 data: &::js_sys::Float32Array,
5886 src_offset: u32,
5887 );
5888 #[cfg(feature = "WebGlUniformLocation")]
5889 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5890 #[doc = "The `uniformMatrix3fv()` method."]
5891 #[doc = ""]
5892 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5893 #[doc = ""]
5894 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5895 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset(
5896 this: &WebGl2RenderingContext,
5897 location: Option<&WebGlUniformLocation>,
5898 transpose: bool,
5899 data: &::wasm_bindgen::JsValue,
5900 src_offset: u32,
5901 );
5902 #[cfg(feature = "WebGlUniformLocation")]
5903 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5904 #[doc = "The `uniformMatrix3fv()` method."]
5905 #[doc = ""]
5906 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5907 #[doc = ""]
5908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5909 pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length(
5910 this: &WebGl2RenderingContext,
5911 location: Option<&WebGlUniformLocation>,
5912 transpose: bool,
5913 data: &[f32],
5914 src_offset: u32,
5915 src_length: u32,
5916 );
5917 #[cfg(feature = "WebGlUniformLocation")]
5918 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5919 #[doc = "The `uniformMatrix3fv()` method."]
5920 #[doc = ""]
5921 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5922 #[doc = ""]
5923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5924 pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset_and_src_length(
5925 this: &WebGl2RenderingContext,
5926 location: Option<&WebGlUniformLocation>,
5927 transpose: bool,
5928 data: &::js_sys::Float32Array,
5929 src_offset: u32,
5930 src_length: u32,
5931 );
5932 #[cfg(feature = "WebGlUniformLocation")]
5933 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
5934 #[doc = "The `uniformMatrix3fv()` method."]
5935 #[doc = ""]
5936 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
5937 #[doc = ""]
5938 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5939 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length(
5940 this: &WebGl2RenderingContext,
5941 location: Option<&WebGlUniformLocation>,
5942 transpose: bool,
5943 data: &::wasm_bindgen::JsValue,
5944 src_offset: u32,
5945 src_length: u32,
5946 );
5947 #[cfg(feature = "WebGlUniformLocation")]
5948 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5949 #[doc = "The `uniformMatrix3x2fv()` method."]
5950 #[doc = ""]
5951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5952 #[doc = ""]
5953 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5954 pub fn uniform_matrix3x2fv_with_f32_array(
5955 this: &WebGl2RenderingContext,
5956 location: Option<&WebGlUniformLocation>,
5957 transpose: bool,
5958 data: &[f32],
5959 );
5960 #[cfg(feature = "WebGlUniformLocation")]
5961 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5962 #[doc = "The `uniformMatrix3x2fv()` method."]
5963 #[doc = ""]
5964 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5965 #[doc = ""]
5966 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5967 pub fn uniform_matrix3x2fv_with_js_f32_array(
5968 this: &WebGl2RenderingContext,
5969 location: Option<&WebGlUniformLocation>,
5970 transpose: bool,
5971 data: &::js_sys::Float32Array,
5972 );
5973 #[cfg(feature = "WebGlUniformLocation")]
5974 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5975 #[doc = "The `uniformMatrix3x2fv()` method."]
5976 #[doc = ""]
5977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5978 #[doc = ""]
5979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5980 pub fn uniform_matrix3x2fv_with_f32_sequence(
5981 this: &WebGl2RenderingContext,
5982 location: Option<&WebGlUniformLocation>,
5983 transpose: bool,
5984 data: &::wasm_bindgen::JsValue,
5985 );
5986 #[cfg(feature = "WebGlUniformLocation")]
5987 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
5988 #[doc = "The `uniformMatrix3x2fv()` method."]
5989 #[doc = ""]
5990 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
5991 #[doc = ""]
5992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
5993 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset(
5994 this: &WebGl2RenderingContext,
5995 location: Option<&WebGlUniformLocation>,
5996 transpose: bool,
5997 data: &[f32],
5998 src_offset: u32,
5999 );
6000 #[cfg(feature = "WebGlUniformLocation")]
6001 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6002 #[doc = "The `uniformMatrix3x2fv()` method."]
6003 #[doc = ""]
6004 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6005 #[doc = ""]
6006 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6007 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset(
6008 this: &WebGl2RenderingContext,
6009 location: Option<&WebGlUniformLocation>,
6010 transpose: bool,
6011 data: &::js_sys::Float32Array,
6012 src_offset: u32,
6013 );
6014 #[cfg(feature = "WebGlUniformLocation")]
6015 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6016 #[doc = "The `uniformMatrix3x2fv()` method."]
6017 #[doc = ""]
6018 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6019 #[doc = ""]
6020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6021 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset(
6022 this: &WebGl2RenderingContext,
6023 location: Option<&WebGlUniformLocation>,
6024 transpose: bool,
6025 data: &::wasm_bindgen::JsValue,
6026 src_offset: u32,
6027 );
6028 #[cfg(feature = "WebGlUniformLocation")]
6029 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6030 #[doc = "The `uniformMatrix3x2fv()` method."]
6031 #[doc = ""]
6032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6033 #[doc = ""]
6034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6035 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length(
6036 this: &WebGl2RenderingContext,
6037 location: Option<&WebGlUniformLocation>,
6038 transpose: bool,
6039 data: &[f32],
6040 src_offset: u32,
6041 src_length: u32,
6042 );
6043 #[cfg(feature = "WebGlUniformLocation")]
6044 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6045 #[doc = "The `uniformMatrix3x2fv()` method."]
6046 #[doc = ""]
6047 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6048 #[doc = ""]
6049 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6050 pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset_and_src_length(
6051 this: &WebGl2RenderingContext,
6052 location: Option<&WebGlUniformLocation>,
6053 transpose: bool,
6054 data: &::js_sys::Float32Array,
6055 src_offset: u32,
6056 src_length: u32,
6057 );
6058 #[cfg(feature = "WebGlUniformLocation")]
6059 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
6060 #[doc = "The `uniformMatrix3x2fv()` method."]
6061 #[doc = ""]
6062 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
6063 #[doc = ""]
6064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6065 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length(
6066 this: &WebGl2RenderingContext,
6067 location: Option<&WebGlUniformLocation>,
6068 transpose: bool,
6069 data: &::wasm_bindgen::JsValue,
6070 src_offset: u32,
6071 src_length: u32,
6072 );
6073 #[cfg(feature = "WebGlUniformLocation")]
6074 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6075 #[doc = "The `uniformMatrix3x4fv()` method."]
6076 #[doc = ""]
6077 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6078 #[doc = ""]
6079 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6080 pub fn uniform_matrix3x4fv_with_f32_array(
6081 this: &WebGl2RenderingContext,
6082 location: Option<&WebGlUniformLocation>,
6083 transpose: bool,
6084 data: &[f32],
6085 );
6086 #[cfg(feature = "WebGlUniformLocation")]
6087 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6088 #[doc = "The `uniformMatrix3x4fv()` method."]
6089 #[doc = ""]
6090 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6091 #[doc = ""]
6092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6093 pub fn uniform_matrix3x4fv_with_js_f32_array(
6094 this: &WebGl2RenderingContext,
6095 location: Option<&WebGlUniformLocation>,
6096 transpose: bool,
6097 data: &::js_sys::Float32Array,
6098 );
6099 #[cfg(feature = "WebGlUniformLocation")]
6100 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6101 #[doc = "The `uniformMatrix3x4fv()` method."]
6102 #[doc = ""]
6103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6104 #[doc = ""]
6105 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6106 pub fn uniform_matrix3x4fv_with_f32_sequence(
6107 this: &WebGl2RenderingContext,
6108 location: Option<&WebGlUniformLocation>,
6109 transpose: bool,
6110 data: &::wasm_bindgen::JsValue,
6111 );
6112 #[cfg(feature = "WebGlUniformLocation")]
6113 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6114 #[doc = "The `uniformMatrix3x4fv()` method."]
6115 #[doc = ""]
6116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6117 #[doc = ""]
6118 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6119 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset(
6120 this: &WebGl2RenderingContext,
6121 location: Option<&WebGlUniformLocation>,
6122 transpose: bool,
6123 data: &[f32],
6124 src_offset: u32,
6125 );
6126 #[cfg(feature = "WebGlUniformLocation")]
6127 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6128 #[doc = "The `uniformMatrix3x4fv()` method."]
6129 #[doc = ""]
6130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6131 #[doc = ""]
6132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6133 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset(
6134 this: &WebGl2RenderingContext,
6135 location: Option<&WebGlUniformLocation>,
6136 transpose: bool,
6137 data: &::js_sys::Float32Array,
6138 src_offset: u32,
6139 );
6140 #[cfg(feature = "WebGlUniformLocation")]
6141 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6142 #[doc = "The `uniformMatrix3x4fv()` method."]
6143 #[doc = ""]
6144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6145 #[doc = ""]
6146 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6147 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset(
6148 this: &WebGl2RenderingContext,
6149 location: Option<&WebGlUniformLocation>,
6150 transpose: bool,
6151 data: &::wasm_bindgen::JsValue,
6152 src_offset: u32,
6153 );
6154 #[cfg(feature = "WebGlUniformLocation")]
6155 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6156 #[doc = "The `uniformMatrix3x4fv()` method."]
6157 #[doc = ""]
6158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6159 #[doc = ""]
6160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6161 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length(
6162 this: &WebGl2RenderingContext,
6163 location: Option<&WebGlUniformLocation>,
6164 transpose: bool,
6165 data: &[f32],
6166 src_offset: u32,
6167 src_length: u32,
6168 );
6169 #[cfg(feature = "WebGlUniformLocation")]
6170 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6171 #[doc = "The `uniformMatrix3x4fv()` method."]
6172 #[doc = ""]
6173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6174 #[doc = ""]
6175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6176 pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset_and_src_length(
6177 this: &WebGl2RenderingContext,
6178 location: Option<&WebGlUniformLocation>,
6179 transpose: bool,
6180 data: &::js_sys::Float32Array,
6181 src_offset: u32,
6182 src_length: u32,
6183 );
6184 #[cfg(feature = "WebGlUniformLocation")]
6185 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
6186 #[doc = "The `uniformMatrix3x4fv()` method."]
6187 #[doc = ""]
6188 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
6189 #[doc = ""]
6190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6191 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length(
6192 this: &WebGl2RenderingContext,
6193 location: Option<&WebGlUniformLocation>,
6194 transpose: bool,
6195 data: &::wasm_bindgen::JsValue,
6196 src_offset: u32,
6197 src_length: u32,
6198 );
6199 #[cfg(feature = "WebGlUniformLocation")]
6200 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6201 #[doc = "The `uniformMatrix4fv()` method."]
6202 #[doc = ""]
6203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6204 #[doc = ""]
6205 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6206 pub fn uniform_matrix4fv_with_f32_array(
6207 this: &WebGl2RenderingContext,
6208 location: Option<&WebGlUniformLocation>,
6209 transpose: bool,
6210 data: &[f32],
6211 );
6212 #[cfg(feature = "WebGlUniformLocation")]
6213 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6214 #[doc = "The `uniformMatrix4fv()` method."]
6215 #[doc = ""]
6216 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6217 #[doc = ""]
6218 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6219 pub fn uniform_matrix4fv_with_js_f32_array(
6220 this: &WebGl2RenderingContext,
6221 location: Option<&WebGlUniformLocation>,
6222 transpose: bool,
6223 data: &::js_sys::Float32Array,
6224 );
6225 #[cfg(feature = "WebGlUniformLocation")]
6226 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6227 #[doc = "The `uniformMatrix4fv()` method."]
6228 #[doc = ""]
6229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6230 #[doc = ""]
6231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6232 pub fn uniform_matrix4fv_with_f32_sequence(
6233 this: &WebGl2RenderingContext,
6234 location: Option<&WebGlUniformLocation>,
6235 transpose: bool,
6236 data: &::wasm_bindgen::JsValue,
6237 );
6238 #[cfg(feature = "WebGlUniformLocation")]
6239 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6240 #[doc = "The `uniformMatrix4fv()` method."]
6241 #[doc = ""]
6242 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6243 #[doc = ""]
6244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6245 pub fn uniform_matrix4fv_with_f32_array_and_src_offset(
6246 this: &WebGl2RenderingContext,
6247 location: Option<&WebGlUniformLocation>,
6248 transpose: bool,
6249 data: &[f32],
6250 src_offset: u32,
6251 );
6252 #[cfg(feature = "WebGlUniformLocation")]
6253 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6254 #[doc = "The `uniformMatrix4fv()` method."]
6255 #[doc = ""]
6256 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6257 #[doc = ""]
6258 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6259 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset(
6260 this: &WebGl2RenderingContext,
6261 location: Option<&WebGlUniformLocation>,
6262 transpose: bool,
6263 data: &::js_sys::Float32Array,
6264 src_offset: u32,
6265 );
6266 #[cfg(feature = "WebGlUniformLocation")]
6267 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6268 #[doc = "The `uniformMatrix4fv()` method."]
6269 #[doc = ""]
6270 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6271 #[doc = ""]
6272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6273 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset(
6274 this: &WebGl2RenderingContext,
6275 location: Option<&WebGlUniformLocation>,
6276 transpose: bool,
6277 data: &::wasm_bindgen::JsValue,
6278 src_offset: u32,
6279 );
6280 #[cfg(feature = "WebGlUniformLocation")]
6281 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6282 #[doc = "The `uniformMatrix4fv()` method."]
6283 #[doc = ""]
6284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6285 #[doc = ""]
6286 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6287 pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length(
6288 this: &WebGl2RenderingContext,
6289 location: Option<&WebGlUniformLocation>,
6290 transpose: bool,
6291 data: &[f32],
6292 src_offset: u32,
6293 src_length: u32,
6294 );
6295 #[cfg(feature = "WebGlUniformLocation")]
6296 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6297 #[doc = "The `uniformMatrix4fv()` method."]
6298 #[doc = ""]
6299 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6300 #[doc = ""]
6301 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6302 pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset_and_src_length(
6303 this: &WebGl2RenderingContext,
6304 location: Option<&WebGlUniformLocation>,
6305 transpose: bool,
6306 data: &::js_sys::Float32Array,
6307 src_offset: u32,
6308 src_length: u32,
6309 );
6310 #[cfg(feature = "WebGlUniformLocation")]
6311 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
6312 #[doc = "The `uniformMatrix4fv()` method."]
6313 #[doc = ""]
6314 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
6315 #[doc = ""]
6316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6317 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length(
6318 this: &WebGl2RenderingContext,
6319 location: Option<&WebGlUniformLocation>,
6320 transpose: bool,
6321 data: &::wasm_bindgen::JsValue,
6322 src_offset: u32,
6323 src_length: u32,
6324 );
6325 #[cfg(feature = "WebGlUniformLocation")]
6326 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6327 #[doc = "The `uniformMatrix4x2fv()` method."]
6328 #[doc = ""]
6329 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6330 #[doc = ""]
6331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6332 pub fn uniform_matrix4x2fv_with_f32_array(
6333 this: &WebGl2RenderingContext,
6334 location: Option<&WebGlUniformLocation>,
6335 transpose: bool,
6336 data: &[f32],
6337 );
6338 #[cfg(feature = "WebGlUniformLocation")]
6339 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6340 #[doc = "The `uniformMatrix4x2fv()` method."]
6341 #[doc = ""]
6342 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6343 #[doc = ""]
6344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6345 pub fn uniform_matrix4x2fv_with_js_f32_array(
6346 this: &WebGl2RenderingContext,
6347 location: Option<&WebGlUniformLocation>,
6348 transpose: bool,
6349 data: &::js_sys::Float32Array,
6350 );
6351 #[cfg(feature = "WebGlUniformLocation")]
6352 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6353 #[doc = "The `uniformMatrix4x2fv()` method."]
6354 #[doc = ""]
6355 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6356 #[doc = ""]
6357 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6358 pub fn uniform_matrix4x2fv_with_f32_sequence(
6359 this: &WebGl2RenderingContext,
6360 location: Option<&WebGlUniformLocation>,
6361 transpose: bool,
6362 data: &::wasm_bindgen::JsValue,
6363 );
6364 #[cfg(feature = "WebGlUniformLocation")]
6365 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6366 #[doc = "The `uniformMatrix4x2fv()` method."]
6367 #[doc = ""]
6368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6369 #[doc = ""]
6370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6371 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset(
6372 this: &WebGl2RenderingContext,
6373 location: Option<&WebGlUniformLocation>,
6374 transpose: bool,
6375 data: &[f32],
6376 src_offset: u32,
6377 );
6378 #[cfg(feature = "WebGlUniformLocation")]
6379 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6380 #[doc = "The `uniformMatrix4x2fv()` method."]
6381 #[doc = ""]
6382 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6383 #[doc = ""]
6384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6385 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset(
6386 this: &WebGl2RenderingContext,
6387 location: Option<&WebGlUniformLocation>,
6388 transpose: bool,
6389 data: &::js_sys::Float32Array,
6390 src_offset: u32,
6391 );
6392 #[cfg(feature = "WebGlUniformLocation")]
6393 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6394 #[doc = "The `uniformMatrix4x2fv()` method."]
6395 #[doc = ""]
6396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6397 #[doc = ""]
6398 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6399 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset(
6400 this: &WebGl2RenderingContext,
6401 location: Option<&WebGlUniformLocation>,
6402 transpose: bool,
6403 data: &::wasm_bindgen::JsValue,
6404 src_offset: u32,
6405 );
6406 #[cfg(feature = "WebGlUniformLocation")]
6407 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6408 #[doc = "The `uniformMatrix4x2fv()` method."]
6409 #[doc = ""]
6410 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6411 #[doc = ""]
6412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6413 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length(
6414 this: &WebGl2RenderingContext,
6415 location: Option<&WebGlUniformLocation>,
6416 transpose: bool,
6417 data: &[f32],
6418 src_offset: u32,
6419 src_length: u32,
6420 );
6421 #[cfg(feature = "WebGlUniformLocation")]
6422 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6423 #[doc = "The `uniformMatrix4x2fv()` method."]
6424 #[doc = ""]
6425 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6426 #[doc = ""]
6427 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6428 pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset_and_src_length(
6429 this: &WebGl2RenderingContext,
6430 location: Option<&WebGlUniformLocation>,
6431 transpose: bool,
6432 data: &::js_sys::Float32Array,
6433 src_offset: u32,
6434 src_length: u32,
6435 );
6436 #[cfg(feature = "WebGlUniformLocation")]
6437 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
6438 #[doc = "The `uniformMatrix4x2fv()` method."]
6439 #[doc = ""]
6440 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
6441 #[doc = ""]
6442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6443 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length(
6444 this: &WebGl2RenderingContext,
6445 location: Option<&WebGlUniformLocation>,
6446 transpose: bool,
6447 data: &::wasm_bindgen::JsValue,
6448 src_offset: u32,
6449 src_length: u32,
6450 );
6451 #[cfg(feature = "WebGlUniformLocation")]
6452 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6453 #[doc = "The `uniformMatrix4x3fv()` method."]
6454 #[doc = ""]
6455 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6456 #[doc = ""]
6457 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6458 pub fn uniform_matrix4x3fv_with_f32_array(
6459 this: &WebGl2RenderingContext,
6460 location: Option<&WebGlUniformLocation>,
6461 transpose: bool,
6462 data: &[f32],
6463 );
6464 #[cfg(feature = "WebGlUniformLocation")]
6465 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6466 #[doc = "The `uniformMatrix4x3fv()` method."]
6467 #[doc = ""]
6468 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6469 #[doc = ""]
6470 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6471 pub fn uniform_matrix4x3fv_with_js_f32_array(
6472 this: &WebGl2RenderingContext,
6473 location: Option<&WebGlUniformLocation>,
6474 transpose: bool,
6475 data: &::js_sys::Float32Array,
6476 );
6477 #[cfg(feature = "WebGlUniformLocation")]
6478 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6479 #[doc = "The `uniformMatrix4x3fv()` method."]
6480 #[doc = ""]
6481 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6482 #[doc = ""]
6483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6484 pub fn uniform_matrix4x3fv_with_f32_sequence(
6485 this: &WebGl2RenderingContext,
6486 location: Option<&WebGlUniformLocation>,
6487 transpose: bool,
6488 data: &::wasm_bindgen::JsValue,
6489 );
6490 #[cfg(feature = "WebGlUniformLocation")]
6491 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6492 #[doc = "The `uniformMatrix4x3fv()` method."]
6493 #[doc = ""]
6494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6495 #[doc = ""]
6496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6497 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset(
6498 this: &WebGl2RenderingContext,
6499 location: Option<&WebGlUniformLocation>,
6500 transpose: bool,
6501 data: &[f32],
6502 src_offset: u32,
6503 );
6504 #[cfg(feature = "WebGlUniformLocation")]
6505 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6506 #[doc = "The `uniformMatrix4x3fv()` method."]
6507 #[doc = ""]
6508 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6509 #[doc = ""]
6510 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6511 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset(
6512 this: &WebGl2RenderingContext,
6513 location: Option<&WebGlUniformLocation>,
6514 transpose: bool,
6515 data: &::js_sys::Float32Array,
6516 src_offset: u32,
6517 );
6518 #[cfg(feature = "WebGlUniformLocation")]
6519 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6520 #[doc = "The `uniformMatrix4x3fv()` method."]
6521 #[doc = ""]
6522 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6523 #[doc = ""]
6524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6525 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset(
6526 this: &WebGl2RenderingContext,
6527 location: Option<&WebGlUniformLocation>,
6528 transpose: bool,
6529 data: &::wasm_bindgen::JsValue,
6530 src_offset: u32,
6531 );
6532 #[cfg(feature = "WebGlUniformLocation")]
6533 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6534 #[doc = "The `uniformMatrix4x3fv()` method."]
6535 #[doc = ""]
6536 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6537 #[doc = ""]
6538 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6539 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length(
6540 this: &WebGl2RenderingContext,
6541 location: Option<&WebGlUniformLocation>,
6542 transpose: bool,
6543 data: &[f32],
6544 src_offset: u32,
6545 src_length: u32,
6546 );
6547 #[cfg(feature = "WebGlUniformLocation")]
6548 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6549 #[doc = "The `uniformMatrix4x3fv()` method."]
6550 #[doc = ""]
6551 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6552 #[doc = ""]
6553 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6554 pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset_and_src_length(
6555 this: &WebGl2RenderingContext,
6556 location: Option<&WebGlUniformLocation>,
6557 transpose: bool,
6558 data: &::js_sys::Float32Array,
6559 src_offset: u32,
6560 src_length: u32,
6561 );
6562 #[cfg(feature = "WebGlUniformLocation")]
6563 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
6564 #[doc = "The `uniformMatrix4x3fv()` method."]
6565 #[doc = ""]
6566 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
6567 #[doc = ""]
6568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
6569 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length(
6570 this: &WebGl2RenderingContext,
6571 location: Option<&WebGlUniformLocation>,
6572 transpose: bool,
6573 data: &::wasm_bindgen::JsValue,
6574 src_offset: u32,
6575 src_length: u32,
6576 );
6577 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribDivisor)]
6578 #[doc = "The `vertexAttribDivisor()` method."]
6579 #[doc = ""]
6580 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)"]
6581 #[doc = ""]
6582 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6583 pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32);
6584 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4i)]
6585 #[doc = "The `vertexAttribI4i()` method."]
6586 #[doc = ""]
6587 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)"]
6588 #[doc = ""]
6589 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6590 pub fn vertex_attrib_i4i(
6591 this: &WebGl2RenderingContext,
6592 index: u32,
6593 x: i32,
6594 y: i32,
6595 z: i32,
6596 w: i32,
6597 );
6598 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
6599 #[doc = "The `vertexAttribI4iv()` method."]
6600 #[doc = ""]
6601 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
6602 #[doc = ""]
6603 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6604 pub fn vertex_attrib_i4iv_with_i32_array(
6605 this: &WebGl2RenderingContext,
6606 index: u32,
6607 values: &mut [i32],
6608 );
6609 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
6610 #[doc = "The `vertexAttribI4iv()` method."]
6611 #[doc = ""]
6612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
6613 #[doc = ""]
6614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6615 pub fn vertex_attrib_i4iv_with_js_i32_array(
6616 this: &WebGl2RenderingContext,
6617 index: u32,
6618 values: &::js_sys::Int32Array,
6619 );
6620 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
6621 #[doc = "The `vertexAttribI4iv()` method."]
6622 #[doc = ""]
6623 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
6624 #[doc = ""]
6625 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6626 pub fn vertex_attrib_i4iv_with_i32_sequence(
6627 this: &WebGl2RenderingContext,
6628 index: u32,
6629 values: &::wasm_bindgen::JsValue,
6630 );
6631 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4ui)]
6632 #[doc = "The `vertexAttribI4ui()` method."]
6633 #[doc = ""]
6634 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)"]
6635 #[doc = ""]
6636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6637 pub fn vertex_attrib_i4ui(
6638 this: &WebGl2RenderingContext,
6639 index: u32,
6640 x: u32,
6641 y: u32,
6642 z: u32,
6643 w: u32,
6644 );
6645 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
6646 #[doc = "The `vertexAttribI4uiv()` method."]
6647 #[doc = ""]
6648 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
6649 #[doc = ""]
6650 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6651 pub fn vertex_attrib_i4uiv_with_u32_array(
6652 this: &WebGl2RenderingContext,
6653 index: u32,
6654 values: &mut [u32],
6655 );
6656 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
6657 #[doc = "The `vertexAttribI4uiv()` method."]
6658 #[doc = ""]
6659 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
6660 #[doc = ""]
6661 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6662 pub fn vertex_attrib_i4uiv_with_js_u32_array(
6663 this: &WebGl2RenderingContext,
6664 index: u32,
6665 values: &::js_sys::Uint32Array,
6666 );
6667 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
6668 #[doc = "The `vertexAttribI4uiv()` method."]
6669 #[doc = ""]
6670 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
6671 #[doc = ""]
6672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6673 pub fn vertex_attrib_i4uiv_with_u32_sequence(
6674 this: &WebGl2RenderingContext,
6675 index: u32,
6676 values: &::wasm_bindgen::JsValue,
6677 );
6678 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)]
6679 #[doc = "The `vertexAttribIPointer()` method."]
6680 #[doc = ""]
6681 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
6682 #[doc = ""]
6683 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6684 pub fn vertex_attrib_i_pointer_with_i32(
6685 this: &WebGl2RenderingContext,
6686 index: u32,
6687 size: i32,
6688 type_: u32,
6689 stride: i32,
6690 offset: i32,
6691 );
6692 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)]
6693 #[doc = "The `vertexAttribIPointer()` method."]
6694 #[doc = ""]
6695 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
6696 #[doc = ""]
6697 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6698 pub fn vertex_attrib_i_pointer_with_f64(
6699 this: &WebGl2RenderingContext,
6700 index: u32,
6701 size: i32,
6702 type_: u32,
6703 stride: i32,
6704 offset: f64,
6705 );
6706 #[cfg(feature = "WebGlSync")]
6707 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)]
6708 #[doc = "The `waitSync()` method."]
6709 #[doc = ""]
6710 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
6711 #[doc = ""]
6712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
6713 pub fn wait_sync_with_i32(
6714 this: &WebGl2RenderingContext,
6715 sync: &WebGlSync,
6716 flags: u32,
6717 timeout: i32,
6718 );
6719 #[cfg(feature = "WebGlSync")]
6720 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)]
6721 #[doc = "The `waitSync()` method."]
6722 #[doc = ""]
6723 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
6724 #[doc = ""]
6725 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
6726 pub fn wait_sync_with_f64(
6727 this: &WebGl2RenderingContext,
6728 sync: &WebGlSync,
6729 flags: u32,
6730 timeout: f64,
6731 );
6732 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = activeTexture)]
6733 #[doc = "The `activeTexture()` method."]
6734 #[doc = ""]
6735 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)"]
6736 #[doc = ""]
6737 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6738 pub fn active_texture(this: &WebGl2RenderingContext, texture: u32);
6739 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
6740 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = attachShader)]
6741 #[doc = "The `attachShader()` method."]
6742 #[doc = ""]
6743 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)"]
6744 #[doc = ""]
6745 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
6746 pub fn attach_shader(
6747 this: &WebGl2RenderingContext,
6748 program: &WebGlProgram,
6749 shader: &WebGlShader,
6750 );
6751 #[cfg(feature = "WebGlProgram")]
6752 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindAttribLocation)]
6753 #[doc = "The `bindAttribLocation()` method."]
6754 #[doc = ""]
6755 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)"]
6756 #[doc = ""]
6757 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6758 pub fn bind_attrib_location(
6759 this: &WebGl2RenderingContext,
6760 program: &WebGlProgram,
6761 index: u32,
6762 name: &str,
6763 );
6764 #[cfg(feature = "WebGlBuffer")]
6765 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBuffer)]
6766 #[doc = "The `bindBuffer()` method."]
6767 #[doc = ""]
6768 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)"]
6769 #[doc = ""]
6770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
6771 pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
6772 #[cfg(feature = "WebGlFramebuffer")]
6773 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindFramebuffer)]
6774 #[doc = "The `bindFramebuffer()` method."]
6775 #[doc = ""]
6776 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)"]
6777 #[doc = ""]
6778 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
6779 pub fn bind_framebuffer(
6780 this: &WebGl2RenderingContext,
6781 target: u32,
6782 framebuffer: Option<&WebGlFramebuffer>,
6783 );
6784 #[cfg(feature = "WebGlRenderbuffer")]
6785 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindRenderbuffer)]
6786 #[doc = "The `bindRenderbuffer()` method."]
6787 #[doc = ""]
6788 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)"]
6789 #[doc = ""]
6790 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
6791 pub fn bind_renderbuffer(
6792 this: &WebGl2RenderingContext,
6793 target: u32,
6794 renderbuffer: Option<&WebGlRenderbuffer>,
6795 );
6796 #[cfg(feature = "WebGlTexture")]
6797 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTexture)]
6798 #[doc = "The `bindTexture()` method."]
6799 #[doc = ""]
6800 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)"]
6801 #[doc = ""]
6802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
6803 pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>);
6804 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendColor)]
6805 #[doc = "The `blendColor()` method."]
6806 #[doc = ""]
6807 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)"]
6808 #[doc = ""]
6809 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6810 pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
6811 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquation)]
6812 #[doc = "The `blendEquation()` method."]
6813 #[doc = ""]
6814 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)"]
6815 #[doc = ""]
6816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6817 pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32);
6818 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquationSeparate)]
6819 #[doc = "The `blendEquationSeparate()` method."]
6820 #[doc = ""]
6821 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)"]
6822 #[doc = ""]
6823 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6824 pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32);
6825 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFunc)]
6826 #[doc = "The `blendFunc()` method."]
6827 #[doc = ""]
6828 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)"]
6829 #[doc = ""]
6830 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6831 pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32);
6832 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFuncSeparate)]
6833 #[doc = "The `blendFuncSeparate()` method."]
6834 #[doc = ""]
6835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)"]
6836 #[doc = ""]
6837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6838 pub fn blend_func_separate(
6839 this: &WebGl2RenderingContext,
6840 src_rgb: u32,
6841 dst_rgb: u32,
6842 src_alpha: u32,
6843 dst_alpha: u32,
6844 );
6845 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = checkFramebufferStatus)]
6846 #[doc = "The `checkFramebufferStatus()` method."]
6847 #[doc = ""]
6848 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)"]
6849 #[doc = ""]
6850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6851 pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32;
6852 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clear)]
6853 #[doc = "The `clear()` method."]
6854 #[doc = ""]
6855 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)"]
6856 #[doc = ""]
6857 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6858 pub fn clear(this: &WebGl2RenderingContext, mask: u32);
6859 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearColor)]
6860 #[doc = "The `clearColor()` method."]
6861 #[doc = ""]
6862 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)"]
6863 #[doc = ""]
6864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6865 pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
6866 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearDepth)]
6867 #[doc = "The `clearDepth()` method."]
6868 #[doc = ""]
6869 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)"]
6870 #[doc = ""]
6871 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6872 pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32);
6873 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearStencil)]
6874 #[doc = "The `clearStencil()` method."]
6875 #[doc = ""]
6876 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)"]
6877 #[doc = ""]
6878 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6879 pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32);
6880 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = colorMask)]
6881 #[doc = "The `colorMask()` method."]
6882 #[doc = ""]
6883 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)"]
6884 #[doc = ""]
6885 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6886 pub fn color_mask(
6887 this: &WebGl2RenderingContext,
6888 red: bool,
6889 green: bool,
6890 blue: bool,
6891 alpha: bool,
6892 );
6893 #[cfg(feature = "WebGlShader")]
6894 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compileShader)]
6895 #[doc = "The `compileShader()` method."]
6896 #[doc = ""]
6897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)"]
6898 #[doc = ""]
6899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
6900 pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader);
6901 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexImage2D)]
6902 #[doc = "The `copyTexImage2D()` method."]
6903 #[doc = ""]
6904 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)"]
6905 #[doc = ""]
6906 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6907 pub fn copy_tex_image_2d(
6908 this: &WebGl2RenderingContext,
6909 target: u32,
6910 level: i32,
6911 internalformat: u32,
6912 x: i32,
6913 y: i32,
6914 width: i32,
6915 height: i32,
6916 border: i32,
6917 );
6918 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage2D)]
6919 #[doc = "The `copyTexSubImage2D()` method."]
6920 #[doc = ""]
6921 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)"]
6922 #[doc = ""]
6923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6924 pub fn copy_tex_sub_image_2d(
6925 this: &WebGl2RenderingContext,
6926 target: u32,
6927 level: i32,
6928 xoffset: i32,
6929 yoffset: i32,
6930 x: i32,
6931 y: i32,
6932 width: i32,
6933 height: i32,
6934 );
6935 #[cfg(feature = "WebGlBuffer")]
6936 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createBuffer)]
6937 #[doc = "The `createBuffer()` method."]
6938 #[doc = ""]
6939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)"]
6940 #[doc = ""]
6941 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
6942 pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>;
6943 #[cfg(feature = "WebGlFramebuffer")]
6944 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createFramebuffer)]
6945 #[doc = "The `createFramebuffer()` method."]
6946 #[doc = ""]
6947 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)"]
6948 #[doc = ""]
6949 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
6950 pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>;
6951 #[cfg(feature = "WebGlProgram")]
6952 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createProgram)]
6953 #[doc = "The `createProgram()` method."]
6954 #[doc = ""]
6955 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)"]
6956 #[doc = ""]
6957 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
6958 pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>;
6959 #[cfg(feature = "WebGlRenderbuffer")]
6960 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createRenderbuffer)]
6961 #[doc = "The `createRenderbuffer()` method."]
6962 #[doc = ""]
6963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)"]
6964 #[doc = ""]
6965 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
6966 pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>;
6967 #[cfg(feature = "WebGlShader")]
6968 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createShader)]
6969 #[doc = "The `createShader()` method."]
6970 #[doc = ""]
6971 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)"]
6972 #[doc = ""]
6973 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
6974 pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>;
6975 #[cfg(feature = "WebGlTexture")]
6976 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTexture)]
6977 #[doc = "The `createTexture()` method."]
6978 #[doc = ""]
6979 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)"]
6980 #[doc = ""]
6981 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
6982 pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>;
6983 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = cullFace)]
6984 #[doc = "The `cullFace()` method."]
6985 #[doc = ""]
6986 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)"]
6987 #[doc = ""]
6988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
6989 pub fn cull_face(this: &WebGl2RenderingContext, mode: u32);
6990 #[cfg(feature = "WebGlBuffer")]
6991 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteBuffer)]
6992 #[doc = "The `deleteBuffer()` method."]
6993 #[doc = ""]
6994 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)"]
6995 #[doc = ""]
6996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
6997 pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>);
6998 #[cfg(feature = "WebGlFramebuffer")]
6999 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteFramebuffer)]
7000 #[doc = "The `deleteFramebuffer()` method."]
7001 #[doc = ""]
7002 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)"]
7003 #[doc = ""]
7004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
7005 pub fn delete_framebuffer(
7006 this: &WebGl2RenderingContext,
7007 framebuffer: Option<&WebGlFramebuffer>,
7008 );
7009 #[cfg(feature = "WebGlProgram")]
7010 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteProgram)]
7011 #[doc = "The `deleteProgram()` method."]
7012 #[doc = ""]
7013 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)"]
7014 #[doc = ""]
7015 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7016 pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
7017 #[cfg(feature = "WebGlRenderbuffer")]
7018 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteRenderbuffer)]
7019 #[doc = "The `deleteRenderbuffer()` method."]
7020 #[doc = ""]
7021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)"]
7022 #[doc = ""]
7023 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
7024 pub fn delete_renderbuffer(
7025 this: &WebGl2RenderingContext,
7026 renderbuffer: Option<&WebGlRenderbuffer>,
7027 );
7028 #[cfg(feature = "WebGlShader")]
7029 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteShader)]
7030 #[doc = "The `deleteShader()` method."]
7031 #[doc = ""]
7032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)"]
7033 #[doc = ""]
7034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7035 pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>);
7036 #[cfg(feature = "WebGlTexture")]
7037 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTexture)]
7038 #[doc = "The `deleteTexture()` method."]
7039 #[doc = ""]
7040 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)"]
7041 #[doc = ""]
7042 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
7043 pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>);
7044 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthFunc)]
7045 #[doc = "The `depthFunc()` method."]
7046 #[doc = ""]
7047 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)"]
7048 #[doc = ""]
7049 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7050 pub fn depth_func(this: &WebGl2RenderingContext, func: u32);
7051 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthMask)]
7052 #[doc = "The `depthMask()` method."]
7053 #[doc = ""]
7054 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)"]
7055 #[doc = ""]
7056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7057 pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool);
7058 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthRange)]
7059 #[doc = "The `depthRange()` method."]
7060 #[doc = ""]
7061 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)"]
7062 #[doc = ""]
7063 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7064 pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32);
7065 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
7066 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = detachShader)]
7067 #[doc = "The `detachShader()` method."]
7068 #[doc = ""]
7069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)"]
7070 #[doc = ""]
7071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
7072 pub fn detach_shader(
7073 this: &WebGl2RenderingContext,
7074 program: &WebGlProgram,
7075 shader: &WebGlShader,
7076 );
7077 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disable)]
7078 #[doc = "The `disable()` method."]
7079 #[doc = ""]
7080 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)"]
7081 #[doc = ""]
7082 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7083 pub fn disable(this: &WebGl2RenderingContext, cap: u32);
7084 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disableVertexAttribArray)]
7085 #[doc = "The `disableVertexAttribArray()` method."]
7086 #[doc = ""]
7087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)"]
7088 #[doc = ""]
7089 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7090 pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
7091 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArrays)]
7092 #[doc = "The `drawArrays()` method."]
7093 #[doc = ""]
7094 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)"]
7095 #[doc = ""]
7096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7097 pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32);
7098 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)]
7099 #[doc = "The `drawElements()` method."]
7100 #[doc = ""]
7101 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
7102 #[doc = ""]
7103 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7104 pub fn draw_elements_with_i32(
7105 this: &WebGl2RenderingContext,
7106 mode: u32,
7107 count: i32,
7108 type_: u32,
7109 offset: i32,
7110 );
7111 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)]
7112 #[doc = "The `drawElements()` method."]
7113 #[doc = ""]
7114 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
7115 #[doc = ""]
7116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7117 pub fn draw_elements_with_f64(
7118 this: &WebGl2RenderingContext,
7119 mode: u32,
7120 count: i32,
7121 type_: u32,
7122 offset: f64,
7123 );
7124 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enable)]
7125 #[doc = "The `enable()` method."]
7126 #[doc = ""]
7127 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)"]
7128 #[doc = ""]
7129 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7130 pub fn enable(this: &WebGl2RenderingContext, cap: u32);
7131 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enableVertexAttribArray)]
7132 #[doc = "The `enableVertexAttribArray()` method."]
7133 #[doc = ""]
7134 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)"]
7135 #[doc = ""]
7136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7137 pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
7138 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = finish)]
7139 #[doc = "The `finish()` method."]
7140 #[doc = ""]
7141 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)"]
7142 #[doc = ""]
7143 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7144 pub fn finish(this: &WebGl2RenderingContext);
7145 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = flush)]
7146 #[doc = "The `flush()` method."]
7147 #[doc = ""]
7148 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)"]
7149 #[doc = ""]
7150 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7151 pub fn flush(this: &WebGl2RenderingContext);
7152 #[cfg(feature = "WebGlRenderbuffer")]
7153 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferRenderbuffer)]
7154 #[doc = "The `framebufferRenderbuffer()` method."]
7155 #[doc = ""]
7156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)"]
7157 #[doc = ""]
7158 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
7159 pub fn framebuffer_renderbuffer(
7160 this: &WebGl2RenderingContext,
7161 target: u32,
7162 attachment: u32,
7163 renderbuffertarget: u32,
7164 renderbuffer: Option<&WebGlRenderbuffer>,
7165 );
7166 #[cfg(feature = "WebGlTexture")]
7167 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTexture2D)]
7168 #[doc = "The `framebufferTexture2D()` method."]
7169 #[doc = ""]
7170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)"]
7171 #[doc = ""]
7172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
7173 pub fn framebuffer_texture_2d(
7174 this: &WebGl2RenderingContext,
7175 target: u32,
7176 attachment: u32,
7177 textarget: u32,
7178 texture: Option<&WebGlTexture>,
7179 level: i32,
7180 );
7181 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = frontFace)]
7182 #[doc = "The `frontFace()` method."]
7183 #[doc = ""]
7184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)"]
7185 #[doc = ""]
7186 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7187 pub fn front_face(this: &WebGl2RenderingContext, mode: u32);
7188 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = generateMipmap)]
7189 #[doc = "The `generateMipmap()` method."]
7190 #[doc = ""]
7191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)"]
7192 #[doc = ""]
7193 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7194 pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32);
7195 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
7196 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveAttrib)]
7197 #[doc = "The `getActiveAttrib()` method."]
7198 #[doc = ""]
7199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)"]
7200 #[doc = ""]
7201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
7202 pub fn get_active_attrib(
7203 this: &WebGl2RenderingContext,
7204 program: &WebGlProgram,
7205 index: u32,
7206 ) -> Option<WebGlActiveInfo>;
7207 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
7208 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniform)]
7209 #[doc = "The `getActiveUniform()` method."]
7210 #[doc = ""]
7211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)"]
7212 #[doc = ""]
7213 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
7214 pub fn get_active_uniform(
7215 this: &WebGl2RenderingContext,
7216 program: &WebGlProgram,
7217 index: u32,
7218 ) -> Option<WebGlActiveInfo>;
7219 #[cfg(feature = "WebGlProgram")]
7220 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttachedShaders)]
7221 #[doc = "The `getAttachedShaders()` method."]
7222 #[doc = ""]
7223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)"]
7224 #[doc = ""]
7225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7226 pub fn get_attached_shaders(
7227 this: &WebGl2RenderingContext,
7228 program: &WebGlProgram,
7229 ) -> Option<::js_sys::Array>;
7230 #[cfg(feature = "WebGlProgram")]
7231 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttribLocation)]
7232 #[doc = "The `getAttribLocation()` method."]
7233 #[doc = ""]
7234 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)"]
7235 #[doc = ""]
7236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7237 pub fn get_attrib_location(
7238 this: &WebGl2RenderingContext,
7239 program: &WebGlProgram,
7240 name: &str,
7241 ) -> i32;
7242 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferParameter)]
7243 #[doc = "The `getBufferParameter()` method."]
7244 #[doc = ""]
7245 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)"]
7246 #[doc = ""]
7247 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7248 pub fn get_buffer_parameter(
7249 this: &WebGl2RenderingContext,
7250 target: u32,
7251 pname: u32,
7252 ) -> ::wasm_bindgen::JsValue;
7253 #[cfg(feature = "WebGlContextAttributes")]
7254 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getContextAttributes)]
7255 #[doc = "The `getContextAttributes()` method."]
7256 #[doc = ""]
7257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)"]
7258 #[doc = ""]
7259 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*"]
7260 pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>;
7261 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getError)]
7262 #[doc = "The `getError()` method."]
7263 #[doc = ""]
7264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)"]
7265 #[doc = ""]
7266 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7267 pub fn get_error(this: &WebGl2RenderingContext) -> u32;
7268 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getExtension)]
7269 #[doc = "The `getExtension()` method."]
7270 #[doc = ""]
7271 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)"]
7272 #[doc = ""]
7273 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7274 pub fn get_extension(
7275 this: &WebGl2RenderingContext,
7276 name: &str,
7277 ) -> Result<Option<::js_sys::Object>, JsValue>;
7278 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getFramebufferAttachmentParameter)]
7279 #[doc = "The `getFramebufferAttachmentParameter()` method."]
7280 #[doc = ""]
7281 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)"]
7282 #[doc = ""]
7283 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7284 pub fn get_framebuffer_attachment_parameter(
7285 this: &WebGl2RenderingContext,
7286 target: u32,
7287 attachment: u32,
7288 pname: u32,
7289 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
7290 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getParameter)]
7291 #[doc = "The `getParameter()` method."]
7292 #[doc = ""]
7293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)"]
7294 #[doc = ""]
7295 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7296 pub fn get_parameter(
7297 this: &WebGl2RenderingContext,
7298 pname: u32,
7299 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
7300 #[cfg(feature = "WebGlProgram")]
7301 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramInfoLog)]
7302 #[doc = "The `getProgramInfoLog()` method."]
7303 #[doc = ""]
7304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)"]
7305 #[doc = ""]
7306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7307 pub fn get_program_info_log(
7308 this: &WebGl2RenderingContext,
7309 program: &WebGlProgram,
7310 ) -> Option<::alloc::string::String>;
7311 #[cfg(feature = "WebGlProgram")]
7312 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramParameter)]
7313 #[doc = "The `getProgramParameter()` method."]
7314 #[doc = ""]
7315 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)"]
7316 #[doc = ""]
7317 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7318 pub fn get_program_parameter(
7319 this: &WebGl2RenderingContext,
7320 program: &WebGlProgram,
7321 pname: u32,
7322 ) -> ::wasm_bindgen::JsValue;
7323 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getRenderbufferParameter)]
7324 #[doc = "The `getRenderbufferParameter()` method."]
7325 #[doc = ""]
7326 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)"]
7327 #[doc = ""]
7328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7329 pub fn get_renderbuffer_parameter(
7330 this: &WebGl2RenderingContext,
7331 target: u32,
7332 pname: u32,
7333 ) -> ::wasm_bindgen::JsValue;
7334 #[cfg(feature = "WebGlShader")]
7335 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderInfoLog)]
7336 #[doc = "The `getShaderInfoLog()` method."]
7337 #[doc = ""]
7338 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)"]
7339 #[doc = ""]
7340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7341 pub fn get_shader_info_log(
7342 this: &WebGl2RenderingContext,
7343 shader: &WebGlShader,
7344 ) -> Option<::alloc::string::String>;
7345 #[cfg(feature = "WebGlShader")]
7346 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderParameter)]
7347 #[doc = "The `getShaderParameter()` method."]
7348 #[doc = ""]
7349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)"]
7350 #[doc = ""]
7351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7352 pub fn get_shader_parameter(
7353 this: &WebGl2RenderingContext,
7354 shader: &WebGlShader,
7355 pname: u32,
7356 ) -> ::wasm_bindgen::JsValue;
7357 #[cfg(feature = "WebGlShaderPrecisionFormat")]
7358 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderPrecisionFormat)]
7359 #[doc = "The `getShaderPrecisionFormat()` method."]
7360 #[doc = ""]
7361 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)"]
7362 #[doc = ""]
7363 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*"]
7364 pub fn get_shader_precision_format(
7365 this: &WebGl2RenderingContext,
7366 shadertype: u32,
7367 precisiontype: u32,
7368 ) -> Option<WebGlShaderPrecisionFormat>;
7369 #[cfg(feature = "WebGlShader")]
7370 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderSource)]
7371 #[doc = "The `getShaderSource()` method."]
7372 #[doc = ""]
7373 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)"]
7374 #[doc = ""]
7375 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7376 pub fn get_shader_source(
7377 this: &WebGl2RenderingContext,
7378 shader: &WebGlShader,
7379 ) -> Option<::alloc::string::String>;
7380 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSupportedExtensions)]
7381 #[doc = "The `getSupportedExtensions()` method."]
7382 #[doc = ""]
7383 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)"]
7384 #[doc = ""]
7385 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7386 pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>;
7387 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTexParameter)]
7388 #[doc = "The `getTexParameter()` method."]
7389 #[doc = ""]
7390 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)"]
7391 #[doc = ""]
7392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7393 pub fn get_tex_parameter(
7394 this: &WebGl2RenderingContext,
7395 target: u32,
7396 pname: u32,
7397 ) -> ::wasm_bindgen::JsValue;
7398 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
7399 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniform)]
7400 #[doc = "The `getUniform()` method."]
7401 #[doc = ""]
7402 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)"]
7403 #[doc = ""]
7404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
7405 pub fn get_uniform(
7406 this: &WebGl2RenderingContext,
7407 program: &WebGlProgram,
7408 location: &WebGlUniformLocation,
7409 ) -> ::wasm_bindgen::JsValue;
7410 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
7411 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformLocation)]
7412 #[doc = "The `getUniformLocation()` method."]
7413 #[doc = ""]
7414 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)"]
7415 #[doc = ""]
7416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
7417 pub fn get_uniform_location(
7418 this: &WebGl2RenderingContext,
7419 program: &WebGlProgram,
7420 name: &str,
7421 ) -> Option<WebGlUniformLocation>;
7422 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttrib)]
7423 #[doc = "The `getVertexAttrib()` method."]
7424 #[doc = ""]
7425 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)"]
7426 #[doc = ""]
7427 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7428 pub fn get_vertex_attrib(
7429 this: &WebGl2RenderingContext,
7430 index: u32,
7431 pname: u32,
7432 ) -> Result<::wasm_bindgen::JsValue, JsValue>;
7433 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttribOffset)]
7434 #[doc = "The `getVertexAttribOffset()` method."]
7435 #[doc = ""]
7436 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)"]
7437 #[doc = ""]
7438 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7439 pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64;
7440 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = hint)]
7441 #[doc = "The `hint()` method."]
7442 #[doc = ""]
7443 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)"]
7444 #[doc = ""]
7445 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7446 pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32);
7447 #[cfg(feature = "WebGlBuffer")]
7448 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isBuffer)]
7449 #[doc = "The `isBuffer()` method."]
7450 #[doc = ""]
7451 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)"]
7452 #[doc = ""]
7453 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
7454 pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
7455 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isContextLost)]
7456 #[doc = "The `isContextLost()` method."]
7457 #[doc = ""]
7458 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)"]
7459 #[doc = ""]
7460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7461 pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool;
7462 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isEnabled)]
7463 #[doc = "The `isEnabled()` method."]
7464 #[doc = ""]
7465 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)"]
7466 #[doc = ""]
7467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7468 pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool;
7469 #[cfg(feature = "WebGlFramebuffer")]
7470 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isFramebuffer)]
7471 #[doc = "The `isFramebuffer()` method."]
7472 #[doc = ""]
7473 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)"]
7474 #[doc = ""]
7475 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
7476 pub fn is_framebuffer(
7477 this: &WebGl2RenderingContext,
7478 framebuffer: Option<&WebGlFramebuffer>,
7479 ) -> bool;
7480 #[cfg(feature = "WebGlProgram")]
7481 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isProgram)]
7482 #[doc = "The `isProgram()` method."]
7483 #[doc = ""]
7484 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)"]
7485 #[doc = ""]
7486 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7487 pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool;
7488 #[cfg(feature = "WebGlRenderbuffer")]
7489 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isRenderbuffer)]
7490 #[doc = "The `isRenderbuffer()` method."]
7491 #[doc = ""]
7492 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)"]
7493 #[doc = ""]
7494 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
7495 pub fn is_renderbuffer(
7496 this: &WebGl2RenderingContext,
7497 renderbuffer: Option<&WebGlRenderbuffer>,
7498 ) -> bool;
7499 #[cfg(feature = "WebGlShader")]
7500 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isShader)]
7501 #[doc = "The `isShader()` method."]
7502 #[doc = ""]
7503 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)"]
7504 #[doc = ""]
7505 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7506 pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool;
7507 #[cfg(feature = "WebGlTexture")]
7508 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTexture)]
7509 #[doc = "The `isTexture()` method."]
7510 #[doc = ""]
7511 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)"]
7512 #[doc = ""]
7513 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
7514 pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool;
7515 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = lineWidth)]
7516 #[doc = "The `lineWidth()` method."]
7517 #[doc = ""]
7518 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)"]
7519 #[doc = ""]
7520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7521 pub fn line_width(this: &WebGl2RenderingContext, width: f32);
7522 #[cfg(feature = "WebGlProgram")]
7523 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = linkProgram)]
7524 #[doc = "The `linkProgram()` method."]
7525 #[doc = ""]
7526 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)"]
7527 #[doc = ""]
7528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7529 pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
7530 #[cfg(web_sys_unstable_apis)]
7531 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = makeXRCompatible)]
7532 #[doc = "The `makeXRCompatible()` method."]
7533 #[doc = ""]
7534 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)"]
7535 #[doc = ""]
7536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7537 #[doc = ""]
7538 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
7539 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
7540 pub fn make_xr_compatible(
7541 this: &WebGl2RenderingContext,
7542 ) -> ::js_sys::Promise<::js_sys::Undefined>;
7543 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei)]
7544 #[doc = "The `pixelStorei()` method."]
7545 #[doc = ""]
7546 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)"]
7547 #[doc = ""]
7548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7549 pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32);
7550 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = polygonOffset)]
7551 #[doc = "The `polygonOffset()` method."]
7552 #[doc = ""]
7553 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)"]
7554 #[doc = ""]
7555 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7556 pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32);
7557 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorage)]
7558 #[doc = "The `renderbufferStorage()` method."]
7559 #[doc = ""]
7560 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)"]
7561 #[doc = ""]
7562 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7563 pub fn renderbuffer_storage(
7564 this: &WebGl2RenderingContext,
7565 target: u32,
7566 internalformat: u32,
7567 width: i32,
7568 height: i32,
7569 );
7570 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage)]
7571 #[doc = "The `sampleCoverage()` method."]
7572 #[doc = ""]
7573 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)"]
7574 #[doc = ""]
7575 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7576 pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool);
7577 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = scissor)]
7578 #[doc = "The `scissor()` method."]
7579 #[doc = ""]
7580 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)"]
7581 #[doc = ""]
7582 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7583 pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
7584 #[cfg(feature = "WebGlShader")]
7585 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = shaderSource)]
7586 #[doc = "The `shaderSource()` method."]
7587 #[doc = ""]
7588 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)"]
7589 #[doc = ""]
7590 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
7591 pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str);
7592 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFunc)]
7593 #[doc = "The `stencilFunc()` method."]
7594 #[doc = ""]
7595 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)"]
7596 #[doc = ""]
7597 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7598 pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32);
7599 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFuncSeparate)]
7600 #[doc = "The `stencilFuncSeparate()` method."]
7601 #[doc = ""]
7602 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)"]
7603 #[doc = ""]
7604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7605 pub fn stencil_func_separate(
7606 this: &WebGl2RenderingContext,
7607 face: u32,
7608 func: u32,
7609 ref_: i32,
7610 mask: u32,
7611 );
7612 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask)]
7613 #[doc = "The `stencilMask()` method."]
7614 #[doc = ""]
7615 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)"]
7616 #[doc = ""]
7617 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7618 pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32);
7619 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMaskSeparate)]
7620 #[doc = "The `stencilMaskSeparate()` method."]
7621 #[doc = ""]
7622 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)"]
7623 #[doc = ""]
7624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7625 pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32);
7626 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOp)]
7627 #[doc = "The `stencilOp()` method."]
7628 #[doc = ""]
7629 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)"]
7630 #[doc = ""]
7631 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7632 pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32);
7633 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOpSeparate)]
7634 #[doc = "The `stencilOpSeparate()` method."]
7635 #[doc = ""]
7636 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)"]
7637 #[doc = ""]
7638 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7639 pub fn stencil_op_separate(
7640 this: &WebGl2RenderingContext,
7641 face: u32,
7642 fail: u32,
7643 zfail: u32,
7644 zpass: u32,
7645 );
7646 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf)]
7647 #[doc = "The `texParameterf()` method."]
7648 #[doc = ""]
7649 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)"]
7650 #[doc = ""]
7651 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7652 pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32);
7653 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameteri)]
7654 #[doc = "The `texParameteri()` method."]
7655 #[doc = ""]
7656 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)"]
7657 #[doc = ""]
7658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7659 pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32);
7660 #[cfg(feature = "WebGlUniformLocation")]
7661 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1f)]
7662 #[doc = "The `uniform1f()` method."]
7663 #[doc = ""]
7664 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)"]
7665 #[doc = ""]
7666 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7667 pub fn uniform1f(
7668 this: &WebGl2RenderingContext,
7669 location: Option<&WebGlUniformLocation>,
7670 x: f32,
7671 );
7672 #[cfg(feature = "WebGlUniformLocation")]
7673 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i)]
7674 #[doc = "The `uniform1i()` method."]
7675 #[doc = ""]
7676 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)"]
7677 #[doc = ""]
7678 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7679 pub fn uniform1i(
7680 this: &WebGl2RenderingContext,
7681 location: Option<&WebGlUniformLocation>,
7682 x: i32,
7683 );
7684 #[cfg(feature = "WebGlUniformLocation")]
7685 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f)]
7686 #[doc = "The `uniform2f()` method."]
7687 #[doc = ""]
7688 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)"]
7689 #[doc = ""]
7690 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7691 pub fn uniform2f(
7692 this: &WebGl2RenderingContext,
7693 location: Option<&WebGlUniformLocation>,
7694 x: f32,
7695 y: f32,
7696 );
7697 #[cfg(feature = "WebGlUniformLocation")]
7698 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i)]
7699 #[doc = "The `uniform2i()` method."]
7700 #[doc = ""]
7701 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)"]
7702 #[doc = ""]
7703 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7704 pub fn uniform2i(
7705 this: &WebGl2RenderingContext,
7706 location: Option<&WebGlUniformLocation>,
7707 x: i32,
7708 y: i32,
7709 );
7710 #[cfg(feature = "WebGlUniformLocation")]
7711 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f)]
7712 #[doc = "The `uniform3f()` method."]
7713 #[doc = ""]
7714 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)"]
7715 #[doc = ""]
7716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7717 pub fn uniform3f(
7718 this: &WebGl2RenderingContext,
7719 location: Option<&WebGlUniformLocation>,
7720 x: f32,
7721 y: f32,
7722 z: f32,
7723 );
7724 #[cfg(feature = "WebGlUniformLocation")]
7725 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i)]
7726 #[doc = "The `uniform3i()` method."]
7727 #[doc = ""]
7728 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)"]
7729 #[doc = ""]
7730 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7731 pub fn uniform3i(
7732 this: &WebGl2RenderingContext,
7733 location: Option<&WebGlUniformLocation>,
7734 x: i32,
7735 y: i32,
7736 z: i32,
7737 );
7738 #[cfg(feature = "WebGlUniformLocation")]
7739 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f)]
7740 #[doc = "The `uniform4f()` method."]
7741 #[doc = ""]
7742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)"]
7743 #[doc = ""]
7744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7745 pub fn uniform4f(
7746 this: &WebGl2RenderingContext,
7747 location: Option<&WebGlUniformLocation>,
7748 x: f32,
7749 y: f32,
7750 z: f32,
7751 w: f32,
7752 );
7753 #[cfg(feature = "WebGlUniformLocation")]
7754 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i)]
7755 #[doc = "The `uniform4i()` method."]
7756 #[doc = ""]
7757 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)"]
7758 #[doc = ""]
7759 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
7760 pub fn uniform4i(
7761 this: &WebGl2RenderingContext,
7762 location: Option<&WebGlUniformLocation>,
7763 x: i32,
7764 y: i32,
7765 z: i32,
7766 w: i32,
7767 );
7768 #[cfg(feature = "WebGlProgram")]
7769 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram)]
7770 #[doc = "The `useProgram()` method."]
7771 #[doc = ""]
7772 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)"]
7773 #[doc = ""]
7774 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7775 pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
7776 #[cfg(feature = "WebGlProgram")]
7777 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = validateProgram)]
7778 #[doc = "The `validateProgram()` method."]
7779 #[doc = ""]
7780 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)"]
7781 #[doc = ""]
7782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
7783 pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
7784 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1f)]
7785 #[doc = "The `vertexAttrib1f()` method."]
7786 #[doc = ""]
7787 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)"]
7788 #[doc = ""]
7789 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7790 pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32);
7791 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
7792 #[doc = "The `vertexAttrib1fv()` method."]
7793 #[doc = ""]
7794 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
7795 #[doc = ""]
7796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7797 pub fn vertex_attrib1fv_with_f32_array(
7798 this: &WebGl2RenderingContext,
7799 indx: u32,
7800 values: &[f32],
7801 );
7802 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
7803 #[doc = "The `vertexAttrib1fv()` method."]
7804 #[doc = ""]
7805 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
7806 #[doc = ""]
7807 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7808 pub fn vertex_attrib1fv_with_js_f32_array(
7809 this: &WebGl2RenderingContext,
7810 indx: u32,
7811 values: &::js_sys::Float32Array,
7812 );
7813 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
7814 #[doc = "The `vertexAttrib1fv()` method."]
7815 #[doc = ""]
7816 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
7817 #[doc = ""]
7818 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7819 pub fn vertex_attrib1fv_with_f32_sequence(
7820 this: &WebGl2RenderingContext,
7821 indx: u32,
7822 values: &::wasm_bindgen::JsValue,
7823 );
7824 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f)]
7825 #[doc = "The `vertexAttrib2f()` method."]
7826 #[doc = ""]
7827 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)"]
7828 #[doc = ""]
7829 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7830 pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32);
7831 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
7832 #[doc = "The `vertexAttrib2fv()` method."]
7833 #[doc = ""]
7834 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
7835 #[doc = ""]
7836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7837 pub fn vertex_attrib2fv_with_f32_array(
7838 this: &WebGl2RenderingContext,
7839 indx: u32,
7840 values: &[f32],
7841 );
7842 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
7843 #[doc = "The `vertexAttrib2fv()` method."]
7844 #[doc = ""]
7845 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
7846 #[doc = ""]
7847 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7848 pub fn vertex_attrib2fv_with_js_f32_array(
7849 this: &WebGl2RenderingContext,
7850 indx: u32,
7851 values: &::js_sys::Float32Array,
7852 );
7853 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
7854 #[doc = "The `vertexAttrib2fv()` method."]
7855 #[doc = ""]
7856 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
7857 #[doc = ""]
7858 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7859 pub fn vertex_attrib2fv_with_f32_sequence(
7860 this: &WebGl2RenderingContext,
7861 indx: u32,
7862 values: &::wasm_bindgen::JsValue,
7863 );
7864 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f)]
7865 #[doc = "The `vertexAttrib3f()` method."]
7866 #[doc = ""]
7867 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)"]
7868 #[doc = ""]
7869 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7870 pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32);
7871 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
7872 #[doc = "The `vertexAttrib3fv()` method."]
7873 #[doc = ""]
7874 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
7875 #[doc = ""]
7876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7877 pub fn vertex_attrib3fv_with_f32_array(
7878 this: &WebGl2RenderingContext,
7879 indx: u32,
7880 values: &[f32],
7881 );
7882 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
7883 #[doc = "The `vertexAttrib3fv()` method."]
7884 #[doc = ""]
7885 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
7886 #[doc = ""]
7887 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7888 pub fn vertex_attrib3fv_with_js_f32_array(
7889 this: &WebGl2RenderingContext,
7890 indx: u32,
7891 values: &::js_sys::Float32Array,
7892 );
7893 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
7894 #[doc = "The `vertexAttrib3fv()` method."]
7895 #[doc = ""]
7896 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
7897 #[doc = ""]
7898 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7899 pub fn vertex_attrib3fv_with_f32_sequence(
7900 this: &WebGl2RenderingContext,
7901 indx: u32,
7902 values: &::wasm_bindgen::JsValue,
7903 );
7904 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f)]
7905 #[doc = "The `vertexAttrib4f()` method."]
7906 #[doc = ""]
7907 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)"]
7908 #[doc = ""]
7909 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7910 pub fn vertex_attrib4f(
7911 this: &WebGl2RenderingContext,
7912 indx: u32,
7913 x: f32,
7914 y: f32,
7915 z: f32,
7916 w: f32,
7917 );
7918 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
7919 #[doc = "The `vertexAttrib4fv()` method."]
7920 #[doc = ""]
7921 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
7922 #[doc = ""]
7923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7924 pub fn vertex_attrib4fv_with_f32_array(
7925 this: &WebGl2RenderingContext,
7926 indx: u32,
7927 values: &[f32],
7928 );
7929 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
7930 #[doc = "The `vertexAttrib4fv()` method."]
7931 #[doc = ""]
7932 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
7933 #[doc = ""]
7934 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7935 pub fn vertex_attrib4fv_with_js_f32_array(
7936 this: &WebGl2RenderingContext,
7937 indx: u32,
7938 values: &::js_sys::Float32Array,
7939 );
7940 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
7941 #[doc = "The `vertexAttrib4fv()` method."]
7942 #[doc = ""]
7943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
7944 #[doc = ""]
7945 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7946 pub fn vertex_attrib4fv_with_f32_sequence(
7947 this: &WebGl2RenderingContext,
7948 indx: u32,
7949 values: &::wasm_bindgen::JsValue,
7950 );
7951 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
7952 #[doc = "The `vertexAttribPointer()` method."]
7953 #[doc = ""]
7954 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
7955 #[doc = ""]
7956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7957 pub fn vertex_attrib_pointer_with_i32(
7958 this: &WebGl2RenderingContext,
7959 indx: u32,
7960 size: i32,
7961 type_: u32,
7962 normalized: bool,
7963 stride: i32,
7964 offset: i32,
7965 );
7966 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
7967 #[doc = "The `vertexAttribPointer()` method."]
7968 #[doc = ""]
7969 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
7970 #[doc = ""]
7971 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7972 pub fn vertex_attrib_pointer_with_f64(
7973 this: &WebGl2RenderingContext,
7974 indx: u32,
7975 size: i32,
7976 type_: u32,
7977 normalized: bool,
7978 stride: i32,
7979 offset: f64,
7980 );
7981 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport)]
7982 #[doc = "The `viewport()` method."]
7983 #[doc = ""]
7984 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)"]
7985 #[doc = ""]
7986 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7987 pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
7988}
7989impl WebGl2RenderingContext {
7990 #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const."]
7991 #[doc = ""]
7992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7993 pub const READ_BUFFER: u32 = 3074u64 as u32;
7994 #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const."]
7995 #[doc = ""]
7996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
7997 pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32;
7998 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const."]
7999 #[doc = ""]
8000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8001 pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32;
8002 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const."]
8003 #[doc = ""]
8004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8005 pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32;
8006 #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const."]
8007 #[doc = ""]
8008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8009 pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32;
8010 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const."]
8011 #[doc = ""]
8012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8013 pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32;
8014 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const."]
8015 #[doc = ""]
8016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8017 pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32;
8018 #[doc = "The `WebGL2RenderingContext.COLOR` const."]
8019 #[doc = ""]
8020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8021 pub const COLOR: u32 = 6144u64 as u32;
8022 #[doc = "The `WebGL2RenderingContext.DEPTH` const."]
8023 #[doc = ""]
8024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8025 pub const DEPTH: u32 = 6145u64 as u32;
8026 #[doc = "The `WebGL2RenderingContext.STENCIL` const."]
8027 #[doc = ""]
8028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8029 pub const STENCIL: u32 = 6146u64 as u32;
8030 #[doc = "The `WebGL2RenderingContext.RED` const."]
8031 #[doc = ""]
8032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8033 pub const RED: u32 = 6403u64 as u32;
8034 #[doc = "The `WebGL2RenderingContext.RGB8` const."]
8035 #[doc = ""]
8036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8037 pub const RGB8: u32 = 32849u64 as u32;
8038 #[doc = "The `WebGL2RenderingContext.RGBA8` const."]
8039 #[doc = ""]
8040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8041 pub const RGBA8: u32 = 32856u64 as u32;
8042 #[doc = "The `WebGL2RenderingContext.RGB10_A2` const."]
8043 #[doc = ""]
8044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8045 pub const RGB10_A2: u32 = 32857u64 as u32;
8046 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const."]
8047 #[doc = ""]
8048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8049 pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32;
8050 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const."]
8051 #[doc = ""]
8052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8053 pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32;
8054 #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const."]
8055 #[doc = ""]
8056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8057 pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32;
8058 #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const."]
8059 #[doc = ""]
8060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8061 pub const TEXTURE_3D: u32 = 32879u64 as u32;
8062 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const."]
8063 #[doc = ""]
8064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8065 pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32;
8066 #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const."]
8067 #[doc = ""]
8068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8069 pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32;
8070 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const."]
8071 #[doc = ""]
8072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8073 pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32;
8074 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const."]
8075 #[doc = ""]
8076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8077 pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32;
8078 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const."]
8079 #[doc = ""]
8080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8081 pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32;
8082 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const."]
8083 #[doc = ""]
8084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8085 pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32;
8086 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const."]
8087 #[doc = ""]
8088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8089 pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32;
8090 #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const."]
8091 #[doc = ""]
8092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8093 pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32;
8094 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const."]
8095 #[doc = ""]
8096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8097 pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32;
8098 #[doc = "The `WebGL2RenderingContext.MIN` const."]
8099 #[doc = ""]
8100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8101 pub const MIN: u32 = 32775u64 as u32;
8102 #[doc = "The `WebGL2RenderingContext.MAX` const."]
8103 #[doc = ""]
8104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8105 pub const MAX: u32 = 32776u64 as u32;
8106 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const."]
8107 #[doc = ""]
8108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8109 pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32;
8110 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const."]
8111 #[doc = ""]
8112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8113 pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32;
8114 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const."]
8115 #[doc = ""]
8116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8117 pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32;
8118 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const."]
8119 #[doc = ""]
8120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8121 pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32;
8122 #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const."]
8123 #[doc = ""]
8124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8125 pub const CURRENT_QUERY: u32 = 34917u64 as u32;
8126 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const."]
8127 #[doc = ""]
8128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8129 pub const QUERY_RESULT: u32 = 34918u64 as u32;
8130 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const."]
8131 #[doc = ""]
8132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8133 pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32;
8134 #[doc = "The `WebGL2RenderingContext.STREAM_READ` const."]
8135 #[doc = ""]
8136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8137 pub const STREAM_READ: u32 = 35041u64 as u32;
8138 #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const."]
8139 #[doc = ""]
8140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8141 pub const STREAM_COPY: u32 = 35042u64 as u32;
8142 #[doc = "The `WebGL2RenderingContext.STATIC_READ` const."]
8143 #[doc = ""]
8144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8145 pub const STATIC_READ: u32 = 35045u64 as u32;
8146 #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const."]
8147 #[doc = ""]
8148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8149 pub const STATIC_COPY: u32 = 35046u64 as u32;
8150 #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const."]
8151 #[doc = ""]
8152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8153 pub const DYNAMIC_READ: u32 = 35049u64 as u32;
8154 #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const."]
8155 #[doc = ""]
8156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8157 pub const DYNAMIC_COPY: u32 = 35050u64 as u32;
8158 #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const."]
8159 #[doc = ""]
8160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8161 pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32;
8162 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const."]
8163 #[doc = ""]
8164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8165 pub const DRAW_BUFFER0: u32 = 34853u64 as u32;
8166 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const."]
8167 #[doc = ""]
8168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8169 pub const DRAW_BUFFER1: u32 = 34854u64 as u32;
8170 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const."]
8171 #[doc = ""]
8172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8173 pub const DRAW_BUFFER2: u32 = 34855u64 as u32;
8174 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const."]
8175 #[doc = ""]
8176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8177 pub const DRAW_BUFFER3: u32 = 34856u64 as u32;
8178 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const."]
8179 #[doc = ""]
8180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8181 pub const DRAW_BUFFER4: u32 = 34857u64 as u32;
8182 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const."]
8183 #[doc = ""]
8184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8185 pub const DRAW_BUFFER5: u32 = 34858u64 as u32;
8186 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const."]
8187 #[doc = ""]
8188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8189 pub const DRAW_BUFFER6: u32 = 34859u64 as u32;
8190 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const."]
8191 #[doc = ""]
8192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8193 pub const DRAW_BUFFER7: u32 = 34860u64 as u32;
8194 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const."]
8195 #[doc = ""]
8196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8197 pub const DRAW_BUFFER8: u32 = 34861u64 as u32;
8198 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const."]
8199 #[doc = ""]
8200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8201 pub const DRAW_BUFFER9: u32 = 34862u64 as u32;
8202 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const."]
8203 #[doc = ""]
8204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8205 pub const DRAW_BUFFER10: u32 = 34863u64 as u32;
8206 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const."]
8207 #[doc = ""]
8208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8209 pub const DRAW_BUFFER11: u32 = 34864u64 as u32;
8210 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const."]
8211 #[doc = ""]
8212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8213 pub const DRAW_BUFFER12: u32 = 34865u64 as u32;
8214 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const."]
8215 #[doc = ""]
8216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8217 pub const DRAW_BUFFER13: u32 = 34866u64 as u32;
8218 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const."]
8219 #[doc = ""]
8220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8221 pub const DRAW_BUFFER14: u32 = 34867u64 as u32;
8222 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const."]
8223 #[doc = ""]
8224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8225 pub const DRAW_BUFFER15: u32 = 34868u64 as u32;
8226 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const."]
8227 #[doc = ""]
8228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8229 pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32;
8230 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const."]
8231 #[doc = ""]
8232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8233 pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32;
8234 #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const."]
8235 #[doc = ""]
8236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8237 pub const SAMPLER_3D: u32 = 35679u64 as u32;
8238 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const."]
8239 #[doc = ""]
8240 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8241 pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32;
8242 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const."]
8243 #[doc = ""]
8244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8245 pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32;
8246 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const."]
8247 #[doc = ""]
8248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8249 pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32;
8250 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const."]
8251 #[doc = ""]
8252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8253 pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32;
8254 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const."]
8255 #[doc = ""]
8256 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8257 pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32;
8258 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const."]
8259 #[doc = ""]
8260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8261 pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32;
8262 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const."]
8263 #[doc = ""]
8264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8265 pub const FLOAT_MAT2X3: u32 = 35685u64 as u32;
8266 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const."]
8267 #[doc = ""]
8268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8269 pub const FLOAT_MAT2X4: u32 = 35686u64 as u32;
8270 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const."]
8271 #[doc = ""]
8272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8273 pub const FLOAT_MAT3X2: u32 = 35687u64 as u32;
8274 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const."]
8275 #[doc = ""]
8276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8277 pub const FLOAT_MAT3X4: u32 = 35688u64 as u32;
8278 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const."]
8279 #[doc = ""]
8280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8281 pub const FLOAT_MAT4X2: u32 = 35689u64 as u32;
8282 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const."]
8283 #[doc = ""]
8284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8285 pub const FLOAT_MAT4X3: u32 = 35690u64 as u32;
8286 #[doc = "The `WebGL2RenderingContext.SRGB` const."]
8287 #[doc = ""]
8288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8289 pub const SRGB: u32 = 35904u64 as u32;
8290 #[doc = "The `WebGL2RenderingContext.SRGB8` const."]
8291 #[doc = ""]
8292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8293 pub const SRGB8: u32 = 35905u64 as u32;
8294 #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const."]
8295 #[doc = ""]
8296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8297 pub const SRGB8_ALPHA8: u32 = 35907u64 as u32;
8298 #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const."]
8299 #[doc = ""]
8300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8301 pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32;
8302 #[doc = "The `WebGL2RenderingContext.RGBA32F` const."]
8303 #[doc = ""]
8304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8305 pub const RGBA32F: u32 = 34836u64 as u32;
8306 #[doc = "The `WebGL2RenderingContext.RGB32F` const."]
8307 #[doc = ""]
8308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8309 pub const RGB32F: u32 = 34837u64 as u32;
8310 #[doc = "The `WebGL2RenderingContext.RGBA16F` const."]
8311 #[doc = ""]
8312 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8313 pub const RGBA16F: u32 = 34842u64 as u32;
8314 #[doc = "The `WebGL2RenderingContext.RGB16F` const."]
8315 #[doc = ""]
8316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8317 pub const RGB16F: u32 = 34843u64 as u32;
8318 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const."]
8319 #[doc = ""]
8320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8321 pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32;
8322 #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const."]
8323 #[doc = ""]
8324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8325 pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32;
8326 #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const."]
8327 #[doc = ""]
8328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8329 pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32;
8330 #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const."]
8331 #[doc = ""]
8332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8333 pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32;
8334 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const."]
8335 #[doc = ""]
8336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8337 pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32;
8338 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const."]
8339 #[doc = ""]
8340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8341 pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32;
8342 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const."]
8343 #[doc = ""]
8344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8345 pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32;
8346 #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const."]
8347 #[doc = ""]
8348 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8349 pub const R11F_G11F_B10F: u32 = 35898u64 as u32;
8350 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const."]
8351 #[doc = ""]
8352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8353 pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32;
8354 #[doc = "The `WebGL2RenderingContext.RGB9_E5` const."]
8355 #[doc = ""]
8356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8357 pub const RGB9_E5: u32 = 35901u64 as u32;
8358 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const."]
8359 #[doc = ""]
8360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8361 pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32;
8362 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const."]
8363 #[doc = ""]
8364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8365 pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32;
8366 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const."]
8367 #[doc = ""]
8368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8369 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32;
8370 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const."]
8371 #[doc = ""]
8372 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8373 pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32;
8374 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const."]
8375 #[doc = ""]
8376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8377 pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32;
8378 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const."]
8379 #[doc = ""]
8380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8381 pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32;
8382 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const."]
8383 #[doc = ""]
8384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8385 pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32;
8386 #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const."]
8387 #[doc = ""]
8388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8389 pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32;
8390 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const."]
8391 #[doc = ""]
8392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8393 pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32;
8394 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const."]
8395 #[doc = ""]
8396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8397 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32;
8398 #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const."]
8399 #[doc = ""]
8400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8401 pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32;
8402 #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const."]
8403 #[doc = ""]
8404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8405 pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32;
8406 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const."]
8407 #[doc = ""]
8408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8409 pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32;
8410 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const."]
8411 #[doc = ""]
8412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8413 pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32;
8414 #[doc = "The `WebGL2RenderingContext.RGBA32UI` const."]
8415 #[doc = ""]
8416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8417 pub const RGBA32UI: u32 = 36208u64 as u32;
8418 #[doc = "The `WebGL2RenderingContext.RGB32UI` const."]
8419 #[doc = ""]
8420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8421 pub const RGB32UI: u32 = 36209u64 as u32;
8422 #[doc = "The `WebGL2RenderingContext.RGBA16UI` const."]
8423 #[doc = ""]
8424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8425 pub const RGBA16UI: u32 = 36214u64 as u32;
8426 #[doc = "The `WebGL2RenderingContext.RGB16UI` const."]
8427 #[doc = ""]
8428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8429 pub const RGB16UI: u32 = 36215u64 as u32;
8430 #[doc = "The `WebGL2RenderingContext.RGBA8UI` const."]
8431 #[doc = ""]
8432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8433 pub const RGBA8UI: u32 = 36220u64 as u32;
8434 #[doc = "The `WebGL2RenderingContext.RGB8UI` const."]
8435 #[doc = ""]
8436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8437 pub const RGB8UI: u32 = 36221u64 as u32;
8438 #[doc = "The `WebGL2RenderingContext.RGBA32I` const."]
8439 #[doc = ""]
8440 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8441 pub const RGBA32I: u32 = 36226u64 as u32;
8442 #[doc = "The `WebGL2RenderingContext.RGB32I` const."]
8443 #[doc = ""]
8444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8445 pub const RGB32I: u32 = 36227u64 as u32;
8446 #[doc = "The `WebGL2RenderingContext.RGBA16I` const."]
8447 #[doc = ""]
8448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8449 pub const RGBA16I: u32 = 36232u64 as u32;
8450 #[doc = "The `WebGL2RenderingContext.RGB16I` const."]
8451 #[doc = ""]
8452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8453 pub const RGB16I: u32 = 36233u64 as u32;
8454 #[doc = "The `WebGL2RenderingContext.RGBA8I` const."]
8455 #[doc = ""]
8456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8457 pub const RGBA8I: u32 = 36238u64 as u32;
8458 #[doc = "The `WebGL2RenderingContext.RGB8I` const."]
8459 #[doc = ""]
8460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8461 pub const RGB8I: u32 = 36239u64 as u32;
8462 #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const."]
8463 #[doc = ""]
8464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8465 pub const RED_INTEGER: u32 = 36244u64 as u32;
8466 #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const."]
8467 #[doc = ""]
8468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8469 pub const RGB_INTEGER: u32 = 36248u64 as u32;
8470 #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const."]
8471 #[doc = ""]
8472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8473 pub const RGBA_INTEGER: u32 = 36249u64 as u32;
8474 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const."]
8475 #[doc = ""]
8476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8477 pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32;
8478 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const."]
8479 #[doc = ""]
8480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8481 pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32;
8482 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const."]
8483 #[doc = ""]
8484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8485 pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32;
8486 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const."]
8487 #[doc = ""]
8488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8489 pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32;
8490 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const."]
8491 #[doc = ""]
8492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8493 pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32;
8494 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const."]
8495 #[doc = ""]
8496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8497 pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32;
8498 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const."]
8499 #[doc = ""]
8500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8501 pub const INT_SAMPLER_2D: u32 = 36298u64 as u32;
8502 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const."]
8503 #[doc = ""]
8504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8505 pub const INT_SAMPLER_3D: u32 = 36299u64 as u32;
8506 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const."]
8507 #[doc = ""]
8508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8509 pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32;
8510 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const."]
8511 #[doc = ""]
8512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8513 pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32;
8514 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const."]
8515 #[doc = ""]
8516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8517 pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32;
8518 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const."]
8519 #[doc = ""]
8520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8521 pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32;
8522 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const."]
8523 #[doc = ""]
8524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8525 pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32;
8526 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const."]
8527 #[doc = ""]
8528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8529 pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32;
8530 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const."]
8531 #[doc = ""]
8532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8533 pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32;
8534 #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const."]
8535 #[doc = ""]
8536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8537 pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32;
8538 #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const."]
8539 #[doc = ""]
8540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8541 pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32;
8542 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const."]
8543 #[doc = ""]
8544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8545 pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32;
8546 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const."]
8547 #[doc = ""]
8548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8549 pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32;
8550 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const."]
8551 #[doc = ""]
8552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8553 pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32;
8554 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const."]
8555 #[doc = ""]
8556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8557 pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32;
8558 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const."]
8559 #[doc = ""]
8560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8561 pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32;
8562 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const."]
8563 #[doc = ""]
8564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8565 pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32;
8566 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const."]
8567 #[doc = ""]
8568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8569 pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32;
8570 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const."]
8571 #[doc = ""]
8572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8573 pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32;
8574 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const."]
8575 #[doc = ""]
8576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8577 pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32;
8578 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const."]
8579 #[doc = ""]
8580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8581 pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32;
8582 #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const."]
8583 #[doc = ""]
8584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8585 pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32;
8586 #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const."]
8587 #[doc = ""]
8588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8589 pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32;
8590 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const."]
8591 #[doc = ""]
8592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8593 pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
8594 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const."]
8595 #[doc = ""]
8596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8597 pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32;
8598 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const."]
8599 #[doc = ""]
8600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8601 pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32;
8602 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const."]
8603 #[doc = ""]
8604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8605 pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32;
8606 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const."]
8607 #[doc = ""]
8608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8609 pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32;
8610 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const."]
8611 #[doc = ""]
8612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8613 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32;
8614 #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const."]
8615 #[doc = ""]
8616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8617 pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32;
8618 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const."]
8619 #[doc = ""]
8620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8621 pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32;
8622 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const."]
8623 #[doc = ""]
8624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8625 pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32;
8626 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const."]
8627 #[doc = ""]
8628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8629 pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32;
8630 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const."]
8631 #[doc = ""]
8632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8633 pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32;
8634 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const."]
8635 #[doc = ""]
8636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8637 pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32;
8638 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const."]
8639 #[doc = ""]
8640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8641 pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32;
8642 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const."]
8643 #[doc = ""]
8644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8645 pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32;
8646 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const."]
8647 #[doc = ""]
8648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8649 pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32;
8650 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const."]
8651 #[doc = ""]
8652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8653 pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32;
8654 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const."]
8655 #[doc = ""]
8656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8657 pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32;
8658 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const."]
8659 #[doc = ""]
8660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8661 pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32;
8662 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const."]
8663 #[doc = ""]
8664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8665 pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32;
8666 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const."]
8667 #[doc = ""]
8668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8669 pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32;
8670 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const."]
8671 #[doc = ""]
8672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8673 pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32;
8674 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const."]
8675 #[doc = ""]
8676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8677 pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32;
8678 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const."]
8679 #[doc = ""]
8680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8681 pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32;
8682 #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const."]
8683 #[doc = ""]
8684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8685 pub const MAX_SAMPLES: u32 = 36183u64 as u32;
8686 #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const."]
8687 #[doc = ""]
8688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8689 pub const HALF_FLOAT: u32 = 5131u64 as u32;
8690 #[doc = "The `WebGL2RenderingContext.RG` const."]
8691 #[doc = ""]
8692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8693 pub const RG: u32 = 33319u64 as u32;
8694 #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const."]
8695 #[doc = ""]
8696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8697 pub const RG_INTEGER: u32 = 33320u64 as u32;
8698 #[doc = "The `WebGL2RenderingContext.R8` const."]
8699 #[doc = ""]
8700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8701 pub const R8: u32 = 33321u64 as u32;
8702 #[doc = "The `WebGL2RenderingContext.RG8` const."]
8703 #[doc = ""]
8704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8705 pub const RG8: u32 = 33323u64 as u32;
8706 #[doc = "The `WebGL2RenderingContext.R16F` const."]
8707 #[doc = ""]
8708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8709 pub const R16F: u32 = 33325u64 as u32;
8710 #[doc = "The `WebGL2RenderingContext.R32F` const."]
8711 #[doc = ""]
8712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8713 pub const R32F: u32 = 33326u64 as u32;
8714 #[doc = "The `WebGL2RenderingContext.RG16F` const."]
8715 #[doc = ""]
8716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8717 pub const RG16F: u32 = 33327u64 as u32;
8718 #[doc = "The `WebGL2RenderingContext.RG32F` const."]
8719 #[doc = ""]
8720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8721 pub const RG32F: u32 = 33328u64 as u32;
8722 #[doc = "The `WebGL2RenderingContext.R8I` const."]
8723 #[doc = ""]
8724 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8725 pub const R8I: u32 = 33329u64 as u32;
8726 #[doc = "The `WebGL2RenderingContext.R8UI` const."]
8727 #[doc = ""]
8728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8729 pub const R8UI: u32 = 33330u64 as u32;
8730 #[doc = "The `WebGL2RenderingContext.R16I` const."]
8731 #[doc = ""]
8732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8733 pub const R16I: u32 = 33331u64 as u32;
8734 #[doc = "The `WebGL2RenderingContext.R16UI` const."]
8735 #[doc = ""]
8736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8737 pub const R16UI: u32 = 33332u64 as u32;
8738 #[doc = "The `WebGL2RenderingContext.R32I` const."]
8739 #[doc = ""]
8740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8741 pub const R32I: u32 = 33333u64 as u32;
8742 #[doc = "The `WebGL2RenderingContext.R32UI` const."]
8743 #[doc = ""]
8744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8745 pub const R32UI: u32 = 33334u64 as u32;
8746 #[doc = "The `WebGL2RenderingContext.RG8I` const."]
8747 #[doc = ""]
8748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8749 pub const RG8I: u32 = 33335u64 as u32;
8750 #[doc = "The `WebGL2RenderingContext.RG8UI` const."]
8751 #[doc = ""]
8752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8753 pub const RG8UI: u32 = 33336u64 as u32;
8754 #[doc = "The `WebGL2RenderingContext.RG16I` const."]
8755 #[doc = ""]
8756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8757 pub const RG16I: u32 = 33337u64 as u32;
8758 #[doc = "The `WebGL2RenderingContext.RG16UI` const."]
8759 #[doc = ""]
8760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8761 pub const RG16UI: u32 = 33338u64 as u32;
8762 #[doc = "The `WebGL2RenderingContext.RG32I` const."]
8763 #[doc = ""]
8764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8765 pub const RG32I: u32 = 33339u64 as u32;
8766 #[doc = "The `WebGL2RenderingContext.RG32UI` const."]
8767 #[doc = ""]
8768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8769 pub const RG32UI: u32 = 33340u64 as u32;
8770 #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const."]
8771 #[doc = ""]
8772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8773 pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32;
8774 #[doc = "The `WebGL2RenderingContext.R8_SNORM` const."]
8775 #[doc = ""]
8776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8777 pub const R8_SNORM: u32 = 36756u64 as u32;
8778 #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const."]
8779 #[doc = ""]
8780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8781 pub const RG8_SNORM: u32 = 36757u64 as u32;
8782 #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const."]
8783 #[doc = ""]
8784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8785 pub const RGB8_SNORM: u32 = 36758u64 as u32;
8786 #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const."]
8787 #[doc = ""]
8788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8789 pub const RGBA8_SNORM: u32 = 36759u64 as u32;
8790 #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const."]
8791 #[doc = ""]
8792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8793 pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32;
8794 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const."]
8795 #[doc = ""]
8796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8797 pub const COPY_READ_BUFFER: u32 = 36662u64 as u32;
8798 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const."]
8799 #[doc = ""]
8800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8801 pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32;
8802 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const."]
8803 #[doc = ""]
8804 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8805 pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32;
8806 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const."]
8807 #[doc = ""]
8808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8809 pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32;
8810 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const."]
8811 #[doc = ""]
8812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8813 pub const UNIFORM_BUFFER: u32 = 35345u64 as u32;
8814 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const."]
8815 #[doc = ""]
8816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8817 pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32;
8818 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const."]
8819 #[doc = ""]
8820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8821 pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32;
8822 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const."]
8823 #[doc = ""]
8824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8825 pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32;
8826 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const."]
8827 #[doc = ""]
8828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8829 pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32;
8830 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const."]
8831 #[doc = ""]
8832 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8833 pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32;
8834 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const."]
8835 #[doc = ""]
8836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8837 pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32;
8838 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const."]
8839 #[doc = ""]
8840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8841 pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32;
8842 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const."]
8843 #[doc = ""]
8844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8845 pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32;
8846 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const."]
8847 #[doc = ""]
8848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8849 pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32;
8850 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const."]
8851 #[doc = ""]
8852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8853 pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32;
8854 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const."]
8855 #[doc = ""]
8856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8857 pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32;
8858 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const."]
8859 #[doc = ""]
8860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8861 pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32;
8862 #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const."]
8863 #[doc = ""]
8864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8865 pub const UNIFORM_TYPE: u32 = 35383u64 as u32;
8866 #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const."]
8867 #[doc = ""]
8868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8869 pub const UNIFORM_SIZE: u32 = 35384u64 as u32;
8870 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const."]
8871 #[doc = ""]
8872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8873 pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32;
8874 #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const."]
8875 #[doc = ""]
8876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8877 pub const UNIFORM_OFFSET: u32 = 35387u64 as u32;
8878 #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const."]
8879 #[doc = ""]
8880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8881 pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32;
8882 #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const."]
8883 #[doc = ""]
8884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8885 pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32;
8886 #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const."]
8887 #[doc = ""]
8888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8889 pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32;
8890 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const."]
8891 #[doc = ""]
8892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8893 pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32;
8894 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const."]
8895 #[doc = ""]
8896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8897 pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32;
8898 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const."]
8899 #[doc = ""]
8900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8901 pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32;
8902 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const."]
8903 #[doc = ""]
8904 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8905 pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32;
8906 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const."]
8907 #[doc = ""]
8908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8909 pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32;
8910 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const."]
8911 #[doc = ""]
8912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8913 pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32;
8914 #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const."]
8915 #[doc = ""]
8916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8917 pub const INVALID_INDEX: u32 = 4294967295u64 as u32;
8918 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const."]
8919 #[doc = ""]
8920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8921 pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32;
8922 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const."]
8923 #[doc = ""]
8924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8925 pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32;
8926 #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const."]
8927 #[doc = ""]
8928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8929 pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32;
8930 #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const."]
8931 #[doc = ""]
8932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8933 pub const OBJECT_TYPE: u32 = 37138u64 as u32;
8934 #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const."]
8935 #[doc = ""]
8936 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8937 pub const SYNC_CONDITION: u32 = 37139u64 as u32;
8938 #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const."]
8939 #[doc = ""]
8940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8941 pub const SYNC_STATUS: u32 = 37140u64 as u32;
8942 #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const."]
8943 #[doc = ""]
8944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8945 pub const SYNC_FLAGS: u32 = 37141u64 as u32;
8946 #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const."]
8947 #[doc = ""]
8948 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8949 pub const SYNC_FENCE: u32 = 37142u64 as u32;
8950 #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const."]
8951 #[doc = ""]
8952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8953 pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32;
8954 #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const."]
8955 #[doc = ""]
8956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8957 pub const UNSIGNALED: u32 = 37144u64 as u32;
8958 #[doc = "The `WebGL2RenderingContext.SIGNALED` const."]
8959 #[doc = ""]
8960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8961 pub const SIGNALED: u32 = 37145u64 as u32;
8962 #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const."]
8963 #[doc = ""]
8964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8965 pub const ALREADY_SIGNALED: u32 = 37146u64 as u32;
8966 #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const."]
8967 #[doc = ""]
8968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8969 pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32;
8970 #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const."]
8971 #[doc = ""]
8972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8973 pub const CONDITION_SATISFIED: u32 = 37148u64 as u32;
8974 #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const."]
8975 #[doc = ""]
8976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8977 pub const WAIT_FAILED: u32 = 37149u64 as u32;
8978 #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const."]
8979 #[doc = ""]
8980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8981 pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32;
8982 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const."]
8983 #[doc = ""]
8984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8985 pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32;
8986 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const."]
8987 #[doc = ""]
8988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8989 pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32;
8990 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const."]
8991 #[doc = ""]
8992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8993 pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32;
8994 #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const."]
8995 #[doc = ""]
8996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
8997 pub const SAMPLER_BINDING: u32 = 35097u64 as u32;
8998 #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const."]
8999 #[doc = ""]
9000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9001 pub const RGB10_A2UI: u32 = 36975u64 as u32;
9002 #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const."]
9003 #[doc = ""]
9004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9005 pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32;
9006 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const."]
9007 #[doc = ""]
9008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9009 pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32;
9010 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const."]
9011 #[doc = ""]
9012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9013 pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32;
9014 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const."]
9015 #[doc = ""]
9016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9017 pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32;
9018 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const."]
9019 #[doc = ""]
9020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9021 pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32;
9022 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const."]
9023 #[doc = ""]
9024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9025 pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32;
9026 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const."]
9027 #[doc = ""]
9028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9029 pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32;
9030 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const."]
9031 #[doc = ""]
9032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9033 pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32;
9034 #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const."]
9035 #[doc = ""]
9036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9037 pub const TIMEOUT_IGNORED: f64 = -1i64 as f64;
9038 #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const."]
9039 #[doc = ""]
9040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9041 pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32;
9042 #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const."]
9043 #[doc = ""]
9044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9045 pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
9046 #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const."]
9047 #[doc = ""]
9048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9049 pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
9050 #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const."]
9051 #[doc = ""]
9052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9053 pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
9054 #[doc = "The `WebGL2RenderingContext.POINTS` const."]
9055 #[doc = ""]
9056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9057 pub const POINTS: u32 = 0u64 as u32;
9058 #[doc = "The `WebGL2RenderingContext.LINES` const."]
9059 #[doc = ""]
9060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9061 pub const LINES: u32 = 1u64 as u32;
9062 #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const."]
9063 #[doc = ""]
9064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9065 pub const LINE_LOOP: u32 = 2u64 as u32;
9066 #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const."]
9067 #[doc = ""]
9068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9069 pub const LINE_STRIP: u32 = 3u64 as u32;
9070 #[doc = "The `WebGL2RenderingContext.TRIANGLES` const."]
9071 #[doc = ""]
9072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9073 pub const TRIANGLES: u32 = 4u64 as u32;
9074 #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const."]
9075 #[doc = ""]
9076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9077 pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
9078 #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const."]
9079 #[doc = ""]
9080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9081 pub const TRIANGLE_FAN: u32 = 6u64 as u32;
9082 #[doc = "The `WebGL2RenderingContext.ZERO` const."]
9083 #[doc = ""]
9084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9085 pub const ZERO: u32 = 0i64 as u32;
9086 #[doc = "The `WebGL2RenderingContext.ONE` const."]
9087 #[doc = ""]
9088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9089 pub const ONE: u32 = 1u64 as u32;
9090 #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const."]
9091 #[doc = ""]
9092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9093 pub const SRC_COLOR: u32 = 768u64 as u32;
9094 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const."]
9095 #[doc = ""]
9096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9097 pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
9098 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const."]
9099 #[doc = ""]
9100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9101 pub const SRC_ALPHA: u32 = 770u64 as u32;
9102 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const."]
9103 #[doc = ""]
9104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9105 pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
9106 #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const."]
9107 #[doc = ""]
9108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9109 pub const DST_ALPHA: u32 = 772u64 as u32;
9110 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const."]
9111 #[doc = ""]
9112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9113 pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
9114 #[doc = "The `WebGL2RenderingContext.DST_COLOR` const."]
9115 #[doc = ""]
9116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9117 pub const DST_COLOR: u32 = 774u64 as u32;
9118 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const."]
9119 #[doc = ""]
9120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9121 pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
9122 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const."]
9123 #[doc = ""]
9124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9125 pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
9126 #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const."]
9127 #[doc = ""]
9128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9129 pub const FUNC_ADD: u32 = 32774u64 as u32;
9130 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const."]
9131 #[doc = ""]
9132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9133 pub const BLEND_EQUATION: u32 = 32777u64 as u32;
9134 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const."]
9135 #[doc = ""]
9136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9137 pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
9138 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const."]
9139 #[doc = ""]
9140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9141 pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
9142 #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const."]
9143 #[doc = ""]
9144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9145 pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
9146 #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const."]
9147 #[doc = ""]
9148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9149 pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
9150 #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const."]
9151 #[doc = ""]
9152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9153 pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
9154 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const."]
9155 #[doc = ""]
9156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9157 pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
9158 #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const."]
9159 #[doc = ""]
9160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9161 pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
9162 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const."]
9163 #[doc = ""]
9164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9165 pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
9166 #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const."]
9167 #[doc = ""]
9168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9169 pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
9170 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
9171 #[doc = ""]
9172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9173 pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
9174 #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const."]
9175 #[doc = ""]
9176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9177 pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
9178 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
9179 #[doc = ""]
9180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9181 pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
9182 #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const."]
9183 #[doc = ""]
9184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9185 pub const BLEND_COLOR: u32 = 32773u64 as u32;
9186 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const."]
9187 #[doc = ""]
9188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9189 pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
9190 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const."]
9191 #[doc = ""]
9192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9193 pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
9194 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const."]
9195 #[doc = ""]
9196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9197 pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
9198 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
9199 #[doc = ""]
9200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9201 pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
9202 #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const."]
9203 #[doc = ""]
9204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9205 pub const STREAM_DRAW: u32 = 35040u64 as u32;
9206 #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const."]
9207 #[doc = ""]
9208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9209 pub const STATIC_DRAW: u32 = 35044u64 as u32;
9210 #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const."]
9211 #[doc = ""]
9212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9213 pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
9214 #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const."]
9215 #[doc = ""]
9216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9217 pub const BUFFER_SIZE: u32 = 34660u64 as u32;
9218 #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const."]
9219 #[doc = ""]
9220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9221 pub const BUFFER_USAGE: u32 = 34661u64 as u32;
9222 #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const."]
9223 #[doc = ""]
9224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9225 pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
9226 #[doc = "The `WebGL2RenderingContext.FRONT` const."]
9227 #[doc = ""]
9228 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9229 pub const FRONT: u32 = 1028u64 as u32;
9230 #[doc = "The `WebGL2RenderingContext.BACK` const."]
9231 #[doc = ""]
9232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9233 pub const BACK: u32 = 1029u64 as u32;
9234 #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const."]
9235 #[doc = ""]
9236 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9237 pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
9238 #[doc = "The `WebGL2RenderingContext.CULL_FACE` const."]
9239 #[doc = ""]
9240 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9241 pub const CULL_FACE: u32 = 2884u64 as u32;
9242 #[doc = "The `WebGL2RenderingContext.BLEND` const."]
9243 #[doc = ""]
9244 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9245 pub const BLEND: u32 = 3042u64 as u32;
9246 #[doc = "The `WebGL2RenderingContext.DITHER` const."]
9247 #[doc = ""]
9248 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9249 pub const DITHER: u32 = 3024u64 as u32;
9250 #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const."]
9251 #[doc = ""]
9252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9253 pub const STENCIL_TEST: u32 = 2960u64 as u32;
9254 #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const."]
9255 #[doc = ""]
9256 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9257 pub const DEPTH_TEST: u32 = 2929u64 as u32;
9258 #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const."]
9259 #[doc = ""]
9260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9261 pub const SCISSOR_TEST: u32 = 3089u64 as u32;
9262 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const."]
9263 #[doc = ""]
9264 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9265 pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
9266 #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
9267 #[doc = ""]
9268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9269 pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
9270 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const."]
9271 #[doc = ""]
9272 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9273 pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
9274 #[doc = "The `WebGL2RenderingContext.NO_ERROR` const."]
9275 #[doc = ""]
9276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9277 pub const NO_ERROR: u32 = 0i64 as u32;
9278 #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const."]
9279 #[doc = ""]
9280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9281 pub const INVALID_ENUM: u32 = 1280u64 as u32;
9282 #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const."]
9283 #[doc = ""]
9284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9285 pub const INVALID_VALUE: u32 = 1281u64 as u32;
9286 #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const."]
9287 #[doc = ""]
9288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9289 pub const INVALID_OPERATION: u32 = 1282u64 as u32;
9290 #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const."]
9291 #[doc = ""]
9292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9293 pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
9294 #[doc = "The `WebGL2RenderingContext.CW` const."]
9295 #[doc = ""]
9296 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9297 pub const CW: u32 = 2304u64 as u32;
9298 #[doc = "The `WebGL2RenderingContext.CCW` const."]
9299 #[doc = ""]
9300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9301 pub const CCW: u32 = 2305u64 as u32;
9302 #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const."]
9303 #[doc = ""]
9304 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9305 pub const LINE_WIDTH: u32 = 2849u64 as u32;
9306 #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
9307 #[doc = ""]
9308 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9309 pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
9310 #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
9311 #[doc = ""]
9312 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9313 pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
9314 #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const."]
9315 #[doc = ""]
9316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9317 pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
9318 #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const."]
9319 #[doc = ""]
9320 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9321 pub const FRONT_FACE: u32 = 2886u64 as u32;
9322 #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const."]
9323 #[doc = ""]
9324 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9325 pub const DEPTH_RANGE: u32 = 2928u64 as u32;
9326 #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const."]
9327 #[doc = ""]
9328 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9329 pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
9330 #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const."]
9331 #[doc = ""]
9332 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9333 pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
9334 #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const."]
9335 #[doc = ""]
9336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9337 pub const DEPTH_FUNC: u32 = 2932u64 as u32;
9338 #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const."]
9339 #[doc = ""]
9340 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9341 pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
9342 #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const."]
9343 #[doc = ""]
9344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9345 pub const STENCIL_FUNC: u32 = 2962u64 as u32;
9346 #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const."]
9347 #[doc = ""]
9348 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9349 pub const STENCIL_FAIL: u32 = 2964u64 as u32;
9350 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
9351 #[doc = ""]
9352 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9353 pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
9354 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
9355 #[doc = ""]
9356 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9357 pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
9358 #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const."]
9359 #[doc = ""]
9360 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9361 pub const STENCIL_REF: u32 = 2967u64 as u32;
9362 #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const."]
9363 #[doc = ""]
9364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9365 pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
9366 #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const."]
9367 #[doc = ""]
9368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9369 pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
9370 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const."]
9371 #[doc = ""]
9372 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9373 pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
9374 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const."]
9375 #[doc = ""]
9376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9377 pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
9378 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
9379 #[doc = ""]
9380 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9381 pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
9382 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
9383 #[doc = ""]
9384 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9385 pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
9386 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const."]
9387 #[doc = ""]
9388 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9389 pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
9390 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const."]
9391 #[doc = ""]
9392 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9393 pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
9394 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const."]
9395 #[doc = ""]
9396 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9397 pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
9398 #[doc = "The `WebGL2RenderingContext.VIEWPORT` const."]
9399 #[doc = ""]
9400 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9401 pub const VIEWPORT: u32 = 2978u64 as u32;
9402 #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const."]
9403 #[doc = ""]
9404 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9405 pub const SCISSOR_BOX: u32 = 3088u64 as u32;
9406 #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const."]
9407 #[doc = ""]
9408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9409 pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
9410 #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const."]
9411 #[doc = ""]
9412 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9413 pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
9414 #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const."]
9415 #[doc = ""]
9416 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9417 pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
9418 #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const."]
9419 #[doc = ""]
9420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9421 pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
9422 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const."]
9423 #[doc = ""]
9424 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9425 pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
9426 #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const."]
9427 #[doc = ""]
9428 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9429 pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
9430 #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const."]
9431 #[doc = ""]
9432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9433 pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
9434 #[doc = "The `WebGL2RenderingContext.RED_BITS` const."]
9435 #[doc = ""]
9436 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9437 pub const RED_BITS: u32 = 3410u64 as u32;
9438 #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const."]
9439 #[doc = ""]
9440 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9441 pub const GREEN_BITS: u32 = 3411u64 as u32;
9442 #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const."]
9443 #[doc = ""]
9444 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9445 pub const BLUE_BITS: u32 = 3412u64 as u32;
9446 #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const."]
9447 #[doc = ""]
9448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9449 pub const ALPHA_BITS: u32 = 3413u64 as u32;
9450 #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const."]
9451 #[doc = ""]
9452 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9453 pub const DEPTH_BITS: u32 = 3414u64 as u32;
9454 #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const."]
9455 #[doc = ""]
9456 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9457 pub const STENCIL_BITS: u32 = 3415u64 as u32;
9458 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const."]
9459 #[doc = ""]
9460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9461 pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
9462 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const."]
9463 #[doc = ""]
9464 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9465 pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
9466 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const."]
9467 #[doc = ""]
9468 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9469 pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
9470 #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const."]
9471 #[doc = ""]
9472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9473 pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
9474 #[doc = "The `WebGL2RenderingContext.SAMPLES` const."]
9475 #[doc = ""]
9476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9477 pub const SAMPLES: u32 = 32937u64 as u32;
9478 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const."]
9479 #[doc = ""]
9480 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9481 pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
9482 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const."]
9483 #[doc = ""]
9484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9485 pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
9486 #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
9487 #[doc = ""]
9488 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9489 pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
9490 #[doc = "The `WebGL2RenderingContext.DONT_CARE` const."]
9491 #[doc = ""]
9492 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9493 pub const DONT_CARE: u32 = 4352u64 as u32;
9494 #[doc = "The `WebGL2RenderingContext.FASTEST` const."]
9495 #[doc = ""]
9496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9497 pub const FASTEST: u32 = 4353u64 as u32;
9498 #[doc = "The `WebGL2RenderingContext.NICEST` const."]
9499 #[doc = ""]
9500 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9501 pub const NICEST: u32 = 4354u64 as u32;
9502 #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const."]
9503 #[doc = ""]
9504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9505 pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
9506 #[doc = "The `WebGL2RenderingContext.BYTE` const."]
9507 #[doc = ""]
9508 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9509 pub const BYTE: u32 = 5120u64 as u32;
9510 #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const."]
9511 #[doc = ""]
9512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9513 pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
9514 #[doc = "The `WebGL2RenderingContext.SHORT` const."]
9515 #[doc = ""]
9516 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9517 pub const SHORT: u32 = 5122u64 as u32;
9518 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const."]
9519 #[doc = ""]
9520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9521 pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
9522 #[doc = "The `WebGL2RenderingContext.INT` const."]
9523 #[doc = ""]
9524 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9525 pub const INT: u32 = 5124u64 as u32;
9526 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const."]
9527 #[doc = ""]
9528 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9529 pub const UNSIGNED_INT: u32 = 5125u64 as u32;
9530 #[doc = "The `WebGL2RenderingContext.FLOAT` const."]
9531 #[doc = ""]
9532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9533 pub const FLOAT: u32 = 5126u64 as u32;
9534 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const."]
9535 #[doc = ""]
9536 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9537 pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
9538 #[doc = "The `WebGL2RenderingContext.ALPHA` const."]
9539 #[doc = ""]
9540 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9541 pub const ALPHA: u32 = 6406u64 as u32;
9542 #[doc = "The `WebGL2RenderingContext.RGB` const."]
9543 #[doc = ""]
9544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9545 pub const RGB: u32 = 6407u64 as u32;
9546 #[doc = "The `WebGL2RenderingContext.RGBA` const."]
9547 #[doc = ""]
9548 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9549 pub const RGBA: u32 = 6408u64 as u32;
9550 #[doc = "The `WebGL2RenderingContext.LUMINANCE` const."]
9551 #[doc = ""]
9552 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9553 pub const LUMINANCE: u32 = 6409u64 as u32;
9554 #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const."]
9555 #[doc = ""]
9556 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9557 pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
9558 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
9559 #[doc = ""]
9560 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9561 pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
9562 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
9563 #[doc = ""]
9564 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9565 pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
9566 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const."]
9567 #[doc = ""]
9568 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9569 pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
9570 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const."]
9571 #[doc = ""]
9572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9573 pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
9574 #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const."]
9575 #[doc = ""]
9576 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9577 pub const VERTEX_SHADER: u32 = 35633u64 as u32;
9578 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const."]
9579 #[doc = ""]
9580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9581 pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
9582 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
9583 #[doc = ""]
9584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9585 pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
9586 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const."]
9587 #[doc = ""]
9588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9589 pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
9590 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
9591 #[doc = ""]
9592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9593 pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
9594 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
9595 #[doc = ""]
9596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9597 pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
9598 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
9599 #[doc = ""]
9600 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9601 pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
9602 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
9603 #[doc = ""]
9604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9605 pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
9606 #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const."]
9607 #[doc = ""]
9608 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9609 pub const SHADER_TYPE: u32 = 35663u64 as u32;
9610 #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const."]
9611 #[doc = ""]
9612 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9613 pub const DELETE_STATUS: u32 = 35712u64 as u32;
9614 #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const."]
9615 #[doc = ""]
9616 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9617 pub const LINK_STATUS: u32 = 35714u64 as u32;
9618 #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const."]
9619 #[doc = ""]
9620 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9621 pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
9622 #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const."]
9623 #[doc = ""]
9624 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9625 pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
9626 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const."]
9627 #[doc = ""]
9628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9629 pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
9630 #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const."]
9631 #[doc = ""]
9632 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9633 pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
9634 #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const."]
9635 #[doc = ""]
9636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9637 pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
9638 #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const."]
9639 #[doc = ""]
9640 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9641 pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
9642 #[doc = "The `WebGL2RenderingContext.NEVER` const."]
9643 #[doc = ""]
9644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9645 pub const NEVER: u32 = 512u64 as u32;
9646 #[doc = "The `WebGL2RenderingContext.LESS` const."]
9647 #[doc = ""]
9648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9649 pub const LESS: u32 = 513u64 as u32;
9650 #[doc = "The `WebGL2RenderingContext.EQUAL` const."]
9651 #[doc = ""]
9652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9653 pub const EQUAL: u32 = 514u64 as u32;
9654 #[doc = "The `WebGL2RenderingContext.LEQUAL` const."]
9655 #[doc = ""]
9656 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9657 pub const LEQUAL: u32 = 515u64 as u32;
9658 #[doc = "The `WebGL2RenderingContext.GREATER` const."]
9659 #[doc = ""]
9660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9661 pub const GREATER: u32 = 516u64 as u32;
9662 #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const."]
9663 #[doc = ""]
9664 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9665 pub const NOTEQUAL: u32 = 517u64 as u32;
9666 #[doc = "The `WebGL2RenderingContext.GEQUAL` const."]
9667 #[doc = ""]
9668 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9669 pub const GEQUAL: u32 = 518u64 as u32;
9670 #[doc = "The `WebGL2RenderingContext.ALWAYS` const."]
9671 #[doc = ""]
9672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9673 pub const ALWAYS: u32 = 519u64 as u32;
9674 #[doc = "The `WebGL2RenderingContext.KEEP` const."]
9675 #[doc = ""]
9676 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9677 pub const KEEP: u32 = 7680u64 as u32;
9678 #[doc = "The `WebGL2RenderingContext.REPLACE` const."]
9679 #[doc = ""]
9680 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9681 pub const REPLACE: u32 = 7681u64 as u32;
9682 #[doc = "The `WebGL2RenderingContext.INCR` const."]
9683 #[doc = ""]
9684 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9685 pub const INCR: u32 = 7682u64 as u32;
9686 #[doc = "The `WebGL2RenderingContext.DECR` const."]
9687 #[doc = ""]
9688 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9689 pub const DECR: u32 = 7683u64 as u32;
9690 #[doc = "The `WebGL2RenderingContext.INVERT` const."]
9691 #[doc = ""]
9692 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9693 pub const INVERT: u32 = 5386u64 as u32;
9694 #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const."]
9695 #[doc = ""]
9696 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9697 pub const INCR_WRAP: u32 = 34055u64 as u32;
9698 #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const."]
9699 #[doc = ""]
9700 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9701 pub const DECR_WRAP: u32 = 34056u64 as u32;
9702 #[doc = "The `WebGL2RenderingContext.VENDOR` const."]
9703 #[doc = ""]
9704 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9705 pub const VENDOR: u32 = 7936u64 as u32;
9706 #[doc = "The `WebGL2RenderingContext.RENDERER` const."]
9707 #[doc = ""]
9708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9709 pub const RENDERER: u32 = 7937u64 as u32;
9710 #[doc = "The `WebGL2RenderingContext.VERSION` const."]
9711 #[doc = ""]
9712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9713 pub const VERSION: u32 = 7938u64 as u32;
9714 #[doc = "The `WebGL2RenderingContext.NEAREST` const."]
9715 #[doc = ""]
9716 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9717 pub const NEAREST: u32 = 9728u64 as u32;
9718 #[doc = "The `WebGL2RenderingContext.LINEAR` const."]
9719 #[doc = ""]
9720 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9721 pub const LINEAR: u32 = 9729u64 as u32;
9722 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const."]
9723 #[doc = ""]
9724 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9725 pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
9726 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const."]
9727 #[doc = ""]
9728 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9729 pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
9730 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const."]
9731 #[doc = ""]
9732 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9733 pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
9734 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const."]
9735 #[doc = ""]
9736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9737 pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
9738 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const."]
9739 #[doc = ""]
9740 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9741 pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
9742 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const."]
9743 #[doc = ""]
9744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9745 pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
9746 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const."]
9747 #[doc = ""]
9748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9749 pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
9750 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const."]
9751 #[doc = ""]
9752 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9753 pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
9754 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const."]
9755 #[doc = ""]
9756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9757 pub const TEXTURE_2D: u32 = 3553u64 as u32;
9758 #[doc = "The `WebGL2RenderingContext.TEXTURE` const."]
9759 #[doc = ""]
9760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9761 pub const TEXTURE: u32 = 5890u64 as u32;
9762 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const."]
9763 #[doc = ""]
9764 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9765 pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
9766 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
9767 #[doc = ""]
9768 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9769 pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
9770 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
9771 #[doc = ""]
9772 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9773 pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
9774 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
9775 #[doc = ""]
9776 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9777 pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
9778 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
9779 #[doc = ""]
9780 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9781 pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
9782 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
9783 #[doc = ""]
9784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9785 pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
9786 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
9787 #[doc = ""]
9788 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9789 pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
9790 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
9791 #[doc = ""]
9792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9793 pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
9794 #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
9795 #[doc = ""]
9796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9797 pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
9798 #[doc = "The `WebGL2RenderingContext.TEXTURE0` const."]
9799 #[doc = ""]
9800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9801 pub const TEXTURE0: u32 = 33984u64 as u32;
9802 #[doc = "The `WebGL2RenderingContext.TEXTURE1` const."]
9803 #[doc = ""]
9804 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9805 pub const TEXTURE1: u32 = 33985u64 as u32;
9806 #[doc = "The `WebGL2RenderingContext.TEXTURE2` const."]
9807 #[doc = ""]
9808 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9809 pub const TEXTURE2: u32 = 33986u64 as u32;
9810 #[doc = "The `WebGL2RenderingContext.TEXTURE3` const."]
9811 #[doc = ""]
9812 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9813 pub const TEXTURE3: u32 = 33987u64 as u32;
9814 #[doc = "The `WebGL2RenderingContext.TEXTURE4` const."]
9815 #[doc = ""]
9816 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9817 pub const TEXTURE4: u32 = 33988u64 as u32;
9818 #[doc = "The `WebGL2RenderingContext.TEXTURE5` const."]
9819 #[doc = ""]
9820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9821 pub const TEXTURE5: u32 = 33989u64 as u32;
9822 #[doc = "The `WebGL2RenderingContext.TEXTURE6` const."]
9823 #[doc = ""]
9824 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9825 pub const TEXTURE6: u32 = 33990u64 as u32;
9826 #[doc = "The `WebGL2RenderingContext.TEXTURE7` const."]
9827 #[doc = ""]
9828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9829 pub const TEXTURE7: u32 = 33991u64 as u32;
9830 #[doc = "The `WebGL2RenderingContext.TEXTURE8` const."]
9831 #[doc = ""]
9832 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9833 pub const TEXTURE8: u32 = 33992u64 as u32;
9834 #[doc = "The `WebGL2RenderingContext.TEXTURE9` const."]
9835 #[doc = ""]
9836 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9837 pub const TEXTURE9: u32 = 33993u64 as u32;
9838 #[doc = "The `WebGL2RenderingContext.TEXTURE10` const."]
9839 #[doc = ""]
9840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9841 pub const TEXTURE10: u32 = 33994u64 as u32;
9842 #[doc = "The `WebGL2RenderingContext.TEXTURE11` const."]
9843 #[doc = ""]
9844 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9845 pub const TEXTURE11: u32 = 33995u64 as u32;
9846 #[doc = "The `WebGL2RenderingContext.TEXTURE12` const."]
9847 #[doc = ""]
9848 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9849 pub const TEXTURE12: u32 = 33996u64 as u32;
9850 #[doc = "The `WebGL2RenderingContext.TEXTURE13` const."]
9851 #[doc = ""]
9852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9853 pub const TEXTURE13: u32 = 33997u64 as u32;
9854 #[doc = "The `WebGL2RenderingContext.TEXTURE14` const."]
9855 #[doc = ""]
9856 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9857 pub const TEXTURE14: u32 = 33998u64 as u32;
9858 #[doc = "The `WebGL2RenderingContext.TEXTURE15` const."]
9859 #[doc = ""]
9860 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9861 pub const TEXTURE15: u32 = 33999u64 as u32;
9862 #[doc = "The `WebGL2RenderingContext.TEXTURE16` const."]
9863 #[doc = ""]
9864 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9865 pub const TEXTURE16: u32 = 34000u64 as u32;
9866 #[doc = "The `WebGL2RenderingContext.TEXTURE17` const."]
9867 #[doc = ""]
9868 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9869 pub const TEXTURE17: u32 = 34001u64 as u32;
9870 #[doc = "The `WebGL2RenderingContext.TEXTURE18` const."]
9871 #[doc = ""]
9872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9873 pub const TEXTURE18: u32 = 34002u64 as u32;
9874 #[doc = "The `WebGL2RenderingContext.TEXTURE19` const."]
9875 #[doc = ""]
9876 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9877 pub const TEXTURE19: u32 = 34003u64 as u32;
9878 #[doc = "The `WebGL2RenderingContext.TEXTURE20` const."]
9879 #[doc = ""]
9880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9881 pub const TEXTURE20: u32 = 34004u64 as u32;
9882 #[doc = "The `WebGL2RenderingContext.TEXTURE21` const."]
9883 #[doc = ""]
9884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9885 pub const TEXTURE21: u32 = 34005u64 as u32;
9886 #[doc = "The `WebGL2RenderingContext.TEXTURE22` const."]
9887 #[doc = ""]
9888 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9889 pub const TEXTURE22: u32 = 34006u64 as u32;
9890 #[doc = "The `WebGL2RenderingContext.TEXTURE23` const."]
9891 #[doc = ""]
9892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9893 pub const TEXTURE23: u32 = 34007u64 as u32;
9894 #[doc = "The `WebGL2RenderingContext.TEXTURE24` const."]
9895 #[doc = ""]
9896 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9897 pub const TEXTURE24: u32 = 34008u64 as u32;
9898 #[doc = "The `WebGL2RenderingContext.TEXTURE25` const."]
9899 #[doc = ""]
9900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9901 pub const TEXTURE25: u32 = 34009u64 as u32;
9902 #[doc = "The `WebGL2RenderingContext.TEXTURE26` const."]
9903 #[doc = ""]
9904 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9905 pub const TEXTURE26: u32 = 34010u64 as u32;
9906 #[doc = "The `WebGL2RenderingContext.TEXTURE27` const."]
9907 #[doc = ""]
9908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9909 pub const TEXTURE27: u32 = 34011u64 as u32;
9910 #[doc = "The `WebGL2RenderingContext.TEXTURE28` const."]
9911 #[doc = ""]
9912 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9913 pub const TEXTURE28: u32 = 34012u64 as u32;
9914 #[doc = "The `WebGL2RenderingContext.TEXTURE29` const."]
9915 #[doc = ""]
9916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9917 pub const TEXTURE29: u32 = 34013u64 as u32;
9918 #[doc = "The `WebGL2RenderingContext.TEXTURE30` const."]
9919 #[doc = ""]
9920 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9921 pub const TEXTURE30: u32 = 34014u64 as u32;
9922 #[doc = "The `WebGL2RenderingContext.TEXTURE31` const."]
9923 #[doc = ""]
9924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9925 pub const TEXTURE31: u32 = 34015u64 as u32;
9926 #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const."]
9927 #[doc = ""]
9928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9929 pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
9930 #[doc = "The `WebGL2RenderingContext.REPEAT` const."]
9931 #[doc = ""]
9932 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9933 pub const REPEAT: u32 = 10497u64 as u32;
9934 #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const."]
9935 #[doc = ""]
9936 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9937 pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
9938 #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const."]
9939 #[doc = ""]
9940 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9941 pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
9942 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const."]
9943 #[doc = ""]
9944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9945 pub const FLOAT_VEC2: u32 = 35664u64 as u32;
9946 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const."]
9947 #[doc = ""]
9948 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9949 pub const FLOAT_VEC3: u32 = 35665u64 as u32;
9950 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const."]
9951 #[doc = ""]
9952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9953 pub const FLOAT_VEC4: u32 = 35666u64 as u32;
9954 #[doc = "The `WebGL2RenderingContext.INT_VEC2` const."]
9955 #[doc = ""]
9956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9957 pub const INT_VEC2: u32 = 35667u64 as u32;
9958 #[doc = "The `WebGL2RenderingContext.INT_VEC3` const."]
9959 #[doc = ""]
9960 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9961 pub const INT_VEC3: u32 = 35668u64 as u32;
9962 #[doc = "The `WebGL2RenderingContext.INT_VEC4` const."]
9963 #[doc = ""]
9964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9965 pub const INT_VEC4: u32 = 35669u64 as u32;
9966 #[doc = "The `WebGL2RenderingContext.BOOL` const."]
9967 #[doc = ""]
9968 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9969 pub const BOOL: u32 = 35670u64 as u32;
9970 #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const."]
9971 #[doc = ""]
9972 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9973 pub const BOOL_VEC2: u32 = 35671u64 as u32;
9974 #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const."]
9975 #[doc = ""]
9976 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9977 pub const BOOL_VEC3: u32 = 35672u64 as u32;
9978 #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const."]
9979 #[doc = ""]
9980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9981 pub const BOOL_VEC4: u32 = 35673u64 as u32;
9982 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const."]
9983 #[doc = ""]
9984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9985 pub const FLOAT_MAT2: u32 = 35674u64 as u32;
9986 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const."]
9987 #[doc = ""]
9988 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9989 pub const FLOAT_MAT3: u32 = 35675u64 as u32;
9990 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const."]
9991 #[doc = ""]
9992 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9993 pub const FLOAT_MAT4: u32 = 35676u64 as u32;
9994 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const."]
9995 #[doc = ""]
9996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
9997 pub const SAMPLER_2D: u32 = 35678u64 as u32;
9998 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const."]
9999 #[doc = ""]
10000 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10001 pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
10002 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
10003 #[doc = ""]
10004 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10005 pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
10006 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
10007 #[doc = ""]
10008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10009 pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
10010 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
10011 #[doc = ""]
10012 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10013 pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
10014 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
10015 #[doc = ""]
10016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10017 pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
10018 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
10019 #[doc = ""]
10020 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10021 pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
10022 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
10023 #[doc = ""]
10024 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10025 pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
10026 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
10027 #[doc = ""]
10028 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10029 pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
10030 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
10031 #[doc = ""]
10032 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10033 pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
10034 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
10035 #[doc = ""]
10036 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10037 pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
10038 #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const."]
10039 #[doc = ""]
10040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10041 pub const COMPILE_STATUS: u32 = 35713u64 as u32;
10042 #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const."]
10043 #[doc = ""]
10044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10045 pub const LOW_FLOAT: u32 = 36336u64 as u32;
10046 #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const."]
10047 #[doc = ""]
10048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10049 pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
10050 #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const."]
10051 #[doc = ""]
10052 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10053 pub const HIGH_FLOAT: u32 = 36338u64 as u32;
10054 #[doc = "The `WebGL2RenderingContext.LOW_INT` const."]
10055 #[doc = ""]
10056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10057 pub const LOW_INT: u32 = 36339u64 as u32;
10058 #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const."]
10059 #[doc = ""]
10060 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10061 pub const MEDIUM_INT: u32 = 36340u64 as u32;
10062 #[doc = "The `WebGL2RenderingContext.HIGH_INT` const."]
10063 #[doc = ""]
10064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10065 pub const HIGH_INT: u32 = 36341u64 as u32;
10066 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const."]
10067 #[doc = ""]
10068 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10069 pub const FRAMEBUFFER: u32 = 36160u64 as u32;
10070 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const."]
10071 #[doc = ""]
10072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10073 pub const RENDERBUFFER: u32 = 36161u64 as u32;
10074 #[doc = "The `WebGL2RenderingContext.RGBA4` const."]
10075 #[doc = ""]
10076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10077 pub const RGBA4: u32 = 32854u64 as u32;
10078 #[doc = "The `WebGL2RenderingContext.RGB5_A1` const."]
10079 #[doc = ""]
10080 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10081 pub const RGB5_A1: u32 = 32855u64 as u32;
10082 #[doc = "The `WebGL2RenderingContext.RGB565` const."]
10083 #[doc = ""]
10084 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10085 pub const RGB565: u32 = 36194u64 as u32;
10086 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const."]
10087 #[doc = ""]
10088 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10089 pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
10090 #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const."]
10091 #[doc = ""]
10092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10093 pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
10094 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const."]
10095 #[doc = ""]
10096 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10097 pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
10098 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const."]
10099 #[doc = ""]
10100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10101 pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
10102 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const."]
10103 #[doc = ""]
10104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10105 pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
10106 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
10107 #[doc = ""]
10108 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10109 pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
10110 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const."]
10111 #[doc = ""]
10112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10113 pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
10114 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
10115 #[doc = ""]
10116 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10117 pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
10118 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
10119 #[doc = ""]
10120 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10121 pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
10122 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
10123 #[doc = ""]
10124 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10125 pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
10126 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
10127 #[doc = ""]
10128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10129 pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
10130 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
10131 #[doc = ""]
10132 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10133 pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
10134 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
10135 #[doc = ""]
10136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10137 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
10138 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
10139 #[doc = ""]
10140 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10141 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
10142 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
10143 #[doc = ""]
10144 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10145 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
10146 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
10147 #[doc = ""]
10148 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10149 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
10150 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const."]
10151 #[doc = ""]
10152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10153 pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
10154 #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const."]
10155 #[doc = ""]
10156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10157 pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
10158 #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const."]
10159 #[doc = ""]
10160 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10161 pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
10162 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
10163 #[doc = ""]
10164 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10165 pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
10166 #[doc = "The `WebGL2RenderingContext.NONE` const."]
10167 #[doc = ""]
10168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10169 pub const NONE: u32 = 0i64 as u32;
10170 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const."]
10171 #[doc = ""]
10172 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10173 pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
10174 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
10175 #[doc = ""]
10176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10177 pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
10178 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
10179 #[doc = ""]
10180 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10181 pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
10182 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
10183 #[doc = ""]
10184 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10185 pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
10186 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
10187 #[doc = ""]
10188 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10189 pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
10190 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const."]
10191 #[doc = ""]
10192 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10193 pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
10194 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const."]
10195 #[doc = ""]
10196 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10197 pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
10198 #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const."]
10199 #[doc = ""]
10200 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10201 pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
10202 #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
10203 #[doc = ""]
10204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10205 pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
10206 #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
10207 #[doc = ""]
10208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10209 pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
10210 #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
10211 #[doc = ""]
10212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10213 pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
10214 #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const."]
10215 #[doc = ""]
10216 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10217 pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
10218 #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
10219 #[doc = ""]
10220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10221 pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
10222 #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const."]
10223 #[doc = ""]
10224 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
10225 pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
10226}