1 | #![allow (unused_imports)] |
2 | #![allow (clippy::all)] |
3 | use super::*; |
4 | use wasm_bindgen::prelude::*; |
5 | #[wasm_bindgen ] |
6 | unsafeextern "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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 (web_sys_unstable_apis)] |
2725 | #[cfg (feature = "VideoFrame" )] |
2726 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2727 | #[doc = "The `texImage2D()` method." ] |
2728 | #[doc = "" ] |
2729 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2730 | #[doc = "" ] |
2731 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2732 | #[doc = "" ] |
2733 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2734 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2735 | pub fn tex_image_2d_with_u32_and_u32_and_video_frame( |
2736 | this: &WebGl2RenderingContext, |
2737 | target: u32, |
2738 | level: i32, |
2739 | internalformat: i32, |
2740 | format: u32, |
2741 | type_: u32, |
2742 | source: &VideoFrame, |
2743 | ) -> Result<(), JsValue>; |
2744 | #[cfg (feature = "ImageBitmap" )] |
2745 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2746 | #[doc = "The `texImage2D()` method." ] |
2747 | #[doc = "" ] |
2748 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2749 | #[doc = "" ] |
2750 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2751 | pub unsafefn tex_image_2d_with_u32_and_u32_and_image_bitmap( |
2752 | this: &WebGl2RenderingContext, |
2753 | target: u32, |
2754 | level: i32, |
2755 | internalformat: i32, |
2756 | format: u32, |
2757 | type_: u32, |
2758 | source: &ImageBitmap, |
2759 | ) -> Result<(), JsValue>; |
2760 | #[cfg (feature = "ImageData" )] |
2761 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2762 | #[doc = "The `texImage2D()` method." ] |
2763 | #[doc = "" ] |
2764 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2765 | #[doc = "" ] |
2766 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2767 | pub unsafefn tex_image_2d_with_u32_and_u32_and_image_data( |
2768 | this: &WebGl2RenderingContext, |
2769 | target: u32, |
2770 | level: i32, |
2771 | internalformat: i32, |
2772 | format: u32, |
2773 | type_: u32, |
2774 | source: &ImageData, |
2775 | ) -> Result<(), JsValue>; |
2776 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2777 | #[doc = "The `texImage2D()` method." ] |
2778 | #[doc = "" ] |
2779 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2780 | #[doc = "" ] |
2781 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2782 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32( |
2783 | this: &WebGl2RenderingContext, |
2784 | target: u32, |
2785 | level: i32, |
2786 | internalformat: i32, |
2787 | width: i32, |
2788 | height: i32, |
2789 | border: i32, |
2790 | format: u32, |
2791 | type_: u32, |
2792 | pbo_offset: i32, |
2793 | ) -> Result<(), JsValue>; |
2794 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2795 | #[doc = "The `texImage2D()` method." ] |
2796 | #[doc = "" ] |
2797 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2798 | #[doc = "" ] |
2799 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2800 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64( |
2801 | this: &WebGl2RenderingContext, |
2802 | target: u32, |
2803 | level: i32, |
2804 | internalformat: i32, |
2805 | width: i32, |
2806 | height: i32, |
2807 | border: i32, |
2808 | format: u32, |
2809 | type_: u32, |
2810 | pbo_offset: f64, |
2811 | ) -> Result<(), JsValue>; |
2812 | #[cfg (feature = "HtmlCanvasElement" )] |
2813 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2814 | #[doc = "The `texImage2D()` method." ] |
2815 | #[doc = "" ] |
2816 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2817 | #[doc = "" ] |
2818 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
2819 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element( |
2820 | this: &WebGl2RenderingContext, |
2821 | target: u32, |
2822 | level: i32, |
2823 | internalformat: i32, |
2824 | width: i32, |
2825 | height: i32, |
2826 | border: i32, |
2827 | format: u32, |
2828 | type_: u32, |
2829 | source: &HtmlCanvasElement, |
2830 | ) -> Result<(), JsValue>; |
2831 | #[cfg (feature = "HtmlImageElement" )] |
2832 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2833 | #[doc = "The `texImage2D()` method." ] |
2834 | #[doc = "" ] |
2835 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2836 | #[doc = "" ] |
2837 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
2838 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element( |
2839 | this: &WebGl2RenderingContext, |
2840 | target: u32, |
2841 | level: i32, |
2842 | internalformat: i32, |
2843 | width: i32, |
2844 | height: i32, |
2845 | border: i32, |
2846 | format: u32, |
2847 | type_: u32, |
2848 | source: &HtmlImageElement, |
2849 | ) -> Result<(), JsValue>; |
2850 | #[cfg (feature = "HtmlVideoElement" )] |
2851 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2852 | #[doc = "The `texImage2D()` method." ] |
2853 | #[doc = "" ] |
2854 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2855 | #[doc = "" ] |
2856 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
2857 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element( |
2858 | this: &WebGl2RenderingContext, |
2859 | target: u32, |
2860 | level: i32, |
2861 | internalformat: i32, |
2862 | width: i32, |
2863 | height: i32, |
2864 | border: i32, |
2865 | format: u32, |
2866 | type_: u32, |
2867 | source: &HtmlVideoElement, |
2868 | ) -> Result<(), JsValue>; |
2869 | #[cfg (web_sys_unstable_apis)] |
2870 | #[cfg (feature = "VideoFrame" )] |
2871 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2872 | #[doc = "The `texImage2D()` method." ] |
2873 | #[doc = "" ] |
2874 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2875 | #[doc = "" ] |
2876 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2877 | #[doc = "" ] |
2878 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2879 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2880 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_video_frame( |
2881 | this: &WebGl2RenderingContext, |
2882 | target: u32, |
2883 | level: i32, |
2884 | internalformat: i32, |
2885 | width: i32, |
2886 | height: i32, |
2887 | border: i32, |
2888 | format: u32, |
2889 | type_: u32, |
2890 | source: &VideoFrame, |
2891 | ) -> Result<(), JsValue>; |
2892 | #[cfg (feature = "ImageBitmap" )] |
2893 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2894 | #[doc = "The `texImage2D()` method." ] |
2895 | #[doc = "" ] |
2896 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2897 | #[doc = "" ] |
2898 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2899 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap( |
2900 | this: &WebGl2RenderingContext, |
2901 | target: u32, |
2902 | level: i32, |
2903 | internalformat: i32, |
2904 | width: i32, |
2905 | height: i32, |
2906 | border: i32, |
2907 | format: u32, |
2908 | type_: u32, |
2909 | source: &ImageBitmap, |
2910 | ) -> Result<(), JsValue>; |
2911 | #[cfg (feature = "ImageData" )] |
2912 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2913 | #[doc = "The `texImage2D()` method." ] |
2914 | #[doc = "" ] |
2915 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2916 | #[doc = "" ] |
2917 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2918 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data( |
2919 | this: &WebGl2RenderingContext, |
2920 | target: u32, |
2921 | level: i32, |
2922 | internalformat: i32, |
2923 | width: i32, |
2924 | height: i32, |
2925 | border: i32, |
2926 | format: u32, |
2927 | type_: u32, |
2928 | source: &ImageData, |
2929 | ) -> Result<(), JsValue>; |
2930 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2931 | #[doc = "The `texImage2D()` method." ] |
2932 | #[doc = "" ] |
2933 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2934 | #[doc = "" ] |
2935 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2936 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset( |
2937 | this: &WebGl2RenderingContext, |
2938 | target: u32, |
2939 | level: i32, |
2940 | internalformat: i32, |
2941 | width: i32, |
2942 | height: i32, |
2943 | border: i32, |
2944 | format: u32, |
2945 | type_: u32, |
2946 | src_data: &::js_sys::Object, |
2947 | src_offset: u32, |
2948 | ) -> Result<(), JsValue>; |
2949 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2950 | #[doc = "The `texImage2D()` method." ] |
2951 | #[doc = "" ] |
2952 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2953 | #[doc = "" ] |
2954 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2955 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset( |
2956 | this: &WebGl2RenderingContext, |
2957 | target: u32, |
2958 | level: i32, |
2959 | internalformat: i32, |
2960 | width: i32, |
2961 | height: i32, |
2962 | border: i32, |
2963 | format: u32, |
2964 | type_: u32, |
2965 | src_data: &[u8], |
2966 | src_offset: u32, |
2967 | ) -> Result<(), JsValue>; |
2968 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2969 | #[doc = "The `texImage2D()` method." ] |
2970 | #[doc = "" ] |
2971 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2972 | #[doc = "" ] |
2973 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2974 | pub unsafefn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset( |
2975 | this: &WebGl2RenderingContext, |
2976 | target: u32, |
2977 | level: i32, |
2978 | internalformat: i32, |
2979 | width: i32, |
2980 | height: i32, |
2981 | border: i32, |
2982 | format: u32, |
2983 | type_: u32, |
2984 | src_data: &::js_sys::Uint8Array, |
2985 | src_offset: u32, |
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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 (web_sys_unstable_apis)] |
3086 | #[cfg (feature = "VideoFrame" )] |
3087 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3088 | #[doc = "The `texImage3D()` method." ] |
3089 | #[doc = "" ] |
3090 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3091 | #[doc = "" ] |
3092 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
3093 | #[doc = "" ] |
3094 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
3095 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
3096 | pub fn tex_image_3d_with_video_frame( |
3097 | this: &WebGl2RenderingContext, |
3098 | target: u32, |
3099 | level: i32, |
3100 | internalformat: i32, |
3101 | width: i32, |
3102 | height: i32, |
3103 | depth: i32, |
3104 | border: i32, |
3105 | format: u32, |
3106 | type_: u32, |
3107 | source: &VideoFrame, |
3108 | ) -> Result<(), JsValue>; |
3109 | #[cfg (feature = "ImageBitmap" )] |
3110 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3111 | #[doc = "The `texImage3D()` method." ] |
3112 | #[doc = "" ] |
3113 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3114 | #[doc = "" ] |
3115 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
3116 | pub unsafefn tex_image_3d_with_image_bitmap( |
3117 | this: &WebGl2RenderingContext, |
3118 | target: u32, |
3119 | level: i32, |
3120 | internalformat: i32, |
3121 | width: i32, |
3122 | height: i32, |
3123 | depth: i32, |
3124 | border: i32, |
3125 | format: u32, |
3126 | type_: u32, |
3127 | source: &ImageBitmap, |
3128 | ) -> Result<(), JsValue>; |
3129 | #[cfg (feature = "ImageData" )] |
3130 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3131 | #[doc = "The `texImage3D()` method." ] |
3132 | #[doc = "" ] |
3133 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3134 | #[doc = "" ] |
3135 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
3136 | pub unsafefn tex_image_3d_with_image_data( |
3137 | this: &WebGl2RenderingContext, |
3138 | target: u32, |
3139 | level: i32, |
3140 | internalformat: i32, |
3141 | width: i32, |
3142 | height: i32, |
3143 | depth: i32, |
3144 | border: i32, |
3145 | format: u32, |
3146 | type_: u32, |
3147 | source: &ImageData, |
3148 | ) -> Result<(), JsValue>; |
3149 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3150 | #[doc = "The `texImage3D()` method." ] |
3151 | #[doc = "" ] |
3152 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3153 | #[doc = "" ] |
3154 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3155 | pub unsafefn tex_image_3d_with_opt_array_buffer_view( |
3156 | this: &WebGl2RenderingContext, |
3157 | target: u32, |
3158 | level: i32, |
3159 | internalformat: i32, |
3160 | width: i32, |
3161 | height: i32, |
3162 | depth: i32, |
3163 | border: i32, |
3164 | format: u32, |
3165 | type_: u32, |
3166 | src_data: Option<&::js_sys::Object>, |
3167 | ) -> Result<(), JsValue>; |
3168 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3169 | #[doc = "The `texImage3D()` method." ] |
3170 | #[doc = "" ] |
3171 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3172 | #[doc = "" ] |
3173 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3174 | pub unsafefn tex_image_3d_with_opt_u8_array( |
3175 | this: &WebGl2RenderingContext, |
3176 | target: u32, |
3177 | level: i32, |
3178 | internalformat: i32, |
3179 | width: i32, |
3180 | height: i32, |
3181 | depth: i32, |
3182 | border: i32, |
3183 | format: u32, |
3184 | type_: u32, |
3185 | src_data: Option<&[u8]>, |
3186 | ) -> Result<(), JsValue>; |
3187 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3188 | #[doc = "The `texImage3D()` method." ] |
3189 | #[doc = "" ] |
3190 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3191 | #[doc = "" ] |
3192 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3193 | pub unsafefn tex_image_3d_with_opt_js_u8_array( |
3194 | this: &WebGl2RenderingContext, |
3195 | target: u32, |
3196 | level: i32, |
3197 | internalformat: i32, |
3198 | width: i32, |
3199 | height: i32, |
3200 | depth: i32, |
3201 | border: i32, |
3202 | format: u32, |
3203 | type_: u32, |
3204 | src_data: Option<&::js_sys::Uint8Array>, |
3205 | ) -> Result<(), JsValue>; |
3206 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3207 | #[doc = "The `texImage3D()` method." ] |
3208 | #[doc = "" ] |
3209 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3210 | #[doc = "" ] |
3211 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3212 | pub unsafefn tex_image_3d_with_array_buffer_view_and_src_offset( |
3213 | this: &WebGl2RenderingContext, |
3214 | target: u32, |
3215 | level: i32, |
3216 | internalformat: i32, |
3217 | width: i32, |
3218 | height: i32, |
3219 | depth: i32, |
3220 | border: i32, |
3221 | format: u32, |
3222 | type_: u32, |
3223 | src_data: &::js_sys::Object, |
3224 | src_offset: u32, |
3225 | ) -> Result<(), JsValue>; |
3226 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3227 | #[doc = "The `texImage3D()` method." ] |
3228 | #[doc = "" ] |
3229 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3230 | #[doc = "" ] |
3231 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3232 | pub unsafefn tex_image_3d_with_u8_array_and_src_offset( |
3233 | this: &WebGl2RenderingContext, |
3234 | target: u32, |
3235 | level: i32, |
3236 | internalformat: i32, |
3237 | width: i32, |
3238 | height: i32, |
3239 | depth: i32, |
3240 | border: i32, |
3241 | format: u32, |
3242 | type_: u32, |
3243 | src_data: &[u8], |
3244 | src_offset: u32, |
3245 | ) -> Result<(), JsValue>; |
3246 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
3247 | #[doc = "The `texImage3D()` method." ] |
3248 | #[doc = "" ] |
3249 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
3250 | #[doc = "" ] |
3251 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3252 | pub unsafefn tex_image_3d_with_js_u8_array_and_src_offset( |
3253 | this: &WebGl2RenderingContext, |
3254 | target: u32, |
3255 | level: i32, |
3256 | internalformat: i32, |
3257 | width: i32, |
3258 | height: i32, |
3259 | depth: i32, |
3260 | border: i32, |
3261 | format: u32, |
3262 | type_: u32, |
3263 | src_data: &::js_sys::Uint8Array, |
3264 | src_offset: u32, |
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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 (web_sys_unstable_apis)] |
3401 | #[cfg (feature = "VideoFrame" )] |
3402 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3403 | #[doc = "The `texSubImage2D()` method." ] |
3404 | #[doc = "" ] |
3405 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3406 | #[doc = "" ] |
3407 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
3408 | #[doc = "" ] |
3409 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
3410 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
3411 | pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame( |
3412 | this: &WebGl2RenderingContext, |
3413 | target: u32, |
3414 | level: i32, |
3415 | xoffset: i32, |
3416 | yoffset: i32, |
3417 | format: u32, |
3418 | type_: u32, |
3419 | source: &VideoFrame, |
3420 | ) -> Result<(), JsValue>; |
3421 | #[cfg (feature = "ImageBitmap" )] |
3422 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3423 | #[doc = "The `texSubImage2D()` method." ] |
3424 | #[doc = "" ] |
3425 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3426 | #[doc = "" ] |
3427 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
3428 | pub unsafefn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap( |
3429 | this: &WebGl2RenderingContext, |
3430 | target: u32, |
3431 | level: i32, |
3432 | xoffset: i32, |
3433 | yoffset: i32, |
3434 | format: u32, |
3435 | type_: u32, |
3436 | source: &ImageBitmap, |
3437 | ) -> Result<(), JsValue>; |
3438 | #[cfg (feature = "ImageData" )] |
3439 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3440 | #[doc = "The `texSubImage2D()` method." ] |
3441 | #[doc = "" ] |
3442 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3443 | #[doc = "" ] |
3444 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
3445 | pub unsafefn tex_sub_image_2d_with_u32_and_u32_and_image_data( |
3446 | this: &WebGl2RenderingContext, |
3447 | target: u32, |
3448 | level: i32, |
3449 | xoffset: i32, |
3450 | yoffset: i32, |
3451 | format: u32, |
3452 | type_: u32, |
3453 | source: &ImageData, |
3454 | ) -> Result<(), JsValue>; |
3455 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3456 | #[doc = "The `texSubImage2D()` method." ] |
3457 | #[doc = "" ] |
3458 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3459 | #[doc = "" ] |
3460 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3461 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32( |
3462 | this: &WebGl2RenderingContext, |
3463 | target: u32, |
3464 | level: i32, |
3465 | xoffset: i32, |
3466 | yoffset: i32, |
3467 | width: i32, |
3468 | height: i32, |
3469 | format: u32, |
3470 | type_: u32, |
3471 | pbo_offset: i32, |
3472 | ) -> Result<(), JsValue>; |
3473 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3474 | #[doc = "The `texSubImage2D()` method." ] |
3475 | #[doc = "" ] |
3476 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3477 | #[doc = "" ] |
3478 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3479 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64( |
3480 | this: &WebGl2RenderingContext, |
3481 | target: u32, |
3482 | level: i32, |
3483 | xoffset: i32, |
3484 | yoffset: i32, |
3485 | width: i32, |
3486 | height: i32, |
3487 | format: u32, |
3488 | type_: u32, |
3489 | pbo_offset: f64, |
3490 | ) -> Result<(), JsValue>; |
3491 | #[cfg (feature = "HtmlCanvasElement" )] |
3492 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3493 | #[doc = "The `texSubImage2D()` method." ] |
3494 | #[doc = "" ] |
3495 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3496 | #[doc = "" ] |
3497 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
3498 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element( |
3499 | this: &WebGl2RenderingContext, |
3500 | target: u32, |
3501 | level: i32, |
3502 | xoffset: i32, |
3503 | yoffset: i32, |
3504 | width: i32, |
3505 | height: i32, |
3506 | format: u32, |
3507 | type_: u32, |
3508 | source: &HtmlCanvasElement, |
3509 | ) -> Result<(), JsValue>; |
3510 | #[cfg (feature = "HtmlImageElement" )] |
3511 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3512 | #[doc = "The `texSubImage2D()` method." ] |
3513 | #[doc = "" ] |
3514 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3515 | #[doc = "" ] |
3516 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
3517 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element( |
3518 | this: &WebGl2RenderingContext, |
3519 | target: u32, |
3520 | level: i32, |
3521 | xoffset: i32, |
3522 | yoffset: i32, |
3523 | width: i32, |
3524 | height: i32, |
3525 | format: u32, |
3526 | type_: u32, |
3527 | source: &HtmlImageElement, |
3528 | ) -> Result<(), JsValue>; |
3529 | #[cfg (feature = "HtmlVideoElement" )] |
3530 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3531 | #[doc = "The `texSubImage2D()` method." ] |
3532 | #[doc = "" ] |
3533 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3534 | #[doc = "" ] |
3535 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
3536 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element( |
3537 | this: &WebGl2RenderingContext, |
3538 | target: u32, |
3539 | level: i32, |
3540 | xoffset: i32, |
3541 | yoffset: i32, |
3542 | width: i32, |
3543 | height: i32, |
3544 | format: u32, |
3545 | type_: u32, |
3546 | source: &HtmlVideoElement, |
3547 | ) -> Result<(), JsValue>; |
3548 | #[cfg (web_sys_unstable_apis)] |
3549 | #[cfg (feature = "VideoFrame" )] |
3550 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3551 | #[doc = "The `texSubImage2D()` method." ] |
3552 | #[doc = "" ] |
3553 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3554 | #[doc = "" ] |
3555 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
3556 | #[doc = "" ] |
3557 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
3558 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
3559 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_video_frame( |
3560 | this: &WebGl2RenderingContext, |
3561 | target: u32, |
3562 | level: i32, |
3563 | xoffset: i32, |
3564 | yoffset: i32, |
3565 | width: i32, |
3566 | height: i32, |
3567 | format: u32, |
3568 | type_: u32, |
3569 | source: &VideoFrame, |
3570 | ) -> Result<(), JsValue>; |
3571 | #[cfg (feature = "ImageBitmap" )] |
3572 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3573 | #[doc = "The `texSubImage2D()` method." ] |
3574 | #[doc = "" ] |
3575 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3576 | #[doc = "" ] |
3577 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
3578 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap( |
3579 | this: &WebGl2RenderingContext, |
3580 | target: u32, |
3581 | level: i32, |
3582 | xoffset: i32, |
3583 | yoffset: i32, |
3584 | width: i32, |
3585 | height: i32, |
3586 | format: u32, |
3587 | type_: u32, |
3588 | source: &ImageBitmap, |
3589 | ) -> Result<(), JsValue>; |
3590 | #[cfg (feature = "ImageData" )] |
3591 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3592 | #[doc = "The `texSubImage2D()` method." ] |
3593 | #[doc = "" ] |
3594 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3595 | #[doc = "" ] |
3596 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
3597 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data( |
3598 | this: &WebGl2RenderingContext, |
3599 | target: u32, |
3600 | level: i32, |
3601 | xoffset: i32, |
3602 | yoffset: i32, |
3603 | width: i32, |
3604 | height: i32, |
3605 | format: u32, |
3606 | type_: u32, |
3607 | source: &ImageData, |
3608 | ) -> Result<(), JsValue>; |
3609 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3610 | #[doc = "The `texSubImage2D()` method." ] |
3611 | #[doc = "" ] |
3612 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3613 | #[doc = "" ] |
3614 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3615 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset( |
3616 | this: &WebGl2RenderingContext, |
3617 | target: u32, |
3618 | level: i32, |
3619 | xoffset: i32, |
3620 | yoffset: i32, |
3621 | width: i32, |
3622 | height: i32, |
3623 | format: u32, |
3624 | type_: u32, |
3625 | src_data: &::js_sys::Object, |
3626 | src_offset: u32, |
3627 | ) -> Result<(), JsValue>; |
3628 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3629 | #[doc = "The `texSubImage2D()` method." ] |
3630 | #[doc = "" ] |
3631 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3632 | #[doc = "" ] |
3633 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3634 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset( |
3635 | this: &WebGl2RenderingContext, |
3636 | target: u32, |
3637 | level: i32, |
3638 | xoffset: i32, |
3639 | yoffset: i32, |
3640 | width: i32, |
3641 | height: i32, |
3642 | format: u32, |
3643 | type_: u32, |
3644 | src_data: &[u8], |
3645 | src_offset: u32, |
3646 | ) -> Result<(), JsValue>; |
3647 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3648 | #[doc = "The `texSubImage2D()` method." ] |
3649 | #[doc = "" ] |
3650 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3651 | #[doc = "" ] |
3652 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3653 | pub unsafefn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset( |
3654 | this: &WebGl2RenderingContext, |
3655 | target: u32, |
3656 | level: i32, |
3657 | xoffset: i32, |
3658 | yoffset: i32, |
3659 | width: i32, |
3660 | height: i32, |
3661 | format: u32, |
3662 | type_: u32, |
3663 | src_data: &::js_sys::Uint8Array, |
3664 | src_offset: u32, |
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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 (web_sys_unstable_apis)] |
3770 | #[cfg (feature = "VideoFrame" )] |
3771 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3772 | #[doc = "The `texSubImage3D()` method." ] |
3773 | #[doc = "" ] |
3774 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3775 | #[doc = "" ] |
3776 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
3777 | #[doc = "" ] |
3778 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
3779 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
3780 | pub fn tex_sub_image_3d_with_video_frame( |
3781 | this: &WebGl2RenderingContext, |
3782 | target: u32, |
3783 | level: i32, |
3784 | xoffset: i32, |
3785 | yoffset: i32, |
3786 | zoffset: i32, |
3787 | width: i32, |
3788 | height: i32, |
3789 | depth: i32, |
3790 | format: u32, |
3791 | type_: u32, |
3792 | source: &VideoFrame, |
3793 | ) -> Result<(), JsValue>; |
3794 | #[cfg (feature = "ImageBitmap" )] |
3795 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3796 | #[doc = "The `texSubImage3D()` method." ] |
3797 | #[doc = "" ] |
3798 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3799 | #[doc = "" ] |
3800 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
3801 | pub unsafefn tex_sub_image_3d_with_image_bitmap( |
3802 | this: &WebGl2RenderingContext, |
3803 | target: u32, |
3804 | level: i32, |
3805 | xoffset: i32, |
3806 | yoffset: i32, |
3807 | zoffset: i32, |
3808 | width: i32, |
3809 | height: i32, |
3810 | depth: i32, |
3811 | format: u32, |
3812 | type_: u32, |
3813 | source: &ImageBitmap, |
3814 | ) -> Result<(), JsValue>; |
3815 | #[cfg (feature = "ImageData" )] |
3816 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3817 | #[doc = "The `texSubImage3D()` method." ] |
3818 | #[doc = "" ] |
3819 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3820 | #[doc = "" ] |
3821 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
3822 | pub unsafefn tex_sub_image_3d_with_image_data( |
3823 | this: &WebGl2RenderingContext, |
3824 | target: u32, |
3825 | level: i32, |
3826 | xoffset: i32, |
3827 | yoffset: i32, |
3828 | zoffset: i32, |
3829 | width: i32, |
3830 | height: i32, |
3831 | depth: i32, |
3832 | format: u32, |
3833 | type_: u32, |
3834 | source: &ImageData, |
3835 | ) -> Result<(), JsValue>; |
3836 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3837 | #[doc = "The `texSubImage3D()` method." ] |
3838 | #[doc = "" ] |
3839 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3840 | #[doc = "" ] |
3841 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3842 | pub unsafefn tex_sub_image_3d_with_opt_array_buffer_view( |
3843 | this: &WebGl2RenderingContext, |
3844 | target: u32, |
3845 | level: i32, |
3846 | xoffset: i32, |
3847 | yoffset: i32, |
3848 | zoffset: i32, |
3849 | width: i32, |
3850 | height: i32, |
3851 | depth: i32, |
3852 | format: u32, |
3853 | type_: u32, |
3854 | src_data: Option<&::js_sys::Object>, |
3855 | ) -> Result<(), JsValue>; |
3856 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3857 | #[doc = "The `texSubImage3D()` method." ] |
3858 | #[doc = "" ] |
3859 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3860 | #[doc = "" ] |
3861 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3862 | pub unsafefn tex_sub_image_3d_with_opt_u8_array( |
3863 | this: &WebGl2RenderingContext, |
3864 | target: u32, |
3865 | level: i32, |
3866 | xoffset: i32, |
3867 | yoffset: i32, |
3868 | zoffset: i32, |
3869 | width: i32, |
3870 | height: i32, |
3871 | depth: i32, |
3872 | format: u32, |
3873 | type_: u32, |
3874 | src_data: Option<&[u8]>, |
3875 | ) -> Result<(), JsValue>; |
3876 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3877 | #[doc = "The `texSubImage3D()` method." ] |
3878 | #[doc = "" ] |
3879 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3880 | #[doc = "" ] |
3881 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3882 | pub unsafefn tex_sub_image_3d_with_opt_js_u8_array( |
3883 | this: &WebGl2RenderingContext, |
3884 | target: u32, |
3885 | level: i32, |
3886 | xoffset: i32, |
3887 | yoffset: i32, |
3888 | zoffset: i32, |
3889 | width: i32, |
3890 | height: i32, |
3891 | depth: i32, |
3892 | format: u32, |
3893 | type_: u32, |
3894 | src_data: Option<&::js_sys::Uint8Array>, |
3895 | ) -> Result<(), JsValue>; |
3896 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3897 | #[doc = "The `texSubImage3D()` method." ] |
3898 | #[doc = "" ] |
3899 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3900 | #[doc = "" ] |
3901 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3902 | pub unsafefn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset( |
3903 | this: &WebGl2RenderingContext, |
3904 | target: u32, |
3905 | level: i32, |
3906 | xoffset: i32, |
3907 | yoffset: i32, |
3908 | zoffset: i32, |
3909 | width: i32, |
3910 | height: i32, |
3911 | depth: i32, |
3912 | format: u32, |
3913 | type_: u32, |
3914 | src_data: Option<&::js_sys::Object>, |
3915 | src_offset: u32, |
3916 | ) -> Result<(), JsValue>; |
3917 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3918 | #[doc = "The `texSubImage3D()` method." ] |
3919 | #[doc = "" ] |
3920 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3921 | #[doc = "" ] |
3922 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3923 | pub unsafefn tex_sub_image_3d_with_opt_u8_array_and_src_offset( |
3924 | this: &WebGl2RenderingContext, |
3925 | target: u32, |
3926 | level: i32, |
3927 | xoffset: i32, |
3928 | yoffset: i32, |
3929 | zoffset: i32, |
3930 | width: i32, |
3931 | height: i32, |
3932 | depth: i32, |
3933 | format: u32, |
3934 | type_: u32, |
3935 | src_data: Option<&[u8]>, |
3936 | src_offset: u32, |
3937 | ) -> Result<(), JsValue>; |
3938 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3939 | #[doc = "The `texSubImage3D()` method." ] |
3940 | #[doc = "" ] |
3941 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3942 | #[doc = "" ] |
3943 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3944 | pub unsafefn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset( |
3945 | this: &WebGl2RenderingContext, |
3946 | target: u32, |
3947 | level: i32, |
3948 | xoffset: i32, |
3949 | yoffset: i32, |
3950 | zoffset: i32, |
3951 | width: i32, |
3952 | height: i32, |
3953 | depth: i32, |
3954 | format: u32, |
3955 | type_: u32, |
3956 | src_data: Option<&::js_sys::Uint8Array>, |
3957 | src_offset: u32, |
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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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 unsafefn 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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
7540 | pub fn make_xr_compatible(this: &WebGl2RenderingContext) -> ::js_sys::Promise; |
7541 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei)] |
7542 | #[doc = "The `pixelStorei()` method." ] |
7543 | #[doc = "" ] |
7544 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)" ] |
7545 | #[doc = "" ] |
7546 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7547 | pub unsafefn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32); |
7548 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = polygonOffset)] |
7549 | #[doc = "The `polygonOffset()` method." ] |
7550 | #[doc = "" ] |
7551 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)" ] |
7552 | #[doc = "" ] |
7553 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7554 | pub unsafefn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32); |
7555 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorage)] |
7556 | #[doc = "The `renderbufferStorage()` method." ] |
7557 | #[doc = "" ] |
7558 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)" ] |
7559 | #[doc = "" ] |
7560 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7561 | pub unsafefn renderbuffer_storage( |
7562 | this: &WebGl2RenderingContext, |
7563 | target: u32, |
7564 | internalformat: u32, |
7565 | width: i32, |
7566 | height: i32, |
7567 | ); |
7568 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage)] |
7569 | #[doc = "The `sampleCoverage()` method." ] |
7570 | #[doc = "" ] |
7571 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)" ] |
7572 | #[doc = "" ] |
7573 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7574 | pub unsafefn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool); |
7575 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = scissor)] |
7576 | #[doc = "The `scissor()` method." ] |
7577 | #[doc = "" ] |
7578 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)" ] |
7579 | #[doc = "" ] |
7580 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7581 | pub unsafefn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32); |
7582 | #[cfg (feature = "WebGlShader" )] |
7583 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = shaderSource)] |
7584 | #[doc = "The `shaderSource()` method." ] |
7585 | #[doc = "" ] |
7586 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)" ] |
7587 | #[doc = "" ] |
7588 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
7589 | pub unsafefn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str); |
7590 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFunc)] |
7591 | #[doc = "The `stencilFunc()` method." ] |
7592 | #[doc = "" ] |
7593 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)" ] |
7594 | #[doc = "" ] |
7595 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7596 | pub unsafefn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32); |
7597 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFuncSeparate)] |
7598 | #[doc = "The `stencilFuncSeparate()` method." ] |
7599 | #[doc = "" ] |
7600 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)" ] |
7601 | #[doc = "" ] |
7602 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7603 | pub unsafefn stencil_func_separate( |
7604 | this: &WebGl2RenderingContext, |
7605 | face: u32, |
7606 | func: u32, |
7607 | ref_: i32, |
7608 | mask: u32, |
7609 | ); |
7610 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask)] |
7611 | #[doc = "The `stencilMask()` method." ] |
7612 | #[doc = "" ] |
7613 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)" ] |
7614 | #[doc = "" ] |
7615 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7616 | pub unsafefn stencil_mask(this: &WebGl2RenderingContext, mask: u32); |
7617 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMaskSeparate)] |
7618 | #[doc = "The `stencilMaskSeparate()` method." ] |
7619 | #[doc = "" ] |
7620 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)" ] |
7621 | #[doc = "" ] |
7622 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7623 | pub unsafefn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32); |
7624 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOp)] |
7625 | #[doc = "The `stencilOp()` method." ] |
7626 | #[doc = "" ] |
7627 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)" ] |
7628 | #[doc = "" ] |
7629 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7630 | pub unsafefn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32); |
7631 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOpSeparate)] |
7632 | #[doc = "The `stencilOpSeparate()` method." ] |
7633 | #[doc = "" ] |
7634 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)" ] |
7635 | #[doc = "" ] |
7636 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7637 | pub unsafefn stencil_op_separate( |
7638 | this: &WebGl2RenderingContext, |
7639 | face: u32, |
7640 | fail: u32, |
7641 | zfail: u32, |
7642 | zpass: u32, |
7643 | ); |
7644 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf)] |
7645 | #[doc = "The `texParameterf()` method." ] |
7646 | #[doc = "" ] |
7647 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)" ] |
7648 | #[doc = "" ] |
7649 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7650 | pub unsafefn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32); |
7651 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameteri)] |
7652 | #[doc = "The `texParameteri()` method." ] |
7653 | #[doc = "" ] |
7654 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)" ] |
7655 | #[doc = "" ] |
7656 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7657 | pub unsafefn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32); |
7658 | #[cfg (feature = "WebGlUniformLocation" )] |
7659 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1f)] |
7660 | #[doc = "The `uniform1f()` method." ] |
7661 | #[doc = "" ] |
7662 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)" ] |
7663 | #[doc = "" ] |
7664 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7665 | pub unsafefn uniform1f( |
7666 | this: &WebGl2RenderingContext, |
7667 | location: Option<&WebGlUniformLocation>, |
7668 | x: f32, |
7669 | ); |
7670 | #[cfg (feature = "WebGlUniformLocation" )] |
7671 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i)] |
7672 | #[doc = "The `uniform1i()` method." ] |
7673 | #[doc = "" ] |
7674 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)" ] |
7675 | #[doc = "" ] |
7676 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7677 | pub unsafefn uniform1i( |
7678 | this: &WebGl2RenderingContext, |
7679 | location: Option<&WebGlUniformLocation>, |
7680 | x: i32, |
7681 | ); |
7682 | #[cfg (feature = "WebGlUniformLocation" )] |
7683 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f)] |
7684 | #[doc = "The `uniform2f()` method." ] |
7685 | #[doc = "" ] |
7686 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)" ] |
7687 | #[doc = "" ] |
7688 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7689 | pub unsafefn uniform2f( |
7690 | this: &WebGl2RenderingContext, |
7691 | location: Option<&WebGlUniformLocation>, |
7692 | x: f32, |
7693 | y: f32, |
7694 | ); |
7695 | #[cfg (feature = "WebGlUniformLocation" )] |
7696 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i)] |
7697 | #[doc = "The `uniform2i()` method." ] |
7698 | #[doc = "" ] |
7699 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)" ] |
7700 | #[doc = "" ] |
7701 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7702 | pub unsafefn uniform2i( |
7703 | this: &WebGl2RenderingContext, |
7704 | location: Option<&WebGlUniformLocation>, |
7705 | x: i32, |
7706 | y: i32, |
7707 | ); |
7708 | #[cfg (feature = "WebGlUniformLocation" )] |
7709 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f)] |
7710 | #[doc = "The `uniform3f()` method." ] |
7711 | #[doc = "" ] |
7712 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)" ] |
7713 | #[doc = "" ] |
7714 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7715 | pub unsafefn uniform3f( |
7716 | this: &WebGl2RenderingContext, |
7717 | location: Option<&WebGlUniformLocation>, |
7718 | x: f32, |
7719 | y: f32, |
7720 | z: f32, |
7721 | ); |
7722 | #[cfg (feature = "WebGlUniformLocation" )] |
7723 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i)] |
7724 | #[doc = "The `uniform3i()` method." ] |
7725 | #[doc = "" ] |
7726 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)" ] |
7727 | #[doc = "" ] |
7728 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7729 | pub unsafefn uniform3i( |
7730 | this: &WebGl2RenderingContext, |
7731 | location: Option<&WebGlUniformLocation>, |
7732 | x: i32, |
7733 | y: i32, |
7734 | z: i32, |
7735 | ); |
7736 | #[cfg (feature = "WebGlUniformLocation" )] |
7737 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f)] |
7738 | #[doc = "The `uniform4f()` method." ] |
7739 | #[doc = "" ] |
7740 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)" ] |
7741 | #[doc = "" ] |
7742 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7743 | pub unsafefn uniform4f( |
7744 | this: &WebGl2RenderingContext, |
7745 | location: Option<&WebGlUniformLocation>, |
7746 | x: f32, |
7747 | y: f32, |
7748 | z: f32, |
7749 | w: f32, |
7750 | ); |
7751 | #[cfg (feature = "WebGlUniformLocation" )] |
7752 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i)] |
7753 | #[doc = "The `uniform4i()` method." ] |
7754 | #[doc = "" ] |
7755 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)" ] |
7756 | #[doc = "" ] |
7757 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
7758 | pub unsafefn uniform4i( |
7759 | this: &WebGl2RenderingContext, |
7760 | location: Option<&WebGlUniformLocation>, |
7761 | x: i32, |
7762 | y: i32, |
7763 | z: i32, |
7764 | w: i32, |
7765 | ); |
7766 | #[cfg (feature = "WebGlProgram" )] |
7767 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram)] |
7768 | #[doc = "The `useProgram()` method." ] |
7769 | #[doc = "" ] |
7770 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)" ] |
7771 | #[doc = "" ] |
7772 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
7773 | pub unsafefn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>); |
7774 | #[cfg (feature = "WebGlProgram" )] |
7775 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = validateProgram)] |
7776 | #[doc = "The `validateProgram()` method." ] |
7777 | #[doc = "" ] |
7778 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)" ] |
7779 | #[doc = "" ] |
7780 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
7781 | pub unsafefn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram); |
7782 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1f)] |
7783 | #[doc = "The `vertexAttrib1f()` method." ] |
7784 | #[doc = "" ] |
7785 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)" ] |
7786 | #[doc = "" ] |
7787 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7788 | pub unsafefn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32); |
7789 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] |
7790 | #[doc = "The `vertexAttrib1fv()` method." ] |
7791 | #[doc = "" ] |
7792 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)" ] |
7793 | #[doc = "" ] |
7794 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7795 | pub unsafefn vertex_attrib1fv_with_f32_array( |
7796 | this: &WebGl2RenderingContext, |
7797 | indx: u32, |
7798 | values: &[f32], |
7799 | ); |
7800 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] |
7801 | #[doc = "The `vertexAttrib1fv()` method." ] |
7802 | #[doc = "" ] |
7803 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)" ] |
7804 | #[doc = "" ] |
7805 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7806 | pub unsafefn vertex_attrib1fv_with_js_f32_array( |
7807 | this: &WebGl2RenderingContext, |
7808 | indx: u32, |
7809 | values: &::js_sys::Float32Array, |
7810 | ); |
7811 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] |
7812 | #[doc = "The `vertexAttrib1fv()` method." ] |
7813 | #[doc = "" ] |
7814 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)" ] |
7815 | #[doc = "" ] |
7816 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7817 | pub unsafefn vertex_attrib1fv_with_f32_sequence( |
7818 | this: &WebGl2RenderingContext, |
7819 | indx: u32, |
7820 | values: &::wasm_bindgen::JsValue, |
7821 | ); |
7822 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f)] |
7823 | #[doc = "The `vertexAttrib2f()` method." ] |
7824 | #[doc = "" ] |
7825 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)" ] |
7826 | #[doc = "" ] |
7827 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7828 | pub unsafefn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32); |
7829 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] |
7830 | #[doc = "The `vertexAttrib2fv()` method." ] |
7831 | #[doc = "" ] |
7832 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)" ] |
7833 | #[doc = "" ] |
7834 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7835 | pub unsafefn vertex_attrib2fv_with_f32_array( |
7836 | this: &WebGl2RenderingContext, |
7837 | indx: u32, |
7838 | values: &[f32], |
7839 | ); |
7840 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] |
7841 | #[doc = "The `vertexAttrib2fv()` method." ] |
7842 | #[doc = "" ] |
7843 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)" ] |
7844 | #[doc = "" ] |
7845 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7846 | pub unsafefn vertex_attrib2fv_with_js_f32_array( |
7847 | this: &WebGl2RenderingContext, |
7848 | indx: u32, |
7849 | values: &::js_sys::Float32Array, |
7850 | ); |
7851 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] |
7852 | #[doc = "The `vertexAttrib2fv()` method." ] |
7853 | #[doc = "" ] |
7854 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)" ] |
7855 | #[doc = "" ] |
7856 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7857 | pub unsafefn vertex_attrib2fv_with_f32_sequence( |
7858 | this: &WebGl2RenderingContext, |
7859 | indx: u32, |
7860 | values: &::wasm_bindgen::JsValue, |
7861 | ); |
7862 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f)] |
7863 | #[doc = "The `vertexAttrib3f()` method." ] |
7864 | #[doc = "" ] |
7865 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)" ] |
7866 | #[doc = "" ] |
7867 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7868 | pub unsafefn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32); |
7869 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] |
7870 | #[doc = "The `vertexAttrib3fv()` method." ] |
7871 | #[doc = "" ] |
7872 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)" ] |
7873 | #[doc = "" ] |
7874 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7875 | pub unsafefn vertex_attrib3fv_with_f32_array( |
7876 | this: &WebGl2RenderingContext, |
7877 | indx: u32, |
7878 | values: &[f32], |
7879 | ); |
7880 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] |
7881 | #[doc = "The `vertexAttrib3fv()` method." ] |
7882 | #[doc = "" ] |
7883 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)" ] |
7884 | #[doc = "" ] |
7885 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7886 | pub unsafefn vertex_attrib3fv_with_js_f32_array( |
7887 | this: &WebGl2RenderingContext, |
7888 | indx: u32, |
7889 | values: &::js_sys::Float32Array, |
7890 | ); |
7891 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] |
7892 | #[doc = "The `vertexAttrib3fv()` method." ] |
7893 | #[doc = "" ] |
7894 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)" ] |
7895 | #[doc = "" ] |
7896 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7897 | pub unsafefn vertex_attrib3fv_with_f32_sequence( |
7898 | this: &WebGl2RenderingContext, |
7899 | indx: u32, |
7900 | values: &::wasm_bindgen::JsValue, |
7901 | ); |
7902 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f)] |
7903 | #[doc = "The `vertexAttrib4f()` method." ] |
7904 | #[doc = "" ] |
7905 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)" ] |
7906 | #[doc = "" ] |
7907 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7908 | pub unsafefn vertex_attrib4f( |
7909 | this: &WebGl2RenderingContext, |
7910 | indx: u32, |
7911 | x: f32, |
7912 | y: f32, |
7913 | z: f32, |
7914 | w: f32, |
7915 | ); |
7916 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] |
7917 | #[doc = "The `vertexAttrib4fv()` method." ] |
7918 | #[doc = "" ] |
7919 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)" ] |
7920 | #[doc = "" ] |
7921 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7922 | pub unsafefn vertex_attrib4fv_with_f32_array( |
7923 | this: &WebGl2RenderingContext, |
7924 | indx: u32, |
7925 | values: &[f32], |
7926 | ); |
7927 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] |
7928 | #[doc = "The `vertexAttrib4fv()` method." ] |
7929 | #[doc = "" ] |
7930 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)" ] |
7931 | #[doc = "" ] |
7932 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7933 | pub unsafefn vertex_attrib4fv_with_js_f32_array( |
7934 | this: &WebGl2RenderingContext, |
7935 | indx: u32, |
7936 | values: &::js_sys::Float32Array, |
7937 | ); |
7938 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] |
7939 | #[doc = "The `vertexAttrib4fv()` method." ] |
7940 | #[doc = "" ] |
7941 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)" ] |
7942 | #[doc = "" ] |
7943 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7944 | pub unsafefn vertex_attrib4fv_with_f32_sequence( |
7945 | this: &WebGl2RenderingContext, |
7946 | indx: u32, |
7947 | values: &::wasm_bindgen::JsValue, |
7948 | ); |
7949 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)] |
7950 | #[doc = "The `vertexAttribPointer()` method." ] |
7951 | #[doc = "" ] |
7952 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)" ] |
7953 | #[doc = "" ] |
7954 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7955 | pub unsafefn vertex_attrib_pointer_with_i32( |
7956 | this: &WebGl2RenderingContext, |
7957 | indx: u32, |
7958 | size: i32, |
7959 | type_: u32, |
7960 | normalized: bool, |
7961 | stride: i32, |
7962 | offset: i32, |
7963 | ); |
7964 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)] |
7965 | #[doc = "The `vertexAttribPointer()` method." ] |
7966 | #[doc = "" ] |
7967 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)" ] |
7968 | #[doc = "" ] |
7969 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7970 | pub unsafefn vertex_attrib_pointer_with_f64( |
7971 | this: &WebGl2RenderingContext, |
7972 | indx: u32, |
7973 | size: i32, |
7974 | type_: u32, |
7975 | normalized: bool, |
7976 | stride: i32, |
7977 | offset: f64, |
7978 | ); |
7979 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport)] |
7980 | #[doc = "The `viewport()` method." ] |
7981 | #[doc = "" ] |
7982 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)" ] |
7983 | #[doc = "" ] |
7984 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7985 | pub unsafefn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32); |
7986 | } |
7987 | impl WebGl2RenderingContext { |
7988 | #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const." ] |
7989 | #[doc = "" ] |
7990 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7991 | pub const READ_BUFFER: u32 = 3074u64 as u32; |
7992 | #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const." ] |
7993 | #[doc = "" ] |
7994 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7995 | pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32; |
7996 | #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const." ] |
7997 | #[doc = "" ] |
7998 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7999 | pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32; |
8000 | #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const." ] |
8001 | #[doc = "" ] |
8002 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8003 | pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32; |
8004 | #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const." ] |
8005 | #[doc = "" ] |
8006 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8007 | pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32; |
8008 | #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const." ] |
8009 | #[doc = "" ] |
8010 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8011 | pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32; |
8012 | #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const." ] |
8013 | #[doc = "" ] |
8014 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8015 | pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32; |
8016 | #[doc = "The `WebGL2RenderingContext.COLOR` const." ] |
8017 | #[doc = "" ] |
8018 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8019 | pub const COLOR: u32 = 6144u64 as u32; |
8020 | #[doc = "The `WebGL2RenderingContext.DEPTH` const." ] |
8021 | #[doc = "" ] |
8022 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8023 | pub const DEPTH: u32 = 6145u64 as u32; |
8024 | #[doc = "The `WebGL2RenderingContext.STENCIL` const." ] |
8025 | #[doc = "" ] |
8026 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8027 | pub const STENCIL: u32 = 6146u64 as u32; |
8028 | #[doc = "The `WebGL2RenderingContext.RED` const." ] |
8029 | #[doc = "" ] |
8030 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8031 | pub const RED: u32 = 6403u64 as u32; |
8032 | #[doc = "The `WebGL2RenderingContext.RGB8` const." ] |
8033 | #[doc = "" ] |
8034 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8035 | pub const RGB8: u32 = 32849u64 as u32; |
8036 | #[doc = "The `WebGL2RenderingContext.RGBA8` const." ] |
8037 | #[doc = "" ] |
8038 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8039 | pub const RGBA8: u32 = 32856u64 as u32; |
8040 | #[doc = "The `WebGL2RenderingContext.RGB10_A2` const." ] |
8041 | #[doc = "" ] |
8042 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8043 | pub const RGB10_A2: u32 = 32857u64 as u32; |
8044 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const." ] |
8045 | #[doc = "" ] |
8046 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8047 | pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32; |
8048 | #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const." ] |
8049 | #[doc = "" ] |
8050 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8051 | pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32; |
8052 | #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const." ] |
8053 | #[doc = "" ] |
8054 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8055 | pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32; |
8056 | #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const." ] |
8057 | #[doc = "" ] |
8058 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8059 | pub const TEXTURE_3D: u32 = 32879u64 as u32; |
8060 | #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const." ] |
8061 | #[doc = "" ] |
8062 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8063 | pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32; |
8064 | #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const." ] |
8065 | #[doc = "" ] |
8066 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8067 | pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32; |
8068 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const." ] |
8069 | #[doc = "" ] |
8070 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8071 | pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32; |
8072 | #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const." ] |
8073 | #[doc = "" ] |
8074 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8075 | pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32; |
8076 | #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const." ] |
8077 | #[doc = "" ] |
8078 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8079 | pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32; |
8080 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const." ] |
8081 | #[doc = "" ] |
8082 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8083 | pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32; |
8084 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const." ] |
8085 | #[doc = "" ] |
8086 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8087 | pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32; |
8088 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const." ] |
8089 | #[doc = "" ] |
8090 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8091 | pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32; |
8092 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const." ] |
8093 | #[doc = "" ] |
8094 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8095 | pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32; |
8096 | #[doc = "The `WebGL2RenderingContext.MIN` const." ] |
8097 | #[doc = "" ] |
8098 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8099 | pub const MIN: u32 = 32775u64 as u32; |
8100 | #[doc = "The `WebGL2RenderingContext.MAX` const." ] |
8101 | #[doc = "" ] |
8102 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8103 | pub const MAX: u32 = 32776u64 as u32; |
8104 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const." ] |
8105 | #[doc = "" ] |
8106 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8107 | pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32; |
8108 | #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const." ] |
8109 | #[doc = "" ] |
8110 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8111 | pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32; |
8112 | #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const." ] |
8113 | #[doc = "" ] |
8114 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8115 | pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32; |
8116 | #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const." ] |
8117 | #[doc = "" ] |
8118 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8119 | pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32; |
8120 | #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const." ] |
8121 | #[doc = "" ] |
8122 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8123 | pub const CURRENT_QUERY: u32 = 34917u64 as u32; |
8124 | #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const." ] |
8125 | #[doc = "" ] |
8126 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8127 | pub const QUERY_RESULT: u32 = 34918u64 as u32; |
8128 | #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const." ] |
8129 | #[doc = "" ] |
8130 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8131 | pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32; |
8132 | #[doc = "The `WebGL2RenderingContext.STREAM_READ` const." ] |
8133 | #[doc = "" ] |
8134 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8135 | pub const STREAM_READ: u32 = 35041u64 as u32; |
8136 | #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const." ] |
8137 | #[doc = "" ] |
8138 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8139 | pub const STREAM_COPY: u32 = 35042u64 as u32; |
8140 | #[doc = "The `WebGL2RenderingContext.STATIC_READ` const." ] |
8141 | #[doc = "" ] |
8142 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8143 | pub const STATIC_READ: u32 = 35045u64 as u32; |
8144 | #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const." ] |
8145 | #[doc = "" ] |
8146 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8147 | pub const STATIC_COPY: u32 = 35046u64 as u32; |
8148 | #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const." ] |
8149 | #[doc = "" ] |
8150 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8151 | pub const DYNAMIC_READ: u32 = 35049u64 as u32; |
8152 | #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const." ] |
8153 | #[doc = "" ] |
8154 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8155 | pub const DYNAMIC_COPY: u32 = 35050u64 as u32; |
8156 | #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const." ] |
8157 | #[doc = "" ] |
8158 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8159 | pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32; |
8160 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const." ] |
8161 | #[doc = "" ] |
8162 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8163 | pub const DRAW_BUFFER0: u32 = 34853u64 as u32; |
8164 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const." ] |
8165 | #[doc = "" ] |
8166 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8167 | pub const DRAW_BUFFER1: u32 = 34854u64 as u32; |
8168 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const." ] |
8169 | #[doc = "" ] |
8170 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8171 | pub const DRAW_BUFFER2: u32 = 34855u64 as u32; |
8172 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const." ] |
8173 | #[doc = "" ] |
8174 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8175 | pub const DRAW_BUFFER3: u32 = 34856u64 as u32; |
8176 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const." ] |
8177 | #[doc = "" ] |
8178 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8179 | pub const DRAW_BUFFER4: u32 = 34857u64 as u32; |
8180 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const." ] |
8181 | #[doc = "" ] |
8182 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8183 | pub const DRAW_BUFFER5: u32 = 34858u64 as u32; |
8184 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const." ] |
8185 | #[doc = "" ] |
8186 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8187 | pub const DRAW_BUFFER6: u32 = 34859u64 as u32; |
8188 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const." ] |
8189 | #[doc = "" ] |
8190 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8191 | pub const DRAW_BUFFER7: u32 = 34860u64 as u32; |
8192 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const." ] |
8193 | #[doc = "" ] |
8194 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8195 | pub const DRAW_BUFFER8: u32 = 34861u64 as u32; |
8196 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const." ] |
8197 | #[doc = "" ] |
8198 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8199 | pub const DRAW_BUFFER9: u32 = 34862u64 as u32; |
8200 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const." ] |
8201 | #[doc = "" ] |
8202 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8203 | pub const DRAW_BUFFER10: u32 = 34863u64 as u32; |
8204 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const." ] |
8205 | #[doc = "" ] |
8206 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8207 | pub const DRAW_BUFFER11: u32 = 34864u64 as u32; |
8208 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const." ] |
8209 | #[doc = "" ] |
8210 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8211 | pub const DRAW_BUFFER12: u32 = 34865u64 as u32; |
8212 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const." ] |
8213 | #[doc = "" ] |
8214 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8215 | pub const DRAW_BUFFER13: u32 = 34866u64 as u32; |
8216 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const." ] |
8217 | #[doc = "" ] |
8218 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8219 | pub const DRAW_BUFFER14: u32 = 34867u64 as u32; |
8220 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const." ] |
8221 | #[doc = "" ] |
8222 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8223 | pub const DRAW_BUFFER15: u32 = 34868u64 as u32; |
8224 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const." ] |
8225 | #[doc = "" ] |
8226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8227 | pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32; |
8228 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const." ] |
8229 | #[doc = "" ] |
8230 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8231 | pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32; |
8232 | #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const." ] |
8233 | #[doc = "" ] |
8234 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8235 | pub const SAMPLER_3D: u32 = 35679u64 as u32; |
8236 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const." ] |
8237 | #[doc = "" ] |
8238 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8239 | pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32; |
8240 | #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const." ] |
8241 | #[doc = "" ] |
8242 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8243 | pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32; |
8244 | #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const." ] |
8245 | #[doc = "" ] |
8246 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8247 | pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32; |
8248 | #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const." ] |
8249 | #[doc = "" ] |
8250 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8251 | pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32; |
8252 | #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const." ] |
8253 | #[doc = "" ] |
8254 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8255 | pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32; |
8256 | #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const." ] |
8257 | #[doc = "" ] |
8258 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8259 | pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32; |
8260 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const." ] |
8261 | #[doc = "" ] |
8262 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8263 | pub const FLOAT_MAT2X3: u32 = 35685u64 as u32; |
8264 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const." ] |
8265 | #[doc = "" ] |
8266 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8267 | pub const FLOAT_MAT2X4: u32 = 35686u64 as u32; |
8268 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const." ] |
8269 | #[doc = "" ] |
8270 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8271 | pub const FLOAT_MAT3X2: u32 = 35687u64 as u32; |
8272 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const." ] |
8273 | #[doc = "" ] |
8274 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8275 | pub const FLOAT_MAT3X4: u32 = 35688u64 as u32; |
8276 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const." ] |
8277 | #[doc = "" ] |
8278 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8279 | pub const FLOAT_MAT4X2: u32 = 35689u64 as u32; |
8280 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const." ] |
8281 | #[doc = "" ] |
8282 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8283 | pub const FLOAT_MAT4X3: u32 = 35690u64 as u32; |
8284 | #[doc = "The `WebGL2RenderingContext.SRGB` const." ] |
8285 | #[doc = "" ] |
8286 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8287 | pub const SRGB: u32 = 35904u64 as u32; |
8288 | #[doc = "The `WebGL2RenderingContext.SRGB8` const." ] |
8289 | #[doc = "" ] |
8290 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8291 | pub const SRGB8: u32 = 35905u64 as u32; |
8292 | #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const." ] |
8293 | #[doc = "" ] |
8294 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8295 | pub const SRGB8_ALPHA8: u32 = 35907u64 as u32; |
8296 | #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const." ] |
8297 | #[doc = "" ] |
8298 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8299 | pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32; |
8300 | #[doc = "The `WebGL2RenderingContext.RGBA32F` const." ] |
8301 | #[doc = "" ] |
8302 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8303 | pub const RGBA32F: u32 = 34836u64 as u32; |
8304 | #[doc = "The `WebGL2RenderingContext.RGB32F` const." ] |
8305 | #[doc = "" ] |
8306 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8307 | pub const RGB32F: u32 = 34837u64 as u32; |
8308 | #[doc = "The `WebGL2RenderingContext.RGBA16F` const." ] |
8309 | #[doc = "" ] |
8310 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8311 | pub const RGBA16F: u32 = 34842u64 as u32; |
8312 | #[doc = "The `WebGL2RenderingContext.RGB16F` const." ] |
8313 | #[doc = "" ] |
8314 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8315 | pub const RGB16F: u32 = 34843u64 as u32; |
8316 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const." ] |
8317 | #[doc = "" ] |
8318 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8319 | pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32; |
8320 | #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const." ] |
8321 | #[doc = "" ] |
8322 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8323 | pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32; |
8324 | #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const." ] |
8325 | #[doc = "" ] |
8326 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8327 | pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32; |
8328 | #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const." ] |
8329 | #[doc = "" ] |
8330 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8331 | pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32; |
8332 | #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const." ] |
8333 | #[doc = "" ] |
8334 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8335 | pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32; |
8336 | #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const." ] |
8337 | #[doc = "" ] |
8338 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8339 | pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32; |
8340 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const." ] |
8341 | #[doc = "" ] |
8342 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8343 | pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32; |
8344 | #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const." ] |
8345 | #[doc = "" ] |
8346 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8347 | pub const R11F_G11F_B10F: u32 = 35898u64 as u32; |
8348 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const." ] |
8349 | #[doc = "" ] |
8350 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8351 | pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32; |
8352 | #[doc = "The `WebGL2RenderingContext.RGB9_E5` const." ] |
8353 | #[doc = "" ] |
8354 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8355 | pub const RGB9_E5: u32 = 35901u64 as u32; |
8356 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const." ] |
8357 | #[doc = "" ] |
8358 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8359 | pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32; |
8360 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const." ] |
8361 | #[doc = "" ] |
8362 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8363 | pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32; |
8364 | #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const." ] |
8365 | #[doc = "" ] |
8366 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8367 | pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32; |
8368 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const." ] |
8369 | #[doc = "" ] |
8370 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8371 | pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32; |
8372 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const." ] |
8373 | #[doc = "" ] |
8374 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8375 | pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32; |
8376 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const." ] |
8377 | #[doc = "" ] |
8378 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8379 | pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32; |
8380 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const." ] |
8381 | #[doc = "" ] |
8382 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8383 | pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32; |
8384 | #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const." ] |
8385 | #[doc = "" ] |
8386 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8387 | pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32; |
8388 | #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const." ] |
8389 | #[doc = "" ] |
8390 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8391 | pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32; |
8392 | #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const." ] |
8393 | #[doc = "" ] |
8394 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8395 | pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32; |
8396 | #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const." ] |
8397 | #[doc = "" ] |
8398 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8399 | pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32; |
8400 | #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const." ] |
8401 | #[doc = "" ] |
8402 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8403 | pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32; |
8404 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const." ] |
8405 | #[doc = "" ] |
8406 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8407 | pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32; |
8408 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const." ] |
8409 | #[doc = "" ] |
8410 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8411 | pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32; |
8412 | #[doc = "The `WebGL2RenderingContext.RGBA32UI` const." ] |
8413 | #[doc = "" ] |
8414 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8415 | pub const RGBA32UI: u32 = 36208u64 as u32; |
8416 | #[doc = "The `WebGL2RenderingContext.RGB32UI` const." ] |
8417 | #[doc = "" ] |
8418 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8419 | pub const RGB32UI: u32 = 36209u64 as u32; |
8420 | #[doc = "The `WebGL2RenderingContext.RGBA16UI` const." ] |
8421 | #[doc = "" ] |
8422 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8423 | pub const RGBA16UI: u32 = 36214u64 as u32; |
8424 | #[doc = "The `WebGL2RenderingContext.RGB16UI` const." ] |
8425 | #[doc = "" ] |
8426 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8427 | pub const RGB16UI: u32 = 36215u64 as u32; |
8428 | #[doc = "The `WebGL2RenderingContext.RGBA8UI` const." ] |
8429 | #[doc = "" ] |
8430 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8431 | pub const RGBA8UI: u32 = 36220u64 as u32; |
8432 | #[doc = "The `WebGL2RenderingContext.RGB8UI` const." ] |
8433 | #[doc = "" ] |
8434 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8435 | pub const RGB8UI: u32 = 36221u64 as u32; |
8436 | #[doc = "The `WebGL2RenderingContext.RGBA32I` const." ] |
8437 | #[doc = "" ] |
8438 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8439 | pub const RGBA32I: u32 = 36226u64 as u32; |
8440 | #[doc = "The `WebGL2RenderingContext.RGB32I` const." ] |
8441 | #[doc = "" ] |
8442 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8443 | pub const RGB32I: u32 = 36227u64 as u32; |
8444 | #[doc = "The `WebGL2RenderingContext.RGBA16I` const." ] |
8445 | #[doc = "" ] |
8446 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8447 | pub const RGBA16I: u32 = 36232u64 as u32; |
8448 | #[doc = "The `WebGL2RenderingContext.RGB16I` const." ] |
8449 | #[doc = "" ] |
8450 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8451 | pub const RGB16I: u32 = 36233u64 as u32; |
8452 | #[doc = "The `WebGL2RenderingContext.RGBA8I` const." ] |
8453 | #[doc = "" ] |
8454 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8455 | pub const RGBA8I: u32 = 36238u64 as u32; |
8456 | #[doc = "The `WebGL2RenderingContext.RGB8I` const." ] |
8457 | #[doc = "" ] |
8458 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8459 | pub const RGB8I: u32 = 36239u64 as u32; |
8460 | #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const." ] |
8461 | #[doc = "" ] |
8462 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8463 | pub const RED_INTEGER: u32 = 36244u64 as u32; |
8464 | #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const." ] |
8465 | #[doc = "" ] |
8466 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8467 | pub const RGB_INTEGER: u32 = 36248u64 as u32; |
8468 | #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const." ] |
8469 | #[doc = "" ] |
8470 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8471 | pub const RGBA_INTEGER: u32 = 36249u64 as u32; |
8472 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const." ] |
8473 | #[doc = "" ] |
8474 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8475 | pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32; |
8476 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const." ] |
8477 | #[doc = "" ] |
8478 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8479 | pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32; |
8480 | #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const." ] |
8481 | #[doc = "" ] |
8482 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8483 | pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32; |
8484 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const." ] |
8485 | #[doc = "" ] |
8486 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8487 | pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32; |
8488 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const." ] |
8489 | #[doc = "" ] |
8490 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8491 | pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32; |
8492 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const." ] |
8493 | #[doc = "" ] |
8494 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8495 | pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32; |
8496 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const." ] |
8497 | #[doc = "" ] |
8498 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8499 | pub const INT_SAMPLER_2D: u32 = 36298u64 as u32; |
8500 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const." ] |
8501 | #[doc = "" ] |
8502 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8503 | pub const INT_SAMPLER_3D: u32 = 36299u64 as u32; |
8504 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const." ] |
8505 | #[doc = "" ] |
8506 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8507 | pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32; |
8508 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const." ] |
8509 | #[doc = "" ] |
8510 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8511 | pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32; |
8512 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const." ] |
8513 | #[doc = "" ] |
8514 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8515 | pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32; |
8516 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const." ] |
8517 | #[doc = "" ] |
8518 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8519 | pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32; |
8520 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const." ] |
8521 | #[doc = "" ] |
8522 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8523 | pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32; |
8524 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const." ] |
8525 | #[doc = "" ] |
8526 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8527 | pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32; |
8528 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const." ] |
8529 | #[doc = "" ] |
8530 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8531 | pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32; |
8532 | #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const." ] |
8533 | #[doc = "" ] |
8534 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8535 | pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32; |
8536 | #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const." ] |
8537 | #[doc = "" ] |
8538 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8539 | pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32; |
8540 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const." ] |
8541 | #[doc = "" ] |
8542 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8543 | pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32; |
8544 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const." ] |
8545 | #[doc = "" ] |
8546 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8547 | pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32; |
8548 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const." ] |
8549 | #[doc = "" ] |
8550 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8551 | pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32; |
8552 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const." ] |
8553 | #[doc = "" ] |
8554 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8555 | pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32; |
8556 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const." ] |
8557 | #[doc = "" ] |
8558 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8559 | pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32; |
8560 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const." ] |
8561 | #[doc = "" ] |
8562 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8563 | pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32; |
8564 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const." ] |
8565 | #[doc = "" ] |
8566 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8567 | pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32; |
8568 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const." ] |
8569 | #[doc = "" ] |
8570 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8571 | pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32; |
8572 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const." ] |
8573 | #[doc = "" ] |
8574 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8575 | pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32; |
8576 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const." ] |
8577 | #[doc = "" ] |
8578 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8579 | pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32; |
8580 | #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const." ] |
8581 | #[doc = "" ] |
8582 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8583 | pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32; |
8584 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const." ] |
8585 | #[doc = "" ] |
8586 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8587 | pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32; |
8588 | #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const." ] |
8589 | #[doc = "" ] |
8590 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8591 | pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32; |
8592 | #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const." ] |
8593 | #[doc = "" ] |
8594 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8595 | pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32; |
8596 | #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const." ] |
8597 | #[doc = "" ] |
8598 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8599 | pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32; |
8600 | #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const." ] |
8601 | #[doc = "" ] |
8602 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8603 | pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32; |
8604 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const." ] |
8605 | #[doc = "" ] |
8606 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8607 | pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32; |
8608 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const." ] |
8609 | #[doc = "" ] |
8610 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8611 | pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32; |
8612 | #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const." ] |
8613 | #[doc = "" ] |
8614 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8615 | pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32; |
8616 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const." ] |
8617 | #[doc = "" ] |
8618 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8619 | pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32; |
8620 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const." ] |
8621 | #[doc = "" ] |
8622 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8623 | pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32; |
8624 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const." ] |
8625 | #[doc = "" ] |
8626 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8627 | pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32; |
8628 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const." ] |
8629 | #[doc = "" ] |
8630 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8631 | pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32; |
8632 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const." ] |
8633 | #[doc = "" ] |
8634 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8635 | pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32; |
8636 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const." ] |
8637 | #[doc = "" ] |
8638 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8639 | pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32; |
8640 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const." ] |
8641 | #[doc = "" ] |
8642 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8643 | pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32; |
8644 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const." ] |
8645 | #[doc = "" ] |
8646 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8647 | pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32; |
8648 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const." ] |
8649 | #[doc = "" ] |
8650 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8651 | pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32; |
8652 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const." ] |
8653 | #[doc = "" ] |
8654 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8655 | pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32; |
8656 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const." ] |
8657 | #[doc = "" ] |
8658 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8659 | pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32; |
8660 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const." ] |
8661 | #[doc = "" ] |
8662 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8663 | pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32; |
8664 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const." ] |
8665 | #[doc = "" ] |
8666 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8667 | pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32; |
8668 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const." ] |
8669 | #[doc = "" ] |
8670 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8671 | pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32; |
8672 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const." ] |
8673 | #[doc = "" ] |
8674 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8675 | pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32; |
8676 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const." ] |
8677 | #[doc = "" ] |
8678 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8679 | pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32; |
8680 | #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const." ] |
8681 | #[doc = "" ] |
8682 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8683 | pub const MAX_SAMPLES: u32 = 36183u64 as u32; |
8684 | #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const." ] |
8685 | #[doc = "" ] |
8686 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8687 | pub const HALF_FLOAT: u32 = 5131u64 as u32; |
8688 | #[doc = "The `WebGL2RenderingContext.RG` const." ] |
8689 | #[doc = "" ] |
8690 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8691 | pub const RG: u32 = 33319u64 as u32; |
8692 | #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const." ] |
8693 | #[doc = "" ] |
8694 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8695 | pub const RG_INTEGER: u32 = 33320u64 as u32; |
8696 | #[doc = "The `WebGL2RenderingContext.R8` const." ] |
8697 | #[doc = "" ] |
8698 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8699 | pub const R8: u32 = 33321u64 as u32; |
8700 | #[doc = "The `WebGL2RenderingContext.RG8` const." ] |
8701 | #[doc = "" ] |
8702 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8703 | pub const RG8: u32 = 33323u64 as u32; |
8704 | #[doc = "The `WebGL2RenderingContext.R16F` const." ] |
8705 | #[doc = "" ] |
8706 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8707 | pub const R16F: u32 = 33325u64 as u32; |
8708 | #[doc = "The `WebGL2RenderingContext.R32F` const." ] |
8709 | #[doc = "" ] |
8710 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8711 | pub const R32F: u32 = 33326u64 as u32; |
8712 | #[doc = "The `WebGL2RenderingContext.RG16F` const." ] |
8713 | #[doc = "" ] |
8714 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8715 | pub const RG16F: u32 = 33327u64 as u32; |
8716 | #[doc = "The `WebGL2RenderingContext.RG32F` const." ] |
8717 | #[doc = "" ] |
8718 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8719 | pub const RG32F: u32 = 33328u64 as u32; |
8720 | #[doc = "The `WebGL2RenderingContext.R8I` const." ] |
8721 | #[doc = "" ] |
8722 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8723 | pub const R8I: u32 = 33329u64 as u32; |
8724 | #[doc = "The `WebGL2RenderingContext.R8UI` const." ] |
8725 | #[doc = "" ] |
8726 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8727 | pub const R8UI: u32 = 33330u64 as u32; |
8728 | #[doc = "The `WebGL2RenderingContext.R16I` const." ] |
8729 | #[doc = "" ] |
8730 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8731 | pub const R16I: u32 = 33331u64 as u32; |
8732 | #[doc = "The `WebGL2RenderingContext.R16UI` const." ] |
8733 | #[doc = "" ] |
8734 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8735 | pub const R16UI: u32 = 33332u64 as u32; |
8736 | #[doc = "The `WebGL2RenderingContext.R32I` const." ] |
8737 | #[doc = "" ] |
8738 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8739 | pub const R32I: u32 = 33333u64 as u32; |
8740 | #[doc = "The `WebGL2RenderingContext.R32UI` const." ] |
8741 | #[doc = "" ] |
8742 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8743 | pub const R32UI: u32 = 33334u64 as u32; |
8744 | #[doc = "The `WebGL2RenderingContext.RG8I` const." ] |
8745 | #[doc = "" ] |
8746 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8747 | pub const RG8I: u32 = 33335u64 as u32; |
8748 | #[doc = "The `WebGL2RenderingContext.RG8UI` const." ] |
8749 | #[doc = "" ] |
8750 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8751 | pub const RG8UI: u32 = 33336u64 as u32; |
8752 | #[doc = "The `WebGL2RenderingContext.RG16I` const." ] |
8753 | #[doc = "" ] |
8754 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8755 | pub const RG16I: u32 = 33337u64 as u32; |
8756 | #[doc = "The `WebGL2RenderingContext.RG16UI` const." ] |
8757 | #[doc = "" ] |
8758 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8759 | pub const RG16UI: u32 = 33338u64 as u32; |
8760 | #[doc = "The `WebGL2RenderingContext.RG32I` const." ] |
8761 | #[doc = "" ] |
8762 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8763 | pub const RG32I: u32 = 33339u64 as u32; |
8764 | #[doc = "The `WebGL2RenderingContext.RG32UI` const." ] |
8765 | #[doc = "" ] |
8766 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8767 | pub const RG32UI: u32 = 33340u64 as u32; |
8768 | #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const." ] |
8769 | #[doc = "" ] |
8770 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8771 | pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32; |
8772 | #[doc = "The `WebGL2RenderingContext.R8_SNORM` const." ] |
8773 | #[doc = "" ] |
8774 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8775 | pub const R8_SNORM: u32 = 36756u64 as u32; |
8776 | #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const." ] |
8777 | #[doc = "" ] |
8778 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8779 | pub const RG8_SNORM: u32 = 36757u64 as u32; |
8780 | #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const." ] |
8781 | #[doc = "" ] |
8782 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8783 | pub const RGB8_SNORM: u32 = 36758u64 as u32; |
8784 | #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const." ] |
8785 | #[doc = "" ] |
8786 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8787 | pub const RGBA8_SNORM: u32 = 36759u64 as u32; |
8788 | #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const." ] |
8789 | #[doc = "" ] |
8790 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8791 | pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32; |
8792 | #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const." ] |
8793 | #[doc = "" ] |
8794 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8795 | pub const COPY_READ_BUFFER: u32 = 36662u64 as u32; |
8796 | #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const." ] |
8797 | #[doc = "" ] |
8798 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8799 | pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32; |
8800 | #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const." ] |
8801 | #[doc = "" ] |
8802 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8803 | pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32; |
8804 | #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const." ] |
8805 | #[doc = "" ] |
8806 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8807 | pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32; |
8808 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const." ] |
8809 | #[doc = "" ] |
8810 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8811 | pub const UNIFORM_BUFFER: u32 = 35345u64 as u32; |
8812 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const." ] |
8813 | #[doc = "" ] |
8814 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8815 | pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32; |
8816 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const." ] |
8817 | #[doc = "" ] |
8818 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8819 | pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32; |
8820 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const." ] |
8821 | #[doc = "" ] |
8822 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8823 | pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32; |
8824 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const." ] |
8825 | #[doc = "" ] |
8826 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8827 | pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32; |
8828 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const." ] |
8829 | #[doc = "" ] |
8830 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8831 | pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32; |
8832 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const." ] |
8833 | #[doc = "" ] |
8834 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8835 | pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32; |
8836 | #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const." ] |
8837 | #[doc = "" ] |
8838 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8839 | pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32; |
8840 | #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const." ] |
8841 | #[doc = "" ] |
8842 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8843 | pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32; |
8844 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const." ] |
8845 | #[doc = "" ] |
8846 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8847 | pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32; |
8848 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const." ] |
8849 | #[doc = "" ] |
8850 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8851 | pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32; |
8852 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const." ] |
8853 | #[doc = "" ] |
8854 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8855 | pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32; |
8856 | #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const." ] |
8857 | #[doc = "" ] |
8858 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8859 | pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32; |
8860 | #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const." ] |
8861 | #[doc = "" ] |
8862 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8863 | pub const UNIFORM_TYPE: u32 = 35383u64 as u32; |
8864 | #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const." ] |
8865 | #[doc = "" ] |
8866 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8867 | pub const UNIFORM_SIZE: u32 = 35384u64 as u32; |
8868 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const." ] |
8869 | #[doc = "" ] |
8870 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8871 | pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32; |
8872 | #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const." ] |
8873 | #[doc = "" ] |
8874 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8875 | pub const UNIFORM_OFFSET: u32 = 35387u64 as u32; |
8876 | #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const." ] |
8877 | #[doc = "" ] |
8878 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8879 | pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32; |
8880 | #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const." ] |
8881 | #[doc = "" ] |
8882 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8883 | pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32; |
8884 | #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const." ] |
8885 | #[doc = "" ] |
8886 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8887 | pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32; |
8888 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const." ] |
8889 | #[doc = "" ] |
8890 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8891 | pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32; |
8892 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const." ] |
8893 | #[doc = "" ] |
8894 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8895 | pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32; |
8896 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const." ] |
8897 | #[doc = "" ] |
8898 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8899 | pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32; |
8900 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const." ] |
8901 | #[doc = "" ] |
8902 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8903 | pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32; |
8904 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const." ] |
8905 | #[doc = "" ] |
8906 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8907 | pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32; |
8908 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const." ] |
8909 | #[doc = "" ] |
8910 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8911 | pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32; |
8912 | #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const." ] |
8913 | #[doc = "" ] |
8914 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8915 | pub const INVALID_INDEX: u32 = 4294967295u64 as u32; |
8916 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const." ] |
8917 | #[doc = "" ] |
8918 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8919 | pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32; |
8920 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const." ] |
8921 | #[doc = "" ] |
8922 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8923 | pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32; |
8924 | #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const." ] |
8925 | #[doc = "" ] |
8926 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8927 | pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32; |
8928 | #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const." ] |
8929 | #[doc = "" ] |
8930 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8931 | pub const OBJECT_TYPE: u32 = 37138u64 as u32; |
8932 | #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const." ] |
8933 | #[doc = "" ] |
8934 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8935 | pub const SYNC_CONDITION: u32 = 37139u64 as u32; |
8936 | #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const." ] |
8937 | #[doc = "" ] |
8938 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8939 | pub const SYNC_STATUS: u32 = 37140u64 as u32; |
8940 | #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const." ] |
8941 | #[doc = "" ] |
8942 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8943 | pub const SYNC_FLAGS: u32 = 37141u64 as u32; |
8944 | #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const." ] |
8945 | #[doc = "" ] |
8946 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8947 | pub const SYNC_FENCE: u32 = 37142u64 as u32; |
8948 | #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const." ] |
8949 | #[doc = "" ] |
8950 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8951 | pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32; |
8952 | #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const." ] |
8953 | #[doc = "" ] |
8954 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8955 | pub const UNSIGNALED: u32 = 37144u64 as u32; |
8956 | #[doc = "The `WebGL2RenderingContext.SIGNALED` const." ] |
8957 | #[doc = "" ] |
8958 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8959 | pub const SIGNALED: u32 = 37145u64 as u32; |
8960 | #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const." ] |
8961 | #[doc = "" ] |
8962 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8963 | pub const ALREADY_SIGNALED: u32 = 37146u64 as u32; |
8964 | #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const." ] |
8965 | #[doc = "" ] |
8966 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8967 | pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32; |
8968 | #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const." ] |
8969 | #[doc = "" ] |
8970 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8971 | pub const CONDITION_SATISFIED: u32 = 37148u64 as u32; |
8972 | #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const." ] |
8973 | #[doc = "" ] |
8974 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8975 | pub const WAIT_FAILED: u32 = 37149u64 as u32; |
8976 | #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const." ] |
8977 | #[doc = "" ] |
8978 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8979 | pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32; |
8980 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const." ] |
8981 | #[doc = "" ] |
8982 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8983 | pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32; |
8984 | #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const." ] |
8985 | #[doc = "" ] |
8986 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8987 | pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32; |
8988 | #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const." ] |
8989 | #[doc = "" ] |
8990 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8991 | pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32; |
8992 | #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const." ] |
8993 | #[doc = "" ] |
8994 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8995 | pub const SAMPLER_BINDING: u32 = 35097u64 as u32; |
8996 | #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const." ] |
8997 | #[doc = "" ] |
8998 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8999 | pub const RGB10_A2UI: u32 = 36975u64 as u32; |
9000 | #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const." ] |
9001 | #[doc = "" ] |
9002 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9003 | pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32; |
9004 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const." ] |
9005 | #[doc = "" ] |
9006 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9007 | pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32; |
9008 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const." ] |
9009 | #[doc = "" ] |
9010 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9011 | pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32; |
9012 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const." ] |
9013 | #[doc = "" ] |
9014 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9015 | pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32; |
9016 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const." ] |
9017 | #[doc = "" ] |
9018 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9019 | pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32; |
9020 | #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const." ] |
9021 | #[doc = "" ] |
9022 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9023 | pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32; |
9024 | #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const." ] |
9025 | #[doc = "" ] |
9026 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9027 | pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32; |
9028 | #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const." ] |
9029 | #[doc = "" ] |
9030 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9031 | pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32; |
9032 | #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const." ] |
9033 | #[doc = "" ] |
9034 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9035 | pub const TIMEOUT_IGNORED: f64 = -1i64 as f64; |
9036 | #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const." ] |
9037 | #[doc = "" ] |
9038 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9039 | pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32; |
9040 | #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const." ] |
9041 | #[doc = "" ] |
9042 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9043 | pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32; |
9044 | #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const." ] |
9045 | #[doc = "" ] |
9046 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9047 | pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32; |
9048 | #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const." ] |
9049 | #[doc = "" ] |
9050 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9051 | pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32; |
9052 | #[doc = "The `WebGL2RenderingContext.POINTS` const." ] |
9053 | #[doc = "" ] |
9054 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9055 | pub const POINTS: u32 = 0u64 as u32; |
9056 | #[doc = "The `WebGL2RenderingContext.LINES` const." ] |
9057 | #[doc = "" ] |
9058 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9059 | pub const LINES: u32 = 1u64 as u32; |
9060 | #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const." ] |
9061 | #[doc = "" ] |
9062 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9063 | pub const LINE_LOOP: u32 = 2u64 as u32; |
9064 | #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const." ] |
9065 | #[doc = "" ] |
9066 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9067 | pub const LINE_STRIP: u32 = 3u64 as u32; |
9068 | #[doc = "The `WebGL2RenderingContext.TRIANGLES` const." ] |
9069 | #[doc = "" ] |
9070 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9071 | pub const TRIANGLES: u32 = 4u64 as u32; |
9072 | #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const." ] |
9073 | #[doc = "" ] |
9074 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9075 | pub const TRIANGLE_STRIP: u32 = 5u64 as u32; |
9076 | #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const." ] |
9077 | #[doc = "" ] |
9078 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9079 | pub const TRIANGLE_FAN: u32 = 6u64 as u32; |
9080 | #[doc = "The `WebGL2RenderingContext.ZERO` const." ] |
9081 | #[doc = "" ] |
9082 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9083 | pub const ZERO: u32 = 0i64 as u32; |
9084 | #[doc = "The `WebGL2RenderingContext.ONE` const." ] |
9085 | #[doc = "" ] |
9086 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9087 | pub const ONE: u32 = 1u64 as u32; |
9088 | #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const." ] |
9089 | #[doc = "" ] |
9090 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9091 | pub const SRC_COLOR: u32 = 768u64 as u32; |
9092 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const." ] |
9093 | #[doc = "" ] |
9094 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9095 | pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32; |
9096 | #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const." ] |
9097 | #[doc = "" ] |
9098 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9099 | pub const SRC_ALPHA: u32 = 770u64 as u32; |
9100 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const." ] |
9101 | #[doc = "" ] |
9102 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9103 | pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32; |
9104 | #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const." ] |
9105 | #[doc = "" ] |
9106 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9107 | pub const DST_ALPHA: u32 = 772u64 as u32; |
9108 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const." ] |
9109 | #[doc = "" ] |
9110 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9111 | pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32; |
9112 | #[doc = "The `WebGL2RenderingContext.DST_COLOR` const." ] |
9113 | #[doc = "" ] |
9114 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9115 | pub const DST_COLOR: u32 = 774u64 as u32; |
9116 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const." ] |
9117 | #[doc = "" ] |
9118 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9119 | pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32; |
9120 | #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const." ] |
9121 | #[doc = "" ] |
9122 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9123 | pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32; |
9124 | #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const." ] |
9125 | #[doc = "" ] |
9126 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9127 | pub const FUNC_ADD: u32 = 32774u64 as u32; |
9128 | #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const." ] |
9129 | #[doc = "" ] |
9130 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9131 | pub const BLEND_EQUATION: u32 = 32777u64 as u32; |
9132 | #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const." ] |
9133 | #[doc = "" ] |
9134 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9135 | pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32; |
9136 | #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const." ] |
9137 | #[doc = "" ] |
9138 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9139 | pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32; |
9140 | #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const." ] |
9141 | #[doc = "" ] |
9142 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9143 | pub const FUNC_SUBTRACT: u32 = 32778u64 as u32; |
9144 | #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const." ] |
9145 | #[doc = "" ] |
9146 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9147 | pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32; |
9148 | #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const." ] |
9149 | #[doc = "" ] |
9150 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9151 | pub const BLEND_DST_RGB: u32 = 32968u64 as u32; |
9152 | #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const." ] |
9153 | #[doc = "" ] |
9154 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9155 | pub const BLEND_SRC_RGB: u32 = 32969u64 as u32; |
9156 | #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const." ] |
9157 | #[doc = "" ] |
9158 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9159 | pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32; |
9160 | #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const." ] |
9161 | #[doc = "" ] |
9162 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9163 | pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32; |
9164 | #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const." ] |
9165 | #[doc = "" ] |
9166 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9167 | pub const CONSTANT_COLOR: u32 = 32769u64 as u32; |
9168 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const." ] |
9169 | #[doc = "" ] |
9170 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9171 | pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32; |
9172 | #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const." ] |
9173 | #[doc = "" ] |
9174 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9175 | pub const CONSTANT_ALPHA: u32 = 32771u64 as u32; |
9176 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const." ] |
9177 | #[doc = "" ] |
9178 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9179 | pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32; |
9180 | #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const." ] |
9181 | #[doc = "" ] |
9182 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9183 | pub const BLEND_COLOR: u32 = 32773u64 as u32; |
9184 | #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const." ] |
9185 | #[doc = "" ] |
9186 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9187 | pub const ARRAY_BUFFER: u32 = 34962u64 as u32; |
9188 | #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const." ] |
9189 | #[doc = "" ] |
9190 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9191 | pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32; |
9192 | #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const." ] |
9193 | #[doc = "" ] |
9194 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9195 | pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32; |
9196 | #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const." ] |
9197 | #[doc = "" ] |
9198 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9199 | pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32; |
9200 | #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const." ] |
9201 | #[doc = "" ] |
9202 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9203 | pub const STREAM_DRAW: u32 = 35040u64 as u32; |
9204 | #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const." ] |
9205 | #[doc = "" ] |
9206 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9207 | pub const STATIC_DRAW: u32 = 35044u64 as u32; |
9208 | #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const." ] |
9209 | #[doc = "" ] |
9210 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9211 | pub const DYNAMIC_DRAW: u32 = 35048u64 as u32; |
9212 | #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const." ] |
9213 | #[doc = "" ] |
9214 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9215 | pub const BUFFER_SIZE: u32 = 34660u64 as u32; |
9216 | #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const." ] |
9217 | #[doc = "" ] |
9218 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9219 | pub const BUFFER_USAGE: u32 = 34661u64 as u32; |
9220 | #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const." ] |
9221 | #[doc = "" ] |
9222 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9223 | pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32; |
9224 | #[doc = "The `WebGL2RenderingContext.FRONT` const." ] |
9225 | #[doc = "" ] |
9226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9227 | pub const FRONT: u32 = 1028u64 as u32; |
9228 | #[doc = "The `WebGL2RenderingContext.BACK` const." ] |
9229 | #[doc = "" ] |
9230 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9231 | pub const BACK: u32 = 1029u64 as u32; |
9232 | #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const." ] |
9233 | #[doc = "" ] |
9234 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9235 | pub const FRONT_AND_BACK: u32 = 1032u64 as u32; |
9236 | #[doc = "The `WebGL2RenderingContext.CULL_FACE` const." ] |
9237 | #[doc = "" ] |
9238 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9239 | pub const CULL_FACE: u32 = 2884u64 as u32; |
9240 | #[doc = "The `WebGL2RenderingContext.BLEND` const." ] |
9241 | #[doc = "" ] |
9242 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9243 | pub const BLEND: u32 = 3042u64 as u32; |
9244 | #[doc = "The `WebGL2RenderingContext.DITHER` const." ] |
9245 | #[doc = "" ] |
9246 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9247 | pub const DITHER: u32 = 3024u64 as u32; |
9248 | #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const." ] |
9249 | #[doc = "" ] |
9250 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9251 | pub const STENCIL_TEST: u32 = 2960u64 as u32; |
9252 | #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const." ] |
9253 | #[doc = "" ] |
9254 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9255 | pub const DEPTH_TEST: u32 = 2929u64 as u32; |
9256 | #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const." ] |
9257 | #[doc = "" ] |
9258 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9259 | pub const SCISSOR_TEST: u32 = 3089u64 as u32; |
9260 | #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const." ] |
9261 | #[doc = "" ] |
9262 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9263 | pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32; |
9264 | #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const." ] |
9265 | #[doc = "" ] |
9266 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9267 | pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32; |
9268 | #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const." ] |
9269 | #[doc = "" ] |
9270 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9271 | pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32; |
9272 | #[doc = "The `WebGL2RenderingContext.NO_ERROR` const." ] |
9273 | #[doc = "" ] |
9274 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9275 | pub const NO_ERROR: u32 = 0i64 as u32; |
9276 | #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const." ] |
9277 | #[doc = "" ] |
9278 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9279 | pub const INVALID_ENUM: u32 = 1280u64 as u32; |
9280 | #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const." ] |
9281 | #[doc = "" ] |
9282 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9283 | pub const INVALID_VALUE: u32 = 1281u64 as u32; |
9284 | #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const." ] |
9285 | #[doc = "" ] |
9286 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9287 | pub const INVALID_OPERATION: u32 = 1282u64 as u32; |
9288 | #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const." ] |
9289 | #[doc = "" ] |
9290 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9291 | pub const OUT_OF_MEMORY: u32 = 1285u64 as u32; |
9292 | #[doc = "The `WebGL2RenderingContext.CW` const." ] |
9293 | #[doc = "" ] |
9294 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9295 | pub const CW: u32 = 2304u64 as u32; |
9296 | #[doc = "The `WebGL2RenderingContext.CCW` const." ] |
9297 | #[doc = "" ] |
9298 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9299 | pub const CCW: u32 = 2305u64 as u32; |
9300 | #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const." ] |
9301 | #[doc = "" ] |
9302 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9303 | pub const LINE_WIDTH: u32 = 2849u64 as u32; |
9304 | #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const." ] |
9305 | #[doc = "" ] |
9306 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9307 | pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32; |
9308 | #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const." ] |
9309 | #[doc = "" ] |
9310 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9311 | pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32; |
9312 | #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const." ] |
9313 | #[doc = "" ] |
9314 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9315 | pub const CULL_FACE_MODE: u32 = 2885u64 as u32; |
9316 | #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const." ] |
9317 | #[doc = "" ] |
9318 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9319 | pub const FRONT_FACE: u32 = 2886u64 as u32; |
9320 | #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const." ] |
9321 | #[doc = "" ] |
9322 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9323 | pub const DEPTH_RANGE: u32 = 2928u64 as u32; |
9324 | #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const." ] |
9325 | #[doc = "" ] |
9326 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9327 | pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32; |
9328 | #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const." ] |
9329 | #[doc = "" ] |
9330 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9331 | pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32; |
9332 | #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const." ] |
9333 | #[doc = "" ] |
9334 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9335 | pub const DEPTH_FUNC: u32 = 2932u64 as u32; |
9336 | #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const." ] |
9337 | #[doc = "" ] |
9338 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9339 | pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32; |
9340 | #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const." ] |
9341 | #[doc = "" ] |
9342 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9343 | pub const STENCIL_FUNC: u32 = 2962u64 as u32; |
9344 | #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const." ] |
9345 | #[doc = "" ] |
9346 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9347 | pub const STENCIL_FAIL: u32 = 2964u64 as u32; |
9348 | #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const." ] |
9349 | #[doc = "" ] |
9350 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9351 | pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32; |
9352 | #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const." ] |
9353 | #[doc = "" ] |
9354 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9355 | pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32; |
9356 | #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const." ] |
9357 | #[doc = "" ] |
9358 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9359 | pub const STENCIL_REF: u32 = 2967u64 as u32; |
9360 | #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const." ] |
9361 | #[doc = "" ] |
9362 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9363 | pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32; |
9364 | #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const." ] |
9365 | #[doc = "" ] |
9366 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9367 | pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32; |
9368 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const." ] |
9369 | #[doc = "" ] |
9370 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9371 | pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32; |
9372 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const." ] |
9373 | #[doc = "" ] |
9374 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9375 | pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32; |
9376 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const." ] |
9377 | #[doc = "" ] |
9378 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9379 | pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32; |
9380 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const." ] |
9381 | #[doc = "" ] |
9382 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9383 | pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32; |
9384 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const." ] |
9385 | #[doc = "" ] |
9386 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9387 | pub const STENCIL_BACK_REF: u32 = 36003u64 as u32; |
9388 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const." ] |
9389 | #[doc = "" ] |
9390 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9391 | pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32; |
9392 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const." ] |
9393 | #[doc = "" ] |
9394 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9395 | pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32; |
9396 | #[doc = "The `WebGL2RenderingContext.VIEWPORT` const." ] |
9397 | #[doc = "" ] |
9398 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9399 | pub const VIEWPORT: u32 = 2978u64 as u32; |
9400 | #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const." ] |
9401 | #[doc = "" ] |
9402 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9403 | pub const SCISSOR_BOX: u32 = 3088u64 as u32; |
9404 | #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const." ] |
9405 | #[doc = "" ] |
9406 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9407 | pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32; |
9408 | #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const." ] |
9409 | #[doc = "" ] |
9410 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9411 | pub const COLOR_WRITEMASK: u32 = 3107u64 as u32; |
9412 | #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const." ] |
9413 | #[doc = "" ] |
9414 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9415 | pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32; |
9416 | #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const." ] |
9417 | #[doc = "" ] |
9418 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9419 | pub const PACK_ALIGNMENT: u32 = 3333u64 as u32; |
9420 | #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const." ] |
9421 | #[doc = "" ] |
9422 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9423 | pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32; |
9424 | #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const." ] |
9425 | #[doc = "" ] |
9426 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9427 | pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32; |
9428 | #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const." ] |
9429 | #[doc = "" ] |
9430 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9431 | pub const SUBPIXEL_BITS: u32 = 3408u64 as u32; |
9432 | #[doc = "The `WebGL2RenderingContext.RED_BITS` const." ] |
9433 | #[doc = "" ] |
9434 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9435 | pub const RED_BITS: u32 = 3410u64 as u32; |
9436 | #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const." ] |
9437 | #[doc = "" ] |
9438 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9439 | pub const GREEN_BITS: u32 = 3411u64 as u32; |
9440 | #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const." ] |
9441 | #[doc = "" ] |
9442 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9443 | pub const BLUE_BITS: u32 = 3412u64 as u32; |
9444 | #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const." ] |
9445 | #[doc = "" ] |
9446 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9447 | pub const ALPHA_BITS: u32 = 3413u64 as u32; |
9448 | #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const." ] |
9449 | #[doc = "" ] |
9450 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9451 | pub const DEPTH_BITS: u32 = 3414u64 as u32; |
9452 | #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const." ] |
9453 | #[doc = "" ] |
9454 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9455 | pub const STENCIL_BITS: u32 = 3415u64 as u32; |
9456 | #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const." ] |
9457 | #[doc = "" ] |
9458 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9459 | pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32; |
9460 | #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const." ] |
9461 | #[doc = "" ] |
9462 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9463 | pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32; |
9464 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const." ] |
9465 | #[doc = "" ] |
9466 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9467 | pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32; |
9468 | #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const." ] |
9469 | #[doc = "" ] |
9470 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9471 | pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32; |
9472 | #[doc = "The `WebGL2RenderingContext.SAMPLES` const." ] |
9473 | #[doc = "" ] |
9474 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9475 | pub const SAMPLES: u32 = 32937u64 as u32; |
9476 | #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const." ] |
9477 | #[doc = "" ] |
9478 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9479 | pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32; |
9480 | #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const." ] |
9481 | #[doc = "" ] |
9482 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9483 | pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32; |
9484 | #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const." ] |
9485 | #[doc = "" ] |
9486 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9487 | pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32; |
9488 | #[doc = "The `WebGL2RenderingContext.DONT_CARE` const." ] |
9489 | #[doc = "" ] |
9490 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9491 | pub const DONT_CARE: u32 = 4352u64 as u32; |
9492 | #[doc = "The `WebGL2RenderingContext.FASTEST` const." ] |
9493 | #[doc = "" ] |
9494 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9495 | pub const FASTEST: u32 = 4353u64 as u32; |
9496 | #[doc = "The `WebGL2RenderingContext.NICEST` const." ] |
9497 | #[doc = "" ] |
9498 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9499 | pub const NICEST: u32 = 4354u64 as u32; |
9500 | #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const." ] |
9501 | #[doc = "" ] |
9502 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9503 | pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32; |
9504 | #[doc = "The `WebGL2RenderingContext.BYTE` const." ] |
9505 | #[doc = "" ] |
9506 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9507 | pub const BYTE: u32 = 5120u64 as u32; |
9508 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const." ] |
9509 | #[doc = "" ] |
9510 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9511 | pub const UNSIGNED_BYTE: u32 = 5121u64 as u32; |
9512 | #[doc = "The `WebGL2RenderingContext.SHORT` const." ] |
9513 | #[doc = "" ] |
9514 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9515 | pub const SHORT: u32 = 5122u64 as u32; |
9516 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const." ] |
9517 | #[doc = "" ] |
9518 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9519 | pub const UNSIGNED_SHORT: u32 = 5123u64 as u32; |
9520 | #[doc = "The `WebGL2RenderingContext.INT` const." ] |
9521 | #[doc = "" ] |
9522 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9523 | pub const INT: u32 = 5124u64 as u32; |
9524 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const." ] |
9525 | #[doc = "" ] |
9526 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9527 | pub const UNSIGNED_INT: u32 = 5125u64 as u32; |
9528 | #[doc = "The `WebGL2RenderingContext.FLOAT` const." ] |
9529 | #[doc = "" ] |
9530 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9531 | pub const FLOAT: u32 = 5126u64 as u32; |
9532 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const." ] |
9533 | #[doc = "" ] |
9534 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9535 | pub const DEPTH_COMPONENT: u32 = 6402u64 as u32; |
9536 | #[doc = "The `WebGL2RenderingContext.ALPHA` const." ] |
9537 | #[doc = "" ] |
9538 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9539 | pub const ALPHA: u32 = 6406u64 as u32; |
9540 | #[doc = "The `WebGL2RenderingContext.RGB` const." ] |
9541 | #[doc = "" ] |
9542 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9543 | pub const RGB: u32 = 6407u64 as u32; |
9544 | #[doc = "The `WebGL2RenderingContext.RGBA` const." ] |
9545 | #[doc = "" ] |
9546 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9547 | pub const RGBA: u32 = 6408u64 as u32; |
9548 | #[doc = "The `WebGL2RenderingContext.LUMINANCE` const." ] |
9549 | #[doc = "" ] |
9550 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9551 | pub const LUMINANCE: u32 = 6409u64 as u32; |
9552 | #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const." ] |
9553 | #[doc = "" ] |
9554 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9555 | pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32; |
9556 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const." ] |
9557 | #[doc = "" ] |
9558 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9559 | pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32; |
9560 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const." ] |
9561 | #[doc = "" ] |
9562 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9563 | pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32; |
9564 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const." ] |
9565 | #[doc = "" ] |
9566 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9567 | pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32; |
9568 | #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const." ] |
9569 | #[doc = "" ] |
9570 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9571 | pub const FRAGMENT_SHADER: u32 = 35632u64 as u32; |
9572 | #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const." ] |
9573 | #[doc = "" ] |
9574 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9575 | pub const VERTEX_SHADER: u32 = 35633u64 as u32; |
9576 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const." ] |
9577 | #[doc = "" ] |
9578 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9579 | pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32; |
9580 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const." ] |
9581 | #[doc = "" ] |
9582 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9583 | pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32; |
9584 | #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const." ] |
9585 | #[doc = "" ] |
9586 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9587 | pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32; |
9588 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const." ] |
9589 | #[doc = "" ] |
9590 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9591 | pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32; |
9592 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const." ] |
9593 | #[doc = "" ] |
9594 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9595 | pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32; |
9596 | #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const." ] |
9597 | #[doc = "" ] |
9598 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9599 | pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32; |
9600 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const." ] |
9601 | #[doc = "" ] |
9602 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9603 | pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32; |
9604 | #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const." ] |
9605 | #[doc = "" ] |
9606 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9607 | pub const SHADER_TYPE: u32 = 35663u64 as u32; |
9608 | #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const." ] |
9609 | #[doc = "" ] |
9610 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9611 | pub const DELETE_STATUS: u32 = 35712u64 as u32; |
9612 | #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const." ] |
9613 | #[doc = "" ] |
9614 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9615 | pub const LINK_STATUS: u32 = 35714u64 as u32; |
9616 | #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const." ] |
9617 | #[doc = "" ] |
9618 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9619 | pub const VALIDATE_STATUS: u32 = 35715u64 as u32; |
9620 | #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const." ] |
9621 | #[doc = "" ] |
9622 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9623 | pub const ATTACHED_SHADERS: u32 = 35717u64 as u32; |
9624 | #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const." ] |
9625 | #[doc = "" ] |
9626 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9627 | pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32; |
9628 | #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const." ] |
9629 | #[doc = "" ] |
9630 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9631 | pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32; |
9632 | #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const." ] |
9633 | #[doc = "" ] |
9634 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9635 | pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32; |
9636 | #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const." ] |
9637 | #[doc = "" ] |
9638 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9639 | pub const CURRENT_PROGRAM: u32 = 35725u64 as u32; |
9640 | #[doc = "The `WebGL2RenderingContext.NEVER` const." ] |
9641 | #[doc = "" ] |
9642 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9643 | pub const NEVER: u32 = 512u64 as u32; |
9644 | #[doc = "The `WebGL2RenderingContext.LESS` const." ] |
9645 | #[doc = "" ] |
9646 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9647 | pub const LESS: u32 = 513u64 as u32; |
9648 | #[doc = "The `WebGL2RenderingContext.EQUAL` const." ] |
9649 | #[doc = "" ] |
9650 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9651 | pub const EQUAL: u32 = 514u64 as u32; |
9652 | #[doc = "The `WebGL2RenderingContext.LEQUAL` const." ] |
9653 | #[doc = "" ] |
9654 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9655 | pub const LEQUAL: u32 = 515u64 as u32; |
9656 | #[doc = "The `WebGL2RenderingContext.GREATER` const." ] |
9657 | #[doc = "" ] |
9658 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9659 | pub const GREATER: u32 = 516u64 as u32; |
9660 | #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const." ] |
9661 | #[doc = "" ] |
9662 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9663 | pub const NOTEQUAL: u32 = 517u64 as u32; |
9664 | #[doc = "The `WebGL2RenderingContext.GEQUAL` const." ] |
9665 | #[doc = "" ] |
9666 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9667 | pub const GEQUAL: u32 = 518u64 as u32; |
9668 | #[doc = "The `WebGL2RenderingContext.ALWAYS` const." ] |
9669 | #[doc = "" ] |
9670 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9671 | pub const ALWAYS: u32 = 519u64 as u32; |
9672 | #[doc = "The `WebGL2RenderingContext.KEEP` const." ] |
9673 | #[doc = "" ] |
9674 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9675 | pub const KEEP: u32 = 7680u64 as u32; |
9676 | #[doc = "The `WebGL2RenderingContext.REPLACE` const." ] |
9677 | #[doc = "" ] |
9678 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9679 | pub const REPLACE: u32 = 7681u64 as u32; |
9680 | #[doc = "The `WebGL2RenderingContext.INCR` const." ] |
9681 | #[doc = "" ] |
9682 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9683 | pub const INCR: u32 = 7682u64 as u32; |
9684 | #[doc = "The `WebGL2RenderingContext.DECR` const." ] |
9685 | #[doc = "" ] |
9686 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9687 | pub const DECR: u32 = 7683u64 as u32; |
9688 | #[doc = "The `WebGL2RenderingContext.INVERT` const." ] |
9689 | #[doc = "" ] |
9690 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9691 | pub const INVERT: u32 = 5386u64 as u32; |
9692 | #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const." ] |
9693 | #[doc = "" ] |
9694 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9695 | pub const INCR_WRAP: u32 = 34055u64 as u32; |
9696 | #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const." ] |
9697 | #[doc = "" ] |
9698 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9699 | pub const DECR_WRAP: u32 = 34056u64 as u32; |
9700 | #[doc = "The `WebGL2RenderingContext.VENDOR` const." ] |
9701 | #[doc = "" ] |
9702 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9703 | pub const VENDOR: u32 = 7936u64 as u32; |
9704 | #[doc = "The `WebGL2RenderingContext.RENDERER` const." ] |
9705 | #[doc = "" ] |
9706 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9707 | pub const RENDERER: u32 = 7937u64 as u32; |
9708 | #[doc = "The `WebGL2RenderingContext.VERSION` const." ] |
9709 | #[doc = "" ] |
9710 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9711 | pub const VERSION: u32 = 7938u64 as u32; |
9712 | #[doc = "The `WebGL2RenderingContext.NEAREST` const." ] |
9713 | #[doc = "" ] |
9714 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9715 | pub const NEAREST: u32 = 9728u64 as u32; |
9716 | #[doc = "The `WebGL2RenderingContext.LINEAR` const." ] |
9717 | #[doc = "" ] |
9718 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9719 | pub const LINEAR: u32 = 9729u64 as u32; |
9720 | #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const." ] |
9721 | #[doc = "" ] |
9722 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9723 | pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32; |
9724 | #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const." ] |
9725 | #[doc = "" ] |
9726 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9727 | pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32; |
9728 | #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const." ] |
9729 | #[doc = "" ] |
9730 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9731 | pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32; |
9732 | #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const." ] |
9733 | #[doc = "" ] |
9734 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9735 | pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32; |
9736 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const." ] |
9737 | #[doc = "" ] |
9738 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9739 | pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32; |
9740 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const." ] |
9741 | #[doc = "" ] |
9742 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9743 | pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32; |
9744 | #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const." ] |
9745 | #[doc = "" ] |
9746 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9747 | pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32; |
9748 | #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const." ] |
9749 | #[doc = "" ] |
9750 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9751 | pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32; |
9752 | #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const." ] |
9753 | #[doc = "" ] |
9754 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9755 | pub const TEXTURE_2D: u32 = 3553u64 as u32; |
9756 | #[doc = "The `WebGL2RenderingContext.TEXTURE` const." ] |
9757 | #[doc = "" ] |
9758 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9759 | pub const TEXTURE: u32 = 5890u64 as u32; |
9760 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const." ] |
9761 | #[doc = "" ] |
9762 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9763 | pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32; |
9764 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const." ] |
9765 | #[doc = "" ] |
9766 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9767 | pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32; |
9768 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const." ] |
9769 | #[doc = "" ] |
9770 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9771 | pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32; |
9772 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const." ] |
9773 | #[doc = "" ] |
9774 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9775 | pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32; |
9776 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const." ] |
9777 | #[doc = "" ] |
9778 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9779 | pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32; |
9780 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const." ] |
9781 | #[doc = "" ] |
9782 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9783 | pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32; |
9784 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const." ] |
9785 | #[doc = "" ] |
9786 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9787 | pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32; |
9788 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const." ] |
9789 | #[doc = "" ] |
9790 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9791 | pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32; |
9792 | #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const." ] |
9793 | #[doc = "" ] |
9794 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9795 | pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32; |
9796 | #[doc = "The `WebGL2RenderingContext.TEXTURE0` const." ] |
9797 | #[doc = "" ] |
9798 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9799 | pub const TEXTURE0: u32 = 33984u64 as u32; |
9800 | #[doc = "The `WebGL2RenderingContext.TEXTURE1` const." ] |
9801 | #[doc = "" ] |
9802 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9803 | pub const TEXTURE1: u32 = 33985u64 as u32; |
9804 | #[doc = "The `WebGL2RenderingContext.TEXTURE2` const." ] |
9805 | #[doc = "" ] |
9806 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9807 | pub const TEXTURE2: u32 = 33986u64 as u32; |
9808 | #[doc = "The `WebGL2RenderingContext.TEXTURE3` const." ] |
9809 | #[doc = "" ] |
9810 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9811 | pub const TEXTURE3: u32 = 33987u64 as u32; |
9812 | #[doc = "The `WebGL2RenderingContext.TEXTURE4` const." ] |
9813 | #[doc = "" ] |
9814 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9815 | pub const TEXTURE4: u32 = 33988u64 as u32; |
9816 | #[doc = "The `WebGL2RenderingContext.TEXTURE5` const." ] |
9817 | #[doc = "" ] |
9818 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9819 | pub const TEXTURE5: u32 = 33989u64 as u32; |
9820 | #[doc = "The `WebGL2RenderingContext.TEXTURE6` const." ] |
9821 | #[doc = "" ] |
9822 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9823 | pub const TEXTURE6: u32 = 33990u64 as u32; |
9824 | #[doc = "The `WebGL2RenderingContext.TEXTURE7` const." ] |
9825 | #[doc = "" ] |
9826 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9827 | pub const TEXTURE7: u32 = 33991u64 as u32; |
9828 | #[doc = "The `WebGL2RenderingContext.TEXTURE8` const." ] |
9829 | #[doc = "" ] |
9830 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9831 | pub const TEXTURE8: u32 = 33992u64 as u32; |
9832 | #[doc = "The `WebGL2RenderingContext.TEXTURE9` const." ] |
9833 | #[doc = "" ] |
9834 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9835 | pub const TEXTURE9: u32 = 33993u64 as u32; |
9836 | #[doc = "The `WebGL2RenderingContext.TEXTURE10` const." ] |
9837 | #[doc = "" ] |
9838 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9839 | pub const TEXTURE10: u32 = 33994u64 as u32; |
9840 | #[doc = "The `WebGL2RenderingContext.TEXTURE11` const." ] |
9841 | #[doc = "" ] |
9842 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9843 | pub const TEXTURE11: u32 = 33995u64 as u32; |
9844 | #[doc = "The `WebGL2RenderingContext.TEXTURE12` const." ] |
9845 | #[doc = "" ] |
9846 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9847 | pub const TEXTURE12: u32 = 33996u64 as u32; |
9848 | #[doc = "The `WebGL2RenderingContext.TEXTURE13` const." ] |
9849 | #[doc = "" ] |
9850 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9851 | pub const TEXTURE13: u32 = 33997u64 as u32; |
9852 | #[doc = "The `WebGL2RenderingContext.TEXTURE14` const." ] |
9853 | #[doc = "" ] |
9854 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9855 | pub const TEXTURE14: u32 = 33998u64 as u32; |
9856 | #[doc = "The `WebGL2RenderingContext.TEXTURE15` const." ] |
9857 | #[doc = "" ] |
9858 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9859 | pub const TEXTURE15: u32 = 33999u64 as u32; |
9860 | #[doc = "The `WebGL2RenderingContext.TEXTURE16` const." ] |
9861 | #[doc = "" ] |
9862 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9863 | pub const TEXTURE16: u32 = 34000u64 as u32; |
9864 | #[doc = "The `WebGL2RenderingContext.TEXTURE17` const." ] |
9865 | #[doc = "" ] |
9866 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9867 | pub const TEXTURE17: u32 = 34001u64 as u32; |
9868 | #[doc = "The `WebGL2RenderingContext.TEXTURE18` const." ] |
9869 | #[doc = "" ] |
9870 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9871 | pub const TEXTURE18: u32 = 34002u64 as u32; |
9872 | #[doc = "The `WebGL2RenderingContext.TEXTURE19` const." ] |
9873 | #[doc = "" ] |
9874 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9875 | pub const TEXTURE19: u32 = 34003u64 as u32; |
9876 | #[doc = "The `WebGL2RenderingContext.TEXTURE20` const." ] |
9877 | #[doc = "" ] |
9878 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9879 | pub const TEXTURE20: u32 = 34004u64 as u32; |
9880 | #[doc = "The `WebGL2RenderingContext.TEXTURE21` const." ] |
9881 | #[doc = "" ] |
9882 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9883 | pub const TEXTURE21: u32 = 34005u64 as u32; |
9884 | #[doc = "The `WebGL2RenderingContext.TEXTURE22` const." ] |
9885 | #[doc = "" ] |
9886 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9887 | pub const TEXTURE22: u32 = 34006u64 as u32; |
9888 | #[doc = "The `WebGL2RenderingContext.TEXTURE23` const." ] |
9889 | #[doc = "" ] |
9890 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9891 | pub const TEXTURE23: u32 = 34007u64 as u32; |
9892 | #[doc = "The `WebGL2RenderingContext.TEXTURE24` const." ] |
9893 | #[doc = "" ] |
9894 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9895 | pub const TEXTURE24: u32 = 34008u64 as u32; |
9896 | #[doc = "The `WebGL2RenderingContext.TEXTURE25` const." ] |
9897 | #[doc = "" ] |
9898 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9899 | pub const TEXTURE25: u32 = 34009u64 as u32; |
9900 | #[doc = "The `WebGL2RenderingContext.TEXTURE26` const." ] |
9901 | #[doc = "" ] |
9902 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9903 | pub const TEXTURE26: u32 = 34010u64 as u32; |
9904 | #[doc = "The `WebGL2RenderingContext.TEXTURE27` const." ] |
9905 | #[doc = "" ] |
9906 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9907 | pub const TEXTURE27: u32 = 34011u64 as u32; |
9908 | #[doc = "The `WebGL2RenderingContext.TEXTURE28` const." ] |
9909 | #[doc = "" ] |
9910 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9911 | pub const TEXTURE28: u32 = 34012u64 as u32; |
9912 | #[doc = "The `WebGL2RenderingContext.TEXTURE29` const." ] |
9913 | #[doc = "" ] |
9914 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9915 | pub const TEXTURE29: u32 = 34013u64 as u32; |
9916 | #[doc = "The `WebGL2RenderingContext.TEXTURE30` const." ] |
9917 | #[doc = "" ] |
9918 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9919 | pub const TEXTURE30: u32 = 34014u64 as u32; |
9920 | #[doc = "The `WebGL2RenderingContext.TEXTURE31` const." ] |
9921 | #[doc = "" ] |
9922 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9923 | pub const TEXTURE31: u32 = 34015u64 as u32; |
9924 | #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const." ] |
9925 | #[doc = "" ] |
9926 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9927 | pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32; |
9928 | #[doc = "The `WebGL2RenderingContext.REPEAT` const." ] |
9929 | #[doc = "" ] |
9930 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9931 | pub const REPEAT: u32 = 10497u64 as u32; |
9932 | #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const." ] |
9933 | #[doc = "" ] |
9934 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9935 | pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32; |
9936 | #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const." ] |
9937 | #[doc = "" ] |
9938 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9939 | pub const MIRRORED_REPEAT: u32 = 33648u64 as u32; |
9940 | #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const." ] |
9941 | #[doc = "" ] |
9942 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9943 | pub const FLOAT_VEC2: u32 = 35664u64 as u32; |
9944 | #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const." ] |
9945 | #[doc = "" ] |
9946 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9947 | pub const FLOAT_VEC3: u32 = 35665u64 as u32; |
9948 | #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const." ] |
9949 | #[doc = "" ] |
9950 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9951 | pub const FLOAT_VEC4: u32 = 35666u64 as u32; |
9952 | #[doc = "The `WebGL2RenderingContext.INT_VEC2` const." ] |
9953 | #[doc = "" ] |
9954 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9955 | pub const INT_VEC2: u32 = 35667u64 as u32; |
9956 | #[doc = "The `WebGL2RenderingContext.INT_VEC3` const." ] |
9957 | #[doc = "" ] |
9958 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9959 | pub const INT_VEC3: u32 = 35668u64 as u32; |
9960 | #[doc = "The `WebGL2RenderingContext.INT_VEC4` const." ] |
9961 | #[doc = "" ] |
9962 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9963 | pub const INT_VEC4: u32 = 35669u64 as u32; |
9964 | #[doc = "The `WebGL2RenderingContext.BOOL` const." ] |
9965 | #[doc = "" ] |
9966 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9967 | pub const BOOL: u32 = 35670u64 as u32; |
9968 | #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const." ] |
9969 | #[doc = "" ] |
9970 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9971 | pub const BOOL_VEC2: u32 = 35671u64 as u32; |
9972 | #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const." ] |
9973 | #[doc = "" ] |
9974 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9975 | pub const BOOL_VEC3: u32 = 35672u64 as u32; |
9976 | #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const." ] |
9977 | #[doc = "" ] |
9978 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9979 | pub const BOOL_VEC4: u32 = 35673u64 as u32; |
9980 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const." ] |
9981 | #[doc = "" ] |
9982 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9983 | pub const FLOAT_MAT2: u32 = 35674u64 as u32; |
9984 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const." ] |
9985 | #[doc = "" ] |
9986 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9987 | pub const FLOAT_MAT3: u32 = 35675u64 as u32; |
9988 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const." ] |
9989 | #[doc = "" ] |
9990 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9991 | pub const FLOAT_MAT4: u32 = 35676u64 as u32; |
9992 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const." ] |
9993 | #[doc = "" ] |
9994 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9995 | pub const SAMPLER_2D: u32 = 35678u64 as u32; |
9996 | #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const." ] |
9997 | #[doc = "" ] |
9998 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
9999 | pub const SAMPLER_CUBE: u32 = 35680u64 as u32; |
10000 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const." ] |
10001 | #[doc = "" ] |
10002 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10003 | pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32; |
10004 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const." ] |
10005 | #[doc = "" ] |
10006 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10007 | pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32; |
10008 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const." ] |
10009 | #[doc = "" ] |
10010 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10011 | pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32; |
10012 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const." ] |
10013 | #[doc = "" ] |
10014 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10015 | pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32; |
10016 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const." ] |
10017 | #[doc = "" ] |
10018 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10019 | pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32; |
10020 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const." ] |
10021 | #[doc = "" ] |
10022 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10023 | pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32; |
10024 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const." ] |
10025 | #[doc = "" ] |
10026 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10027 | pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32; |
10028 | #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const." ] |
10029 | #[doc = "" ] |
10030 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10031 | pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32; |
10032 | #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const." ] |
10033 | #[doc = "" ] |
10034 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10035 | pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32; |
10036 | #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const." ] |
10037 | #[doc = "" ] |
10038 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10039 | pub const COMPILE_STATUS: u32 = 35713u64 as u32; |
10040 | #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const." ] |
10041 | #[doc = "" ] |
10042 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10043 | pub const LOW_FLOAT: u32 = 36336u64 as u32; |
10044 | #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const." ] |
10045 | #[doc = "" ] |
10046 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10047 | pub const MEDIUM_FLOAT: u32 = 36337u64 as u32; |
10048 | #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const." ] |
10049 | #[doc = "" ] |
10050 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10051 | pub const HIGH_FLOAT: u32 = 36338u64 as u32; |
10052 | #[doc = "The `WebGL2RenderingContext.LOW_INT` const." ] |
10053 | #[doc = "" ] |
10054 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10055 | pub const LOW_INT: u32 = 36339u64 as u32; |
10056 | #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const." ] |
10057 | #[doc = "" ] |
10058 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10059 | pub const MEDIUM_INT: u32 = 36340u64 as u32; |
10060 | #[doc = "The `WebGL2RenderingContext.HIGH_INT` const." ] |
10061 | #[doc = "" ] |
10062 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10063 | pub const HIGH_INT: u32 = 36341u64 as u32; |
10064 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const." ] |
10065 | #[doc = "" ] |
10066 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10067 | pub const FRAMEBUFFER: u32 = 36160u64 as u32; |
10068 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const." ] |
10069 | #[doc = "" ] |
10070 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10071 | pub const RENDERBUFFER: u32 = 36161u64 as u32; |
10072 | #[doc = "The `WebGL2RenderingContext.RGBA4` const." ] |
10073 | #[doc = "" ] |
10074 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10075 | pub const RGBA4: u32 = 32854u64 as u32; |
10076 | #[doc = "The `WebGL2RenderingContext.RGB5_A1` const." ] |
10077 | #[doc = "" ] |
10078 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10079 | pub const RGB5_A1: u32 = 32855u64 as u32; |
10080 | #[doc = "The `WebGL2RenderingContext.RGB565` const." ] |
10081 | #[doc = "" ] |
10082 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10083 | pub const RGB565: u32 = 36194u64 as u32; |
10084 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const." ] |
10085 | #[doc = "" ] |
10086 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10087 | pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32; |
10088 | #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const." ] |
10089 | #[doc = "" ] |
10090 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10091 | pub const STENCIL_INDEX8: u32 = 36168u64 as u32; |
10092 | #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const." ] |
10093 | #[doc = "" ] |
10094 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10095 | pub const DEPTH_STENCIL: u32 = 34041u64 as u32; |
10096 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const." ] |
10097 | #[doc = "" ] |
10098 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10099 | pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32; |
10100 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const." ] |
10101 | #[doc = "" ] |
10102 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10103 | pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32; |
10104 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const." ] |
10105 | #[doc = "" ] |
10106 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10107 | pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32; |
10108 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const." ] |
10109 | #[doc = "" ] |
10110 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10111 | pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32; |
10112 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const." ] |
10113 | #[doc = "" ] |
10114 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10115 | pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32; |
10116 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const." ] |
10117 | #[doc = "" ] |
10118 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10119 | pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32; |
10120 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const." ] |
10121 | #[doc = "" ] |
10122 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10123 | pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32; |
10124 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const." ] |
10125 | #[doc = "" ] |
10126 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10127 | pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32; |
10128 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const." ] |
10129 | #[doc = "" ] |
10130 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10131 | pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32; |
10132 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const." ] |
10133 | #[doc = "" ] |
10134 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10135 | pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32; |
10136 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const." ] |
10137 | #[doc = "" ] |
10138 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10139 | pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32; |
10140 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const." ] |
10141 | #[doc = "" ] |
10142 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10143 | pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32; |
10144 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const." ] |
10145 | #[doc = "" ] |
10146 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10147 | pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32; |
10148 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const." ] |
10149 | #[doc = "" ] |
10150 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10151 | pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32; |
10152 | #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const." ] |
10153 | #[doc = "" ] |
10154 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10155 | pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32; |
10156 | #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const." ] |
10157 | #[doc = "" ] |
10158 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10159 | pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32; |
10160 | #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const." ] |
10161 | #[doc = "" ] |
10162 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10163 | pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32; |
10164 | #[doc = "The `WebGL2RenderingContext.NONE` const." ] |
10165 | #[doc = "" ] |
10166 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10167 | pub const NONE: u32 = 0i64 as u32; |
10168 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const." ] |
10169 | #[doc = "" ] |
10170 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10171 | pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32; |
10172 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const." ] |
10173 | #[doc = "" ] |
10174 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10175 | pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32; |
10176 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const." ] |
10177 | #[doc = "" ] |
10178 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10179 | pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32; |
10180 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const." ] |
10181 | #[doc = "" ] |
10182 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10183 | pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32; |
10184 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const." ] |
10185 | #[doc = "" ] |
10186 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10187 | pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32; |
10188 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const." ] |
10189 | #[doc = "" ] |
10190 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10191 | pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32; |
10192 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const." ] |
10193 | #[doc = "" ] |
10194 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10195 | pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32; |
10196 | #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const." ] |
10197 | #[doc = "" ] |
10198 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10199 | pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32; |
10200 | #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const." ] |
10201 | #[doc = "" ] |
10202 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10203 | pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32; |
10204 | #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const." ] |
10205 | #[doc = "" ] |
10206 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10207 | pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32; |
10208 | #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const." ] |
10209 | #[doc = "" ] |
10210 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10211 | pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32; |
10212 | #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const." ] |
10213 | #[doc = "" ] |
10214 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10215 | pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32; |
10216 | #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const." ] |
10217 | #[doc = "" ] |
10218 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10219 | pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32; |
10220 | #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const." ] |
10221 | #[doc = "" ] |
10222 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
10223 | pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32; |
10224 | } |
10225 | |