1 | #![allow (unused_imports)] |
2 | #![allow (clippy::all)] |
3 | use super::*; |
4 | use wasm_bindgen::prelude::*; |
5 | #[wasm_bindgen ] |
6 | extern "C" { |
7 | # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGL2RenderingContext , typescript_type = "WebGL2RenderingContext" )] |
8 | #[derive (Debug, Clone, PartialEq, Eq)] |
9 | #[doc = "The `WebGl2RenderingContext` class." ] |
10 | #[doc = "" ] |
11 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext)" ] |
12 | #[doc = "" ] |
13 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
14 | pub type WebGl2RenderingContext; |
15 | # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = canvas)] |
16 | #[doc = "Getter for the `canvas` field of this object." ] |
17 | #[doc = "" ] |
18 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)" ] |
19 | #[doc = "" ] |
20 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
21 | pub fn canvas(this: &WebGl2RenderingContext) -> Option<::js_sys::Object>; |
22 | # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferWidth)] |
23 | #[doc = "Getter for the `drawingBufferWidth` field of this object." ] |
24 | #[doc = "" ] |
25 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)" ] |
26 | #[doc = "" ] |
27 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
28 | pub fn drawing_buffer_width(this: &WebGl2RenderingContext) -> i32; |
29 | # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferHeight)] |
30 | #[doc = "Getter for the `drawingBufferHeight` field of this object." ] |
31 | #[doc = "" ] |
32 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)" ] |
33 | #[doc = "" ] |
34 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
35 | pub fn drawing_buffer_height(this: &WebGl2RenderingContext) -> i32; |
36 | #[cfg (feature = "WebGlQuery" )] |
37 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginQuery)] |
38 | #[doc = "The `beginQuery()` method." ] |
39 | #[doc = "" ] |
40 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)" ] |
41 | #[doc = "" ] |
42 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] |
43 | pub fn begin_query(this: &WebGl2RenderingContext, target: u32, query: &WebGlQuery); |
44 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginTransformFeedback)] |
45 | #[doc = "The `beginTransformFeedback()` method." ] |
46 | #[doc = "" ] |
47 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)" ] |
48 | #[doc = "" ] |
49 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
50 | pub fn begin_transform_feedback(this: &WebGl2RenderingContext, primitive_mode: u32); |
51 | #[cfg (feature = "WebGlBuffer" )] |
52 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferBase)] |
53 | #[doc = "The `bindBufferBase()` method." ] |
54 | #[doc = "" ] |
55 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)" ] |
56 | #[doc = "" ] |
57 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
58 | pub fn bind_buffer_base( |
59 | this: &WebGl2RenderingContext, |
60 | target: u32, |
61 | index: u32, |
62 | buffer: Option<&WebGlBuffer>, |
63 | ); |
64 | #[cfg (feature = "WebGlBuffer" )] |
65 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] |
66 | #[doc = "The `bindBufferRange()` method." ] |
67 | #[doc = "" ] |
68 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)" ] |
69 | #[doc = "" ] |
70 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
71 | pub fn bind_buffer_range_with_i32_and_i32( |
72 | this: &WebGl2RenderingContext, |
73 | target: u32, |
74 | index: u32, |
75 | buffer: Option<&WebGlBuffer>, |
76 | offset: i32, |
77 | size: i32, |
78 | ); |
79 | #[cfg (feature = "WebGlBuffer" )] |
80 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] |
81 | #[doc = "The `bindBufferRange()` method." ] |
82 | #[doc = "" ] |
83 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)" ] |
84 | #[doc = "" ] |
85 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
86 | pub fn bind_buffer_range_with_f64_and_i32( |
87 | this: &WebGl2RenderingContext, |
88 | target: u32, |
89 | index: u32, |
90 | buffer: Option<&WebGlBuffer>, |
91 | offset: f64, |
92 | size: i32, |
93 | ); |
94 | #[cfg (feature = "WebGlBuffer" )] |
95 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] |
96 | #[doc = "The `bindBufferRange()` method." ] |
97 | #[doc = "" ] |
98 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)" ] |
99 | #[doc = "" ] |
100 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
101 | pub fn bind_buffer_range_with_i32_and_f64( |
102 | this: &WebGl2RenderingContext, |
103 | target: u32, |
104 | index: u32, |
105 | buffer: Option<&WebGlBuffer>, |
106 | offset: i32, |
107 | size: f64, |
108 | ); |
109 | #[cfg (feature = "WebGlBuffer" )] |
110 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] |
111 | #[doc = "The `bindBufferRange()` method." ] |
112 | #[doc = "" ] |
113 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)" ] |
114 | #[doc = "" ] |
115 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
116 | pub fn bind_buffer_range_with_f64_and_f64( |
117 | this: &WebGl2RenderingContext, |
118 | target: u32, |
119 | index: u32, |
120 | buffer: Option<&WebGlBuffer>, |
121 | offset: f64, |
122 | size: f64, |
123 | ); |
124 | #[cfg (feature = "WebGlSampler" )] |
125 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindSampler)] |
126 | #[doc = "The `bindSampler()` method." ] |
127 | #[doc = "" ] |
128 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)" ] |
129 | #[doc = "" ] |
130 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
131 | pub fn bind_sampler(this: &WebGl2RenderingContext, unit: u32, sampler: Option<&WebGlSampler>); |
132 | #[cfg (feature = "WebGlTransformFeedback" )] |
133 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTransformFeedback)] |
134 | #[doc = "The `bindTransformFeedback()` method." ] |
135 | #[doc = "" ] |
136 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)" ] |
137 | #[doc = "" ] |
138 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] |
139 | pub fn bind_transform_feedback( |
140 | this: &WebGl2RenderingContext, |
141 | target: u32, |
142 | tf: Option<&WebGlTransformFeedback>, |
143 | ); |
144 | #[cfg (feature = "WebGlVertexArrayObject" )] |
145 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindVertexArray)] |
146 | #[doc = "The `bindVertexArray()` method." ] |
147 | #[doc = "" ] |
148 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)" ] |
149 | #[doc = "" ] |
150 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] |
151 | pub fn bind_vertex_array(this: &WebGl2RenderingContext, array: Option<&WebGlVertexArrayObject>); |
152 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blitFramebuffer)] |
153 | #[doc = "The `blitFramebuffer()` method." ] |
154 | #[doc = "" ] |
155 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)" ] |
156 | #[doc = "" ] |
157 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
158 | pub fn blit_framebuffer( |
159 | this: &WebGl2RenderingContext, |
160 | src_x0: i32, |
161 | src_y0: i32, |
162 | src_x1: i32, |
163 | src_y1: i32, |
164 | dst_x0: i32, |
165 | dst_y0: i32, |
166 | dst_x1: i32, |
167 | dst_y1: i32, |
168 | mask: u32, |
169 | filter: u32, |
170 | ); |
171 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
172 | #[doc = "The `bufferData()` method." ] |
173 | #[doc = "" ] |
174 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
175 | #[doc = "" ] |
176 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
177 | pub fn buffer_data_with_i32(this: &WebGl2RenderingContext, target: u32, size: i32, usage: u32); |
178 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
179 | #[doc = "The `bufferData()` method." ] |
180 | #[doc = "" ] |
181 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
182 | #[doc = "" ] |
183 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
184 | pub fn buffer_data_with_f64(this: &WebGl2RenderingContext, target: u32, size: f64, usage: u32); |
185 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
186 | #[doc = "The `bufferData()` method." ] |
187 | #[doc = "" ] |
188 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
189 | #[doc = "" ] |
190 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
191 | pub fn buffer_data_with_opt_array_buffer( |
192 | this: &WebGl2RenderingContext, |
193 | target: u32, |
194 | src_data: Option<&::js_sys::ArrayBuffer>, |
195 | usage: u32, |
196 | ); |
197 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
198 | #[doc = "The `bufferData()` method." ] |
199 | #[doc = "" ] |
200 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
201 | #[doc = "" ] |
202 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
203 | pub fn buffer_data_with_array_buffer_view( |
204 | this: &WebGl2RenderingContext, |
205 | target: u32, |
206 | src_data: &::js_sys::Object, |
207 | usage: u32, |
208 | ); |
209 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
210 | #[doc = "The `bufferData()` method." ] |
211 | #[doc = "" ] |
212 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
213 | #[doc = "" ] |
214 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
215 | pub fn buffer_data_with_u8_array( |
216 | this: &WebGl2RenderingContext, |
217 | target: u32, |
218 | src_data: &[u8], |
219 | usage: u32, |
220 | ); |
221 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
222 | #[doc = "The `bufferData()` method." ] |
223 | #[doc = "" ] |
224 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
225 | #[doc = "" ] |
226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
227 | pub fn buffer_data_with_array_buffer_view_and_src_offset( |
228 | this: &WebGl2RenderingContext, |
229 | target: u32, |
230 | src_data: &::js_sys::Object, |
231 | usage: u32, |
232 | src_offset: u32, |
233 | ); |
234 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
235 | #[doc = "The `bufferData()` method." ] |
236 | #[doc = "" ] |
237 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
238 | #[doc = "" ] |
239 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
240 | pub fn buffer_data_with_u8_array_and_src_offset( |
241 | this: &WebGl2RenderingContext, |
242 | target: u32, |
243 | src_data: &[u8], |
244 | usage: u32, |
245 | src_offset: u32, |
246 | ); |
247 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
248 | #[doc = "The `bufferData()` method." ] |
249 | #[doc = "" ] |
250 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
251 | #[doc = "" ] |
252 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
253 | pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length( |
254 | this: &WebGl2RenderingContext, |
255 | target: u32, |
256 | src_data: &::js_sys::Object, |
257 | usage: u32, |
258 | src_offset: u32, |
259 | length: u32, |
260 | ); |
261 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] |
262 | #[doc = "The `bufferData()` method." ] |
263 | #[doc = "" ] |
264 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)" ] |
265 | #[doc = "" ] |
266 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
267 | pub fn buffer_data_with_u8_array_and_src_offset_and_length( |
268 | this: &WebGl2RenderingContext, |
269 | target: u32, |
270 | src_data: &[u8], |
271 | usage: u32, |
272 | src_offset: u32, |
273 | length: u32, |
274 | ); |
275 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
276 | #[doc = "The `bufferSubData()` method." ] |
277 | #[doc = "" ] |
278 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
279 | #[doc = "" ] |
280 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
281 | pub fn buffer_sub_data_with_i32_and_array_buffer( |
282 | this: &WebGl2RenderingContext, |
283 | target: u32, |
284 | offset: i32, |
285 | src_data: &::js_sys::ArrayBuffer, |
286 | ); |
287 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
288 | #[doc = "The `bufferSubData()` method." ] |
289 | #[doc = "" ] |
290 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
291 | #[doc = "" ] |
292 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
293 | pub fn buffer_sub_data_with_f64_and_array_buffer( |
294 | this: &WebGl2RenderingContext, |
295 | target: u32, |
296 | offset: f64, |
297 | src_data: &::js_sys::ArrayBuffer, |
298 | ); |
299 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
300 | #[doc = "The `bufferSubData()` method." ] |
301 | #[doc = "" ] |
302 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
303 | #[doc = "" ] |
304 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
305 | pub fn buffer_sub_data_with_i32_and_array_buffer_view( |
306 | this: &WebGl2RenderingContext, |
307 | target: u32, |
308 | offset: i32, |
309 | src_data: &::js_sys::Object, |
310 | ); |
311 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
312 | #[doc = "The `bufferSubData()` method." ] |
313 | #[doc = "" ] |
314 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
315 | #[doc = "" ] |
316 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
317 | pub fn buffer_sub_data_with_f64_and_array_buffer_view( |
318 | this: &WebGl2RenderingContext, |
319 | target: u32, |
320 | offset: f64, |
321 | src_data: &::js_sys::Object, |
322 | ); |
323 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
324 | #[doc = "The `bufferSubData()` method." ] |
325 | #[doc = "" ] |
326 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
327 | #[doc = "" ] |
328 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
329 | pub fn buffer_sub_data_with_i32_and_u8_array( |
330 | this: &WebGl2RenderingContext, |
331 | target: u32, |
332 | offset: i32, |
333 | src_data: &[u8], |
334 | ); |
335 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
336 | #[doc = "The `bufferSubData()` method." ] |
337 | #[doc = "" ] |
338 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
339 | #[doc = "" ] |
340 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
341 | pub fn buffer_sub_data_with_f64_and_u8_array( |
342 | this: &WebGl2RenderingContext, |
343 | target: u32, |
344 | offset: f64, |
345 | src_data: &[u8], |
346 | ); |
347 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
348 | #[doc = "The `bufferSubData()` method." ] |
349 | #[doc = "" ] |
350 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
351 | #[doc = "" ] |
352 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
353 | pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset( |
354 | this: &WebGl2RenderingContext, |
355 | target: u32, |
356 | dst_byte_offset: i32, |
357 | src_data: &::js_sys::Object, |
358 | src_offset: u32, |
359 | ); |
360 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
361 | #[doc = "The `bufferSubData()` method." ] |
362 | #[doc = "" ] |
363 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
364 | #[doc = "" ] |
365 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
366 | pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset( |
367 | this: &WebGl2RenderingContext, |
368 | target: u32, |
369 | dst_byte_offset: f64, |
370 | src_data: &::js_sys::Object, |
371 | src_offset: u32, |
372 | ); |
373 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
374 | #[doc = "The `bufferSubData()` method." ] |
375 | #[doc = "" ] |
376 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
377 | #[doc = "" ] |
378 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
379 | pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset( |
380 | this: &WebGl2RenderingContext, |
381 | target: u32, |
382 | dst_byte_offset: i32, |
383 | src_data: &[u8], |
384 | src_offset: u32, |
385 | ); |
386 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
387 | #[doc = "The `bufferSubData()` method." ] |
388 | #[doc = "" ] |
389 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
390 | #[doc = "" ] |
391 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
392 | pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset( |
393 | this: &WebGl2RenderingContext, |
394 | target: u32, |
395 | dst_byte_offset: f64, |
396 | src_data: &[u8], |
397 | src_offset: u32, |
398 | ); |
399 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
400 | #[doc = "The `bufferSubData()` method." ] |
401 | #[doc = "" ] |
402 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
403 | #[doc = "" ] |
404 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
405 | pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length( |
406 | this: &WebGl2RenderingContext, |
407 | target: u32, |
408 | dst_byte_offset: i32, |
409 | src_data: &::js_sys::Object, |
410 | src_offset: u32, |
411 | length: u32, |
412 | ); |
413 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
414 | #[doc = "The `bufferSubData()` method." ] |
415 | #[doc = "" ] |
416 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
417 | #[doc = "" ] |
418 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
419 | pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length( |
420 | this: &WebGl2RenderingContext, |
421 | target: u32, |
422 | dst_byte_offset: f64, |
423 | src_data: &::js_sys::Object, |
424 | src_offset: u32, |
425 | length: u32, |
426 | ); |
427 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
428 | #[doc = "The `bufferSubData()` method." ] |
429 | #[doc = "" ] |
430 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
431 | #[doc = "" ] |
432 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
433 | pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length( |
434 | this: &WebGl2RenderingContext, |
435 | target: u32, |
436 | dst_byte_offset: i32, |
437 | src_data: &[u8], |
438 | src_offset: u32, |
439 | length: u32, |
440 | ); |
441 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] |
442 | #[doc = "The `bufferSubData()` method." ] |
443 | #[doc = "" ] |
444 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)" ] |
445 | #[doc = "" ] |
446 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
447 | pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length( |
448 | this: &WebGl2RenderingContext, |
449 | target: u32, |
450 | dst_byte_offset: f64, |
451 | src_data: &[u8], |
452 | src_offset: u32, |
453 | length: u32, |
454 | ); |
455 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfi)] |
456 | #[doc = "The `clearBufferfi()` method." ] |
457 | #[doc = "" ] |
458 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)" ] |
459 | #[doc = "" ] |
460 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
461 | pub fn clear_bufferfi( |
462 | this: &WebGl2RenderingContext, |
463 | buffer: u32, |
464 | drawbuffer: i32, |
465 | depth: f32, |
466 | stencil: i32, |
467 | ); |
468 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] |
469 | #[doc = "The `clearBufferfv()` method." ] |
470 | #[doc = "" ] |
471 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)" ] |
472 | #[doc = "" ] |
473 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
474 | pub fn clear_bufferfv_with_f32_array( |
475 | this: &WebGl2RenderingContext, |
476 | buffer: u32, |
477 | drawbuffer: i32, |
478 | values: &[f32], |
479 | ); |
480 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] |
481 | #[doc = "The `clearBufferfv()` method." ] |
482 | #[doc = "" ] |
483 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)" ] |
484 | #[doc = "" ] |
485 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
486 | pub fn clear_bufferfv_with_f32_sequence( |
487 | this: &WebGl2RenderingContext, |
488 | buffer: u32, |
489 | drawbuffer: i32, |
490 | values: &::wasm_bindgen::JsValue, |
491 | ); |
492 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] |
493 | #[doc = "The `clearBufferfv()` method." ] |
494 | #[doc = "" ] |
495 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)" ] |
496 | #[doc = "" ] |
497 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
498 | pub fn clear_bufferfv_with_f32_array_and_src_offset( |
499 | this: &WebGl2RenderingContext, |
500 | buffer: u32, |
501 | drawbuffer: i32, |
502 | values: &[f32], |
503 | src_offset: u32, |
504 | ); |
505 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] |
506 | #[doc = "The `clearBufferfv()` method." ] |
507 | #[doc = "" ] |
508 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)" ] |
509 | #[doc = "" ] |
510 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
511 | pub fn clear_bufferfv_with_f32_sequence_and_src_offset( |
512 | this: &WebGl2RenderingContext, |
513 | buffer: u32, |
514 | drawbuffer: i32, |
515 | values: &::wasm_bindgen::JsValue, |
516 | src_offset: u32, |
517 | ); |
518 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] |
519 | #[doc = "The `clearBufferiv()` method." ] |
520 | #[doc = "" ] |
521 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)" ] |
522 | #[doc = "" ] |
523 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
524 | pub fn clear_bufferiv_with_i32_array( |
525 | this: &WebGl2RenderingContext, |
526 | buffer: u32, |
527 | drawbuffer: i32, |
528 | values: &[i32], |
529 | ); |
530 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] |
531 | #[doc = "The `clearBufferiv()` method." ] |
532 | #[doc = "" ] |
533 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)" ] |
534 | #[doc = "" ] |
535 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
536 | pub fn clear_bufferiv_with_i32_sequence( |
537 | this: &WebGl2RenderingContext, |
538 | buffer: u32, |
539 | drawbuffer: i32, |
540 | values: &::wasm_bindgen::JsValue, |
541 | ); |
542 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] |
543 | #[doc = "The `clearBufferiv()` method." ] |
544 | #[doc = "" ] |
545 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)" ] |
546 | #[doc = "" ] |
547 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
548 | pub fn clear_bufferiv_with_i32_array_and_src_offset( |
549 | this: &WebGl2RenderingContext, |
550 | buffer: u32, |
551 | drawbuffer: i32, |
552 | values: &[i32], |
553 | src_offset: u32, |
554 | ); |
555 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] |
556 | #[doc = "The `clearBufferiv()` method." ] |
557 | #[doc = "" ] |
558 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)" ] |
559 | #[doc = "" ] |
560 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
561 | pub fn clear_bufferiv_with_i32_sequence_and_src_offset( |
562 | this: &WebGl2RenderingContext, |
563 | buffer: u32, |
564 | drawbuffer: i32, |
565 | values: &::wasm_bindgen::JsValue, |
566 | src_offset: u32, |
567 | ); |
568 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] |
569 | #[doc = "The `clearBufferuiv()` method." ] |
570 | #[doc = "" ] |
571 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)" ] |
572 | #[doc = "" ] |
573 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
574 | pub fn clear_bufferuiv_with_u32_array( |
575 | this: &WebGl2RenderingContext, |
576 | buffer: u32, |
577 | drawbuffer: i32, |
578 | values: &[u32], |
579 | ); |
580 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] |
581 | #[doc = "The `clearBufferuiv()` method." ] |
582 | #[doc = "" ] |
583 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)" ] |
584 | #[doc = "" ] |
585 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
586 | pub fn clear_bufferuiv_with_u32_sequence( |
587 | this: &WebGl2RenderingContext, |
588 | buffer: u32, |
589 | drawbuffer: i32, |
590 | values: &::wasm_bindgen::JsValue, |
591 | ); |
592 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] |
593 | #[doc = "The `clearBufferuiv()` method." ] |
594 | #[doc = "" ] |
595 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)" ] |
596 | #[doc = "" ] |
597 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
598 | pub fn clear_bufferuiv_with_u32_array_and_src_offset( |
599 | this: &WebGl2RenderingContext, |
600 | buffer: u32, |
601 | drawbuffer: i32, |
602 | values: &[u32], |
603 | src_offset: u32, |
604 | ); |
605 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] |
606 | #[doc = "The `clearBufferuiv()` method." ] |
607 | #[doc = "" ] |
608 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)" ] |
609 | #[doc = "" ] |
610 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
611 | pub fn clear_bufferuiv_with_u32_sequence_and_src_offset( |
612 | this: &WebGl2RenderingContext, |
613 | buffer: u32, |
614 | drawbuffer: i32, |
615 | values: &::wasm_bindgen::JsValue, |
616 | src_offset: u32, |
617 | ); |
618 | #[cfg (feature = "WebGlSync" )] |
619 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)] |
620 | #[doc = "The `clientWaitSync()` method." ] |
621 | #[doc = "" ] |
622 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)" ] |
623 | #[doc = "" ] |
624 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
625 | pub fn client_wait_sync_with_u32( |
626 | this: &WebGl2RenderingContext, |
627 | sync: &WebGlSync, |
628 | flags: u32, |
629 | timeout: u32, |
630 | ) -> u32; |
631 | #[cfg (feature = "WebGlSync" )] |
632 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)] |
633 | #[doc = "The `clientWaitSync()` method." ] |
634 | #[doc = "" ] |
635 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)" ] |
636 | #[doc = "" ] |
637 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
638 | pub fn client_wait_sync_with_f64( |
639 | this: &WebGl2RenderingContext, |
640 | sync: &WebGlSync, |
641 | flags: u32, |
642 | timeout: f64, |
643 | ) -> u32; |
644 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
645 | #[doc = "The `compressedTexImage2D()` method." ] |
646 | #[doc = "" ] |
647 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
648 | #[doc = "" ] |
649 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
650 | pub fn compressed_tex_image_2d_with_i32_and_i32( |
651 | this: &WebGl2RenderingContext, |
652 | target: u32, |
653 | level: i32, |
654 | internalformat: u32, |
655 | width: i32, |
656 | height: i32, |
657 | border: i32, |
658 | image_size: i32, |
659 | offset: i32, |
660 | ); |
661 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
662 | #[doc = "The `compressedTexImage2D()` method." ] |
663 | #[doc = "" ] |
664 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
665 | #[doc = "" ] |
666 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
667 | pub fn compressed_tex_image_2d_with_i32_and_f64( |
668 | this: &WebGl2RenderingContext, |
669 | target: u32, |
670 | level: i32, |
671 | internalformat: u32, |
672 | width: i32, |
673 | height: i32, |
674 | border: i32, |
675 | image_size: i32, |
676 | offset: f64, |
677 | ); |
678 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
679 | #[doc = "The `compressedTexImage2D()` method." ] |
680 | #[doc = "" ] |
681 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
682 | #[doc = "" ] |
683 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
684 | pub fn compressed_tex_image_2d_with_array_buffer_view( |
685 | this: &WebGl2RenderingContext, |
686 | target: u32, |
687 | level: i32, |
688 | internalformat: u32, |
689 | width: i32, |
690 | height: i32, |
691 | border: i32, |
692 | src_data: &::js_sys::Object, |
693 | ); |
694 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
695 | #[doc = "The `compressedTexImage2D()` method." ] |
696 | #[doc = "" ] |
697 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
698 | #[doc = "" ] |
699 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
700 | pub fn compressed_tex_image_2d_with_u8_array( |
701 | this: &WebGl2RenderingContext, |
702 | target: u32, |
703 | level: i32, |
704 | internalformat: u32, |
705 | width: i32, |
706 | height: i32, |
707 | border: i32, |
708 | src_data: &[u8], |
709 | ); |
710 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
711 | #[doc = "The `compressedTexImage2D()` method." ] |
712 | #[doc = "" ] |
713 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
714 | #[doc = "" ] |
715 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
716 | pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32( |
717 | this: &WebGl2RenderingContext, |
718 | target: u32, |
719 | level: i32, |
720 | internalformat: u32, |
721 | width: i32, |
722 | height: i32, |
723 | border: i32, |
724 | src_data: &::js_sys::Object, |
725 | src_offset: u32, |
726 | ); |
727 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
728 | #[doc = "The `compressedTexImage2D()` method." ] |
729 | #[doc = "" ] |
730 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
731 | #[doc = "" ] |
732 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
733 | pub fn compressed_tex_image_2d_with_u8_array_and_u32( |
734 | this: &WebGl2RenderingContext, |
735 | target: u32, |
736 | level: i32, |
737 | internalformat: u32, |
738 | width: i32, |
739 | height: i32, |
740 | border: i32, |
741 | src_data: &[u8], |
742 | src_offset: u32, |
743 | ); |
744 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
745 | #[doc = "The `compressedTexImage2D()` method." ] |
746 | #[doc = "" ] |
747 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
748 | #[doc = "" ] |
749 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
750 | pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override( |
751 | this: &WebGl2RenderingContext, |
752 | target: u32, |
753 | level: i32, |
754 | internalformat: u32, |
755 | width: i32, |
756 | height: i32, |
757 | border: i32, |
758 | src_data: &::js_sys::Object, |
759 | src_offset: u32, |
760 | src_length_override: u32, |
761 | ); |
762 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] |
763 | #[doc = "The `compressedTexImage2D()` method." ] |
764 | #[doc = "" ] |
765 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)" ] |
766 | #[doc = "" ] |
767 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
768 | pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override( |
769 | this: &WebGl2RenderingContext, |
770 | target: u32, |
771 | level: i32, |
772 | internalformat: u32, |
773 | width: i32, |
774 | height: i32, |
775 | border: i32, |
776 | src_data: &[u8], |
777 | src_offset: u32, |
778 | src_length_override: u32, |
779 | ); |
780 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
781 | #[doc = "The `compressedTexImage3D()` method." ] |
782 | #[doc = "" ] |
783 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
784 | #[doc = "" ] |
785 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
786 | pub fn compressed_tex_image_3d_with_i32_and_i32( |
787 | this: &WebGl2RenderingContext, |
788 | target: u32, |
789 | level: i32, |
790 | internalformat: u32, |
791 | width: i32, |
792 | height: i32, |
793 | depth: i32, |
794 | border: i32, |
795 | image_size: i32, |
796 | offset: i32, |
797 | ); |
798 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
799 | #[doc = "The `compressedTexImage3D()` method." ] |
800 | #[doc = "" ] |
801 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
802 | #[doc = "" ] |
803 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
804 | pub fn compressed_tex_image_3d_with_i32_and_f64( |
805 | this: &WebGl2RenderingContext, |
806 | target: u32, |
807 | level: i32, |
808 | internalformat: u32, |
809 | width: i32, |
810 | height: i32, |
811 | depth: i32, |
812 | border: i32, |
813 | image_size: i32, |
814 | offset: f64, |
815 | ); |
816 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
817 | #[doc = "The `compressedTexImage3D()` method." ] |
818 | #[doc = "" ] |
819 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
820 | #[doc = "" ] |
821 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
822 | pub fn compressed_tex_image_3d_with_array_buffer_view( |
823 | this: &WebGl2RenderingContext, |
824 | target: u32, |
825 | level: i32, |
826 | internalformat: u32, |
827 | width: i32, |
828 | height: i32, |
829 | depth: i32, |
830 | border: i32, |
831 | src_data: &::js_sys::Object, |
832 | ); |
833 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
834 | #[doc = "The `compressedTexImage3D()` method." ] |
835 | #[doc = "" ] |
836 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
837 | #[doc = "" ] |
838 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
839 | pub fn compressed_tex_image_3d_with_u8_array( |
840 | this: &WebGl2RenderingContext, |
841 | target: u32, |
842 | level: i32, |
843 | internalformat: u32, |
844 | width: i32, |
845 | height: i32, |
846 | depth: i32, |
847 | border: i32, |
848 | src_data: &[u8], |
849 | ); |
850 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
851 | #[doc = "The `compressedTexImage3D()` method." ] |
852 | #[doc = "" ] |
853 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
854 | #[doc = "" ] |
855 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
856 | pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32( |
857 | this: &WebGl2RenderingContext, |
858 | target: u32, |
859 | level: i32, |
860 | internalformat: u32, |
861 | width: i32, |
862 | height: i32, |
863 | depth: i32, |
864 | border: i32, |
865 | src_data: &::js_sys::Object, |
866 | src_offset: u32, |
867 | ); |
868 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
869 | #[doc = "The `compressedTexImage3D()` method." ] |
870 | #[doc = "" ] |
871 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
872 | #[doc = "" ] |
873 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
874 | pub fn compressed_tex_image_3d_with_u8_array_and_u32( |
875 | this: &WebGl2RenderingContext, |
876 | target: u32, |
877 | level: i32, |
878 | internalformat: u32, |
879 | width: i32, |
880 | height: i32, |
881 | depth: i32, |
882 | border: i32, |
883 | src_data: &[u8], |
884 | src_offset: u32, |
885 | ); |
886 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
887 | #[doc = "The `compressedTexImage3D()` method." ] |
888 | #[doc = "" ] |
889 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
890 | #[doc = "" ] |
891 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
892 | pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override( |
893 | this: &WebGl2RenderingContext, |
894 | target: u32, |
895 | level: i32, |
896 | internalformat: u32, |
897 | width: i32, |
898 | height: i32, |
899 | depth: i32, |
900 | border: i32, |
901 | src_data: &::js_sys::Object, |
902 | src_offset: u32, |
903 | src_length_override: u32, |
904 | ); |
905 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] |
906 | #[doc = "The `compressedTexImage3D()` method." ] |
907 | #[doc = "" ] |
908 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)" ] |
909 | #[doc = "" ] |
910 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
911 | pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override( |
912 | this: &WebGl2RenderingContext, |
913 | target: u32, |
914 | level: i32, |
915 | internalformat: u32, |
916 | width: i32, |
917 | height: i32, |
918 | depth: i32, |
919 | border: i32, |
920 | src_data: &[u8], |
921 | src_offset: u32, |
922 | src_length_override: u32, |
923 | ); |
924 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
925 | #[doc = "The `compressedTexSubImage2D()` method." ] |
926 | #[doc = "" ] |
927 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
928 | #[doc = "" ] |
929 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
930 | pub fn compressed_tex_sub_image_2d_with_i32_and_i32( |
931 | this: &WebGl2RenderingContext, |
932 | target: u32, |
933 | level: i32, |
934 | xoffset: i32, |
935 | yoffset: i32, |
936 | width: i32, |
937 | height: i32, |
938 | format: u32, |
939 | image_size: i32, |
940 | offset: i32, |
941 | ); |
942 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
943 | #[doc = "The `compressedTexSubImage2D()` method." ] |
944 | #[doc = "" ] |
945 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
946 | #[doc = "" ] |
947 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
948 | pub fn compressed_tex_sub_image_2d_with_i32_and_f64( |
949 | this: &WebGl2RenderingContext, |
950 | target: u32, |
951 | level: i32, |
952 | xoffset: i32, |
953 | yoffset: i32, |
954 | width: i32, |
955 | height: i32, |
956 | format: u32, |
957 | image_size: i32, |
958 | offset: f64, |
959 | ); |
960 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
961 | #[doc = "The `compressedTexSubImage2D()` method." ] |
962 | #[doc = "" ] |
963 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
964 | #[doc = "" ] |
965 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
966 | pub fn compressed_tex_sub_image_2d_with_array_buffer_view( |
967 | this: &WebGl2RenderingContext, |
968 | target: u32, |
969 | level: i32, |
970 | xoffset: i32, |
971 | yoffset: i32, |
972 | width: i32, |
973 | height: i32, |
974 | format: u32, |
975 | src_data: &::js_sys::Object, |
976 | ); |
977 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
978 | #[doc = "The `compressedTexSubImage2D()` method." ] |
979 | #[doc = "" ] |
980 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
981 | #[doc = "" ] |
982 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
983 | pub fn compressed_tex_sub_image_2d_with_u8_array( |
984 | this: &WebGl2RenderingContext, |
985 | target: u32, |
986 | level: i32, |
987 | xoffset: i32, |
988 | yoffset: i32, |
989 | width: i32, |
990 | height: i32, |
991 | format: u32, |
992 | src_data: &mut [u8], |
993 | ); |
994 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
995 | #[doc = "The `compressedTexSubImage2D()` method." ] |
996 | #[doc = "" ] |
997 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
998 | #[doc = "" ] |
999 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1000 | pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32( |
1001 | this: &WebGl2RenderingContext, |
1002 | target: u32, |
1003 | level: i32, |
1004 | xoffset: i32, |
1005 | yoffset: i32, |
1006 | width: i32, |
1007 | height: i32, |
1008 | format: u32, |
1009 | src_data: &::js_sys::Object, |
1010 | src_offset: u32, |
1011 | ); |
1012 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
1013 | #[doc = "The `compressedTexSubImage2D()` method." ] |
1014 | #[doc = "" ] |
1015 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
1016 | #[doc = "" ] |
1017 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1018 | pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32( |
1019 | this: &WebGl2RenderingContext, |
1020 | target: u32, |
1021 | level: i32, |
1022 | xoffset: i32, |
1023 | yoffset: i32, |
1024 | width: i32, |
1025 | height: i32, |
1026 | format: u32, |
1027 | src_data: &mut [u8], |
1028 | src_offset: u32, |
1029 | ); |
1030 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
1031 | #[doc = "The `compressedTexSubImage2D()` method." ] |
1032 | #[doc = "" ] |
1033 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
1034 | #[doc = "" ] |
1035 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1036 | pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override( |
1037 | this: &WebGl2RenderingContext, |
1038 | target: u32, |
1039 | level: i32, |
1040 | xoffset: i32, |
1041 | yoffset: i32, |
1042 | width: i32, |
1043 | height: i32, |
1044 | format: u32, |
1045 | src_data: &::js_sys::Object, |
1046 | src_offset: u32, |
1047 | src_length_override: u32, |
1048 | ); |
1049 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] |
1050 | #[doc = "The `compressedTexSubImage2D()` method." ] |
1051 | #[doc = "" ] |
1052 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)" ] |
1053 | #[doc = "" ] |
1054 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1055 | pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override( |
1056 | this: &WebGl2RenderingContext, |
1057 | target: u32, |
1058 | level: i32, |
1059 | xoffset: i32, |
1060 | yoffset: i32, |
1061 | width: i32, |
1062 | height: i32, |
1063 | format: u32, |
1064 | src_data: &mut [u8], |
1065 | src_offset: u32, |
1066 | src_length_override: u32, |
1067 | ); |
1068 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1069 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1070 | #[doc = "" ] |
1071 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1072 | #[doc = "" ] |
1073 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1074 | pub fn compressed_tex_sub_image_3d_with_i32_and_i32( |
1075 | this: &WebGl2RenderingContext, |
1076 | target: u32, |
1077 | level: i32, |
1078 | xoffset: i32, |
1079 | yoffset: i32, |
1080 | zoffset: i32, |
1081 | width: i32, |
1082 | height: i32, |
1083 | depth: i32, |
1084 | format: u32, |
1085 | image_size: i32, |
1086 | offset: i32, |
1087 | ); |
1088 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1089 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1090 | #[doc = "" ] |
1091 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1092 | #[doc = "" ] |
1093 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1094 | pub fn compressed_tex_sub_image_3d_with_i32_and_f64( |
1095 | this: &WebGl2RenderingContext, |
1096 | target: u32, |
1097 | level: i32, |
1098 | xoffset: i32, |
1099 | yoffset: i32, |
1100 | zoffset: i32, |
1101 | width: i32, |
1102 | height: i32, |
1103 | depth: i32, |
1104 | format: u32, |
1105 | image_size: i32, |
1106 | offset: f64, |
1107 | ); |
1108 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1109 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1110 | #[doc = "" ] |
1111 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1112 | #[doc = "" ] |
1113 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1114 | pub fn compressed_tex_sub_image_3d_with_array_buffer_view( |
1115 | this: &WebGl2RenderingContext, |
1116 | target: u32, |
1117 | level: i32, |
1118 | xoffset: i32, |
1119 | yoffset: i32, |
1120 | zoffset: i32, |
1121 | width: i32, |
1122 | height: i32, |
1123 | depth: i32, |
1124 | format: u32, |
1125 | src_data: &::js_sys::Object, |
1126 | ); |
1127 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1128 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1129 | #[doc = "" ] |
1130 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1131 | #[doc = "" ] |
1132 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1133 | pub fn compressed_tex_sub_image_3d_with_u8_array( |
1134 | this: &WebGl2RenderingContext, |
1135 | target: u32, |
1136 | level: i32, |
1137 | xoffset: i32, |
1138 | yoffset: i32, |
1139 | zoffset: i32, |
1140 | width: i32, |
1141 | height: i32, |
1142 | depth: i32, |
1143 | format: u32, |
1144 | src_data: &mut [u8], |
1145 | ); |
1146 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1147 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1148 | #[doc = "" ] |
1149 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1150 | #[doc = "" ] |
1151 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1152 | pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32( |
1153 | this: &WebGl2RenderingContext, |
1154 | target: u32, |
1155 | level: i32, |
1156 | xoffset: i32, |
1157 | yoffset: i32, |
1158 | zoffset: i32, |
1159 | width: i32, |
1160 | height: i32, |
1161 | depth: i32, |
1162 | format: u32, |
1163 | src_data: &::js_sys::Object, |
1164 | src_offset: u32, |
1165 | ); |
1166 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1167 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1168 | #[doc = "" ] |
1169 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1170 | #[doc = "" ] |
1171 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1172 | pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32( |
1173 | this: &WebGl2RenderingContext, |
1174 | target: u32, |
1175 | level: i32, |
1176 | xoffset: i32, |
1177 | yoffset: i32, |
1178 | zoffset: i32, |
1179 | width: i32, |
1180 | height: i32, |
1181 | depth: i32, |
1182 | format: u32, |
1183 | src_data: &mut [u8], |
1184 | src_offset: u32, |
1185 | ); |
1186 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1187 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1188 | #[doc = "" ] |
1189 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1190 | #[doc = "" ] |
1191 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1192 | pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override( |
1193 | this: &WebGl2RenderingContext, |
1194 | target: u32, |
1195 | level: i32, |
1196 | xoffset: i32, |
1197 | yoffset: i32, |
1198 | zoffset: i32, |
1199 | width: i32, |
1200 | height: i32, |
1201 | depth: i32, |
1202 | format: u32, |
1203 | src_data: &::js_sys::Object, |
1204 | src_offset: u32, |
1205 | src_length_override: u32, |
1206 | ); |
1207 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] |
1208 | #[doc = "The `compressedTexSubImage3D()` method." ] |
1209 | #[doc = "" ] |
1210 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)" ] |
1211 | #[doc = "" ] |
1212 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1213 | pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override( |
1214 | this: &WebGl2RenderingContext, |
1215 | target: u32, |
1216 | level: i32, |
1217 | xoffset: i32, |
1218 | yoffset: i32, |
1219 | zoffset: i32, |
1220 | width: i32, |
1221 | height: i32, |
1222 | depth: i32, |
1223 | format: u32, |
1224 | src_data: &mut [u8], |
1225 | src_offset: u32, |
1226 | src_length_override: u32, |
1227 | ); |
1228 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1229 | #[doc = "The `copyBufferSubData()` method." ] |
1230 | #[doc = "" ] |
1231 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1232 | #[doc = "" ] |
1233 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1234 | pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32( |
1235 | this: &WebGl2RenderingContext, |
1236 | read_target: u32, |
1237 | write_target: u32, |
1238 | read_offset: i32, |
1239 | write_offset: i32, |
1240 | size: i32, |
1241 | ); |
1242 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1243 | #[doc = "The `copyBufferSubData()` method." ] |
1244 | #[doc = "" ] |
1245 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1246 | #[doc = "" ] |
1247 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1248 | pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32( |
1249 | this: &WebGl2RenderingContext, |
1250 | read_target: u32, |
1251 | write_target: u32, |
1252 | read_offset: f64, |
1253 | write_offset: i32, |
1254 | size: i32, |
1255 | ); |
1256 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1257 | #[doc = "The `copyBufferSubData()` method." ] |
1258 | #[doc = "" ] |
1259 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1260 | #[doc = "" ] |
1261 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1262 | pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32( |
1263 | this: &WebGl2RenderingContext, |
1264 | read_target: u32, |
1265 | write_target: u32, |
1266 | read_offset: i32, |
1267 | write_offset: f64, |
1268 | size: i32, |
1269 | ); |
1270 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1271 | #[doc = "The `copyBufferSubData()` method." ] |
1272 | #[doc = "" ] |
1273 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1274 | #[doc = "" ] |
1275 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1276 | pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32( |
1277 | this: &WebGl2RenderingContext, |
1278 | read_target: u32, |
1279 | write_target: u32, |
1280 | read_offset: f64, |
1281 | write_offset: f64, |
1282 | size: i32, |
1283 | ); |
1284 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1285 | #[doc = "The `copyBufferSubData()` method." ] |
1286 | #[doc = "" ] |
1287 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1288 | #[doc = "" ] |
1289 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1290 | pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64( |
1291 | this: &WebGl2RenderingContext, |
1292 | read_target: u32, |
1293 | write_target: u32, |
1294 | read_offset: i32, |
1295 | write_offset: i32, |
1296 | size: f64, |
1297 | ); |
1298 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1299 | #[doc = "The `copyBufferSubData()` method." ] |
1300 | #[doc = "" ] |
1301 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1302 | #[doc = "" ] |
1303 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1304 | pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64( |
1305 | this: &WebGl2RenderingContext, |
1306 | read_target: u32, |
1307 | write_target: u32, |
1308 | read_offset: f64, |
1309 | write_offset: i32, |
1310 | size: f64, |
1311 | ); |
1312 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1313 | #[doc = "The `copyBufferSubData()` method." ] |
1314 | #[doc = "" ] |
1315 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1316 | #[doc = "" ] |
1317 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1318 | pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64( |
1319 | this: &WebGl2RenderingContext, |
1320 | read_target: u32, |
1321 | write_target: u32, |
1322 | read_offset: i32, |
1323 | write_offset: f64, |
1324 | size: f64, |
1325 | ); |
1326 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] |
1327 | #[doc = "The `copyBufferSubData()` method." ] |
1328 | #[doc = "" ] |
1329 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)" ] |
1330 | #[doc = "" ] |
1331 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1332 | pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64( |
1333 | this: &WebGl2RenderingContext, |
1334 | read_target: u32, |
1335 | write_target: u32, |
1336 | read_offset: f64, |
1337 | write_offset: f64, |
1338 | size: f64, |
1339 | ); |
1340 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage3D)] |
1341 | #[doc = "The `copyTexSubImage3D()` method." ] |
1342 | #[doc = "" ] |
1343 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)" ] |
1344 | #[doc = "" ] |
1345 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1346 | pub fn copy_tex_sub_image_3d( |
1347 | this: &WebGl2RenderingContext, |
1348 | target: u32, |
1349 | level: i32, |
1350 | xoffset: i32, |
1351 | yoffset: i32, |
1352 | zoffset: i32, |
1353 | x: i32, |
1354 | y: i32, |
1355 | width: i32, |
1356 | height: i32, |
1357 | ); |
1358 | #[cfg (feature = "WebGlQuery" )] |
1359 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createQuery)] |
1360 | #[doc = "The `createQuery()` method." ] |
1361 | #[doc = "" ] |
1362 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)" ] |
1363 | #[doc = "" ] |
1364 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] |
1365 | pub fn create_query(this: &WebGl2RenderingContext) -> Option<WebGlQuery>; |
1366 | #[cfg (feature = "WebGlSampler" )] |
1367 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createSampler)] |
1368 | #[doc = "The `createSampler()` method." ] |
1369 | #[doc = "" ] |
1370 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)" ] |
1371 | #[doc = "" ] |
1372 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
1373 | pub fn create_sampler(this: &WebGl2RenderingContext) -> Option<WebGlSampler>; |
1374 | #[cfg (feature = "WebGlTransformFeedback" )] |
1375 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTransformFeedback)] |
1376 | #[doc = "The `createTransformFeedback()` method." ] |
1377 | #[doc = "" ] |
1378 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)" ] |
1379 | #[doc = "" ] |
1380 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] |
1381 | pub fn create_transform_feedback( |
1382 | this: &WebGl2RenderingContext, |
1383 | ) -> Option<WebGlTransformFeedback>; |
1384 | #[cfg (feature = "WebGlVertexArrayObject" )] |
1385 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createVertexArray)] |
1386 | #[doc = "The `createVertexArray()` method." ] |
1387 | #[doc = "" ] |
1388 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)" ] |
1389 | #[doc = "" ] |
1390 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] |
1391 | pub fn create_vertex_array(this: &WebGl2RenderingContext) -> Option<WebGlVertexArrayObject>; |
1392 | #[cfg (feature = "WebGlQuery" )] |
1393 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteQuery)] |
1394 | #[doc = "The `deleteQuery()` method." ] |
1395 | #[doc = "" ] |
1396 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)" ] |
1397 | #[doc = "" ] |
1398 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] |
1399 | pub fn delete_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>); |
1400 | #[cfg (feature = "WebGlSampler" )] |
1401 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSampler)] |
1402 | #[doc = "The `deleteSampler()` method." ] |
1403 | #[doc = "" ] |
1404 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)" ] |
1405 | #[doc = "" ] |
1406 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
1407 | pub fn delete_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>); |
1408 | #[cfg (feature = "WebGlSync" )] |
1409 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSync)] |
1410 | #[doc = "The `deleteSync()` method." ] |
1411 | #[doc = "" ] |
1412 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)" ] |
1413 | #[doc = "" ] |
1414 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
1415 | pub fn delete_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>); |
1416 | #[cfg (feature = "WebGlTransformFeedback" )] |
1417 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTransformFeedback)] |
1418 | #[doc = "The `deleteTransformFeedback()` method." ] |
1419 | #[doc = "" ] |
1420 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)" ] |
1421 | #[doc = "" ] |
1422 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] |
1423 | pub fn delete_transform_feedback( |
1424 | this: &WebGl2RenderingContext, |
1425 | tf: Option<&WebGlTransformFeedback>, |
1426 | ); |
1427 | #[cfg (feature = "WebGlVertexArrayObject" )] |
1428 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteVertexArray)] |
1429 | #[doc = "The `deleteVertexArray()` method." ] |
1430 | #[doc = "" ] |
1431 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)" ] |
1432 | #[doc = "" ] |
1433 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] |
1434 | pub fn delete_vertex_array( |
1435 | this: &WebGl2RenderingContext, |
1436 | vertex_array: Option<&WebGlVertexArrayObject>, |
1437 | ); |
1438 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArraysInstanced)] |
1439 | #[doc = "The `drawArraysInstanced()` method." ] |
1440 | #[doc = "" ] |
1441 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)" ] |
1442 | #[doc = "" ] |
1443 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1444 | pub fn draw_arrays_instanced( |
1445 | this: &WebGl2RenderingContext, |
1446 | mode: u32, |
1447 | first: i32, |
1448 | count: i32, |
1449 | instance_count: i32, |
1450 | ); |
1451 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawBuffers)] |
1452 | #[doc = "The `drawBuffers()` method." ] |
1453 | #[doc = "" ] |
1454 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers)" ] |
1455 | #[doc = "" ] |
1456 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1457 | pub fn draw_buffers(this: &WebGl2RenderingContext, buffers: &::wasm_bindgen::JsValue); |
1458 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)] |
1459 | #[doc = "The `drawElementsInstanced()` method." ] |
1460 | #[doc = "" ] |
1461 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)" ] |
1462 | #[doc = "" ] |
1463 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1464 | pub fn draw_elements_instanced_with_i32( |
1465 | this: &WebGl2RenderingContext, |
1466 | mode: u32, |
1467 | count: i32, |
1468 | type_: u32, |
1469 | offset: i32, |
1470 | instance_count: i32, |
1471 | ); |
1472 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)] |
1473 | #[doc = "The `drawElementsInstanced()` method." ] |
1474 | #[doc = "" ] |
1475 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)" ] |
1476 | #[doc = "" ] |
1477 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1478 | pub fn draw_elements_instanced_with_f64( |
1479 | this: &WebGl2RenderingContext, |
1480 | mode: u32, |
1481 | count: i32, |
1482 | type_: u32, |
1483 | offset: f64, |
1484 | instance_count: i32, |
1485 | ); |
1486 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)] |
1487 | #[doc = "The `drawRangeElements()` method." ] |
1488 | #[doc = "" ] |
1489 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)" ] |
1490 | #[doc = "" ] |
1491 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1492 | pub fn draw_range_elements_with_i32( |
1493 | this: &WebGl2RenderingContext, |
1494 | mode: u32, |
1495 | start: u32, |
1496 | end: u32, |
1497 | count: i32, |
1498 | type_: u32, |
1499 | offset: i32, |
1500 | ); |
1501 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)] |
1502 | #[doc = "The `drawRangeElements()` method." ] |
1503 | #[doc = "" ] |
1504 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)" ] |
1505 | #[doc = "" ] |
1506 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1507 | pub fn draw_range_elements_with_f64( |
1508 | this: &WebGl2RenderingContext, |
1509 | mode: u32, |
1510 | start: u32, |
1511 | end: u32, |
1512 | count: i32, |
1513 | type_: u32, |
1514 | offset: f64, |
1515 | ); |
1516 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endQuery)] |
1517 | #[doc = "The `endQuery()` method." ] |
1518 | #[doc = "" ] |
1519 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)" ] |
1520 | #[doc = "" ] |
1521 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1522 | pub fn end_query(this: &WebGl2RenderingContext, target: u32); |
1523 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endTransformFeedback)] |
1524 | #[doc = "The `endTransformFeedback()` method." ] |
1525 | #[doc = "" ] |
1526 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)" ] |
1527 | #[doc = "" ] |
1528 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1529 | pub fn end_transform_feedback(this: &WebGl2RenderingContext); |
1530 | #[cfg (feature = "WebGlSync" )] |
1531 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = fenceSync)] |
1532 | #[doc = "The `fenceSync()` method." ] |
1533 | #[doc = "" ] |
1534 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)" ] |
1535 | #[doc = "" ] |
1536 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
1537 | pub fn fence_sync( |
1538 | this: &WebGl2RenderingContext, |
1539 | condition: u32, |
1540 | flags: u32, |
1541 | ) -> Option<WebGlSync>; |
1542 | #[cfg (feature = "WebGlTexture" )] |
1543 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTextureLayer)] |
1544 | #[doc = "The `framebufferTextureLayer()` method." ] |
1545 | #[doc = "" ] |
1546 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)" ] |
1547 | #[doc = "" ] |
1548 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] |
1549 | pub fn framebuffer_texture_layer( |
1550 | this: &WebGl2RenderingContext, |
1551 | target: u32, |
1552 | attachment: u32, |
1553 | texture: Option<&WebGlTexture>, |
1554 | level: i32, |
1555 | layer: i32, |
1556 | ); |
1557 | #[cfg (feature = "WebGlProgram" )] |
1558 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockName)] |
1559 | #[doc = "The `getActiveUniformBlockName()` method." ] |
1560 | #[doc = "" ] |
1561 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)" ] |
1562 | #[doc = "" ] |
1563 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
1564 | pub fn get_active_uniform_block_name( |
1565 | this: &WebGl2RenderingContext, |
1566 | program: &WebGlProgram, |
1567 | uniform_block_index: u32, |
1568 | ) -> Option<String>; |
1569 | #[cfg (feature = "WebGlProgram" )] |
1570 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockParameter)] |
1571 | #[doc = "The `getActiveUniformBlockParameter()` method." ] |
1572 | #[doc = "" ] |
1573 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)" ] |
1574 | #[doc = "" ] |
1575 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
1576 | pub fn get_active_uniform_block_parameter( |
1577 | this: &WebGl2RenderingContext, |
1578 | program: &WebGlProgram, |
1579 | uniform_block_index: u32, |
1580 | pname: u32, |
1581 | ) -> Result<::wasm_bindgen::JsValue, JsValue>; |
1582 | #[cfg (feature = "WebGlProgram" )] |
1583 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniforms)] |
1584 | #[doc = "The `getActiveUniforms()` method." ] |
1585 | #[doc = "" ] |
1586 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms)" ] |
1587 | #[doc = "" ] |
1588 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
1589 | pub fn get_active_uniforms( |
1590 | this: &WebGl2RenderingContext, |
1591 | program: &WebGlProgram, |
1592 | uniform_indices: &::wasm_bindgen::JsValue, |
1593 | pname: u32, |
1594 | ) -> ::wasm_bindgen::JsValue; |
1595 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1596 | #[doc = "The `getBufferSubData()` method." ] |
1597 | #[doc = "" ] |
1598 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1599 | #[doc = "" ] |
1600 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1601 | pub fn get_buffer_sub_data_with_i32_and_array_buffer_view( |
1602 | this: &WebGl2RenderingContext, |
1603 | target: u32, |
1604 | src_byte_offset: i32, |
1605 | dst_data: &::js_sys::Object, |
1606 | ); |
1607 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1608 | #[doc = "The `getBufferSubData()` method." ] |
1609 | #[doc = "" ] |
1610 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1611 | #[doc = "" ] |
1612 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1613 | pub fn get_buffer_sub_data_with_f64_and_array_buffer_view( |
1614 | this: &WebGl2RenderingContext, |
1615 | target: u32, |
1616 | src_byte_offset: f64, |
1617 | dst_data: &::js_sys::Object, |
1618 | ); |
1619 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1620 | #[doc = "The `getBufferSubData()` method." ] |
1621 | #[doc = "" ] |
1622 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1623 | #[doc = "" ] |
1624 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1625 | pub fn get_buffer_sub_data_with_i32_and_u8_array( |
1626 | this: &WebGl2RenderingContext, |
1627 | target: u32, |
1628 | src_byte_offset: i32, |
1629 | dst_data: &mut [u8], |
1630 | ); |
1631 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1632 | #[doc = "The `getBufferSubData()` method." ] |
1633 | #[doc = "" ] |
1634 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1635 | #[doc = "" ] |
1636 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1637 | pub fn get_buffer_sub_data_with_f64_and_u8_array( |
1638 | this: &WebGl2RenderingContext, |
1639 | target: u32, |
1640 | src_byte_offset: f64, |
1641 | dst_data: &mut [u8], |
1642 | ); |
1643 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1644 | #[doc = "The `getBufferSubData()` method." ] |
1645 | #[doc = "" ] |
1646 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1647 | #[doc = "" ] |
1648 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1649 | pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset( |
1650 | this: &WebGl2RenderingContext, |
1651 | target: u32, |
1652 | src_byte_offset: i32, |
1653 | dst_data: &::js_sys::Object, |
1654 | dst_offset: u32, |
1655 | ); |
1656 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1657 | #[doc = "The `getBufferSubData()` method." ] |
1658 | #[doc = "" ] |
1659 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1660 | #[doc = "" ] |
1661 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1662 | pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset( |
1663 | this: &WebGl2RenderingContext, |
1664 | target: u32, |
1665 | src_byte_offset: f64, |
1666 | dst_data: &::js_sys::Object, |
1667 | dst_offset: u32, |
1668 | ); |
1669 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1670 | #[doc = "The `getBufferSubData()` method." ] |
1671 | #[doc = "" ] |
1672 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1673 | #[doc = "" ] |
1674 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1675 | pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset( |
1676 | this: &WebGl2RenderingContext, |
1677 | target: u32, |
1678 | src_byte_offset: i32, |
1679 | dst_data: &mut [u8], |
1680 | dst_offset: u32, |
1681 | ); |
1682 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1683 | #[doc = "The `getBufferSubData()` method." ] |
1684 | #[doc = "" ] |
1685 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1686 | #[doc = "" ] |
1687 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1688 | pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset( |
1689 | this: &WebGl2RenderingContext, |
1690 | target: u32, |
1691 | src_byte_offset: f64, |
1692 | dst_data: &mut [u8], |
1693 | dst_offset: u32, |
1694 | ); |
1695 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1696 | #[doc = "The `getBufferSubData()` method." ] |
1697 | #[doc = "" ] |
1698 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1699 | #[doc = "" ] |
1700 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1701 | pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length( |
1702 | this: &WebGl2RenderingContext, |
1703 | target: u32, |
1704 | src_byte_offset: i32, |
1705 | dst_data: &::js_sys::Object, |
1706 | dst_offset: u32, |
1707 | length: u32, |
1708 | ); |
1709 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1710 | #[doc = "The `getBufferSubData()` method." ] |
1711 | #[doc = "" ] |
1712 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1713 | #[doc = "" ] |
1714 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1715 | pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length( |
1716 | this: &WebGl2RenderingContext, |
1717 | target: u32, |
1718 | src_byte_offset: f64, |
1719 | dst_data: &::js_sys::Object, |
1720 | dst_offset: u32, |
1721 | length: u32, |
1722 | ); |
1723 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1724 | #[doc = "The `getBufferSubData()` method." ] |
1725 | #[doc = "" ] |
1726 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1727 | #[doc = "" ] |
1728 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1729 | pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length( |
1730 | this: &WebGl2RenderingContext, |
1731 | target: u32, |
1732 | src_byte_offset: i32, |
1733 | dst_data: &mut [u8], |
1734 | dst_offset: u32, |
1735 | length: u32, |
1736 | ); |
1737 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] |
1738 | #[doc = "The `getBufferSubData()` method." ] |
1739 | #[doc = "" ] |
1740 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)" ] |
1741 | #[doc = "" ] |
1742 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1743 | pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length( |
1744 | this: &WebGl2RenderingContext, |
1745 | target: u32, |
1746 | src_byte_offset: f64, |
1747 | dst_data: &mut [u8], |
1748 | dst_offset: u32, |
1749 | length: u32, |
1750 | ); |
1751 | #[cfg (feature = "WebGlProgram" )] |
1752 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getFragDataLocation)] |
1753 | #[doc = "The `getFragDataLocation()` method." ] |
1754 | #[doc = "" ] |
1755 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)" ] |
1756 | #[doc = "" ] |
1757 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
1758 | pub fn get_frag_data_location( |
1759 | this: &WebGl2RenderingContext, |
1760 | program: &WebGlProgram, |
1761 | name: &str, |
1762 | ) -> i32; |
1763 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getIndexedParameter)] |
1764 | #[doc = "The `getIndexedParameter()` method." ] |
1765 | #[doc = "" ] |
1766 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)" ] |
1767 | #[doc = "" ] |
1768 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1769 | pub fn get_indexed_parameter( |
1770 | this: &WebGl2RenderingContext, |
1771 | target: u32, |
1772 | index: u32, |
1773 | ) -> Result<::wasm_bindgen::JsValue, JsValue>; |
1774 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getInternalformatParameter)] |
1775 | #[doc = "The `getInternalformatParameter()` method." ] |
1776 | #[doc = "" ] |
1777 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)" ] |
1778 | #[doc = "" ] |
1779 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1780 | pub fn get_internalformat_parameter( |
1781 | this: &WebGl2RenderingContext, |
1782 | target: u32, |
1783 | internalformat: u32, |
1784 | pname: u32, |
1785 | ) -> Result<::wasm_bindgen::JsValue, JsValue>; |
1786 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQuery)] |
1787 | #[doc = "The `getQuery()` method." ] |
1788 | #[doc = "" ] |
1789 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)" ] |
1790 | #[doc = "" ] |
1791 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1792 | pub fn get_query( |
1793 | this: &WebGl2RenderingContext, |
1794 | target: u32, |
1795 | pname: u32, |
1796 | ) -> ::wasm_bindgen::JsValue; |
1797 | #[cfg (feature = "WebGlQuery" )] |
1798 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQueryParameter)] |
1799 | #[doc = "The `getQueryParameter()` method." ] |
1800 | #[doc = "" ] |
1801 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)" ] |
1802 | #[doc = "" ] |
1803 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] |
1804 | pub fn get_query_parameter( |
1805 | this: &WebGl2RenderingContext, |
1806 | query: &WebGlQuery, |
1807 | pname: u32, |
1808 | ) -> ::wasm_bindgen::JsValue; |
1809 | #[cfg (feature = "WebGlSampler" )] |
1810 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSamplerParameter)] |
1811 | #[doc = "The `getSamplerParameter()` method." ] |
1812 | #[doc = "" ] |
1813 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)" ] |
1814 | #[doc = "" ] |
1815 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
1816 | pub fn get_sampler_parameter( |
1817 | this: &WebGl2RenderingContext, |
1818 | sampler: &WebGlSampler, |
1819 | pname: u32, |
1820 | ) -> ::wasm_bindgen::JsValue; |
1821 | #[cfg (feature = "WebGlSync" )] |
1822 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSyncParameter)] |
1823 | #[doc = "The `getSyncParameter()` method." ] |
1824 | #[doc = "" ] |
1825 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)" ] |
1826 | #[doc = "" ] |
1827 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
1828 | pub fn get_sync_parameter( |
1829 | this: &WebGl2RenderingContext, |
1830 | sync: &WebGlSync, |
1831 | pname: u32, |
1832 | ) -> ::wasm_bindgen::JsValue; |
1833 | #[cfg (all(feature = "WebGlActiveInfo" , feature = "WebGlProgram" ,))] |
1834 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTransformFeedbackVarying)] |
1835 | #[doc = "The `getTransformFeedbackVarying()` method." ] |
1836 | #[doc = "" ] |
1837 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)" ] |
1838 | #[doc = "" ] |
1839 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] |
1840 | pub fn get_transform_feedback_varying( |
1841 | this: &WebGl2RenderingContext, |
1842 | program: &WebGlProgram, |
1843 | index: u32, |
1844 | ) -> Option<WebGlActiveInfo>; |
1845 | #[cfg (feature = "WebGlProgram" )] |
1846 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformBlockIndex)] |
1847 | #[doc = "The `getUniformBlockIndex()` method." ] |
1848 | #[doc = "" ] |
1849 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)" ] |
1850 | #[doc = "" ] |
1851 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
1852 | pub fn get_uniform_block_index( |
1853 | this: &WebGl2RenderingContext, |
1854 | program: &WebGlProgram, |
1855 | uniform_block_name: &str, |
1856 | ) -> u32; |
1857 | #[cfg (feature = "WebGlProgram" )] |
1858 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformIndices)] |
1859 | #[doc = "The `getUniformIndices()` method." ] |
1860 | #[doc = "" ] |
1861 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices)" ] |
1862 | #[doc = "" ] |
1863 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
1864 | pub fn get_uniform_indices( |
1865 | this: &WebGl2RenderingContext, |
1866 | program: &WebGlProgram, |
1867 | uniform_names: &::wasm_bindgen::JsValue, |
1868 | ) -> Option<::js_sys::Array>; |
1869 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateFramebuffer)] |
1870 | #[doc = "The `invalidateFramebuffer()` method." ] |
1871 | #[doc = "" ] |
1872 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer)" ] |
1873 | #[doc = "" ] |
1874 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1875 | pub fn invalidate_framebuffer( |
1876 | this: &WebGl2RenderingContext, |
1877 | target: u32, |
1878 | attachments: &::wasm_bindgen::JsValue, |
1879 | ) -> Result<(), JsValue>; |
1880 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateSubFramebuffer)] |
1881 | #[doc = "The `invalidateSubFramebuffer()` method." ] |
1882 | #[doc = "" ] |
1883 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer)" ] |
1884 | #[doc = "" ] |
1885 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1886 | pub fn invalidate_sub_framebuffer( |
1887 | this: &WebGl2RenderingContext, |
1888 | target: u32, |
1889 | attachments: &::wasm_bindgen::JsValue, |
1890 | x: i32, |
1891 | y: i32, |
1892 | width: i32, |
1893 | height: i32, |
1894 | ) -> Result<(), JsValue>; |
1895 | #[cfg (feature = "WebGlQuery" )] |
1896 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isQuery)] |
1897 | #[doc = "The `isQuery()` method." ] |
1898 | #[doc = "" ] |
1899 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)" ] |
1900 | #[doc = "" ] |
1901 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] |
1902 | pub fn is_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>) -> bool; |
1903 | #[cfg (feature = "WebGlSampler" )] |
1904 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSampler)] |
1905 | #[doc = "The `isSampler()` method." ] |
1906 | #[doc = "" ] |
1907 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)" ] |
1908 | #[doc = "" ] |
1909 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
1910 | pub fn is_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>) -> bool; |
1911 | #[cfg (feature = "WebGlSync" )] |
1912 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSync)] |
1913 | #[doc = "The `isSync()` method." ] |
1914 | #[doc = "" ] |
1915 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)" ] |
1916 | #[doc = "" ] |
1917 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
1918 | pub fn is_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>) -> bool; |
1919 | #[cfg (feature = "WebGlTransformFeedback" )] |
1920 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTransformFeedback)] |
1921 | #[doc = "The `isTransformFeedback()` method." ] |
1922 | #[doc = "" ] |
1923 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)" ] |
1924 | #[doc = "" ] |
1925 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] |
1926 | pub fn is_transform_feedback( |
1927 | this: &WebGl2RenderingContext, |
1928 | tf: Option<&WebGlTransformFeedback>, |
1929 | ) -> bool; |
1930 | #[cfg (feature = "WebGlVertexArrayObject" )] |
1931 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isVertexArray)] |
1932 | #[doc = "The `isVertexArray()` method." ] |
1933 | #[doc = "" ] |
1934 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)" ] |
1935 | #[doc = "" ] |
1936 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] |
1937 | pub fn is_vertex_array( |
1938 | this: &WebGl2RenderingContext, |
1939 | vertex_array: Option<&WebGlVertexArrayObject>, |
1940 | ) -> bool; |
1941 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pauseTransformFeedback)] |
1942 | #[doc = "The `pauseTransformFeedback()` method." ] |
1943 | #[doc = "" ] |
1944 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)" ] |
1945 | #[doc = "" ] |
1946 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1947 | pub fn pause_transform_feedback(this: &WebGl2RenderingContext); |
1948 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = readBuffer)] |
1949 | #[doc = "The `readBuffer()` method." ] |
1950 | #[doc = "" ] |
1951 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)" ] |
1952 | #[doc = "" ] |
1953 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1954 | pub fn read_buffer(this: &WebGl2RenderingContext, src: u32); |
1955 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] |
1956 | #[doc = "The `readPixels()` method." ] |
1957 | #[doc = "" ] |
1958 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)" ] |
1959 | #[doc = "" ] |
1960 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1961 | pub fn read_pixels_with_opt_array_buffer_view( |
1962 | this: &WebGl2RenderingContext, |
1963 | x: i32, |
1964 | y: i32, |
1965 | width: i32, |
1966 | height: i32, |
1967 | format: u32, |
1968 | type_: u32, |
1969 | dst_data: Option<&::js_sys::Object>, |
1970 | ) -> Result<(), JsValue>; |
1971 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] |
1972 | #[doc = "The `readPixels()` method." ] |
1973 | #[doc = "" ] |
1974 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)" ] |
1975 | #[doc = "" ] |
1976 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1977 | pub fn read_pixels_with_opt_u8_array( |
1978 | this: &WebGl2RenderingContext, |
1979 | x: i32, |
1980 | y: i32, |
1981 | width: i32, |
1982 | height: i32, |
1983 | format: u32, |
1984 | type_: u32, |
1985 | dst_data: Option<&mut [u8]>, |
1986 | ) -> Result<(), JsValue>; |
1987 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] |
1988 | #[doc = "The `readPixels()` method." ] |
1989 | #[doc = "" ] |
1990 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)" ] |
1991 | #[doc = "" ] |
1992 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
1993 | pub fn read_pixels_with_i32( |
1994 | this: &WebGl2RenderingContext, |
1995 | x: i32, |
1996 | y: i32, |
1997 | width: i32, |
1998 | height: i32, |
1999 | format: u32, |
2000 | type_: u32, |
2001 | offset: i32, |
2002 | ) -> Result<(), JsValue>; |
2003 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] |
2004 | #[doc = "The `readPixels()` method." ] |
2005 | #[doc = "" ] |
2006 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)" ] |
2007 | #[doc = "" ] |
2008 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2009 | pub fn read_pixels_with_f64( |
2010 | this: &WebGl2RenderingContext, |
2011 | x: i32, |
2012 | y: i32, |
2013 | width: i32, |
2014 | height: i32, |
2015 | format: u32, |
2016 | type_: u32, |
2017 | offset: f64, |
2018 | ) -> Result<(), JsValue>; |
2019 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] |
2020 | #[doc = "The `readPixels()` method." ] |
2021 | #[doc = "" ] |
2022 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)" ] |
2023 | #[doc = "" ] |
2024 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2025 | pub fn read_pixels_with_array_buffer_view_and_dst_offset( |
2026 | this: &WebGl2RenderingContext, |
2027 | x: i32, |
2028 | y: i32, |
2029 | width: i32, |
2030 | height: i32, |
2031 | format: u32, |
2032 | type_: u32, |
2033 | dst_data: &::js_sys::Object, |
2034 | dst_offset: u32, |
2035 | ) -> Result<(), JsValue>; |
2036 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] |
2037 | #[doc = "The `readPixels()` method." ] |
2038 | #[doc = "" ] |
2039 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)" ] |
2040 | #[doc = "" ] |
2041 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2042 | pub fn read_pixels_with_u8_array_and_dst_offset( |
2043 | this: &WebGl2RenderingContext, |
2044 | x: i32, |
2045 | y: i32, |
2046 | width: i32, |
2047 | height: i32, |
2048 | format: u32, |
2049 | type_: u32, |
2050 | dst_data: &mut [u8], |
2051 | dst_offset: u32, |
2052 | ) -> Result<(), JsValue>; |
2053 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorageMultisample)] |
2054 | #[doc = "The `renderbufferStorageMultisample()` method." ] |
2055 | #[doc = "" ] |
2056 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)" ] |
2057 | #[doc = "" ] |
2058 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2059 | pub fn renderbuffer_storage_multisample( |
2060 | this: &WebGl2RenderingContext, |
2061 | target: u32, |
2062 | samples: i32, |
2063 | internalformat: u32, |
2064 | width: i32, |
2065 | height: i32, |
2066 | ); |
2067 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = resumeTransformFeedback)] |
2068 | #[doc = "The `resumeTransformFeedback()` method." ] |
2069 | #[doc = "" ] |
2070 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)" ] |
2071 | #[doc = "" ] |
2072 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2073 | pub fn resume_transform_feedback(this: &WebGl2RenderingContext); |
2074 | #[cfg (feature = "WebGlSampler" )] |
2075 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameterf)] |
2076 | #[doc = "The `samplerParameterf()` method." ] |
2077 | #[doc = "" ] |
2078 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)" ] |
2079 | #[doc = "" ] |
2080 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
2081 | pub fn sampler_parameterf( |
2082 | this: &WebGl2RenderingContext, |
2083 | sampler: &WebGlSampler, |
2084 | pname: u32, |
2085 | param: f32, |
2086 | ); |
2087 | #[cfg (feature = "WebGlSampler" )] |
2088 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameteri)] |
2089 | #[doc = "The `samplerParameteri()` method." ] |
2090 | #[doc = "" ] |
2091 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)" ] |
2092 | #[doc = "" ] |
2093 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] |
2094 | pub fn sampler_parameteri( |
2095 | this: &WebGl2RenderingContext, |
2096 | sampler: &WebGlSampler, |
2097 | pname: u32, |
2098 | param: i32, |
2099 | ); |
2100 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2101 | #[doc = "The `texImage2D()` method." ] |
2102 | #[doc = "" ] |
2103 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2104 | #[doc = "" ] |
2105 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2106 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view( |
2107 | this: &WebGl2RenderingContext, |
2108 | target: u32, |
2109 | level: i32, |
2110 | internalformat: i32, |
2111 | width: i32, |
2112 | height: i32, |
2113 | border: i32, |
2114 | format: u32, |
2115 | type_: u32, |
2116 | pixels: Option<&::js_sys::Object>, |
2117 | ) -> Result<(), JsValue>; |
2118 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2119 | #[doc = "The `texImage2D()` method." ] |
2120 | #[doc = "" ] |
2121 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2122 | #[doc = "" ] |
2123 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2124 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array( |
2125 | this: &WebGl2RenderingContext, |
2126 | target: u32, |
2127 | level: i32, |
2128 | internalformat: i32, |
2129 | width: i32, |
2130 | height: i32, |
2131 | border: i32, |
2132 | format: u32, |
2133 | type_: u32, |
2134 | pixels: Option<&[u8]>, |
2135 | ) -> Result<(), JsValue>; |
2136 | #[cfg (feature = "HtmlCanvasElement" )] |
2137 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2138 | #[doc = "The `texImage2D()` method." ] |
2139 | #[doc = "" ] |
2140 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2141 | #[doc = "" ] |
2142 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
2143 | pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element( |
2144 | this: &WebGl2RenderingContext, |
2145 | target: u32, |
2146 | level: i32, |
2147 | internalformat: i32, |
2148 | format: u32, |
2149 | type_: u32, |
2150 | source: &HtmlCanvasElement, |
2151 | ) -> Result<(), JsValue>; |
2152 | #[cfg (feature = "HtmlImageElement" )] |
2153 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2154 | #[doc = "The `texImage2D()` method." ] |
2155 | #[doc = "" ] |
2156 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2157 | #[doc = "" ] |
2158 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
2159 | pub fn tex_image_2d_with_u32_and_u32_and_html_image_element( |
2160 | this: &WebGl2RenderingContext, |
2161 | target: u32, |
2162 | level: i32, |
2163 | internalformat: i32, |
2164 | format: u32, |
2165 | type_: u32, |
2166 | source: &HtmlImageElement, |
2167 | ) -> Result<(), JsValue>; |
2168 | #[cfg (feature = "HtmlVideoElement" )] |
2169 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2170 | #[doc = "The `texImage2D()` method." ] |
2171 | #[doc = "" ] |
2172 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2173 | #[doc = "" ] |
2174 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
2175 | pub fn tex_image_2d_with_u32_and_u32_and_html_video_element( |
2176 | this: &WebGl2RenderingContext, |
2177 | target: u32, |
2178 | level: i32, |
2179 | internalformat: i32, |
2180 | format: u32, |
2181 | type_: u32, |
2182 | source: &HtmlVideoElement, |
2183 | ) -> Result<(), JsValue>; |
2184 | #[cfg (web_sys_unstable_apis)] |
2185 | #[cfg (feature = "VideoFrame" )] |
2186 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2187 | #[doc = "The `texImage2D()` method." ] |
2188 | #[doc = "" ] |
2189 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2190 | #[doc = "" ] |
2191 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2192 | #[doc = "" ] |
2193 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2194 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2195 | pub fn tex_image_2d_with_u32_and_u32_and_video_frame( |
2196 | this: &WebGl2RenderingContext, |
2197 | target: u32, |
2198 | level: i32, |
2199 | internalformat: i32, |
2200 | format: u32, |
2201 | type_: u32, |
2202 | source: &VideoFrame, |
2203 | ) -> Result<(), JsValue>; |
2204 | #[cfg (feature = "ImageBitmap" )] |
2205 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2206 | #[doc = "The `texImage2D()` method." ] |
2207 | #[doc = "" ] |
2208 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2209 | #[doc = "" ] |
2210 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2211 | pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap( |
2212 | this: &WebGl2RenderingContext, |
2213 | target: u32, |
2214 | level: i32, |
2215 | internalformat: i32, |
2216 | format: u32, |
2217 | type_: u32, |
2218 | source: &ImageBitmap, |
2219 | ) -> Result<(), JsValue>; |
2220 | #[cfg (feature = "ImageData" )] |
2221 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2222 | #[doc = "The `texImage2D()` method." ] |
2223 | #[doc = "" ] |
2224 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2225 | #[doc = "" ] |
2226 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2227 | pub fn tex_image_2d_with_u32_and_u32_and_image_data( |
2228 | this: &WebGl2RenderingContext, |
2229 | target: u32, |
2230 | level: i32, |
2231 | internalformat: i32, |
2232 | format: u32, |
2233 | type_: u32, |
2234 | source: &ImageData, |
2235 | ) -> Result<(), JsValue>; |
2236 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2237 | #[doc = "The `texImage2D()` method." ] |
2238 | #[doc = "" ] |
2239 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2240 | #[doc = "" ] |
2241 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2242 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32( |
2243 | this: &WebGl2RenderingContext, |
2244 | target: u32, |
2245 | level: i32, |
2246 | internalformat: i32, |
2247 | width: i32, |
2248 | height: i32, |
2249 | border: i32, |
2250 | format: u32, |
2251 | type_: u32, |
2252 | pbo_offset: i32, |
2253 | ) -> Result<(), JsValue>; |
2254 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2255 | #[doc = "The `texImage2D()` method." ] |
2256 | #[doc = "" ] |
2257 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2258 | #[doc = "" ] |
2259 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2260 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64( |
2261 | this: &WebGl2RenderingContext, |
2262 | target: u32, |
2263 | level: i32, |
2264 | internalformat: i32, |
2265 | width: i32, |
2266 | height: i32, |
2267 | border: i32, |
2268 | format: u32, |
2269 | type_: u32, |
2270 | pbo_offset: f64, |
2271 | ) -> Result<(), JsValue>; |
2272 | #[cfg (feature = "HtmlCanvasElement" )] |
2273 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2274 | #[doc = "The `texImage2D()` method." ] |
2275 | #[doc = "" ] |
2276 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2277 | #[doc = "" ] |
2278 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
2279 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element( |
2280 | this: &WebGl2RenderingContext, |
2281 | target: u32, |
2282 | level: i32, |
2283 | internalformat: i32, |
2284 | width: i32, |
2285 | height: i32, |
2286 | border: i32, |
2287 | format: u32, |
2288 | type_: u32, |
2289 | source: &HtmlCanvasElement, |
2290 | ) -> Result<(), JsValue>; |
2291 | #[cfg (feature = "HtmlImageElement" )] |
2292 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2293 | #[doc = "The `texImage2D()` method." ] |
2294 | #[doc = "" ] |
2295 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2296 | #[doc = "" ] |
2297 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
2298 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element( |
2299 | this: &WebGl2RenderingContext, |
2300 | target: u32, |
2301 | level: i32, |
2302 | internalformat: i32, |
2303 | width: i32, |
2304 | height: i32, |
2305 | border: i32, |
2306 | format: u32, |
2307 | type_: u32, |
2308 | source: &HtmlImageElement, |
2309 | ) -> Result<(), JsValue>; |
2310 | #[cfg (feature = "HtmlVideoElement" )] |
2311 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2312 | #[doc = "The `texImage2D()` method." ] |
2313 | #[doc = "" ] |
2314 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2315 | #[doc = "" ] |
2316 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
2317 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element( |
2318 | this: &WebGl2RenderingContext, |
2319 | target: u32, |
2320 | level: i32, |
2321 | internalformat: i32, |
2322 | width: i32, |
2323 | height: i32, |
2324 | border: i32, |
2325 | format: u32, |
2326 | type_: u32, |
2327 | source: &HtmlVideoElement, |
2328 | ) -> Result<(), JsValue>; |
2329 | #[cfg (web_sys_unstable_apis)] |
2330 | #[cfg (feature = "VideoFrame" )] |
2331 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2332 | #[doc = "The `texImage2D()` method." ] |
2333 | #[doc = "" ] |
2334 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2335 | #[doc = "" ] |
2336 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2337 | #[doc = "" ] |
2338 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2339 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2340 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_video_frame( |
2341 | this: &WebGl2RenderingContext, |
2342 | target: u32, |
2343 | level: i32, |
2344 | internalformat: i32, |
2345 | width: i32, |
2346 | height: i32, |
2347 | border: i32, |
2348 | format: u32, |
2349 | type_: u32, |
2350 | source: &VideoFrame, |
2351 | ) -> Result<(), JsValue>; |
2352 | #[cfg (feature = "ImageBitmap" )] |
2353 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2354 | #[doc = "The `texImage2D()` method." ] |
2355 | #[doc = "" ] |
2356 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2357 | #[doc = "" ] |
2358 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2359 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap( |
2360 | this: &WebGl2RenderingContext, |
2361 | target: u32, |
2362 | level: i32, |
2363 | internalformat: i32, |
2364 | width: i32, |
2365 | height: i32, |
2366 | border: i32, |
2367 | format: u32, |
2368 | type_: u32, |
2369 | source: &ImageBitmap, |
2370 | ) -> Result<(), JsValue>; |
2371 | #[cfg (feature = "ImageData" )] |
2372 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2373 | #[doc = "The `texImage2D()` method." ] |
2374 | #[doc = "" ] |
2375 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2376 | #[doc = "" ] |
2377 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2378 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data( |
2379 | this: &WebGl2RenderingContext, |
2380 | target: u32, |
2381 | level: i32, |
2382 | internalformat: i32, |
2383 | width: i32, |
2384 | height: i32, |
2385 | border: i32, |
2386 | format: u32, |
2387 | type_: u32, |
2388 | source: &ImageData, |
2389 | ) -> Result<(), JsValue>; |
2390 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2391 | #[doc = "The `texImage2D()` method." ] |
2392 | #[doc = "" ] |
2393 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2394 | #[doc = "" ] |
2395 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2396 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset( |
2397 | this: &WebGl2RenderingContext, |
2398 | target: u32, |
2399 | level: i32, |
2400 | internalformat: i32, |
2401 | width: i32, |
2402 | height: i32, |
2403 | border: i32, |
2404 | format: u32, |
2405 | type_: u32, |
2406 | src_data: &::js_sys::Object, |
2407 | src_offset: u32, |
2408 | ) -> Result<(), JsValue>; |
2409 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] |
2410 | #[doc = "The `texImage2D()` method." ] |
2411 | #[doc = "" ] |
2412 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)" ] |
2413 | #[doc = "" ] |
2414 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2415 | pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset( |
2416 | this: &WebGl2RenderingContext, |
2417 | target: u32, |
2418 | level: i32, |
2419 | internalformat: i32, |
2420 | width: i32, |
2421 | height: i32, |
2422 | border: i32, |
2423 | format: u32, |
2424 | type_: u32, |
2425 | src_data: &[u8], |
2426 | src_offset: u32, |
2427 | ) -> Result<(), JsValue>; |
2428 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2429 | #[doc = "The `texImage3D()` method." ] |
2430 | #[doc = "" ] |
2431 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2432 | #[doc = "" ] |
2433 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2434 | pub fn tex_image_3d_with_i32( |
2435 | this: &WebGl2RenderingContext, |
2436 | target: u32, |
2437 | level: i32, |
2438 | internalformat: i32, |
2439 | width: i32, |
2440 | height: i32, |
2441 | depth: i32, |
2442 | border: i32, |
2443 | format: u32, |
2444 | type_: u32, |
2445 | pbo_offset: i32, |
2446 | ) -> Result<(), JsValue>; |
2447 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2448 | #[doc = "The `texImage3D()` method." ] |
2449 | #[doc = "" ] |
2450 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2451 | #[doc = "" ] |
2452 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2453 | pub fn tex_image_3d_with_f64( |
2454 | this: &WebGl2RenderingContext, |
2455 | target: u32, |
2456 | level: i32, |
2457 | internalformat: i32, |
2458 | width: i32, |
2459 | height: i32, |
2460 | depth: i32, |
2461 | border: i32, |
2462 | format: u32, |
2463 | type_: u32, |
2464 | pbo_offset: f64, |
2465 | ) -> Result<(), JsValue>; |
2466 | #[cfg (feature = "HtmlCanvasElement" )] |
2467 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2468 | #[doc = "The `texImage3D()` method." ] |
2469 | #[doc = "" ] |
2470 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2471 | #[doc = "" ] |
2472 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
2473 | pub fn tex_image_3d_with_html_canvas_element( |
2474 | this: &WebGl2RenderingContext, |
2475 | target: u32, |
2476 | level: i32, |
2477 | internalformat: i32, |
2478 | width: i32, |
2479 | height: i32, |
2480 | depth: i32, |
2481 | border: i32, |
2482 | format: u32, |
2483 | type_: u32, |
2484 | source: &HtmlCanvasElement, |
2485 | ) -> Result<(), JsValue>; |
2486 | #[cfg (feature = "HtmlImageElement" )] |
2487 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2488 | #[doc = "The `texImage3D()` method." ] |
2489 | #[doc = "" ] |
2490 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2491 | #[doc = "" ] |
2492 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
2493 | pub fn tex_image_3d_with_html_image_element( |
2494 | this: &WebGl2RenderingContext, |
2495 | target: u32, |
2496 | level: i32, |
2497 | internalformat: i32, |
2498 | width: i32, |
2499 | height: i32, |
2500 | depth: i32, |
2501 | border: i32, |
2502 | format: u32, |
2503 | type_: u32, |
2504 | source: &HtmlImageElement, |
2505 | ) -> Result<(), JsValue>; |
2506 | #[cfg (feature = "HtmlVideoElement" )] |
2507 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2508 | #[doc = "The `texImage3D()` method." ] |
2509 | #[doc = "" ] |
2510 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2511 | #[doc = "" ] |
2512 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
2513 | pub fn tex_image_3d_with_html_video_element( |
2514 | this: &WebGl2RenderingContext, |
2515 | target: u32, |
2516 | level: i32, |
2517 | internalformat: i32, |
2518 | width: i32, |
2519 | height: i32, |
2520 | depth: i32, |
2521 | border: i32, |
2522 | format: u32, |
2523 | type_: u32, |
2524 | source: &HtmlVideoElement, |
2525 | ) -> Result<(), JsValue>; |
2526 | #[cfg (web_sys_unstable_apis)] |
2527 | #[cfg (feature = "VideoFrame" )] |
2528 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2529 | #[doc = "The `texImage3D()` method." ] |
2530 | #[doc = "" ] |
2531 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2532 | #[doc = "" ] |
2533 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2534 | #[doc = "" ] |
2535 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2536 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2537 | pub fn tex_image_3d_with_video_frame( |
2538 | this: &WebGl2RenderingContext, |
2539 | target: u32, |
2540 | level: i32, |
2541 | internalformat: i32, |
2542 | width: i32, |
2543 | height: i32, |
2544 | depth: i32, |
2545 | border: i32, |
2546 | format: u32, |
2547 | type_: u32, |
2548 | source: &VideoFrame, |
2549 | ) -> Result<(), JsValue>; |
2550 | #[cfg (feature = "ImageBitmap" )] |
2551 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2552 | #[doc = "The `texImage3D()` method." ] |
2553 | #[doc = "" ] |
2554 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2555 | #[doc = "" ] |
2556 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2557 | pub fn tex_image_3d_with_image_bitmap( |
2558 | this: &WebGl2RenderingContext, |
2559 | target: u32, |
2560 | level: i32, |
2561 | internalformat: i32, |
2562 | width: i32, |
2563 | height: i32, |
2564 | depth: i32, |
2565 | border: i32, |
2566 | format: u32, |
2567 | type_: u32, |
2568 | source: &ImageBitmap, |
2569 | ) -> Result<(), JsValue>; |
2570 | #[cfg (feature = "ImageData" )] |
2571 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2572 | #[doc = "The `texImage3D()` method." ] |
2573 | #[doc = "" ] |
2574 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2575 | #[doc = "" ] |
2576 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2577 | pub fn tex_image_3d_with_image_data( |
2578 | this: &WebGl2RenderingContext, |
2579 | target: u32, |
2580 | level: i32, |
2581 | internalformat: i32, |
2582 | width: i32, |
2583 | height: i32, |
2584 | depth: i32, |
2585 | border: i32, |
2586 | format: u32, |
2587 | type_: u32, |
2588 | source: &ImageData, |
2589 | ) -> Result<(), JsValue>; |
2590 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2591 | #[doc = "The `texImage3D()` method." ] |
2592 | #[doc = "" ] |
2593 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2594 | #[doc = "" ] |
2595 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2596 | pub fn tex_image_3d_with_opt_array_buffer_view( |
2597 | this: &WebGl2RenderingContext, |
2598 | target: u32, |
2599 | level: i32, |
2600 | internalformat: i32, |
2601 | width: i32, |
2602 | height: i32, |
2603 | depth: i32, |
2604 | border: i32, |
2605 | format: u32, |
2606 | type_: u32, |
2607 | src_data: Option<&::js_sys::Object>, |
2608 | ) -> Result<(), JsValue>; |
2609 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2610 | #[doc = "The `texImage3D()` method." ] |
2611 | #[doc = "" ] |
2612 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2613 | #[doc = "" ] |
2614 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2615 | pub fn tex_image_3d_with_opt_u8_array( |
2616 | this: &WebGl2RenderingContext, |
2617 | target: u32, |
2618 | level: i32, |
2619 | internalformat: i32, |
2620 | width: i32, |
2621 | height: i32, |
2622 | depth: i32, |
2623 | border: i32, |
2624 | format: u32, |
2625 | type_: u32, |
2626 | src_data: Option<&[u8]>, |
2627 | ) -> Result<(), JsValue>; |
2628 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2629 | #[doc = "The `texImage3D()` method." ] |
2630 | #[doc = "" ] |
2631 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2632 | #[doc = "" ] |
2633 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2634 | pub fn tex_image_3d_with_array_buffer_view_and_src_offset( |
2635 | this: &WebGl2RenderingContext, |
2636 | target: u32, |
2637 | level: i32, |
2638 | internalformat: i32, |
2639 | width: i32, |
2640 | height: i32, |
2641 | depth: i32, |
2642 | border: i32, |
2643 | format: u32, |
2644 | type_: u32, |
2645 | src_data: &::js_sys::Object, |
2646 | src_offset: u32, |
2647 | ) -> Result<(), JsValue>; |
2648 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] |
2649 | #[doc = "The `texImage3D()` method." ] |
2650 | #[doc = "" ] |
2651 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)" ] |
2652 | #[doc = "" ] |
2653 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2654 | pub fn tex_image_3d_with_u8_array_and_src_offset( |
2655 | this: &WebGl2RenderingContext, |
2656 | target: u32, |
2657 | level: i32, |
2658 | internalformat: i32, |
2659 | width: i32, |
2660 | height: i32, |
2661 | depth: i32, |
2662 | border: i32, |
2663 | format: u32, |
2664 | type_: u32, |
2665 | src_data: &[u8], |
2666 | src_offset: u32, |
2667 | ) -> Result<(), JsValue>; |
2668 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage2D)] |
2669 | #[doc = "The `texStorage2D()` method." ] |
2670 | #[doc = "" ] |
2671 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)" ] |
2672 | #[doc = "" ] |
2673 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2674 | pub fn tex_storage_2d( |
2675 | this: &WebGl2RenderingContext, |
2676 | target: u32, |
2677 | levels: i32, |
2678 | internalformat: u32, |
2679 | width: i32, |
2680 | height: i32, |
2681 | ); |
2682 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage3D)] |
2683 | #[doc = "The `texStorage3D()` method." ] |
2684 | #[doc = "" ] |
2685 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)" ] |
2686 | #[doc = "" ] |
2687 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2688 | pub fn tex_storage_3d( |
2689 | this: &WebGl2RenderingContext, |
2690 | target: u32, |
2691 | levels: i32, |
2692 | internalformat: u32, |
2693 | width: i32, |
2694 | height: i32, |
2695 | depth: i32, |
2696 | ); |
2697 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2698 | #[doc = "The `texSubImage2D()` method." ] |
2699 | #[doc = "" ] |
2700 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2701 | #[doc = "" ] |
2702 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2703 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view( |
2704 | this: &WebGl2RenderingContext, |
2705 | target: u32, |
2706 | level: i32, |
2707 | xoffset: i32, |
2708 | yoffset: i32, |
2709 | width: i32, |
2710 | height: i32, |
2711 | format: u32, |
2712 | type_: u32, |
2713 | pixels: Option<&::js_sys::Object>, |
2714 | ) -> Result<(), JsValue>; |
2715 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2716 | #[doc = "The `texSubImage2D()` method." ] |
2717 | #[doc = "" ] |
2718 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2719 | #[doc = "" ] |
2720 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2721 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array( |
2722 | this: &WebGl2RenderingContext, |
2723 | target: u32, |
2724 | level: i32, |
2725 | xoffset: i32, |
2726 | yoffset: i32, |
2727 | width: i32, |
2728 | height: i32, |
2729 | format: u32, |
2730 | type_: u32, |
2731 | pixels: Option<&[u8]>, |
2732 | ) -> Result<(), JsValue>; |
2733 | #[cfg (feature = "HtmlCanvasElement" )] |
2734 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2735 | #[doc = "The `texSubImage2D()` method." ] |
2736 | #[doc = "" ] |
2737 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2738 | #[doc = "" ] |
2739 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
2740 | pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element( |
2741 | this: &WebGl2RenderingContext, |
2742 | target: u32, |
2743 | level: i32, |
2744 | xoffset: i32, |
2745 | yoffset: i32, |
2746 | format: u32, |
2747 | type_: u32, |
2748 | source: &HtmlCanvasElement, |
2749 | ) -> Result<(), JsValue>; |
2750 | #[cfg (feature = "HtmlImageElement" )] |
2751 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2752 | #[doc = "The `texSubImage2D()` method." ] |
2753 | #[doc = "" ] |
2754 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2755 | #[doc = "" ] |
2756 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
2757 | pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element( |
2758 | this: &WebGl2RenderingContext, |
2759 | target: u32, |
2760 | level: i32, |
2761 | xoffset: i32, |
2762 | yoffset: i32, |
2763 | format: u32, |
2764 | type_: u32, |
2765 | source: &HtmlImageElement, |
2766 | ) -> Result<(), JsValue>; |
2767 | #[cfg (feature = "HtmlVideoElement" )] |
2768 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2769 | #[doc = "The `texSubImage2D()` method." ] |
2770 | #[doc = "" ] |
2771 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2772 | #[doc = "" ] |
2773 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
2774 | pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element( |
2775 | this: &WebGl2RenderingContext, |
2776 | target: u32, |
2777 | level: i32, |
2778 | xoffset: i32, |
2779 | yoffset: i32, |
2780 | format: u32, |
2781 | type_: u32, |
2782 | source: &HtmlVideoElement, |
2783 | ) -> Result<(), JsValue>; |
2784 | #[cfg (web_sys_unstable_apis)] |
2785 | #[cfg (feature = "VideoFrame" )] |
2786 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2787 | #[doc = "The `texSubImage2D()` method." ] |
2788 | #[doc = "" ] |
2789 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2790 | #[doc = "" ] |
2791 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2792 | #[doc = "" ] |
2793 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2794 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2795 | pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame( |
2796 | this: &WebGl2RenderingContext, |
2797 | target: u32, |
2798 | level: i32, |
2799 | xoffset: i32, |
2800 | yoffset: i32, |
2801 | format: u32, |
2802 | type_: u32, |
2803 | source: &VideoFrame, |
2804 | ) -> Result<(), JsValue>; |
2805 | #[cfg (feature = "ImageBitmap" )] |
2806 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2807 | #[doc = "The `texSubImage2D()` method." ] |
2808 | #[doc = "" ] |
2809 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2810 | #[doc = "" ] |
2811 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2812 | pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap( |
2813 | this: &WebGl2RenderingContext, |
2814 | target: u32, |
2815 | level: i32, |
2816 | xoffset: i32, |
2817 | yoffset: i32, |
2818 | format: u32, |
2819 | type_: u32, |
2820 | source: &ImageBitmap, |
2821 | ) -> Result<(), JsValue>; |
2822 | #[cfg (feature = "ImageData" )] |
2823 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2824 | #[doc = "The `texSubImage2D()` method." ] |
2825 | #[doc = "" ] |
2826 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2827 | #[doc = "" ] |
2828 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2829 | pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data( |
2830 | this: &WebGl2RenderingContext, |
2831 | target: u32, |
2832 | level: i32, |
2833 | xoffset: i32, |
2834 | yoffset: i32, |
2835 | format: u32, |
2836 | type_: u32, |
2837 | source: &ImageData, |
2838 | ) -> Result<(), JsValue>; |
2839 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2840 | #[doc = "The `texSubImage2D()` method." ] |
2841 | #[doc = "" ] |
2842 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2843 | #[doc = "" ] |
2844 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2845 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32( |
2846 | this: &WebGl2RenderingContext, |
2847 | target: u32, |
2848 | level: i32, |
2849 | xoffset: i32, |
2850 | yoffset: i32, |
2851 | width: i32, |
2852 | height: i32, |
2853 | format: u32, |
2854 | type_: u32, |
2855 | pbo_offset: i32, |
2856 | ) -> Result<(), JsValue>; |
2857 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2858 | #[doc = "The `texSubImage2D()` method." ] |
2859 | #[doc = "" ] |
2860 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2861 | #[doc = "" ] |
2862 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2863 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64( |
2864 | this: &WebGl2RenderingContext, |
2865 | target: u32, |
2866 | level: i32, |
2867 | xoffset: i32, |
2868 | yoffset: i32, |
2869 | width: i32, |
2870 | height: i32, |
2871 | format: u32, |
2872 | type_: u32, |
2873 | pbo_offset: f64, |
2874 | ) -> Result<(), JsValue>; |
2875 | #[cfg (feature = "HtmlCanvasElement" )] |
2876 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2877 | #[doc = "The `texSubImage2D()` method." ] |
2878 | #[doc = "" ] |
2879 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2880 | #[doc = "" ] |
2881 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
2882 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element( |
2883 | this: &WebGl2RenderingContext, |
2884 | target: u32, |
2885 | level: i32, |
2886 | xoffset: i32, |
2887 | yoffset: i32, |
2888 | width: i32, |
2889 | height: i32, |
2890 | format: u32, |
2891 | type_: u32, |
2892 | source: &HtmlCanvasElement, |
2893 | ) -> Result<(), JsValue>; |
2894 | #[cfg (feature = "HtmlImageElement" )] |
2895 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2896 | #[doc = "The `texSubImage2D()` method." ] |
2897 | #[doc = "" ] |
2898 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2899 | #[doc = "" ] |
2900 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
2901 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element( |
2902 | this: &WebGl2RenderingContext, |
2903 | target: u32, |
2904 | level: i32, |
2905 | xoffset: i32, |
2906 | yoffset: i32, |
2907 | width: i32, |
2908 | height: i32, |
2909 | format: u32, |
2910 | type_: u32, |
2911 | source: &HtmlImageElement, |
2912 | ) -> Result<(), JsValue>; |
2913 | #[cfg (feature = "HtmlVideoElement" )] |
2914 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2915 | #[doc = "The `texSubImage2D()` method." ] |
2916 | #[doc = "" ] |
2917 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2918 | #[doc = "" ] |
2919 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
2920 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element( |
2921 | this: &WebGl2RenderingContext, |
2922 | target: u32, |
2923 | level: i32, |
2924 | xoffset: i32, |
2925 | yoffset: i32, |
2926 | width: i32, |
2927 | height: i32, |
2928 | format: u32, |
2929 | type_: u32, |
2930 | source: &HtmlVideoElement, |
2931 | ) -> Result<(), JsValue>; |
2932 | #[cfg (web_sys_unstable_apis)] |
2933 | #[cfg (feature = "VideoFrame" )] |
2934 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2935 | #[doc = "The `texSubImage2D()` method." ] |
2936 | #[doc = "" ] |
2937 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2938 | #[doc = "" ] |
2939 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
2940 | #[doc = "" ] |
2941 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
2942 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
2943 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_video_frame( |
2944 | this: &WebGl2RenderingContext, |
2945 | target: u32, |
2946 | level: i32, |
2947 | xoffset: i32, |
2948 | yoffset: i32, |
2949 | width: i32, |
2950 | height: i32, |
2951 | format: u32, |
2952 | type_: u32, |
2953 | source: &VideoFrame, |
2954 | ) -> Result<(), JsValue>; |
2955 | #[cfg (feature = "ImageBitmap" )] |
2956 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2957 | #[doc = "The `texSubImage2D()` method." ] |
2958 | #[doc = "" ] |
2959 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2960 | #[doc = "" ] |
2961 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
2962 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap( |
2963 | this: &WebGl2RenderingContext, |
2964 | target: u32, |
2965 | level: i32, |
2966 | xoffset: i32, |
2967 | yoffset: i32, |
2968 | width: i32, |
2969 | height: i32, |
2970 | format: u32, |
2971 | type_: u32, |
2972 | source: &ImageBitmap, |
2973 | ) -> Result<(), JsValue>; |
2974 | #[cfg (feature = "ImageData" )] |
2975 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2976 | #[doc = "The `texSubImage2D()` method." ] |
2977 | #[doc = "" ] |
2978 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2979 | #[doc = "" ] |
2980 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
2981 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data( |
2982 | this: &WebGl2RenderingContext, |
2983 | target: u32, |
2984 | level: i32, |
2985 | xoffset: i32, |
2986 | yoffset: i32, |
2987 | width: i32, |
2988 | height: i32, |
2989 | format: u32, |
2990 | type_: u32, |
2991 | source: &ImageData, |
2992 | ) -> Result<(), JsValue>; |
2993 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
2994 | #[doc = "The `texSubImage2D()` method." ] |
2995 | #[doc = "" ] |
2996 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
2997 | #[doc = "" ] |
2998 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
2999 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset( |
3000 | this: &WebGl2RenderingContext, |
3001 | target: u32, |
3002 | level: i32, |
3003 | xoffset: i32, |
3004 | yoffset: i32, |
3005 | width: i32, |
3006 | height: i32, |
3007 | format: u32, |
3008 | type_: u32, |
3009 | src_data: &::js_sys::Object, |
3010 | src_offset: u32, |
3011 | ) -> Result<(), JsValue>; |
3012 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] |
3013 | #[doc = "The `texSubImage2D()` method." ] |
3014 | #[doc = "" ] |
3015 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)" ] |
3016 | #[doc = "" ] |
3017 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3018 | pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset( |
3019 | this: &WebGl2RenderingContext, |
3020 | target: u32, |
3021 | level: i32, |
3022 | xoffset: i32, |
3023 | yoffset: i32, |
3024 | width: i32, |
3025 | height: i32, |
3026 | format: u32, |
3027 | type_: u32, |
3028 | src_data: &[u8], |
3029 | src_offset: u32, |
3030 | ) -> Result<(), JsValue>; |
3031 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3032 | #[doc = "The `texSubImage3D()` method." ] |
3033 | #[doc = "" ] |
3034 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3035 | #[doc = "" ] |
3036 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3037 | pub fn tex_sub_image_3d_with_i32( |
3038 | this: &WebGl2RenderingContext, |
3039 | target: u32, |
3040 | level: i32, |
3041 | xoffset: i32, |
3042 | yoffset: i32, |
3043 | zoffset: i32, |
3044 | width: i32, |
3045 | height: i32, |
3046 | depth: i32, |
3047 | format: u32, |
3048 | type_: u32, |
3049 | pbo_offset: i32, |
3050 | ) -> Result<(), JsValue>; |
3051 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3052 | #[doc = "The `texSubImage3D()` method." ] |
3053 | #[doc = "" ] |
3054 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3055 | #[doc = "" ] |
3056 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3057 | pub fn tex_sub_image_3d_with_f64( |
3058 | this: &WebGl2RenderingContext, |
3059 | target: u32, |
3060 | level: i32, |
3061 | xoffset: i32, |
3062 | yoffset: i32, |
3063 | zoffset: i32, |
3064 | width: i32, |
3065 | height: i32, |
3066 | depth: i32, |
3067 | format: u32, |
3068 | type_: u32, |
3069 | pbo_offset: f64, |
3070 | ) -> Result<(), JsValue>; |
3071 | #[cfg (feature = "HtmlCanvasElement" )] |
3072 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3073 | #[doc = "The `texSubImage3D()` method." ] |
3074 | #[doc = "" ] |
3075 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3076 | #[doc = "" ] |
3077 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] |
3078 | pub fn tex_sub_image_3d_with_html_canvas_element( |
3079 | this: &WebGl2RenderingContext, |
3080 | target: u32, |
3081 | level: i32, |
3082 | xoffset: i32, |
3083 | yoffset: i32, |
3084 | zoffset: i32, |
3085 | width: i32, |
3086 | height: i32, |
3087 | depth: i32, |
3088 | format: u32, |
3089 | type_: u32, |
3090 | source: &HtmlCanvasElement, |
3091 | ) -> Result<(), JsValue>; |
3092 | #[cfg (feature = "HtmlImageElement" )] |
3093 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3094 | #[doc = "The `texSubImage3D()` method." ] |
3095 | #[doc = "" ] |
3096 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3097 | #[doc = "" ] |
3098 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] |
3099 | pub fn tex_sub_image_3d_with_html_image_element( |
3100 | this: &WebGl2RenderingContext, |
3101 | target: u32, |
3102 | level: i32, |
3103 | xoffset: i32, |
3104 | yoffset: i32, |
3105 | zoffset: i32, |
3106 | width: i32, |
3107 | height: i32, |
3108 | depth: i32, |
3109 | format: u32, |
3110 | type_: u32, |
3111 | source: &HtmlImageElement, |
3112 | ) -> Result<(), JsValue>; |
3113 | #[cfg (feature = "HtmlVideoElement" )] |
3114 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3115 | #[doc = "The `texSubImage3D()` method." ] |
3116 | #[doc = "" ] |
3117 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3118 | #[doc = "" ] |
3119 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] |
3120 | pub fn tex_sub_image_3d_with_html_video_element( |
3121 | this: &WebGl2RenderingContext, |
3122 | target: u32, |
3123 | level: i32, |
3124 | xoffset: i32, |
3125 | yoffset: i32, |
3126 | zoffset: i32, |
3127 | width: i32, |
3128 | height: i32, |
3129 | depth: i32, |
3130 | format: u32, |
3131 | type_: u32, |
3132 | source: &HtmlVideoElement, |
3133 | ) -> Result<(), JsValue>; |
3134 | #[cfg (web_sys_unstable_apis)] |
3135 | #[cfg (feature = "VideoFrame" )] |
3136 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3137 | #[doc = "The `texSubImage3D()` method." ] |
3138 | #[doc = "" ] |
3139 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3140 | #[doc = "" ] |
3141 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*" ] |
3142 | #[doc = "" ] |
3143 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
3144 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
3145 | pub fn tex_sub_image_3d_with_video_frame( |
3146 | this: &WebGl2RenderingContext, |
3147 | target: u32, |
3148 | level: i32, |
3149 | xoffset: i32, |
3150 | yoffset: i32, |
3151 | zoffset: i32, |
3152 | width: i32, |
3153 | height: i32, |
3154 | depth: i32, |
3155 | format: u32, |
3156 | type_: u32, |
3157 | source: &VideoFrame, |
3158 | ) -> Result<(), JsValue>; |
3159 | #[cfg (feature = "ImageBitmap" )] |
3160 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3161 | #[doc = "The `texSubImage3D()` method." ] |
3162 | #[doc = "" ] |
3163 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3164 | #[doc = "" ] |
3165 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] |
3166 | pub fn tex_sub_image_3d_with_image_bitmap( |
3167 | this: &WebGl2RenderingContext, |
3168 | target: u32, |
3169 | level: i32, |
3170 | xoffset: i32, |
3171 | yoffset: i32, |
3172 | zoffset: i32, |
3173 | width: i32, |
3174 | height: i32, |
3175 | depth: i32, |
3176 | format: u32, |
3177 | type_: u32, |
3178 | source: &ImageBitmap, |
3179 | ) -> Result<(), JsValue>; |
3180 | #[cfg (feature = "ImageData" )] |
3181 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3182 | #[doc = "The `texSubImage3D()` method." ] |
3183 | #[doc = "" ] |
3184 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3185 | #[doc = "" ] |
3186 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] |
3187 | pub fn tex_sub_image_3d_with_image_data( |
3188 | this: &WebGl2RenderingContext, |
3189 | target: u32, |
3190 | level: i32, |
3191 | xoffset: i32, |
3192 | yoffset: i32, |
3193 | zoffset: i32, |
3194 | width: i32, |
3195 | height: i32, |
3196 | depth: i32, |
3197 | format: u32, |
3198 | type_: u32, |
3199 | source: &ImageData, |
3200 | ) -> Result<(), JsValue>; |
3201 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3202 | #[doc = "The `texSubImage3D()` method." ] |
3203 | #[doc = "" ] |
3204 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3205 | #[doc = "" ] |
3206 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3207 | pub fn tex_sub_image_3d_with_opt_array_buffer_view( |
3208 | this: &WebGl2RenderingContext, |
3209 | target: u32, |
3210 | level: i32, |
3211 | xoffset: i32, |
3212 | yoffset: i32, |
3213 | zoffset: i32, |
3214 | width: i32, |
3215 | height: i32, |
3216 | depth: i32, |
3217 | format: u32, |
3218 | type_: u32, |
3219 | src_data: Option<&::js_sys::Object>, |
3220 | ) -> Result<(), JsValue>; |
3221 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3222 | #[doc = "The `texSubImage3D()` method." ] |
3223 | #[doc = "" ] |
3224 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3225 | #[doc = "" ] |
3226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3227 | pub fn tex_sub_image_3d_with_opt_u8_array( |
3228 | this: &WebGl2RenderingContext, |
3229 | target: u32, |
3230 | level: i32, |
3231 | xoffset: i32, |
3232 | yoffset: i32, |
3233 | zoffset: i32, |
3234 | width: i32, |
3235 | height: i32, |
3236 | depth: i32, |
3237 | format: u32, |
3238 | type_: u32, |
3239 | src_data: Option<&[u8]>, |
3240 | ) -> Result<(), JsValue>; |
3241 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3242 | #[doc = "The `texSubImage3D()` method." ] |
3243 | #[doc = "" ] |
3244 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3245 | #[doc = "" ] |
3246 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3247 | pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset( |
3248 | this: &WebGl2RenderingContext, |
3249 | target: u32, |
3250 | level: i32, |
3251 | xoffset: i32, |
3252 | yoffset: i32, |
3253 | zoffset: i32, |
3254 | width: i32, |
3255 | height: i32, |
3256 | depth: i32, |
3257 | format: u32, |
3258 | type_: u32, |
3259 | src_data: Option<&::js_sys::Object>, |
3260 | src_offset: u32, |
3261 | ) -> Result<(), JsValue>; |
3262 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] |
3263 | #[doc = "The `texSubImage3D()` method." ] |
3264 | #[doc = "" ] |
3265 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)" ] |
3266 | #[doc = "" ] |
3267 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
3268 | pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset( |
3269 | this: &WebGl2RenderingContext, |
3270 | target: u32, |
3271 | level: i32, |
3272 | xoffset: i32, |
3273 | yoffset: i32, |
3274 | zoffset: i32, |
3275 | width: i32, |
3276 | height: i32, |
3277 | depth: i32, |
3278 | format: u32, |
3279 | type_: u32, |
3280 | src_data: Option<&[u8]>, |
3281 | src_offset: u32, |
3282 | ) -> Result<(), JsValue>; |
3283 | #[cfg (feature = "WebGlProgram" )] |
3284 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = transformFeedbackVaryings)] |
3285 | #[doc = "The `transformFeedbackVaryings()` method." ] |
3286 | #[doc = "" ] |
3287 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)" ] |
3288 | #[doc = "" ] |
3289 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
3290 | pub fn transform_feedback_varyings( |
3291 | this: &WebGl2RenderingContext, |
3292 | program: &WebGlProgram, |
3293 | varyings: &::wasm_bindgen::JsValue, |
3294 | buffer_mode: u32, |
3295 | ); |
3296 | #[cfg (feature = "WebGlUniformLocation" )] |
3297 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] |
3298 | #[doc = "The `uniform1fv()` method." ] |
3299 | #[doc = "" ] |
3300 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)" ] |
3301 | #[doc = "" ] |
3302 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3303 | pub fn uniform1fv_with_f32_array( |
3304 | this: &WebGl2RenderingContext, |
3305 | location: Option<&WebGlUniformLocation>, |
3306 | data: &[f32], |
3307 | ); |
3308 | #[cfg (feature = "WebGlUniformLocation" )] |
3309 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] |
3310 | #[doc = "The `uniform1fv()` method." ] |
3311 | #[doc = "" ] |
3312 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)" ] |
3313 | #[doc = "" ] |
3314 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3315 | pub fn uniform1fv_with_f32_sequence( |
3316 | this: &WebGl2RenderingContext, |
3317 | location: Option<&WebGlUniformLocation>, |
3318 | data: &::wasm_bindgen::JsValue, |
3319 | ); |
3320 | #[cfg (feature = "WebGlUniformLocation" )] |
3321 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] |
3322 | #[doc = "The `uniform1fv()` method." ] |
3323 | #[doc = "" ] |
3324 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)" ] |
3325 | #[doc = "" ] |
3326 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3327 | pub fn uniform1fv_with_f32_array_and_src_offset( |
3328 | this: &WebGl2RenderingContext, |
3329 | location: Option<&WebGlUniformLocation>, |
3330 | data: &[f32], |
3331 | src_offset: u32, |
3332 | ); |
3333 | #[cfg (feature = "WebGlUniformLocation" )] |
3334 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] |
3335 | #[doc = "The `uniform1fv()` method." ] |
3336 | #[doc = "" ] |
3337 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)" ] |
3338 | #[doc = "" ] |
3339 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3340 | pub fn uniform1fv_with_f32_sequence_and_src_offset( |
3341 | this: &WebGl2RenderingContext, |
3342 | location: Option<&WebGlUniformLocation>, |
3343 | data: &::wasm_bindgen::JsValue, |
3344 | src_offset: u32, |
3345 | ); |
3346 | #[cfg (feature = "WebGlUniformLocation" )] |
3347 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] |
3348 | #[doc = "The `uniform1fv()` method." ] |
3349 | #[doc = "" ] |
3350 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)" ] |
3351 | #[doc = "" ] |
3352 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3353 | pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length( |
3354 | this: &WebGl2RenderingContext, |
3355 | location: Option<&WebGlUniformLocation>, |
3356 | data: &[f32], |
3357 | src_offset: u32, |
3358 | src_length: u32, |
3359 | ); |
3360 | #[cfg (feature = "WebGlUniformLocation" )] |
3361 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] |
3362 | #[doc = "The `uniform1fv()` method." ] |
3363 | #[doc = "" ] |
3364 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)" ] |
3365 | #[doc = "" ] |
3366 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3367 | pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length( |
3368 | this: &WebGl2RenderingContext, |
3369 | location: Option<&WebGlUniformLocation>, |
3370 | data: &::wasm_bindgen::JsValue, |
3371 | src_offset: u32, |
3372 | src_length: u32, |
3373 | ); |
3374 | #[cfg (feature = "WebGlUniformLocation" )] |
3375 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] |
3376 | #[doc = "The `uniform1iv()` method." ] |
3377 | #[doc = "" ] |
3378 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)" ] |
3379 | #[doc = "" ] |
3380 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3381 | pub fn uniform1iv_with_i32_array( |
3382 | this: &WebGl2RenderingContext, |
3383 | location: Option<&WebGlUniformLocation>, |
3384 | data: &[i32], |
3385 | ); |
3386 | #[cfg (feature = "WebGlUniformLocation" )] |
3387 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] |
3388 | #[doc = "The `uniform1iv()` method." ] |
3389 | #[doc = "" ] |
3390 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)" ] |
3391 | #[doc = "" ] |
3392 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3393 | pub fn uniform1iv_with_i32_sequence( |
3394 | this: &WebGl2RenderingContext, |
3395 | location: Option<&WebGlUniformLocation>, |
3396 | data: &::wasm_bindgen::JsValue, |
3397 | ); |
3398 | #[cfg (feature = "WebGlUniformLocation" )] |
3399 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] |
3400 | #[doc = "The `uniform1iv()` method." ] |
3401 | #[doc = "" ] |
3402 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)" ] |
3403 | #[doc = "" ] |
3404 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3405 | pub fn uniform1iv_with_i32_array_and_src_offset( |
3406 | this: &WebGl2RenderingContext, |
3407 | location: Option<&WebGlUniformLocation>, |
3408 | data: &[i32], |
3409 | src_offset: u32, |
3410 | ); |
3411 | #[cfg (feature = "WebGlUniformLocation" )] |
3412 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] |
3413 | #[doc = "The `uniform1iv()` method." ] |
3414 | #[doc = "" ] |
3415 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)" ] |
3416 | #[doc = "" ] |
3417 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3418 | pub fn uniform1iv_with_i32_sequence_and_src_offset( |
3419 | this: &WebGl2RenderingContext, |
3420 | location: Option<&WebGlUniformLocation>, |
3421 | data: &::wasm_bindgen::JsValue, |
3422 | src_offset: u32, |
3423 | ); |
3424 | #[cfg (feature = "WebGlUniformLocation" )] |
3425 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] |
3426 | #[doc = "The `uniform1iv()` method." ] |
3427 | #[doc = "" ] |
3428 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)" ] |
3429 | #[doc = "" ] |
3430 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3431 | pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length( |
3432 | this: &WebGl2RenderingContext, |
3433 | location: Option<&WebGlUniformLocation>, |
3434 | data: &[i32], |
3435 | src_offset: u32, |
3436 | src_length: u32, |
3437 | ); |
3438 | #[cfg (feature = "WebGlUniformLocation" )] |
3439 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] |
3440 | #[doc = "The `uniform1iv()` method." ] |
3441 | #[doc = "" ] |
3442 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)" ] |
3443 | #[doc = "" ] |
3444 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3445 | pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length( |
3446 | this: &WebGl2RenderingContext, |
3447 | location: Option<&WebGlUniformLocation>, |
3448 | data: &::wasm_bindgen::JsValue, |
3449 | src_offset: u32, |
3450 | src_length: u32, |
3451 | ); |
3452 | #[cfg (feature = "WebGlUniformLocation" )] |
3453 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1ui)] |
3454 | #[doc = "The `uniform1ui()` method." ] |
3455 | #[doc = "" ] |
3456 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)" ] |
3457 | #[doc = "" ] |
3458 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3459 | pub fn uniform1ui( |
3460 | this: &WebGl2RenderingContext, |
3461 | location: Option<&WebGlUniformLocation>, |
3462 | v0: u32, |
3463 | ); |
3464 | #[cfg (feature = "WebGlUniformLocation" )] |
3465 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] |
3466 | #[doc = "The `uniform1uiv()` method." ] |
3467 | #[doc = "" ] |
3468 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)" ] |
3469 | #[doc = "" ] |
3470 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3471 | pub fn uniform1uiv_with_u32_array( |
3472 | this: &WebGl2RenderingContext, |
3473 | location: Option<&WebGlUniformLocation>, |
3474 | data: &[u32], |
3475 | ); |
3476 | #[cfg (feature = "WebGlUniformLocation" )] |
3477 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] |
3478 | #[doc = "The `uniform1uiv()` method." ] |
3479 | #[doc = "" ] |
3480 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)" ] |
3481 | #[doc = "" ] |
3482 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3483 | pub fn uniform1uiv_with_u32_sequence( |
3484 | this: &WebGl2RenderingContext, |
3485 | location: Option<&WebGlUniformLocation>, |
3486 | data: &::wasm_bindgen::JsValue, |
3487 | ); |
3488 | #[cfg (feature = "WebGlUniformLocation" )] |
3489 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] |
3490 | #[doc = "The `uniform1uiv()` method." ] |
3491 | #[doc = "" ] |
3492 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)" ] |
3493 | #[doc = "" ] |
3494 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3495 | pub fn uniform1uiv_with_u32_array_and_src_offset( |
3496 | this: &WebGl2RenderingContext, |
3497 | location: Option<&WebGlUniformLocation>, |
3498 | data: &[u32], |
3499 | src_offset: u32, |
3500 | ); |
3501 | #[cfg (feature = "WebGlUniformLocation" )] |
3502 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] |
3503 | #[doc = "The `uniform1uiv()` method." ] |
3504 | #[doc = "" ] |
3505 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)" ] |
3506 | #[doc = "" ] |
3507 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3508 | pub fn uniform1uiv_with_u32_sequence_and_src_offset( |
3509 | this: &WebGl2RenderingContext, |
3510 | location: Option<&WebGlUniformLocation>, |
3511 | data: &::wasm_bindgen::JsValue, |
3512 | src_offset: u32, |
3513 | ); |
3514 | #[cfg (feature = "WebGlUniformLocation" )] |
3515 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] |
3516 | #[doc = "The `uniform1uiv()` method." ] |
3517 | #[doc = "" ] |
3518 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)" ] |
3519 | #[doc = "" ] |
3520 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3521 | pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length( |
3522 | this: &WebGl2RenderingContext, |
3523 | location: Option<&WebGlUniformLocation>, |
3524 | data: &[u32], |
3525 | src_offset: u32, |
3526 | src_length: u32, |
3527 | ); |
3528 | #[cfg (feature = "WebGlUniformLocation" )] |
3529 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] |
3530 | #[doc = "The `uniform1uiv()` method." ] |
3531 | #[doc = "" ] |
3532 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)" ] |
3533 | #[doc = "" ] |
3534 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3535 | pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length( |
3536 | this: &WebGl2RenderingContext, |
3537 | location: Option<&WebGlUniformLocation>, |
3538 | data: &::wasm_bindgen::JsValue, |
3539 | src_offset: u32, |
3540 | src_length: u32, |
3541 | ); |
3542 | #[cfg (feature = "WebGlUniformLocation" )] |
3543 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] |
3544 | #[doc = "The `uniform2fv()` method." ] |
3545 | #[doc = "" ] |
3546 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)" ] |
3547 | #[doc = "" ] |
3548 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3549 | pub fn uniform2fv_with_f32_array( |
3550 | this: &WebGl2RenderingContext, |
3551 | location: Option<&WebGlUniformLocation>, |
3552 | data: &[f32], |
3553 | ); |
3554 | #[cfg (feature = "WebGlUniformLocation" )] |
3555 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] |
3556 | #[doc = "The `uniform2fv()` method." ] |
3557 | #[doc = "" ] |
3558 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)" ] |
3559 | #[doc = "" ] |
3560 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3561 | pub fn uniform2fv_with_f32_sequence( |
3562 | this: &WebGl2RenderingContext, |
3563 | location: Option<&WebGlUniformLocation>, |
3564 | data: &::wasm_bindgen::JsValue, |
3565 | ); |
3566 | #[cfg (feature = "WebGlUniformLocation" )] |
3567 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] |
3568 | #[doc = "The `uniform2fv()` method." ] |
3569 | #[doc = "" ] |
3570 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)" ] |
3571 | #[doc = "" ] |
3572 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3573 | pub fn uniform2fv_with_f32_array_and_src_offset( |
3574 | this: &WebGl2RenderingContext, |
3575 | location: Option<&WebGlUniformLocation>, |
3576 | data: &[f32], |
3577 | src_offset: u32, |
3578 | ); |
3579 | #[cfg (feature = "WebGlUniformLocation" )] |
3580 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] |
3581 | #[doc = "The `uniform2fv()` method." ] |
3582 | #[doc = "" ] |
3583 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)" ] |
3584 | #[doc = "" ] |
3585 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3586 | pub fn uniform2fv_with_f32_sequence_and_src_offset( |
3587 | this: &WebGl2RenderingContext, |
3588 | location: Option<&WebGlUniformLocation>, |
3589 | data: &::wasm_bindgen::JsValue, |
3590 | src_offset: u32, |
3591 | ); |
3592 | #[cfg (feature = "WebGlUniformLocation" )] |
3593 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] |
3594 | #[doc = "The `uniform2fv()` method." ] |
3595 | #[doc = "" ] |
3596 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)" ] |
3597 | #[doc = "" ] |
3598 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3599 | pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length( |
3600 | this: &WebGl2RenderingContext, |
3601 | location: Option<&WebGlUniformLocation>, |
3602 | data: &[f32], |
3603 | src_offset: u32, |
3604 | src_length: u32, |
3605 | ); |
3606 | #[cfg (feature = "WebGlUniformLocation" )] |
3607 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] |
3608 | #[doc = "The `uniform2fv()` method." ] |
3609 | #[doc = "" ] |
3610 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)" ] |
3611 | #[doc = "" ] |
3612 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3613 | pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length( |
3614 | this: &WebGl2RenderingContext, |
3615 | location: Option<&WebGlUniformLocation>, |
3616 | data: &::wasm_bindgen::JsValue, |
3617 | src_offset: u32, |
3618 | src_length: u32, |
3619 | ); |
3620 | #[cfg (feature = "WebGlUniformLocation" )] |
3621 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] |
3622 | #[doc = "The `uniform2iv()` method." ] |
3623 | #[doc = "" ] |
3624 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)" ] |
3625 | #[doc = "" ] |
3626 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3627 | pub fn uniform2iv_with_i32_array( |
3628 | this: &WebGl2RenderingContext, |
3629 | location: Option<&WebGlUniformLocation>, |
3630 | data: &[i32], |
3631 | ); |
3632 | #[cfg (feature = "WebGlUniformLocation" )] |
3633 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] |
3634 | #[doc = "The `uniform2iv()` method." ] |
3635 | #[doc = "" ] |
3636 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)" ] |
3637 | #[doc = "" ] |
3638 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3639 | pub fn uniform2iv_with_i32_sequence( |
3640 | this: &WebGl2RenderingContext, |
3641 | location: Option<&WebGlUniformLocation>, |
3642 | data: &::wasm_bindgen::JsValue, |
3643 | ); |
3644 | #[cfg (feature = "WebGlUniformLocation" )] |
3645 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] |
3646 | #[doc = "The `uniform2iv()` method." ] |
3647 | #[doc = "" ] |
3648 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)" ] |
3649 | #[doc = "" ] |
3650 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3651 | pub fn uniform2iv_with_i32_array_and_src_offset( |
3652 | this: &WebGl2RenderingContext, |
3653 | location: Option<&WebGlUniformLocation>, |
3654 | data: &[i32], |
3655 | src_offset: u32, |
3656 | ); |
3657 | #[cfg (feature = "WebGlUniformLocation" )] |
3658 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] |
3659 | #[doc = "The `uniform2iv()` method." ] |
3660 | #[doc = "" ] |
3661 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)" ] |
3662 | #[doc = "" ] |
3663 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3664 | pub fn uniform2iv_with_i32_sequence_and_src_offset( |
3665 | this: &WebGl2RenderingContext, |
3666 | location: Option<&WebGlUniformLocation>, |
3667 | data: &::wasm_bindgen::JsValue, |
3668 | src_offset: u32, |
3669 | ); |
3670 | #[cfg (feature = "WebGlUniformLocation" )] |
3671 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] |
3672 | #[doc = "The `uniform2iv()` method." ] |
3673 | #[doc = "" ] |
3674 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)" ] |
3675 | #[doc = "" ] |
3676 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3677 | pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length( |
3678 | this: &WebGl2RenderingContext, |
3679 | location: Option<&WebGlUniformLocation>, |
3680 | data: &[i32], |
3681 | src_offset: u32, |
3682 | src_length: u32, |
3683 | ); |
3684 | #[cfg (feature = "WebGlUniformLocation" )] |
3685 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] |
3686 | #[doc = "The `uniform2iv()` method." ] |
3687 | #[doc = "" ] |
3688 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)" ] |
3689 | #[doc = "" ] |
3690 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3691 | pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length( |
3692 | this: &WebGl2RenderingContext, |
3693 | location: Option<&WebGlUniformLocation>, |
3694 | data: &::wasm_bindgen::JsValue, |
3695 | src_offset: u32, |
3696 | src_length: u32, |
3697 | ); |
3698 | #[cfg (feature = "WebGlUniformLocation" )] |
3699 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2ui)] |
3700 | #[doc = "The `uniform2ui()` method." ] |
3701 | #[doc = "" ] |
3702 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)" ] |
3703 | #[doc = "" ] |
3704 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3705 | pub fn uniform2ui( |
3706 | this: &WebGl2RenderingContext, |
3707 | location: Option<&WebGlUniformLocation>, |
3708 | v0: u32, |
3709 | v1: u32, |
3710 | ); |
3711 | #[cfg (feature = "WebGlUniformLocation" )] |
3712 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] |
3713 | #[doc = "The `uniform2uiv()` method." ] |
3714 | #[doc = "" ] |
3715 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)" ] |
3716 | #[doc = "" ] |
3717 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3718 | pub fn uniform2uiv_with_u32_array( |
3719 | this: &WebGl2RenderingContext, |
3720 | location: Option<&WebGlUniformLocation>, |
3721 | data: &[u32], |
3722 | ); |
3723 | #[cfg (feature = "WebGlUniformLocation" )] |
3724 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] |
3725 | #[doc = "The `uniform2uiv()` method." ] |
3726 | #[doc = "" ] |
3727 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)" ] |
3728 | #[doc = "" ] |
3729 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3730 | pub fn uniform2uiv_with_u32_sequence( |
3731 | this: &WebGl2RenderingContext, |
3732 | location: Option<&WebGlUniformLocation>, |
3733 | data: &::wasm_bindgen::JsValue, |
3734 | ); |
3735 | #[cfg (feature = "WebGlUniformLocation" )] |
3736 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] |
3737 | #[doc = "The `uniform2uiv()` method." ] |
3738 | #[doc = "" ] |
3739 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)" ] |
3740 | #[doc = "" ] |
3741 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3742 | pub fn uniform2uiv_with_u32_array_and_src_offset( |
3743 | this: &WebGl2RenderingContext, |
3744 | location: Option<&WebGlUniformLocation>, |
3745 | data: &[u32], |
3746 | src_offset: u32, |
3747 | ); |
3748 | #[cfg (feature = "WebGlUniformLocation" )] |
3749 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] |
3750 | #[doc = "The `uniform2uiv()` method." ] |
3751 | #[doc = "" ] |
3752 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)" ] |
3753 | #[doc = "" ] |
3754 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3755 | pub fn uniform2uiv_with_u32_sequence_and_src_offset( |
3756 | this: &WebGl2RenderingContext, |
3757 | location: Option<&WebGlUniformLocation>, |
3758 | data: &::wasm_bindgen::JsValue, |
3759 | src_offset: u32, |
3760 | ); |
3761 | #[cfg (feature = "WebGlUniformLocation" )] |
3762 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] |
3763 | #[doc = "The `uniform2uiv()` method." ] |
3764 | #[doc = "" ] |
3765 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)" ] |
3766 | #[doc = "" ] |
3767 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3768 | pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length( |
3769 | this: &WebGl2RenderingContext, |
3770 | location: Option<&WebGlUniformLocation>, |
3771 | data: &[u32], |
3772 | src_offset: u32, |
3773 | src_length: u32, |
3774 | ); |
3775 | #[cfg (feature = "WebGlUniformLocation" )] |
3776 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] |
3777 | #[doc = "The `uniform2uiv()` method." ] |
3778 | #[doc = "" ] |
3779 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)" ] |
3780 | #[doc = "" ] |
3781 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3782 | pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length( |
3783 | this: &WebGl2RenderingContext, |
3784 | location: Option<&WebGlUniformLocation>, |
3785 | data: &::wasm_bindgen::JsValue, |
3786 | src_offset: u32, |
3787 | src_length: u32, |
3788 | ); |
3789 | #[cfg (feature = "WebGlUniformLocation" )] |
3790 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] |
3791 | #[doc = "The `uniform3fv()` method." ] |
3792 | #[doc = "" ] |
3793 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)" ] |
3794 | #[doc = "" ] |
3795 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3796 | pub fn uniform3fv_with_f32_array( |
3797 | this: &WebGl2RenderingContext, |
3798 | location: Option<&WebGlUniformLocation>, |
3799 | data: &[f32], |
3800 | ); |
3801 | #[cfg (feature = "WebGlUniformLocation" )] |
3802 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] |
3803 | #[doc = "The `uniform3fv()` method." ] |
3804 | #[doc = "" ] |
3805 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)" ] |
3806 | #[doc = "" ] |
3807 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3808 | pub fn uniform3fv_with_f32_sequence( |
3809 | this: &WebGl2RenderingContext, |
3810 | location: Option<&WebGlUniformLocation>, |
3811 | data: &::wasm_bindgen::JsValue, |
3812 | ); |
3813 | #[cfg (feature = "WebGlUniformLocation" )] |
3814 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] |
3815 | #[doc = "The `uniform3fv()` method." ] |
3816 | #[doc = "" ] |
3817 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)" ] |
3818 | #[doc = "" ] |
3819 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3820 | pub fn uniform3fv_with_f32_array_and_src_offset( |
3821 | this: &WebGl2RenderingContext, |
3822 | location: Option<&WebGlUniformLocation>, |
3823 | data: &[f32], |
3824 | src_offset: u32, |
3825 | ); |
3826 | #[cfg (feature = "WebGlUniformLocation" )] |
3827 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] |
3828 | #[doc = "The `uniform3fv()` method." ] |
3829 | #[doc = "" ] |
3830 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)" ] |
3831 | #[doc = "" ] |
3832 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3833 | pub fn uniform3fv_with_f32_sequence_and_src_offset( |
3834 | this: &WebGl2RenderingContext, |
3835 | location: Option<&WebGlUniformLocation>, |
3836 | data: &::wasm_bindgen::JsValue, |
3837 | src_offset: u32, |
3838 | ); |
3839 | #[cfg (feature = "WebGlUniformLocation" )] |
3840 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] |
3841 | #[doc = "The `uniform3fv()` method." ] |
3842 | #[doc = "" ] |
3843 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)" ] |
3844 | #[doc = "" ] |
3845 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3846 | pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length( |
3847 | this: &WebGl2RenderingContext, |
3848 | location: Option<&WebGlUniformLocation>, |
3849 | data: &[f32], |
3850 | src_offset: u32, |
3851 | src_length: u32, |
3852 | ); |
3853 | #[cfg (feature = "WebGlUniformLocation" )] |
3854 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] |
3855 | #[doc = "The `uniform3fv()` method." ] |
3856 | #[doc = "" ] |
3857 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)" ] |
3858 | #[doc = "" ] |
3859 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3860 | pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length( |
3861 | this: &WebGl2RenderingContext, |
3862 | location: Option<&WebGlUniformLocation>, |
3863 | data: &::wasm_bindgen::JsValue, |
3864 | src_offset: u32, |
3865 | src_length: u32, |
3866 | ); |
3867 | #[cfg (feature = "WebGlUniformLocation" )] |
3868 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] |
3869 | #[doc = "The `uniform3iv()` method." ] |
3870 | #[doc = "" ] |
3871 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)" ] |
3872 | #[doc = "" ] |
3873 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3874 | pub fn uniform3iv_with_i32_array( |
3875 | this: &WebGl2RenderingContext, |
3876 | location: Option<&WebGlUniformLocation>, |
3877 | data: &[i32], |
3878 | ); |
3879 | #[cfg (feature = "WebGlUniformLocation" )] |
3880 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] |
3881 | #[doc = "The `uniform3iv()` method." ] |
3882 | #[doc = "" ] |
3883 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)" ] |
3884 | #[doc = "" ] |
3885 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3886 | pub fn uniform3iv_with_i32_sequence( |
3887 | this: &WebGl2RenderingContext, |
3888 | location: Option<&WebGlUniformLocation>, |
3889 | data: &::wasm_bindgen::JsValue, |
3890 | ); |
3891 | #[cfg (feature = "WebGlUniformLocation" )] |
3892 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] |
3893 | #[doc = "The `uniform3iv()` method." ] |
3894 | #[doc = "" ] |
3895 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)" ] |
3896 | #[doc = "" ] |
3897 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3898 | pub fn uniform3iv_with_i32_array_and_src_offset( |
3899 | this: &WebGl2RenderingContext, |
3900 | location: Option<&WebGlUniformLocation>, |
3901 | data: &[i32], |
3902 | src_offset: u32, |
3903 | ); |
3904 | #[cfg (feature = "WebGlUniformLocation" )] |
3905 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] |
3906 | #[doc = "The `uniform3iv()` method." ] |
3907 | #[doc = "" ] |
3908 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)" ] |
3909 | #[doc = "" ] |
3910 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3911 | pub fn uniform3iv_with_i32_sequence_and_src_offset( |
3912 | this: &WebGl2RenderingContext, |
3913 | location: Option<&WebGlUniformLocation>, |
3914 | data: &::wasm_bindgen::JsValue, |
3915 | src_offset: u32, |
3916 | ); |
3917 | #[cfg (feature = "WebGlUniformLocation" )] |
3918 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] |
3919 | #[doc = "The `uniform3iv()` method." ] |
3920 | #[doc = "" ] |
3921 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)" ] |
3922 | #[doc = "" ] |
3923 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3924 | pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length( |
3925 | this: &WebGl2RenderingContext, |
3926 | location: Option<&WebGlUniformLocation>, |
3927 | data: &[i32], |
3928 | src_offset: u32, |
3929 | src_length: u32, |
3930 | ); |
3931 | #[cfg (feature = "WebGlUniformLocation" )] |
3932 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] |
3933 | #[doc = "The `uniform3iv()` method." ] |
3934 | #[doc = "" ] |
3935 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)" ] |
3936 | #[doc = "" ] |
3937 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3938 | pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length( |
3939 | this: &WebGl2RenderingContext, |
3940 | location: Option<&WebGlUniformLocation>, |
3941 | data: &::wasm_bindgen::JsValue, |
3942 | src_offset: u32, |
3943 | src_length: u32, |
3944 | ); |
3945 | #[cfg (feature = "WebGlUniformLocation" )] |
3946 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3ui)] |
3947 | #[doc = "The `uniform3ui()` method." ] |
3948 | #[doc = "" ] |
3949 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)" ] |
3950 | #[doc = "" ] |
3951 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3952 | pub fn uniform3ui( |
3953 | this: &WebGl2RenderingContext, |
3954 | location: Option<&WebGlUniformLocation>, |
3955 | v0: u32, |
3956 | v1: u32, |
3957 | v2: u32, |
3958 | ); |
3959 | #[cfg (feature = "WebGlUniformLocation" )] |
3960 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] |
3961 | #[doc = "The `uniform3uiv()` method." ] |
3962 | #[doc = "" ] |
3963 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)" ] |
3964 | #[doc = "" ] |
3965 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3966 | pub fn uniform3uiv_with_u32_array( |
3967 | this: &WebGl2RenderingContext, |
3968 | location: Option<&WebGlUniformLocation>, |
3969 | data: &[u32], |
3970 | ); |
3971 | #[cfg (feature = "WebGlUniformLocation" )] |
3972 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] |
3973 | #[doc = "The `uniform3uiv()` method." ] |
3974 | #[doc = "" ] |
3975 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)" ] |
3976 | #[doc = "" ] |
3977 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3978 | pub fn uniform3uiv_with_u32_sequence( |
3979 | this: &WebGl2RenderingContext, |
3980 | location: Option<&WebGlUniformLocation>, |
3981 | data: &::wasm_bindgen::JsValue, |
3982 | ); |
3983 | #[cfg (feature = "WebGlUniformLocation" )] |
3984 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] |
3985 | #[doc = "The `uniform3uiv()` method." ] |
3986 | #[doc = "" ] |
3987 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)" ] |
3988 | #[doc = "" ] |
3989 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
3990 | pub fn uniform3uiv_with_u32_array_and_src_offset( |
3991 | this: &WebGl2RenderingContext, |
3992 | location: Option<&WebGlUniformLocation>, |
3993 | data: &[u32], |
3994 | src_offset: u32, |
3995 | ); |
3996 | #[cfg (feature = "WebGlUniformLocation" )] |
3997 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] |
3998 | #[doc = "The `uniform3uiv()` method." ] |
3999 | #[doc = "" ] |
4000 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)" ] |
4001 | #[doc = "" ] |
4002 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4003 | pub fn uniform3uiv_with_u32_sequence_and_src_offset( |
4004 | this: &WebGl2RenderingContext, |
4005 | location: Option<&WebGlUniformLocation>, |
4006 | data: &::wasm_bindgen::JsValue, |
4007 | src_offset: u32, |
4008 | ); |
4009 | #[cfg (feature = "WebGlUniformLocation" )] |
4010 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] |
4011 | #[doc = "The `uniform3uiv()` method." ] |
4012 | #[doc = "" ] |
4013 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)" ] |
4014 | #[doc = "" ] |
4015 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4016 | pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length( |
4017 | this: &WebGl2RenderingContext, |
4018 | location: Option<&WebGlUniformLocation>, |
4019 | data: &[u32], |
4020 | src_offset: u32, |
4021 | src_length: u32, |
4022 | ); |
4023 | #[cfg (feature = "WebGlUniformLocation" )] |
4024 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] |
4025 | #[doc = "The `uniform3uiv()` method." ] |
4026 | #[doc = "" ] |
4027 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)" ] |
4028 | #[doc = "" ] |
4029 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4030 | pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length( |
4031 | this: &WebGl2RenderingContext, |
4032 | location: Option<&WebGlUniformLocation>, |
4033 | data: &::wasm_bindgen::JsValue, |
4034 | src_offset: u32, |
4035 | src_length: u32, |
4036 | ); |
4037 | #[cfg (feature = "WebGlUniformLocation" )] |
4038 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] |
4039 | #[doc = "The `uniform4fv()` method." ] |
4040 | #[doc = "" ] |
4041 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)" ] |
4042 | #[doc = "" ] |
4043 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4044 | pub fn uniform4fv_with_f32_array( |
4045 | this: &WebGl2RenderingContext, |
4046 | location: Option<&WebGlUniformLocation>, |
4047 | data: &[f32], |
4048 | ); |
4049 | #[cfg (feature = "WebGlUniformLocation" )] |
4050 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] |
4051 | #[doc = "The `uniform4fv()` method." ] |
4052 | #[doc = "" ] |
4053 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)" ] |
4054 | #[doc = "" ] |
4055 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4056 | pub fn uniform4fv_with_f32_sequence( |
4057 | this: &WebGl2RenderingContext, |
4058 | location: Option<&WebGlUniformLocation>, |
4059 | data: &::wasm_bindgen::JsValue, |
4060 | ); |
4061 | #[cfg (feature = "WebGlUniformLocation" )] |
4062 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] |
4063 | #[doc = "The `uniform4fv()` method." ] |
4064 | #[doc = "" ] |
4065 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)" ] |
4066 | #[doc = "" ] |
4067 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4068 | pub fn uniform4fv_with_f32_array_and_src_offset( |
4069 | this: &WebGl2RenderingContext, |
4070 | location: Option<&WebGlUniformLocation>, |
4071 | data: &[f32], |
4072 | src_offset: u32, |
4073 | ); |
4074 | #[cfg (feature = "WebGlUniformLocation" )] |
4075 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] |
4076 | #[doc = "The `uniform4fv()` method." ] |
4077 | #[doc = "" ] |
4078 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)" ] |
4079 | #[doc = "" ] |
4080 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4081 | pub fn uniform4fv_with_f32_sequence_and_src_offset( |
4082 | this: &WebGl2RenderingContext, |
4083 | location: Option<&WebGlUniformLocation>, |
4084 | data: &::wasm_bindgen::JsValue, |
4085 | src_offset: u32, |
4086 | ); |
4087 | #[cfg (feature = "WebGlUniformLocation" )] |
4088 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] |
4089 | #[doc = "The `uniform4fv()` method." ] |
4090 | #[doc = "" ] |
4091 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)" ] |
4092 | #[doc = "" ] |
4093 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4094 | pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length( |
4095 | this: &WebGl2RenderingContext, |
4096 | location: Option<&WebGlUniformLocation>, |
4097 | data: &[f32], |
4098 | src_offset: u32, |
4099 | src_length: u32, |
4100 | ); |
4101 | #[cfg (feature = "WebGlUniformLocation" )] |
4102 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] |
4103 | #[doc = "The `uniform4fv()` method." ] |
4104 | #[doc = "" ] |
4105 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)" ] |
4106 | #[doc = "" ] |
4107 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4108 | pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length( |
4109 | this: &WebGl2RenderingContext, |
4110 | location: Option<&WebGlUniformLocation>, |
4111 | data: &::wasm_bindgen::JsValue, |
4112 | src_offset: u32, |
4113 | src_length: u32, |
4114 | ); |
4115 | #[cfg (feature = "WebGlUniformLocation" )] |
4116 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] |
4117 | #[doc = "The `uniform4iv()` method." ] |
4118 | #[doc = "" ] |
4119 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)" ] |
4120 | #[doc = "" ] |
4121 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4122 | pub fn uniform4iv_with_i32_array( |
4123 | this: &WebGl2RenderingContext, |
4124 | location: Option<&WebGlUniformLocation>, |
4125 | data: &[i32], |
4126 | ); |
4127 | #[cfg (feature = "WebGlUniformLocation" )] |
4128 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] |
4129 | #[doc = "The `uniform4iv()` method." ] |
4130 | #[doc = "" ] |
4131 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)" ] |
4132 | #[doc = "" ] |
4133 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4134 | pub fn uniform4iv_with_i32_sequence( |
4135 | this: &WebGl2RenderingContext, |
4136 | location: Option<&WebGlUniformLocation>, |
4137 | data: &::wasm_bindgen::JsValue, |
4138 | ); |
4139 | #[cfg (feature = "WebGlUniformLocation" )] |
4140 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] |
4141 | #[doc = "The `uniform4iv()` method." ] |
4142 | #[doc = "" ] |
4143 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)" ] |
4144 | #[doc = "" ] |
4145 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4146 | pub fn uniform4iv_with_i32_array_and_src_offset( |
4147 | this: &WebGl2RenderingContext, |
4148 | location: Option<&WebGlUniformLocation>, |
4149 | data: &[i32], |
4150 | src_offset: u32, |
4151 | ); |
4152 | #[cfg (feature = "WebGlUniformLocation" )] |
4153 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] |
4154 | #[doc = "The `uniform4iv()` method." ] |
4155 | #[doc = "" ] |
4156 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)" ] |
4157 | #[doc = "" ] |
4158 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4159 | pub fn uniform4iv_with_i32_sequence_and_src_offset( |
4160 | this: &WebGl2RenderingContext, |
4161 | location: Option<&WebGlUniformLocation>, |
4162 | data: &::wasm_bindgen::JsValue, |
4163 | src_offset: u32, |
4164 | ); |
4165 | #[cfg (feature = "WebGlUniformLocation" )] |
4166 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] |
4167 | #[doc = "The `uniform4iv()` method." ] |
4168 | #[doc = "" ] |
4169 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)" ] |
4170 | #[doc = "" ] |
4171 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4172 | pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length( |
4173 | this: &WebGl2RenderingContext, |
4174 | location: Option<&WebGlUniformLocation>, |
4175 | data: &[i32], |
4176 | src_offset: u32, |
4177 | src_length: u32, |
4178 | ); |
4179 | #[cfg (feature = "WebGlUniformLocation" )] |
4180 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] |
4181 | #[doc = "The `uniform4iv()` method." ] |
4182 | #[doc = "" ] |
4183 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)" ] |
4184 | #[doc = "" ] |
4185 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4186 | pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length( |
4187 | this: &WebGl2RenderingContext, |
4188 | location: Option<&WebGlUniformLocation>, |
4189 | data: &::wasm_bindgen::JsValue, |
4190 | src_offset: u32, |
4191 | src_length: u32, |
4192 | ); |
4193 | #[cfg (feature = "WebGlUniformLocation" )] |
4194 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4ui)] |
4195 | #[doc = "The `uniform4ui()` method." ] |
4196 | #[doc = "" ] |
4197 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)" ] |
4198 | #[doc = "" ] |
4199 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4200 | pub fn uniform4ui( |
4201 | this: &WebGl2RenderingContext, |
4202 | location: Option<&WebGlUniformLocation>, |
4203 | v0: u32, |
4204 | v1: u32, |
4205 | v2: u32, |
4206 | v3: u32, |
4207 | ); |
4208 | #[cfg (feature = "WebGlUniformLocation" )] |
4209 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] |
4210 | #[doc = "The `uniform4uiv()` method." ] |
4211 | #[doc = "" ] |
4212 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)" ] |
4213 | #[doc = "" ] |
4214 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4215 | pub fn uniform4uiv_with_u32_array( |
4216 | this: &WebGl2RenderingContext, |
4217 | location: Option<&WebGlUniformLocation>, |
4218 | data: &[u32], |
4219 | ); |
4220 | #[cfg (feature = "WebGlUniformLocation" )] |
4221 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] |
4222 | #[doc = "The `uniform4uiv()` method." ] |
4223 | #[doc = "" ] |
4224 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)" ] |
4225 | #[doc = "" ] |
4226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4227 | pub fn uniform4uiv_with_u32_sequence( |
4228 | this: &WebGl2RenderingContext, |
4229 | location: Option<&WebGlUniformLocation>, |
4230 | data: &::wasm_bindgen::JsValue, |
4231 | ); |
4232 | #[cfg (feature = "WebGlUniformLocation" )] |
4233 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] |
4234 | #[doc = "The `uniform4uiv()` method." ] |
4235 | #[doc = "" ] |
4236 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)" ] |
4237 | #[doc = "" ] |
4238 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4239 | pub fn uniform4uiv_with_u32_array_and_src_offset( |
4240 | this: &WebGl2RenderingContext, |
4241 | location: Option<&WebGlUniformLocation>, |
4242 | data: &[u32], |
4243 | src_offset: u32, |
4244 | ); |
4245 | #[cfg (feature = "WebGlUniformLocation" )] |
4246 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] |
4247 | #[doc = "The `uniform4uiv()` method." ] |
4248 | #[doc = "" ] |
4249 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)" ] |
4250 | #[doc = "" ] |
4251 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4252 | pub fn uniform4uiv_with_u32_sequence_and_src_offset( |
4253 | this: &WebGl2RenderingContext, |
4254 | location: Option<&WebGlUniformLocation>, |
4255 | data: &::wasm_bindgen::JsValue, |
4256 | src_offset: u32, |
4257 | ); |
4258 | #[cfg (feature = "WebGlUniformLocation" )] |
4259 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] |
4260 | #[doc = "The `uniform4uiv()` method." ] |
4261 | #[doc = "" ] |
4262 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)" ] |
4263 | #[doc = "" ] |
4264 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4265 | pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length( |
4266 | this: &WebGl2RenderingContext, |
4267 | location: Option<&WebGlUniformLocation>, |
4268 | data: &[u32], |
4269 | src_offset: u32, |
4270 | src_length: u32, |
4271 | ); |
4272 | #[cfg (feature = "WebGlUniformLocation" )] |
4273 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] |
4274 | #[doc = "The `uniform4uiv()` method." ] |
4275 | #[doc = "" ] |
4276 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)" ] |
4277 | #[doc = "" ] |
4278 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4279 | pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length( |
4280 | this: &WebGl2RenderingContext, |
4281 | location: Option<&WebGlUniformLocation>, |
4282 | data: &::wasm_bindgen::JsValue, |
4283 | src_offset: u32, |
4284 | src_length: u32, |
4285 | ); |
4286 | #[cfg (feature = "WebGlProgram" )] |
4287 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformBlockBinding)] |
4288 | #[doc = "The `uniformBlockBinding()` method." ] |
4289 | #[doc = "" ] |
4290 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)" ] |
4291 | #[doc = "" ] |
4292 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
4293 | pub fn uniform_block_binding( |
4294 | this: &WebGl2RenderingContext, |
4295 | program: &WebGlProgram, |
4296 | uniform_block_index: u32, |
4297 | uniform_block_binding: u32, |
4298 | ); |
4299 | #[cfg (feature = "WebGlUniformLocation" )] |
4300 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] |
4301 | #[doc = "The `uniformMatrix2fv()` method." ] |
4302 | #[doc = "" ] |
4303 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)" ] |
4304 | #[doc = "" ] |
4305 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4306 | pub fn uniform_matrix2fv_with_f32_array( |
4307 | this: &WebGl2RenderingContext, |
4308 | location: Option<&WebGlUniformLocation>, |
4309 | transpose: bool, |
4310 | data: &[f32], |
4311 | ); |
4312 | #[cfg (feature = "WebGlUniformLocation" )] |
4313 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] |
4314 | #[doc = "The `uniformMatrix2fv()` method." ] |
4315 | #[doc = "" ] |
4316 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)" ] |
4317 | #[doc = "" ] |
4318 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4319 | pub fn uniform_matrix2fv_with_f32_sequence( |
4320 | this: &WebGl2RenderingContext, |
4321 | location: Option<&WebGlUniformLocation>, |
4322 | transpose: bool, |
4323 | data: &::wasm_bindgen::JsValue, |
4324 | ); |
4325 | #[cfg (feature = "WebGlUniformLocation" )] |
4326 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] |
4327 | #[doc = "The `uniformMatrix2fv()` method." ] |
4328 | #[doc = "" ] |
4329 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)" ] |
4330 | #[doc = "" ] |
4331 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4332 | pub fn uniform_matrix2fv_with_f32_array_and_src_offset( |
4333 | this: &WebGl2RenderingContext, |
4334 | location: Option<&WebGlUniformLocation>, |
4335 | transpose: bool, |
4336 | data: &[f32], |
4337 | src_offset: u32, |
4338 | ); |
4339 | #[cfg (feature = "WebGlUniformLocation" )] |
4340 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] |
4341 | #[doc = "The `uniformMatrix2fv()` method." ] |
4342 | #[doc = "" ] |
4343 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)" ] |
4344 | #[doc = "" ] |
4345 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4346 | pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset( |
4347 | this: &WebGl2RenderingContext, |
4348 | location: Option<&WebGlUniformLocation>, |
4349 | transpose: bool, |
4350 | data: &::wasm_bindgen::JsValue, |
4351 | src_offset: u32, |
4352 | ); |
4353 | #[cfg (feature = "WebGlUniformLocation" )] |
4354 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] |
4355 | #[doc = "The `uniformMatrix2fv()` method." ] |
4356 | #[doc = "" ] |
4357 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)" ] |
4358 | #[doc = "" ] |
4359 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4360 | pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length( |
4361 | this: &WebGl2RenderingContext, |
4362 | location: Option<&WebGlUniformLocation>, |
4363 | transpose: bool, |
4364 | data: &[f32], |
4365 | src_offset: u32, |
4366 | src_length: u32, |
4367 | ); |
4368 | #[cfg (feature = "WebGlUniformLocation" )] |
4369 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] |
4370 | #[doc = "The `uniformMatrix2fv()` method." ] |
4371 | #[doc = "" ] |
4372 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)" ] |
4373 | #[doc = "" ] |
4374 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4375 | pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length( |
4376 | this: &WebGl2RenderingContext, |
4377 | location: Option<&WebGlUniformLocation>, |
4378 | transpose: bool, |
4379 | data: &::wasm_bindgen::JsValue, |
4380 | src_offset: u32, |
4381 | src_length: u32, |
4382 | ); |
4383 | #[cfg (feature = "WebGlUniformLocation" )] |
4384 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] |
4385 | #[doc = "The `uniformMatrix2x3fv()` method." ] |
4386 | #[doc = "" ] |
4387 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)" ] |
4388 | #[doc = "" ] |
4389 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4390 | pub fn uniform_matrix2x3fv_with_f32_array( |
4391 | this: &WebGl2RenderingContext, |
4392 | location: Option<&WebGlUniformLocation>, |
4393 | transpose: bool, |
4394 | data: &[f32], |
4395 | ); |
4396 | #[cfg (feature = "WebGlUniformLocation" )] |
4397 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] |
4398 | #[doc = "The `uniformMatrix2x3fv()` method." ] |
4399 | #[doc = "" ] |
4400 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)" ] |
4401 | #[doc = "" ] |
4402 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4403 | pub fn uniform_matrix2x3fv_with_f32_sequence( |
4404 | this: &WebGl2RenderingContext, |
4405 | location: Option<&WebGlUniformLocation>, |
4406 | transpose: bool, |
4407 | data: &::wasm_bindgen::JsValue, |
4408 | ); |
4409 | #[cfg (feature = "WebGlUniformLocation" )] |
4410 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] |
4411 | #[doc = "The `uniformMatrix2x3fv()` method." ] |
4412 | #[doc = "" ] |
4413 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)" ] |
4414 | #[doc = "" ] |
4415 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4416 | pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset( |
4417 | this: &WebGl2RenderingContext, |
4418 | location: Option<&WebGlUniformLocation>, |
4419 | transpose: bool, |
4420 | data: &[f32], |
4421 | src_offset: u32, |
4422 | ); |
4423 | #[cfg (feature = "WebGlUniformLocation" )] |
4424 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] |
4425 | #[doc = "The `uniformMatrix2x3fv()` method." ] |
4426 | #[doc = "" ] |
4427 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)" ] |
4428 | #[doc = "" ] |
4429 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4430 | pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset( |
4431 | this: &WebGl2RenderingContext, |
4432 | location: Option<&WebGlUniformLocation>, |
4433 | transpose: bool, |
4434 | data: &::wasm_bindgen::JsValue, |
4435 | src_offset: u32, |
4436 | ); |
4437 | #[cfg (feature = "WebGlUniformLocation" )] |
4438 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] |
4439 | #[doc = "The `uniformMatrix2x3fv()` method." ] |
4440 | #[doc = "" ] |
4441 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)" ] |
4442 | #[doc = "" ] |
4443 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4444 | pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length( |
4445 | this: &WebGl2RenderingContext, |
4446 | location: Option<&WebGlUniformLocation>, |
4447 | transpose: bool, |
4448 | data: &[f32], |
4449 | src_offset: u32, |
4450 | src_length: u32, |
4451 | ); |
4452 | #[cfg (feature = "WebGlUniformLocation" )] |
4453 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] |
4454 | #[doc = "The `uniformMatrix2x3fv()` method." ] |
4455 | #[doc = "" ] |
4456 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)" ] |
4457 | #[doc = "" ] |
4458 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4459 | pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length( |
4460 | this: &WebGl2RenderingContext, |
4461 | location: Option<&WebGlUniformLocation>, |
4462 | transpose: bool, |
4463 | data: &::wasm_bindgen::JsValue, |
4464 | src_offset: u32, |
4465 | src_length: u32, |
4466 | ); |
4467 | #[cfg (feature = "WebGlUniformLocation" )] |
4468 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] |
4469 | #[doc = "The `uniformMatrix2x4fv()` method." ] |
4470 | #[doc = "" ] |
4471 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)" ] |
4472 | #[doc = "" ] |
4473 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4474 | pub fn uniform_matrix2x4fv_with_f32_array( |
4475 | this: &WebGl2RenderingContext, |
4476 | location: Option<&WebGlUniformLocation>, |
4477 | transpose: bool, |
4478 | data: &[f32], |
4479 | ); |
4480 | #[cfg (feature = "WebGlUniformLocation" )] |
4481 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] |
4482 | #[doc = "The `uniformMatrix2x4fv()` method." ] |
4483 | #[doc = "" ] |
4484 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)" ] |
4485 | #[doc = "" ] |
4486 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4487 | pub fn uniform_matrix2x4fv_with_f32_sequence( |
4488 | this: &WebGl2RenderingContext, |
4489 | location: Option<&WebGlUniformLocation>, |
4490 | transpose: bool, |
4491 | data: &::wasm_bindgen::JsValue, |
4492 | ); |
4493 | #[cfg (feature = "WebGlUniformLocation" )] |
4494 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] |
4495 | #[doc = "The `uniformMatrix2x4fv()` method." ] |
4496 | #[doc = "" ] |
4497 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)" ] |
4498 | #[doc = "" ] |
4499 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4500 | pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset( |
4501 | this: &WebGl2RenderingContext, |
4502 | location: Option<&WebGlUniformLocation>, |
4503 | transpose: bool, |
4504 | data: &[f32], |
4505 | src_offset: u32, |
4506 | ); |
4507 | #[cfg (feature = "WebGlUniformLocation" )] |
4508 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] |
4509 | #[doc = "The `uniformMatrix2x4fv()` method." ] |
4510 | #[doc = "" ] |
4511 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)" ] |
4512 | #[doc = "" ] |
4513 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4514 | pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset( |
4515 | this: &WebGl2RenderingContext, |
4516 | location: Option<&WebGlUniformLocation>, |
4517 | transpose: bool, |
4518 | data: &::wasm_bindgen::JsValue, |
4519 | src_offset: u32, |
4520 | ); |
4521 | #[cfg (feature = "WebGlUniformLocation" )] |
4522 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] |
4523 | #[doc = "The `uniformMatrix2x4fv()` method." ] |
4524 | #[doc = "" ] |
4525 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)" ] |
4526 | #[doc = "" ] |
4527 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4528 | pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length( |
4529 | this: &WebGl2RenderingContext, |
4530 | location: Option<&WebGlUniformLocation>, |
4531 | transpose: bool, |
4532 | data: &[f32], |
4533 | src_offset: u32, |
4534 | src_length: u32, |
4535 | ); |
4536 | #[cfg (feature = "WebGlUniformLocation" )] |
4537 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] |
4538 | #[doc = "The `uniformMatrix2x4fv()` method." ] |
4539 | #[doc = "" ] |
4540 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)" ] |
4541 | #[doc = "" ] |
4542 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4543 | pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length( |
4544 | this: &WebGl2RenderingContext, |
4545 | location: Option<&WebGlUniformLocation>, |
4546 | transpose: bool, |
4547 | data: &::wasm_bindgen::JsValue, |
4548 | src_offset: u32, |
4549 | src_length: u32, |
4550 | ); |
4551 | #[cfg (feature = "WebGlUniformLocation" )] |
4552 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] |
4553 | #[doc = "The `uniformMatrix3fv()` method." ] |
4554 | #[doc = "" ] |
4555 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)" ] |
4556 | #[doc = "" ] |
4557 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4558 | pub fn uniform_matrix3fv_with_f32_array( |
4559 | this: &WebGl2RenderingContext, |
4560 | location: Option<&WebGlUniformLocation>, |
4561 | transpose: bool, |
4562 | data: &[f32], |
4563 | ); |
4564 | #[cfg (feature = "WebGlUniformLocation" )] |
4565 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] |
4566 | #[doc = "The `uniformMatrix3fv()` method." ] |
4567 | #[doc = "" ] |
4568 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)" ] |
4569 | #[doc = "" ] |
4570 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4571 | pub fn uniform_matrix3fv_with_f32_sequence( |
4572 | this: &WebGl2RenderingContext, |
4573 | location: Option<&WebGlUniformLocation>, |
4574 | transpose: bool, |
4575 | data: &::wasm_bindgen::JsValue, |
4576 | ); |
4577 | #[cfg (feature = "WebGlUniformLocation" )] |
4578 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] |
4579 | #[doc = "The `uniformMatrix3fv()` method." ] |
4580 | #[doc = "" ] |
4581 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)" ] |
4582 | #[doc = "" ] |
4583 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4584 | pub fn uniform_matrix3fv_with_f32_array_and_src_offset( |
4585 | this: &WebGl2RenderingContext, |
4586 | location: Option<&WebGlUniformLocation>, |
4587 | transpose: bool, |
4588 | data: &[f32], |
4589 | src_offset: u32, |
4590 | ); |
4591 | #[cfg (feature = "WebGlUniformLocation" )] |
4592 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] |
4593 | #[doc = "The `uniformMatrix3fv()` method." ] |
4594 | #[doc = "" ] |
4595 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)" ] |
4596 | #[doc = "" ] |
4597 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4598 | pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset( |
4599 | this: &WebGl2RenderingContext, |
4600 | location: Option<&WebGlUniformLocation>, |
4601 | transpose: bool, |
4602 | data: &::wasm_bindgen::JsValue, |
4603 | src_offset: u32, |
4604 | ); |
4605 | #[cfg (feature = "WebGlUniformLocation" )] |
4606 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] |
4607 | #[doc = "The `uniformMatrix3fv()` method." ] |
4608 | #[doc = "" ] |
4609 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)" ] |
4610 | #[doc = "" ] |
4611 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4612 | pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length( |
4613 | this: &WebGl2RenderingContext, |
4614 | location: Option<&WebGlUniformLocation>, |
4615 | transpose: bool, |
4616 | data: &[f32], |
4617 | src_offset: u32, |
4618 | src_length: u32, |
4619 | ); |
4620 | #[cfg (feature = "WebGlUniformLocation" )] |
4621 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] |
4622 | #[doc = "The `uniformMatrix3fv()` method." ] |
4623 | #[doc = "" ] |
4624 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)" ] |
4625 | #[doc = "" ] |
4626 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4627 | pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length( |
4628 | this: &WebGl2RenderingContext, |
4629 | location: Option<&WebGlUniformLocation>, |
4630 | transpose: bool, |
4631 | data: &::wasm_bindgen::JsValue, |
4632 | src_offset: u32, |
4633 | src_length: u32, |
4634 | ); |
4635 | #[cfg (feature = "WebGlUniformLocation" )] |
4636 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] |
4637 | #[doc = "The `uniformMatrix3x2fv()` method." ] |
4638 | #[doc = "" ] |
4639 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)" ] |
4640 | #[doc = "" ] |
4641 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4642 | pub fn uniform_matrix3x2fv_with_f32_array( |
4643 | this: &WebGl2RenderingContext, |
4644 | location: Option<&WebGlUniformLocation>, |
4645 | transpose: bool, |
4646 | data: &[f32], |
4647 | ); |
4648 | #[cfg (feature = "WebGlUniformLocation" )] |
4649 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] |
4650 | #[doc = "The `uniformMatrix3x2fv()` method." ] |
4651 | #[doc = "" ] |
4652 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)" ] |
4653 | #[doc = "" ] |
4654 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4655 | pub fn uniform_matrix3x2fv_with_f32_sequence( |
4656 | this: &WebGl2RenderingContext, |
4657 | location: Option<&WebGlUniformLocation>, |
4658 | transpose: bool, |
4659 | data: &::wasm_bindgen::JsValue, |
4660 | ); |
4661 | #[cfg (feature = "WebGlUniformLocation" )] |
4662 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] |
4663 | #[doc = "The `uniformMatrix3x2fv()` method." ] |
4664 | #[doc = "" ] |
4665 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)" ] |
4666 | #[doc = "" ] |
4667 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4668 | pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset( |
4669 | this: &WebGl2RenderingContext, |
4670 | location: Option<&WebGlUniformLocation>, |
4671 | transpose: bool, |
4672 | data: &[f32], |
4673 | src_offset: u32, |
4674 | ); |
4675 | #[cfg (feature = "WebGlUniformLocation" )] |
4676 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] |
4677 | #[doc = "The `uniformMatrix3x2fv()` method." ] |
4678 | #[doc = "" ] |
4679 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)" ] |
4680 | #[doc = "" ] |
4681 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4682 | pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset( |
4683 | this: &WebGl2RenderingContext, |
4684 | location: Option<&WebGlUniformLocation>, |
4685 | transpose: bool, |
4686 | data: &::wasm_bindgen::JsValue, |
4687 | src_offset: u32, |
4688 | ); |
4689 | #[cfg (feature = "WebGlUniformLocation" )] |
4690 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] |
4691 | #[doc = "The `uniformMatrix3x2fv()` method." ] |
4692 | #[doc = "" ] |
4693 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)" ] |
4694 | #[doc = "" ] |
4695 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4696 | pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length( |
4697 | this: &WebGl2RenderingContext, |
4698 | location: Option<&WebGlUniformLocation>, |
4699 | transpose: bool, |
4700 | data: &[f32], |
4701 | src_offset: u32, |
4702 | src_length: u32, |
4703 | ); |
4704 | #[cfg (feature = "WebGlUniformLocation" )] |
4705 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] |
4706 | #[doc = "The `uniformMatrix3x2fv()` method." ] |
4707 | #[doc = "" ] |
4708 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)" ] |
4709 | #[doc = "" ] |
4710 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4711 | pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length( |
4712 | this: &WebGl2RenderingContext, |
4713 | location: Option<&WebGlUniformLocation>, |
4714 | transpose: bool, |
4715 | data: &::wasm_bindgen::JsValue, |
4716 | src_offset: u32, |
4717 | src_length: u32, |
4718 | ); |
4719 | #[cfg (feature = "WebGlUniformLocation" )] |
4720 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] |
4721 | #[doc = "The `uniformMatrix3x4fv()` method." ] |
4722 | #[doc = "" ] |
4723 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)" ] |
4724 | #[doc = "" ] |
4725 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4726 | pub fn uniform_matrix3x4fv_with_f32_array( |
4727 | this: &WebGl2RenderingContext, |
4728 | location: Option<&WebGlUniformLocation>, |
4729 | transpose: bool, |
4730 | data: &[f32], |
4731 | ); |
4732 | #[cfg (feature = "WebGlUniformLocation" )] |
4733 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] |
4734 | #[doc = "The `uniformMatrix3x4fv()` method." ] |
4735 | #[doc = "" ] |
4736 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)" ] |
4737 | #[doc = "" ] |
4738 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4739 | pub fn uniform_matrix3x4fv_with_f32_sequence( |
4740 | this: &WebGl2RenderingContext, |
4741 | location: Option<&WebGlUniformLocation>, |
4742 | transpose: bool, |
4743 | data: &::wasm_bindgen::JsValue, |
4744 | ); |
4745 | #[cfg (feature = "WebGlUniformLocation" )] |
4746 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] |
4747 | #[doc = "The `uniformMatrix3x4fv()` method." ] |
4748 | #[doc = "" ] |
4749 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)" ] |
4750 | #[doc = "" ] |
4751 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4752 | pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset( |
4753 | this: &WebGl2RenderingContext, |
4754 | location: Option<&WebGlUniformLocation>, |
4755 | transpose: bool, |
4756 | data: &[f32], |
4757 | src_offset: u32, |
4758 | ); |
4759 | #[cfg (feature = "WebGlUniformLocation" )] |
4760 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] |
4761 | #[doc = "The `uniformMatrix3x4fv()` method." ] |
4762 | #[doc = "" ] |
4763 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)" ] |
4764 | #[doc = "" ] |
4765 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4766 | pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset( |
4767 | this: &WebGl2RenderingContext, |
4768 | location: Option<&WebGlUniformLocation>, |
4769 | transpose: bool, |
4770 | data: &::wasm_bindgen::JsValue, |
4771 | src_offset: u32, |
4772 | ); |
4773 | #[cfg (feature = "WebGlUniformLocation" )] |
4774 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] |
4775 | #[doc = "The `uniformMatrix3x4fv()` method." ] |
4776 | #[doc = "" ] |
4777 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)" ] |
4778 | #[doc = "" ] |
4779 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4780 | pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length( |
4781 | this: &WebGl2RenderingContext, |
4782 | location: Option<&WebGlUniformLocation>, |
4783 | transpose: bool, |
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 = uniformMatrix3x4fv)] |
4790 | #[doc = "The `uniformMatrix3x4fv()` method." ] |
4791 | #[doc = "" ] |
4792 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)" ] |
4793 | #[doc = "" ] |
4794 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4795 | pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length( |
4796 | this: &WebGl2RenderingContext, |
4797 | location: Option<&WebGlUniformLocation>, |
4798 | transpose: bool, |
4799 | data: &::wasm_bindgen::JsValue, |
4800 | src_offset: u32, |
4801 | src_length: u32, |
4802 | ); |
4803 | #[cfg (feature = "WebGlUniformLocation" )] |
4804 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] |
4805 | #[doc = "The `uniformMatrix4fv()` method." ] |
4806 | #[doc = "" ] |
4807 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)" ] |
4808 | #[doc = "" ] |
4809 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4810 | pub fn uniform_matrix4fv_with_f32_array( |
4811 | this: &WebGl2RenderingContext, |
4812 | location: Option<&WebGlUniformLocation>, |
4813 | transpose: bool, |
4814 | data: &[f32], |
4815 | ); |
4816 | #[cfg (feature = "WebGlUniformLocation" )] |
4817 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] |
4818 | #[doc = "The `uniformMatrix4fv()` method." ] |
4819 | #[doc = "" ] |
4820 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)" ] |
4821 | #[doc = "" ] |
4822 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4823 | pub fn uniform_matrix4fv_with_f32_sequence( |
4824 | this: &WebGl2RenderingContext, |
4825 | location: Option<&WebGlUniformLocation>, |
4826 | transpose: bool, |
4827 | data: &::wasm_bindgen::JsValue, |
4828 | ); |
4829 | #[cfg (feature = "WebGlUniformLocation" )] |
4830 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] |
4831 | #[doc = "The `uniformMatrix4fv()` method." ] |
4832 | #[doc = "" ] |
4833 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)" ] |
4834 | #[doc = "" ] |
4835 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4836 | pub fn uniform_matrix4fv_with_f32_array_and_src_offset( |
4837 | this: &WebGl2RenderingContext, |
4838 | location: Option<&WebGlUniformLocation>, |
4839 | transpose: bool, |
4840 | data: &[f32], |
4841 | src_offset: u32, |
4842 | ); |
4843 | #[cfg (feature = "WebGlUniformLocation" )] |
4844 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] |
4845 | #[doc = "The `uniformMatrix4fv()` method." ] |
4846 | #[doc = "" ] |
4847 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)" ] |
4848 | #[doc = "" ] |
4849 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4850 | pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset( |
4851 | this: &WebGl2RenderingContext, |
4852 | location: Option<&WebGlUniformLocation>, |
4853 | transpose: bool, |
4854 | data: &::wasm_bindgen::JsValue, |
4855 | src_offset: u32, |
4856 | ); |
4857 | #[cfg (feature = "WebGlUniformLocation" )] |
4858 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] |
4859 | #[doc = "The `uniformMatrix4fv()` method." ] |
4860 | #[doc = "" ] |
4861 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)" ] |
4862 | #[doc = "" ] |
4863 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4864 | pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length( |
4865 | this: &WebGl2RenderingContext, |
4866 | location: Option<&WebGlUniformLocation>, |
4867 | transpose: bool, |
4868 | data: &[f32], |
4869 | src_offset: u32, |
4870 | src_length: u32, |
4871 | ); |
4872 | #[cfg (feature = "WebGlUniformLocation" )] |
4873 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] |
4874 | #[doc = "The `uniformMatrix4fv()` method." ] |
4875 | #[doc = "" ] |
4876 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)" ] |
4877 | #[doc = "" ] |
4878 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4879 | pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length( |
4880 | this: &WebGl2RenderingContext, |
4881 | location: Option<&WebGlUniformLocation>, |
4882 | transpose: bool, |
4883 | data: &::wasm_bindgen::JsValue, |
4884 | src_offset: u32, |
4885 | src_length: u32, |
4886 | ); |
4887 | #[cfg (feature = "WebGlUniformLocation" )] |
4888 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] |
4889 | #[doc = "The `uniformMatrix4x2fv()` method." ] |
4890 | #[doc = "" ] |
4891 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)" ] |
4892 | #[doc = "" ] |
4893 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4894 | pub fn uniform_matrix4x2fv_with_f32_array( |
4895 | this: &WebGl2RenderingContext, |
4896 | location: Option<&WebGlUniformLocation>, |
4897 | transpose: bool, |
4898 | data: &[f32], |
4899 | ); |
4900 | #[cfg (feature = "WebGlUniformLocation" )] |
4901 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] |
4902 | #[doc = "The `uniformMatrix4x2fv()` method." ] |
4903 | #[doc = "" ] |
4904 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)" ] |
4905 | #[doc = "" ] |
4906 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4907 | pub fn uniform_matrix4x2fv_with_f32_sequence( |
4908 | this: &WebGl2RenderingContext, |
4909 | location: Option<&WebGlUniformLocation>, |
4910 | transpose: bool, |
4911 | data: &::wasm_bindgen::JsValue, |
4912 | ); |
4913 | #[cfg (feature = "WebGlUniformLocation" )] |
4914 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] |
4915 | #[doc = "The `uniformMatrix4x2fv()` method." ] |
4916 | #[doc = "" ] |
4917 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)" ] |
4918 | #[doc = "" ] |
4919 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4920 | pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset( |
4921 | this: &WebGl2RenderingContext, |
4922 | location: Option<&WebGlUniformLocation>, |
4923 | transpose: bool, |
4924 | data: &[f32], |
4925 | src_offset: u32, |
4926 | ); |
4927 | #[cfg (feature = "WebGlUniformLocation" )] |
4928 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] |
4929 | #[doc = "The `uniformMatrix4x2fv()` method." ] |
4930 | #[doc = "" ] |
4931 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)" ] |
4932 | #[doc = "" ] |
4933 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4934 | pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset( |
4935 | this: &WebGl2RenderingContext, |
4936 | location: Option<&WebGlUniformLocation>, |
4937 | transpose: bool, |
4938 | data: &::wasm_bindgen::JsValue, |
4939 | src_offset: u32, |
4940 | ); |
4941 | #[cfg (feature = "WebGlUniformLocation" )] |
4942 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] |
4943 | #[doc = "The `uniformMatrix4x2fv()` method." ] |
4944 | #[doc = "" ] |
4945 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)" ] |
4946 | #[doc = "" ] |
4947 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4948 | pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length( |
4949 | this: &WebGl2RenderingContext, |
4950 | location: Option<&WebGlUniformLocation>, |
4951 | transpose: bool, |
4952 | data: &[f32], |
4953 | src_offset: u32, |
4954 | src_length: u32, |
4955 | ); |
4956 | #[cfg (feature = "WebGlUniformLocation" )] |
4957 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] |
4958 | #[doc = "The `uniformMatrix4x2fv()` method." ] |
4959 | #[doc = "" ] |
4960 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)" ] |
4961 | #[doc = "" ] |
4962 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4963 | pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length( |
4964 | this: &WebGl2RenderingContext, |
4965 | location: Option<&WebGlUniformLocation>, |
4966 | transpose: bool, |
4967 | data: &::wasm_bindgen::JsValue, |
4968 | src_offset: u32, |
4969 | src_length: u32, |
4970 | ); |
4971 | #[cfg (feature = "WebGlUniformLocation" )] |
4972 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] |
4973 | #[doc = "The `uniformMatrix4x3fv()` method." ] |
4974 | #[doc = "" ] |
4975 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)" ] |
4976 | #[doc = "" ] |
4977 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4978 | pub fn uniform_matrix4x3fv_with_f32_array( |
4979 | this: &WebGl2RenderingContext, |
4980 | location: Option<&WebGlUniformLocation>, |
4981 | transpose: bool, |
4982 | data: &[f32], |
4983 | ); |
4984 | #[cfg (feature = "WebGlUniformLocation" )] |
4985 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] |
4986 | #[doc = "The `uniformMatrix4x3fv()` method." ] |
4987 | #[doc = "" ] |
4988 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)" ] |
4989 | #[doc = "" ] |
4990 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
4991 | pub fn uniform_matrix4x3fv_with_f32_sequence( |
4992 | this: &WebGl2RenderingContext, |
4993 | location: Option<&WebGlUniformLocation>, |
4994 | transpose: bool, |
4995 | data: &::wasm_bindgen::JsValue, |
4996 | ); |
4997 | #[cfg (feature = "WebGlUniformLocation" )] |
4998 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] |
4999 | #[doc = "The `uniformMatrix4x3fv()` method." ] |
5000 | #[doc = "" ] |
5001 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)" ] |
5002 | #[doc = "" ] |
5003 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
5004 | pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset( |
5005 | this: &WebGl2RenderingContext, |
5006 | location: Option<&WebGlUniformLocation>, |
5007 | transpose: bool, |
5008 | data: &[f32], |
5009 | src_offset: u32, |
5010 | ); |
5011 | #[cfg (feature = "WebGlUniformLocation" )] |
5012 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] |
5013 | #[doc = "The `uniformMatrix4x3fv()` method." ] |
5014 | #[doc = "" ] |
5015 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)" ] |
5016 | #[doc = "" ] |
5017 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
5018 | pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset( |
5019 | this: &WebGl2RenderingContext, |
5020 | location: Option<&WebGlUniformLocation>, |
5021 | transpose: bool, |
5022 | data: &::wasm_bindgen::JsValue, |
5023 | src_offset: u32, |
5024 | ); |
5025 | #[cfg (feature = "WebGlUniformLocation" )] |
5026 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] |
5027 | #[doc = "The `uniformMatrix4x3fv()` method." ] |
5028 | #[doc = "" ] |
5029 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)" ] |
5030 | #[doc = "" ] |
5031 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
5032 | pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length( |
5033 | this: &WebGl2RenderingContext, |
5034 | location: Option<&WebGlUniformLocation>, |
5035 | transpose: bool, |
5036 | data: &[f32], |
5037 | src_offset: u32, |
5038 | src_length: u32, |
5039 | ); |
5040 | #[cfg (feature = "WebGlUniformLocation" )] |
5041 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] |
5042 | #[doc = "The `uniformMatrix4x3fv()` method." ] |
5043 | #[doc = "" ] |
5044 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)" ] |
5045 | #[doc = "" ] |
5046 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
5047 | pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length( |
5048 | this: &WebGl2RenderingContext, |
5049 | location: Option<&WebGlUniformLocation>, |
5050 | transpose: bool, |
5051 | data: &::wasm_bindgen::JsValue, |
5052 | src_offset: u32, |
5053 | src_length: u32, |
5054 | ); |
5055 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribDivisor)] |
5056 | #[doc = "The `vertexAttribDivisor()` method." ] |
5057 | #[doc = "" ] |
5058 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)" ] |
5059 | #[doc = "" ] |
5060 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5061 | pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32); |
5062 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4i)] |
5063 | #[doc = "The `vertexAttribI4i()` method." ] |
5064 | #[doc = "" ] |
5065 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)" ] |
5066 | #[doc = "" ] |
5067 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5068 | pub fn vertex_attrib_i4i( |
5069 | this: &WebGl2RenderingContext, |
5070 | index: u32, |
5071 | x: i32, |
5072 | y: i32, |
5073 | z: i32, |
5074 | w: i32, |
5075 | ); |
5076 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)] |
5077 | #[doc = "The `vertexAttribI4iv()` method." ] |
5078 | #[doc = "" ] |
5079 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)" ] |
5080 | #[doc = "" ] |
5081 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5082 | pub fn vertex_attrib_i4iv_with_i32_array( |
5083 | this: &WebGl2RenderingContext, |
5084 | index: u32, |
5085 | values: &mut [i32], |
5086 | ); |
5087 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)] |
5088 | #[doc = "The `vertexAttribI4iv()` method." ] |
5089 | #[doc = "" ] |
5090 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)" ] |
5091 | #[doc = "" ] |
5092 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5093 | pub fn vertex_attrib_i4iv_with_i32_sequence( |
5094 | this: &WebGl2RenderingContext, |
5095 | index: u32, |
5096 | values: &::wasm_bindgen::JsValue, |
5097 | ); |
5098 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4ui)] |
5099 | #[doc = "The `vertexAttribI4ui()` method." ] |
5100 | #[doc = "" ] |
5101 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)" ] |
5102 | #[doc = "" ] |
5103 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5104 | pub fn vertex_attrib_i4ui( |
5105 | this: &WebGl2RenderingContext, |
5106 | index: u32, |
5107 | x: u32, |
5108 | y: u32, |
5109 | z: u32, |
5110 | w: u32, |
5111 | ); |
5112 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)] |
5113 | #[doc = "The `vertexAttribI4uiv()` method." ] |
5114 | #[doc = "" ] |
5115 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)" ] |
5116 | #[doc = "" ] |
5117 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5118 | pub fn vertex_attrib_i4uiv_with_u32_array( |
5119 | this: &WebGl2RenderingContext, |
5120 | index: u32, |
5121 | values: &mut [u32], |
5122 | ); |
5123 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)] |
5124 | #[doc = "The `vertexAttribI4uiv()` method." ] |
5125 | #[doc = "" ] |
5126 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)" ] |
5127 | #[doc = "" ] |
5128 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5129 | pub fn vertex_attrib_i4uiv_with_u32_sequence( |
5130 | this: &WebGl2RenderingContext, |
5131 | index: u32, |
5132 | values: &::wasm_bindgen::JsValue, |
5133 | ); |
5134 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)] |
5135 | #[doc = "The `vertexAttribIPointer()` method." ] |
5136 | #[doc = "" ] |
5137 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)" ] |
5138 | #[doc = "" ] |
5139 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5140 | pub fn vertex_attrib_i_pointer_with_i32( |
5141 | this: &WebGl2RenderingContext, |
5142 | index: u32, |
5143 | size: i32, |
5144 | type_: u32, |
5145 | stride: i32, |
5146 | offset: i32, |
5147 | ); |
5148 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)] |
5149 | #[doc = "The `vertexAttribIPointer()` method." ] |
5150 | #[doc = "" ] |
5151 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)" ] |
5152 | #[doc = "" ] |
5153 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5154 | pub fn vertex_attrib_i_pointer_with_f64( |
5155 | this: &WebGl2RenderingContext, |
5156 | index: u32, |
5157 | size: i32, |
5158 | type_: u32, |
5159 | stride: i32, |
5160 | offset: f64, |
5161 | ); |
5162 | #[cfg (feature = "WebGlSync" )] |
5163 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)] |
5164 | #[doc = "The `waitSync()` method." ] |
5165 | #[doc = "" ] |
5166 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)" ] |
5167 | #[doc = "" ] |
5168 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
5169 | pub fn wait_sync_with_i32( |
5170 | this: &WebGl2RenderingContext, |
5171 | sync: &WebGlSync, |
5172 | flags: u32, |
5173 | timeout: i32, |
5174 | ); |
5175 | #[cfg (feature = "WebGlSync" )] |
5176 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)] |
5177 | #[doc = "The `waitSync()` method." ] |
5178 | #[doc = "" ] |
5179 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)" ] |
5180 | #[doc = "" ] |
5181 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] |
5182 | pub fn wait_sync_with_f64( |
5183 | this: &WebGl2RenderingContext, |
5184 | sync: &WebGlSync, |
5185 | flags: u32, |
5186 | timeout: f64, |
5187 | ); |
5188 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = activeTexture)] |
5189 | #[doc = "The `activeTexture()` method." ] |
5190 | #[doc = "" ] |
5191 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)" ] |
5192 | #[doc = "" ] |
5193 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5194 | pub fn active_texture(this: &WebGl2RenderingContext, texture: u32); |
5195 | #[cfg (all(feature = "WebGlProgram" , feature = "WebGlShader" ,))] |
5196 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = attachShader)] |
5197 | #[doc = "The `attachShader()` method." ] |
5198 | #[doc = "" ] |
5199 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)" ] |
5200 | #[doc = "" ] |
5201 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*" ] |
5202 | pub fn attach_shader( |
5203 | this: &WebGl2RenderingContext, |
5204 | program: &WebGlProgram, |
5205 | shader: &WebGlShader, |
5206 | ); |
5207 | #[cfg (feature = "WebGlProgram" )] |
5208 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindAttribLocation)] |
5209 | #[doc = "The `bindAttribLocation()` method." ] |
5210 | #[doc = "" ] |
5211 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)" ] |
5212 | #[doc = "" ] |
5213 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5214 | pub fn bind_attrib_location( |
5215 | this: &WebGl2RenderingContext, |
5216 | program: &WebGlProgram, |
5217 | index: u32, |
5218 | name: &str, |
5219 | ); |
5220 | #[cfg (feature = "WebGlBuffer" )] |
5221 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBuffer)] |
5222 | #[doc = "The `bindBuffer()` method." ] |
5223 | #[doc = "" ] |
5224 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)" ] |
5225 | #[doc = "" ] |
5226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
5227 | pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>); |
5228 | #[cfg (feature = "WebGlFramebuffer" )] |
5229 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindFramebuffer)] |
5230 | #[doc = "The `bindFramebuffer()` method." ] |
5231 | #[doc = "" ] |
5232 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)" ] |
5233 | #[doc = "" ] |
5234 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] |
5235 | pub fn bind_framebuffer( |
5236 | this: &WebGl2RenderingContext, |
5237 | target: u32, |
5238 | framebuffer: Option<&WebGlFramebuffer>, |
5239 | ); |
5240 | #[cfg (feature = "WebGlRenderbuffer" )] |
5241 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindRenderbuffer)] |
5242 | #[doc = "The `bindRenderbuffer()` method." ] |
5243 | #[doc = "" ] |
5244 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)" ] |
5245 | #[doc = "" ] |
5246 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] |
5247 | pub fn bind_renderbuffer( |
5248 | this: &WebGl2RenderingContext, |
5249 | target: u32, |
5250 | renderbuffer: Option<&WebGlRenderbuffer>, |
5251 | ); |
5252 | #[cfg (feature = "WebGlTexture" )] |
5253 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTexture)] |
5254 | #[doc = "The `bindTexture()` method." ] |
5255 | #[doc = "" ] |
5256 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)" ] |
5257 | #[doc = "" ] |
5258 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] |
5259 | pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>); |
5260 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendColor)] |
5261 | #[doc = "The `blendColor()` method." ] |
5262 | #[doc = "" ] |
5263 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)" ] |
5264 | #[doc = "" ] |
5265 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5266 | pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32); |
5267 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquation)] |
5268 | #[doc = "The `blendEquation()` method." ] |
5269 | #[doc = "" ] |
5270 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)" ] |
5271 | #[doc = "" ] |
5272 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5273 | pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32); |
5274 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquationSeparate)] |
5275 | #[doc = "The `blendEquationSeparate()` method." ] |
5276 | #[doc = "" ] |
5277 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)" ] |
5278 | #[doc = "" ] |
5279 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5280 | pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32); |
5281 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFunc)] |
5282 | #[doc = "The `blendFunc()` method." ] |
5283 | #[doc = "" ] |
5284 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)" ] |
5285 | #[doc = "" ] |
5286 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5287 | pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32); |
5288 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFuncSeparate)] |
5289 | #[doc = "The `blendFuncSeparate()` method." ] |
5290 | #[doc = "" ] |
5291 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)" ] |
5292 | #[doc = "" ] |
5293 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5294 | pub fn blend_func_separate( |
5295 | this: &WebGl2RenderingContext, |
5296 | src_rgb: u32, |
5297 | dst_rgb: u32, |
5298 | src_alpha: u32, |
5299 | dst_alpha: u32, |
5300 | ); |
5301 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = checkFramebufferStatus)] |
5302 | #[doc = "The `checkFramebufferStatus()` method." ] |
5303 | #[doc = "" ] |
5304 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)" ] |
5305 | #[doc = "" ] |
5306 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5307 | pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32; |
5308 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clear)] |
5309 | #[doc = "The `clear()` method." ] |
5310 | #[doc = "" ] |
5311 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)" ] |
5312 | #[doc = "" ] |
5313 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5314 | pub fn clear(this: &WebGl2RenderingContext, mask: u32); |
5315 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearColor)] |
5316 | #[doc = "The `clearColor()` method." ] |
5317 | #[doc = "" ] |
5318 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)" ] |
5319 | #[doc = "" ] |
5320 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5321 | pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32); |
5322 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearDepth)] |
5323 | #[doc = "The `clearDepth()` method." ] |
5324 | #[doc = "" ] |
5325 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)" ] |
5326 | #[doc = "" ] |
5327 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5328 | pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32); |
5329 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearStencil)] |
5330 | #[doc = "The `clearStencil()` method." ] |
5331 | #[doc = "" ] |
5332 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)" ] |
5333 | #[doc = "" ] |
5334 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5335 | pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32); |
5336 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = colorMask)] |
5337 | #[doc = "The `colorMask()` method." ] |
5338 | #[doc = "" ] |
5339 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)" ] |
5340 | #[doc = "" ] |
5341 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5342 | pub fn color_mask( |
5343 | this: &WebGl2RenderingContext, |
5344 | red: bool, |
5345 | green: bool, |
5346 | blue: bool, |
5347 | alpha: bool, |
5348 | ); |
5349 | #[cfg (feature = "WebGlShader" )] |
5350 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compileShader)] |
5351 | #[doc = "The `compileShader()` method." ] |
5352 | #[doc = "" ] |
5353 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)" ] |
5354 | #[doc = "" ] |
5355 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5356 | pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader); |
5357 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexImage2D)] |
5358 | #[doc = "The `copyTexImage2D()` method." ] |
5359 | #[doc = "" ] |
5360 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)" ] |
5361 | #[doc = "" ] |
5362 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5363 | pub fn copy_tex_image_2d( |
5364 | this: &WebGl2RenderingContext, |
5365 | target: u32, |
5366 | level: i32, |
5367 | internalformat: u32, |
5368 | x: i32, |
5369 | y: i32, |
5370 | width: i32, |
5371 | height: i32, |
5372 | border: i32, |
5373 | ); |
5374 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage2D)] |
5375 | #[doc = "The `copyTexSubImage2D()` method." ] |
5376 | #[doc = "" ] |
5377 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)" ] |
5378 | #[doc = "" ] |
5379 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5380 | pub fn copy_tex_sub_image_2d( |
5381 | this: &WebGl2RenderingContext, |
5382 | target: u32, |
5383 | level: i32, |
5384 | xoffset: i32, |
5385 | yoffset: i32, |
5386 | x: i32, |
5387 | y: i32, |
5388 | width: i32, |
5389 | height: i32, |
5390 | ); |
5391 | #[cfg (feature = "WebGlBuffer" )] |
5392 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createBuffer)] |
5393 | #[doc = "The `createBuffer()` method." ] |
5394 | #[doc = "" ] |
5395 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)" ] |
5396 | #[doc = "" ] |
5397 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
5398 | pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>; |
5399 | #[cfg (feature = "WebGlFramebuffer" )] |
5400 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createFramebuffer)] |
5401 | #[doc = "The `createFramebuffer()` method." ] |
5402 | #[doc = "" ] |
5403 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)" ] |
5404 | #[doc = "" ] |
5405 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] |
5406 | pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>; |
5407 | #[cfg (feature = "WebGlProgram" )] |
5408 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createProgram)] |
5409 | #[doc = "The `createProgram()` method." ] |
5410 | #[doc = "" ] |
5411 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)" ] |
5412 | #[doc = "" ] |
5413 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5414 | pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>; |
5415 | #[cfg (feature = "WebGlRenderbuffer" )] |
5416 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createRenderbuffer)] |
5417 | #[doc = "The `createRenderbuffer()` method." ] |
5418 | #[doc = "" ] |
5419 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)" ] |
5420 | #[doc = "" ] |
5421 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] |
5422 | pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>; |
5423 | #[cfg (feature = "WebGlShader" )] |
5424 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createShader)] |
5425 | #[doc = "The `createShader()` method." ] |
5426 | #[doc = "" ] |
5427 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)" ] |
5428 | #[doc = "" ] |
5429 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5430 | pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>; |
5431 | #[cfg (feature = "WebGlTexture" )] |
5432 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTexture)] |
5433 | #[doc = "The `createTexture()` method." ] |
5434 | #[doc = "" ] |
5435 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)" ] |
5436 | #[doc = "" ] |
5437 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] |
5438 | pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>; |
5439 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = cullFace)] |
5440 | #[doc = "The `cullFace()` method." ] |
5441 | #[doc = "" ] |
5442 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)" ] |
5443 | #[doc = "" ] |
5444 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5445 | pub fn cull_face(this: &WebGl2RenderingContext, mode: u32); |
5446 | #[cfg (feature = "WebGlBuffer" )] |
5447 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteBuffer)] |
5448 | #[doc = "The `deleteBuffer()` method." ] |
5449 | #[doc = "" ] |
5450 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)" ] |
5451 | #[doc = "" ] |
5452 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
5453 | pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>); |
5454 | #[cfg (feature = "WebGlFramebuffer" )] |
5455 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteFramebuffer)] |
5456 | #[doc = "The `deleteFramebuffer()` method." ] |
5457 | #[doc = "" ] |
5458 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)" ] |
5459 | #[doc = "" ] |
5460 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] |
5461 | pub fn delete_framebuffer( |
5462 | this: &WebGl2RenderingContext, |
5463 | framebuffer: Option<&WebGlFramebuffer>, |
5464 | ); |
5465 | #[cfg (feature = "WebGlProgram" )] |
5466 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteProgram)] |
5467 | #[doc = "The `deleteProgram()` method." ] |
5468 | #[doc = "" ] |
5469 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)" ] |
5470 | #[doc = "" ] |
5471 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5472 | pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>); |
5473 | #[cfg (feature = "WebGlRenderbuffer" )] |
5474 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteRenderbuffer)] |
5475 | #[doc = "The `deleteRenderbuffer()` method." ] |
5476 | #[doc = "" ] |
5477 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)" ] |
5478 | #[doc = "" ] |
5479 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] |
5480 | pub fn delete_renderbuffer( |
5481 | this: &WebGl2RenderingContext, |
5482 | renderbuffer: Option<&WebGlRenderbuffer>, |
5483 | ); |
5484 | #[cfg (feature = "WebGlShader" )] |
5485 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteShader)] |
5486 | #[doc = "The `deleteShader()` method." ] |
5487 | #[doc = "" ] |
5488 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)" ] |
5489 | #[doc = "" ] |
5490 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5491 | pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>); |
5492 | #[cfg (feature = "WebGlTexture" )] |
5493 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTexture)] |
5494 | #[doc = "The `deleteTexture()` method." ] |
5495 | #[doc = "" ] |
5496 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)" ] |
5497 | #[doc = "" ] |
5498 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] |
5499 | pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>); |
5500 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthFunc)] |
5501 | #[doc = "The `depthFunc()` method." ] |
5502 | #[doc = "" ] |
5503 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)" ] |
5504 | #[doc = "" ] |
5505 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5506 | pub fn depth_func(this: &WebGl2RenderingContext, func: u32); |
5507 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthMask)] |
5508 | #[doc = "The `depthMask()` method." ] |
5509 | #[doc = "" ] |
5510 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)" ] |
5511 | #[doc = "" ] |
5512 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5513 | pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool); |
5514 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthRange)] |
5515 | #[doc = "The `depthRange()` method." ] |
5516 | #[doc = "" ] |
5517 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)" ] |
5518 | #[doc = "" ] |
5519 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5520 | pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32); |
5521 | #[cfg (all(feature = "WebGlProgram" , feature = "WebGlShader" ,))] |
5522 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = detachShader)] |
5523 | #[doc = "The `detachShader()` method." ] |
5524 | #[doc = "" ] |
5525 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)" ] |
5526 | #[doc = "" ] |
5527 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*" ] |
5528 | pub fn detach_shader( |
5529 | this: &WebGl2RenderingContext, |
5530 | program: &WebGlProgram, |
5531 | shader: &WebGlShader, |
5532 | ); |
5533 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disable)] |
5534 | #[doc = "The `disable()` method." ] |
5535 | #[doc = "" ] |
5536 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)" ] |
5537 | #[doc = "" ] |
5538 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5539 | pub fn disable(this: &WebGl2RenderingContext, cap: u32); |
5540 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disableVertexAttribArray)] |
5541 | #[doc = "The `disableVertexAttribArray()` method." ] |
5542 | #[doc = "" ] |
5543 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)" ] |
5544 | #[doc = "" ] |
5545 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5546 | pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32); |
5547 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArrays)] |
5548 | #[doc = "The `drawArrays()` method." ] |
5549 | #[doc = "" ] |
5550 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)" ] |
5551 | #[doc = "" ] |
5552 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5553 | pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32); |
5554 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)] |
5555 | #[doc = "The `drawElements()` method." ] |
5556 | #[doc = "" ] |
5557 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)" ] |
5558 | #[doc = "" ] |
5559 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5560 | pub fn draw_elements_with_i32( |
5561 | this: &WebGl2RenderingContext, |
5562 | mode: u32, |
5563 | count: i32, |
5564 | type_: u32, |
5565 | offset: i32, |
5566 | ); |
5567 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)] |
5568 | #[doc = "The `drawElements()` method." ] |
5569 | #[doc = "" ] |
5570 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)" ] |
5571 | #[doc = "" ] |
5572 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5573 | pub fn draw_elements_with_f64( |
5574 | this: &WebGl2RenderingContext, |
5575 | mode: u32, |
5576 | count: i32, |
5577 | type_: u32, |
5578 | offset: f64, |
5579 | ); |
5580 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enable)] |
5581 | #[doc = "The `enable()` method." ] |
5582 | #[doc = "" ] |
5583 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)" ] |
5584 | #[doc = "" ] |
5585 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5586 | pub fn enable(this: &WebGl2RenderingContext, cap: u32); |
5587 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enableVertexAttribArray)] |
5588 | #[doc = "The `enableVertexAttribArray()` method." ] |
5589 | #[doc = "" ] |
5590 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)" ] |
5591 | #[doc = "" ] |
5592 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5593 | pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32); |
5594 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = finish)] |
5595 | #[doc = "The `finish()` method." ] |
5596 | #[doc = "" ] |
5597 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)" ] |
5598 | #[doc = "" ] |
5599 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5600 | pub fn finish(this: &WebGl2RenderingContext); |
5601 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = flush)] |
5602 | #[doc = "The `flush()` method." ] |
5603 | #[doc = "" ] |
5604 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)" ] |
5605 | #[doc = "" ] |
5606 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5607 | pub fn flush(this: &WebGl2RenderingContext); |
5608 | #[cfg (feature = "WebGlRenderbuffer" )] |
5609 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferRenderbuffer)] |
5610 | #[doc = "The `framebufferRenderbuffer()` method." ] |
5611 | #[doc = "" ] |
5612 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)" ] |
5613 | #[doc = "" ] |
5614 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] |
5615 | pub fn framebuffer_renderbuffer( |
5616 | this: &WebGl2RenderingContext, |
5617 | target: u32, |
5618 | attachment: u32, |
5619 | renderbuffertarget: u32, |
5620 | renderbuffer: Option<&WebGlRenderbuffer>, |
5621 | ); |
5622 | #[cfg (feature = "WebGlTexture" )] |
5623 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTexture2D)] |
5624 | #[doc = "The `framebufferTexture2D()` method." ] |
5625 | #[doc = "" ] |
5626 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)" ] |
5627 | #[doc = "" ] |
5628 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] |
5629 | pub fn framebuffer_texture_2d( |
5630 | this: &WebGl2RenderingContext, |
5631 | target: u32, |
5632 | attachment: u32, |
5633 | textarget: u32, |
5634 | texture: Option<&WebGlTexture>, |
5635 | level: i32, |
5636 | ); |
5637 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = frontFace)] |
5638 | #[doc = "The `frontFace()` method." ] |
5639 | #[doc = "" ] |
5640 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)" ] |
5641 | #[doc = "" ] |
5642 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5643 | pub fn front_face(this: &WebGl2RenderingContext, mode: u32); |
5644 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = generateMipmap)] |
5645 | #[doc = "The `generateMipmap()` method." ] |
5646 | #[doc = "" ] |
5647 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)" ] |
5648 | #[doc = "" ] |
5649 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5650 | pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32); |
5651 | #[cfg (all(feature = "WebGlActiveInfo" , feature = "WebGlProgram" ,))] |
5652 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveAttrib)] |
5653 | #[doc = "The `getActiveAttrib()` method." ] |
5654 | #[doc = "" ] |
5655 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)" ] |
5656 | #[doc = "" ] |
5657 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] |
5658 | pub fn get_active_attrib( |
5659 | this: &WebGl2RenderingContext, |
5660 | program: &WebGlProgram, |
5661 | index: u32, |
5662 | ) -> Option<WebGlActiveInfo>; |
5663 | #[cfg (all(feature = "WebGlActiveInfo" , feature = "WebGlProgram" ,))] |
5664 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniform)] |
5665 | #[doc = "The `getActiveUniform()` method." ] |
5666 | #[doc = "" ] |
5667 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)" ] |
5668 | #[doc = "" ] |
5669 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] |
5670 | pub fn get_active_uniform( |
5671 | this: &WebGl2RenderingContext, |
5672 | program: &WebGlProgram, |
5673 | index: u32, |
5674 | ) -> Option<WebGlActiveInfo>; |
5675 | #[cfg (feature = "WebGlProgram" )] |
5676 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttachedShaders)] |
5677 | #[doc = "The `getAttachedShaders()` method." ] |
5678 | #[doc = "" ] |
5679 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)" ] |
5680 | #[doc = "" ] |
5681 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5682 | pub fn get_attached_shaders( |
5683 | this: &WebGl2RenderingContext, |
5684 | program: &WebGlProgram, |
5685 | ) -> Option<::js_sys::Array>; |
5686 | #[cfg (feature = "WebGlProgram" )] |
5687 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttribLocation)] |
5688 | #[doc = "The `getAttribLocation()` method." ] |
5689 | #[doc = "" ] |
5690 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)" ] |
5691 | #[doc = "" ] |
5692 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5693 | pub fn get_attrib_location( |
5694 | this: &WebGl2RenderingContext, |
5695 | program: &WebGlProgram, |
5696 | name: &str, |
5697 | ) -> i32; |
5698 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferParameter)] |
5699 | #[doc = "The `getBufferParameter()` method." ] |
5700 | #[doc = "" ] |
5701 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)" ] |
5702 | #[doc = "" ] |
5703 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5704 | pub fn get_buffer_parameter( |
5705 | this: &WebGl2RenderingContext, |
5706 | target: u32, |
5707 | pname: u32, |
5708 | ) -> ::wasm_bindgen::JsValue; |
5709 | #[cfg (feature = "WebGlContextAttributes" )] |
5710 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getContextAttributes)] |
5711 | #[doc = "The `getContextAttributes()` method." ] |
5712 | #[doc = "" ] |
5713 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)" ] |
5714 | #[doc = "" ] |
5715 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*" ] |
5716 | pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>; |
5717 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getError)] |
5718 | #[doc = "The `getError()` method." ] |
5719 | #[doc = "" ] |
5720 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)" ] |
5721 | #[doc = "" ] |
5722 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5723 | pub fn get_error(this: &WebGl2RenderingContext) -> u32; |
5724 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getExtension)] |
5725 | #[doc = "The `getExtension()` method." ] |
5726 | #[doc = "" ] |
5727 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)" ] |
5728 | #[doc = "" ] |
5729 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5730 | pub fn get_extension( |
5731 | this: &WebGl2RenderingContext, |
5732 | name: &str, |
5733 | ) -> Result<Option<::js_sys::Object>, JsValue>; |
5734 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getFramebufferAttachmentParameter)] |
5735 | #[doc = "The `getFramebufferAttachmentParameter()` method." ] |
5736 | #[doc = "" ] |
5737 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)" ] |
5738 | #[doc = "" ] |
5739 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5740 | pub fn get_framebuffer_attachment_parameter( |
5741 | this: &WebGl2RenderingContext, |
5742 | target: u32, |
5743 | attachment: u32, |
5744 | pname: u32, |
5745 | ) -> Result<::wasm_bindgen::JsValue, JsValue>; |
5746 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getParameter)] |
5747 | #[doc = "The `getParameter()` method." ] |
5748 | #[doc = "" ] |
5749 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)" ] |
5750 | #[doc = "" ] |
5751 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5752 | pub fn get_parameter( |
5753 | this: &WebGl2RenderingContext, |
5754 | pname: u32, |
5755 | ) -> Result<::wasm_bindgen::JsValue, JsValue>; |
5756 | #[cfg (feature = "WebGlProgram" )] |
5757 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramInfoLog)] |
5758 | #[doc = "The `getProgramInfoLog()` method." ] |
5759 | #[doc = "" ] |
5760 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)" ] |
5761 | #[doc = "" ] |
5762 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5763 | pub fn get_program_info_log( |
5764 | this: &WebGl2RenderingContext, |
5765 | program: &WebGlProgram, |
5766 | ) -> Option<String>; |
5767 | #[cfg (feature = "WebGlProgram" )] |
5768 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramParameter)] |
5769 | #[doc = "The `getProgramParameter()` method." ] |
5770 | #[doc = "" ] |
5771 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)" ] |
5772 | #[doc = "" ] |
5773 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5774 | pub fn get_program_parameter( |
5775 | this: &WebGl2RenderingContext, |
5776 | program: &WebGlProgram, |
5777 | pname: u32, |
5778 | ) -> ::wasm_bindgen::JsValue; |
5779 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getRenderbufferParameter)] |
5780 | #[doc = "The `getRenderbufferParameter()` method." ] |
5781 | #[doc = "" ] |
5782 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)" ] |
5783 | #[doc = "" ] |
5784 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5785 | pub fn get_renderbuffer_parameter( |
5786 | this: &WebGl2RenderingContext, |
5787 | target: u32, |
5788 | pname: u32, |
5789 | ) -> ::wasm_bindgen::JsValue; |
5790 | #[cfg (feature = "WebGlShader" )] |
5791 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderInfoLog)] |
5792 | #[doc = "The `getShaderInfoLog()` method." ] |
5793 | #[doc = "" ] |
5794 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)" ] |
5795 | #[doc = "" ] |
5796 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5797 | pub fn get_shader_info_log( |
5798 | this: &WebGl2RenderingContext, |
5799 | shader: &WebGlShader, |
5800 | ) -> Option<String>; |
5801 | #[cfg (feature = "WebGlShader" )] |
5802 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderParameter)] |
5803 | #[doc = "The `getShaderParameter()` method." ] |
5804 | #[doc = "" ] |
5805 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)" ] |
5806 | #[doc = "" ] |
5807 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5808 | pub fn get_shader_parameter( |
5809 | this: &WebGl2RenderingContext, |
5810 | shader: &WebGlShader, |
5811 | pname: u32, |
5812 | ) -> ::wasm_bindgen::JsValue; |
5813 | #[cfg (feature = "WebGlShaderPrecisionFormat" )] |
5814 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderPrecisionFormat)] |
5815 | #[doc = "The `getShaderPrecisionFormat()` method." ] |
5816 | #[doc = "" ] |
5817 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)" ] |
5818 | #[doc = "" ] |
5819 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*" ] |
5820 | pub fn get_shader_precision_format( |
5821 | this: &WebGl2RenderingContext, |
5822 | shadertype: u32, |
5823 | precisiontype: u32, |
5824 | ) -> Option<WebGlShaderPrecisionFormat>; |
5825 | #[cfg (feature = "WebGlShader" )] |
5826 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderSource)] |
5827 | #[doc = "The `getShaderSource()` method." ] |
5828 | #[doc = "" ] |
5829 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)" ] |
5830 | #[doc = "" ] |
5831 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5832 | pub fn get_shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader) |
5833 | -> Option<String>; |
5834 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSupportedExtensions)] |
5835 | #[doc = "The `getSupportedExtensions()` method." ] |
5836 | #[doc = "" ] |
5837 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)" ] |
5838 | #[doc = "" ] |
5839 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5840 | pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>; |
5841 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTexParameter)] |
5842 | #[doc = "The `getTexParameter()` method." ] |
5843 | #[doc = "" ] |
5844 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)" ] |
5845 | #[doc = "" ] |
5846 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5847 | pub fn get_tex_parameter( |
5848 | this: &WebGl2RenderingContext, |
5849 | target: u32, |
5850 | pname: u32, |
5851 | ) -> ::wasm_bindgen::JsValue; |
5852 | #[cfg (all(feature = "WebGlProgram" , feature = "WebGlUniformLocation" ,))] |
5853 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniform)] |
5854 | #[doc = "The `getUniform()` method." ] |
5855 | #[doc = "" ] |
5856 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)" ] |
5857 | #[doc = "" ] |
5858 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*" ] |
5859 | pub fn get_uniform( |
5860 | this: &WebGl2RenderingContext, |
5861 | program: &WebGlProgram, |
5862 | location: &WebGlUniformLocation, |
5863 | ) -> ::wasm_bindgen::JsValue; |
5864 | #[cfg (all(feature = "WebGlProgram" , feature = "WebGlUniformLocation" ,))] |
5865 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformLocation)] |
5866 | #[doc = "The `getUniformLocation()` method." ] |
5867 | #[doc = "" ] |
5868 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)" ] |
5869 | #[doc = "" ] |
5870 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*" ] |
5871 | pub fn get_uniform_location( |
5872 | this: &WebGl2RenderingContext, |
5873 | program: &WebGlProgram, |
5874 | name: &str, |
5875 | ) -> Option<WebGlUniformLocation>; |
5876 | # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttrib)] |
5877 | #[doc = "The `getVertexAttrib()` method." ] |
5878 | #[doc = "" ] |
5879 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)" ] |
5880 | #[doc = "" ] |
5881 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5882 | pub fn get_vertex_attrib( |
5883 | this: &WebGl2RenderingContext, |
5884 | index: u32, |
5885 | pname: u32, |
5886 | ) -> Result<::wasm_bindgen::JsValue, JsValue>; |
5887 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttribOffset)] |
5888 | #[doc = "The `getVertexAttribOffset()` method." ] |
5889 | #[doc = "" ] |
5890 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)" ] |
5891 | #[doc = "" ] |
5892 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5893 | pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64; |
5894 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = hint)] |
5895 | #[doc = "The `hint()` method." ] |
5896 | #[doc = "" ] |
5897 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)" ] |
5898 | #[doc = "" ] |
5899 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5900 | pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32); |
5901 | #[cfg (feature = "WebGlBuffer" )] |
5902 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isBuffer)] |
5903 | #[doc = "The `isBuffer()` method." ] |
5904 | #[doc = "" ] |
5905 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)" ] |
5906 | #[doc = "" ] |
5907 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] |
5908 | pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool; |
5909 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isContextLost)] |
5910 | #[doc = "The `isContextLost()` method." ] |
5911 | #[doc = "" ] |
5912 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)" ] |
5913 | #[doc = "" ] |
5914 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5915 | pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool; |
5916 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isEnabled)] |
5917 | #[doc = "The `isEnabled()` method." ] |
5918 | #[doc = "" ] |
5919 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)" ] |
5920 | #[doc = "" ] |
5921 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5922 | pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool; |
5923 | #[cfg (feature = "WebGlFramebuffer" )] |
5924 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isFramebuffer)] |
5925 | #[doc = "The `isFramebuffer()` method." ] |
5926 | #[doc = "" ] |
5927 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)" ] |
5928 | #[doc = "" ] |
5929 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] |
5930 | pub fn is_framebuffer( |
5931 | this: &WebGl2RenderingContext, |
5932 | framebuffer: Option<&WebGlFramebuffer>, |
5933 | ) -> bool; |
5934 | #[cfg (feature = "WebGlProgram" )] |
5935 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isProgram)] |
5936 | #[doc = "The `isProgram()` method." ] |
5937 | #[doc = "" ] |
5938 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)" ] |
5939 | #[doc = "" ] |
5940 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5941 | pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool; |
5942 | #[cfg (feature = "WebGlRenderbuffer" )] |
5943 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isRenderbuffer)] |
5944 | #[doc = "The `isRenderbuffer()` method." ] |
5945 | #[doc = "" ] |
5946 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)" ] |
5947 | #[doc = "" ] |
5948 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] |
5949 | pub fn is_renderbuffer( |
5950 | this: &WebGl2RenderingContext, |
5951 | renderbuffer: Option<&WebGlRenderbuffer>, |
5952 | ) -> bool; |
5953 | #[cfg (feature = "WebGlShader" )] |
5954 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isShader)] |
5955 | #[doc = "The `isShader()` method." ] |
5956 | #[doc = "" ] |
5957 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)" ] |
5958 | #[doc = "" ] |
5959 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
5960 | pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool; |
5961 | #[cfg (feature = "WebGlTexture" )] |
5962 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTexture)] |
5963 | #[doc = "The `isTexture()` method." ] |
5964 | #[doc = "" ] |
5965 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)" ] |
5966 | #[doc = "" ] |
5967 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] |
5968 | pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool; |
5969 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = lineWidth)] |
5970 | #[doc = "The `lineWidth()` method." ] |
5971 | #[doc = "" ] |
5972 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)" ] |
5973 | #[doc = "" ] |
5974 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5975 | pub fn line_width(this: &WebGl2RenderingContext, width: f32); |
5976 | #[cfg (feature = "WebGlProgram" )] |
5977 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = linkProgram)] |
5978 | #[doc = "The `linkProgram()` method." ] |
5979 | #[doc = "" ] |
5980 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)" ] |
5981 | #[doc = "" ] |
5982 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
5983 | pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram); |
5984 | #[cfg (web_sys_unstable_apis)] |
5985 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = makeXRCompatible)] |
5986 | #[doc = "The `makeXRCompatible()` method." ] |
5987 | #[doc = "" ] |
5988 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)" ] |
5989 | #[doc = "" ] |
5990 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
5991 | #[doc = "" ] |
5992 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
5993 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
5994 | pub fn make_xr_compatible(this: &WebGl2RenderingContext) -> ::js_sys::Promise; |
5995 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei)] |
5996 | #[doc = "The `pixelStorei()` method." ] |
5997 | #[doc = "" ] |
5998 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)" ] |
5999 | #[doc = "" ] |
6000 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6001 | pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32); |
6002 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = polygonOffset)] |
6003 | #[doc = "The `polygonOffset()` method." ] |
6004 | #[doc = "" ] |
6005 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)" ] |
6006 | #[doc = "" ] |
6007 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6008 | pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32); |
6009 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorage)] |
6010 | #[doc = "The `renderbufferStorage()` method." ] |
6011 | #[doc = "" ] |
6012 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)" ] |
6013 | #[doc = "" ] |
6014 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6015 | pub fn renderbuffer_storage( |
6016 | this: &WebGl2RenderingContext, |
6017 | target: u32, |
6018 | internalformat: u32, |
6019 | width: i32, |
6020 | height: i32, |
6021 | ); |
6022 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage)] |
6023 | #[doc = "The `sampleCoverage()` method." ] |
6024 | #[doc = "" ] |
6025 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)" ] |
6026 | #[doc = "" ] |
6027 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6028 | pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool); |
6029 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = scissor)] |
6030 | #[doc = "The `scissor()` method." ] |
6031 | #[doc = "" ] |
6032 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)" ] |
6033 | #[doc = "" ] |
6034 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6035 | pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32); |
6036 | #[cfg (feature = "WebGlShader" )] |
6037 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = shaderSource)] |
6038 | #[doc = "The `shaderSource()` method." ] |
6039 | #[doc = "" ] |
6040 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)" ] |
6041 | #[doc = "" ] |
6042 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] |
6043 | pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str); |
6044 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFunc)] |
6045 | #[doc = "The `stencilFunc()` method." ] |
6046 | #[doc = "" ] |
6047 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)" ] |
6048 | #[doc = "" ] |
6049 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6050 | pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32); |
6051 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFuncSeparate)] |
6052 | #[doc = "The `stencilFuncSeparate()` method." ] |
6053 | #[doc = "" ] |
6054 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)" ] |
6055 | #[doc = "" ] |
6056 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6057 | pub fn stencil_func_separate( |
6058 | this: &WebGl2RenderingContext, |
6059 | face: u32, |
6060 | func: u32, |
6061 | ref_: i32, |
6062 | mask: u32, |
6063 | ); |
6064 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask)] |
6065 | #[doc = "The `stencilMask()` method." ] |
6066 | #[doc = "" ] |
6067 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)" ] |
6068 | #[doc = "" ] |
6069 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6070 | pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32); |
6071 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMaskSeparate)] |
6072 | #[doc = "The `stencilMaskSeparate()` method." ] |
6073 | #[doc = "" ] |
6074 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)" ] |
6075 | #[doc = "" ] |
6076 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6077 | pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32); |
6078 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOp)] |
6079 | #[doc = "The `stencilOp()` method." ] |
6080 | #[doc = "" ] |
6081 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)" ] |
6082 | #[doc = "" ] |
6083 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6084 | pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32); |
6085 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOpSeparate)] |
6086 | #[doc = "The `stencilOpSeparate()` method." ] |
6087 | #[doc = "" ] |
6088 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)" ] |
6089 | #[doc = "" ] |
6090 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6091 | pub fn stencil_op_separate( |
6092 | this: &WebGl2RenderingContext, |
6093 | face: u32, |
6094 | fail: u32, |
6095 | zfail: u32, |
6096 | zpass: u32, |
6097 | ); |
6098 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf)] |
6099 | #[doc = "The `texParameterf()` method." ] |
6100 | #[doc = "" ] |
6101 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)" ] |
6102 | #[doc = "" ] |
6103 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6104 | pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32); |
6105 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameteri)] |
6106 | #[doc = "The `texParameteri()` method." ] |
6107 | #[doc = "" ] |
6108 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)" ] |
6109 | #[doc = "" ] |
6110 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6111 | pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32); |
6112 | #[cfg (feature = "WebGlUniformLocation" )] |
6113 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1f)] |
6114 | #[doc = "The `uniform1f()` method." ] |
6115 | #[doc = "" ] |
6116 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)" ] |
6117 | #[doc = "" ] |
6118 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6119 | pub fn uniform1f( |
6120 | this: &WebGl2RenderingContext, |
6121 | location: Option<&WebGlUniformLocation>, |
6122 | x: f32, |
6123 | ); |
6124 | #[cfg (feature = "WebGlUniformLocation" )] |
6125 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i)] |
6126 | #[doc = "The `uniform1i()` method." ] |
6127 | #[doc = "" ] |
6128 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)" ] |
6129 | #[doc = "" ] |
6130 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6131 | pub fn uniform1i( |
6132 | this: &WebGl2RenderingContext, |
6133 | location: Option<&WebGlUniformLocation>, |
6134 | x: i32, |
6135 | ); |
6136 | #[cfg (feature = "WebGlUniformLocation" )] |
6137 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f)] |
6138 | #[doc = "The `uniform2f()` method." ] |
6139 | #[doc = "" ] |
6140 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)" ] |
6141 | #[doc = "" ] |
6142 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6143 | pub fn uniform2f( |
6144 | this: &WebGl2RenderingContext, |
6145 | location: Option<&WebGlUniformLocation>, |
6146 | x: f32, |
6147 | y: f32, |
6148 | ); |
6149 | #[cfg (feature = "WebGlUniformLocation" )] |
6150 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i)] |
6151 | #[doc = "The `uniform2i()` method." ] |
6152 | #[doc = "" ] |
6153 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)" ] |
6154 | #[doc = "" ] |
6155 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6156 | pub fn uniform2i( |
6157 | this: &WebGl2RenderingContext, |
6158 | location: Option<&WebGlUniformLocation>, |
6159 | x: i32, |
6160 | y: i32, |
6161 | ); |
6162 | #[cfg (feature = "WebGlUniformLocation" )] |
6163 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f)] |
6164 | #[doc = "The `uniform3f()` method." ] |
6165 | #[doc = "" ] |
6166 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)" ] |
6167 | #[doc = "" ] |
6168 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6169 | pub fn uniform3f( |
6170 | this: &WebGl2RenderingContext, |
6171 | location: Option<&WebGlUniformLocation>, |
6172 | x: f32, |
6173 | y: f32, |
6174 | z: f32, |
6175 | ); |
6176 | #[cfg (feature = "WebGlUniformLocation" )] |
6177 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i)] |
6178 | #[doc = "The `uniform3i()` method." ] |
6179 | #[doc = "" ] |
6180 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)" ] |
6181 | #[doc = "" ] |
6182 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6183 | pub fn uniform3i( |
6184 | this: &WebGl2RenderingContext, |
6185 | location: Option<&WebGlUniformLocation>, |
6186 | x: i32, |
6187 | y: i32, |
6188 | z: i32, |
6189 | ); |
6190 | #[cfg (feature = "WebGlUniformLocation" )] |
6191 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f)] |
6192 | #[doc = "The `uniform4f()` method." ] |
6193 | #[doc = "" ] |
6194 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)" ] |
6195 | #[doc = "" ] |
6196 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6197 | pub fn uniform4f( |
6198 | this: &WebGl2RenderingContext, |
6199 | location: Option<&WebGlUniformLocation>, |
6200 | x: f32, |
6201 | y: f32, |
6202 | z: f32, |
6203 | w: f32, |
6204 | ); |
6205 | #[cfg (feature = "WebGlUniformLocation" )] |
6206 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i)] |
6207 | #[doc = "The `uniform4i()` method." ] |
6208 | #[doc = "" ] |
6209 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)" ] |
6210 | #[doc = "" ] |
6211 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] |
6212 | pub fn uniform4i( |
6213 | this: &WebGl2RenderingContext, |
6214 | location: Option<&WebGlUniformLocation>, |
6215 | x: i32, |
6216 | y: i32, |
6217 | z: i32, |
6218 | w: i32, |
6219 | ); |
6220 | #[cfg (feature = "WebGlProgram" )] |
6221 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram)] |
6222 | #[doc = "The `useProgram()` method." ] |
6223 | #[doc = "" ] |
6224 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)" ] |
6225 | #[doc = "" ] |
6226 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
6227 | pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>); |
6228 | #[cfg (feature = "WebGlProgram" )] |
6229 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = validateProgram)] |
6230 | #[doc = "The `validateProgram()` method." ] |
6231 | #[doc = "" ] |
6232 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)" ] |
6233 | #[doc = "" ] |
6234 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] |
6235 | pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram); |
6236 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1f)] |
6237 | #[doc = "The `vertexAttrib1f()` method." ] |
6238 | #[doc = "" ] |
6239 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)" ] |
6240 | #[doc = "" ] |
6241 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6242 | pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32); |
6243 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] |
6244 | #[doc = "The `vertexAttrib1fv()` method." ] |
6245 | #[doc = "" ] |
6246 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)" ] |
6247 | #[doc = "" ] |
6248 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6249 | pub fn vertex_attrib1fv_with_f32_array( |
6250 | this: &WebGl2RenderingContext, |
6251 | indx: u32, |
6252 | values: &[f32], |
6253 | ); |
6254 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] |
6255 | #[doc = "The `vertexAttrib1fv()` method." ] |
6256 | #[doc = "" ] |
6257 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)" ] |
6258 | #[doc = "" ] |
6259 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6260 | pub fn vertex_attrib1fv_with_f32_sequence( |
6261 | this: &WebGl2RenderingContext, |
6262 | indx: u32, |
6263 | values: &::wasm_bindgen::JsValue, |
6264 | ); |
6265 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f)] |
6266 | #[doc = "The `vertexAttrib2f()` method." ] |
6267 | #[doc = "" ] |
6268 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)" ] |
6269 | #[doc = "" ] |
6270 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6271 | pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32); |
6272 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] |
6273 | #[doc = "The `vertexAttrib2fv()` method." ] |
6274 | #[doc = "" ] |
6275 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)" ] |
6276 | #[doc = "" ] |
6277 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6278 | pub fn vertex_attrib2fv_with_f32_array( |
6279 | this: &WebGl2RenderingContext, |
6280 | indx: u32, |
6281 | values: &[f32], |
6282 | ); |
6283 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] |
6284 | #[doc = "The `vertexAttrib2fv()` method." ] |
6285 | #[doc = "" ] |
6286 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)" ] |
6287 | #[doc = "" ] |
6288 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6289 | pub fn vertex_attrib2fv_with_f32_sequence( |
6290 | this: &WebGl2RenderingContext, |
6291 | indx: u32, |
6292 | values: &::wasm_bindgen::JsValue, |
6293 | ); |
6294 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f)] |
6295 | #[doc = "The `vertexAttrib3f()` method." ] |
6296 | #[doc = "" ] |
6297 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)" ] |
6298 | #[doc = "" ] |
6299 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6300 | pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32); |
6301 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] |
6302 | #[doc = "The `vertexAttrib3fv()` method." ] |
6303 | #[doc = "" ] |
6304 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)" ] |
6305 | #[doc = "" ] |
6306 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6307 | pub fn vertex_attrib3fv_with_f32_array( |
6308 | this: &WebGl2RenderingContext, |
6309 | indx: u32, |
6310 | values: &[f32], |
6311 | ); |
6312 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] |
6313 | #[doc = "The `vertexAttrib3fv()` method." ] |
6314 | #[doc = "" ] |
6315 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)" ] |
6316 | #[doc = "" ] |
6317 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6318 | pub fn vertex_attrib3fv_with_f32_sequence( |
6319 | this: &WebGl2RenderingContext, |
6320 | indx: u32, |
6321 | values: &::wasm_bindgen::JsValue, |
6322 | ); |
6323 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f)] |
6324 | #[doc = "The `vertexAttrib4f()` method." ] |
6325 | #[doc = "" ] |
6326 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)" ] |
6327 | #[doc = "" ] |
6328 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6329 | pub fn vertex_attrib4f( |
6330 | this: &WebGl2RenderingContext, |
6331 | indx: u32, |
6332 | x: f32, |
6333 | y: f32, |
6334 | z: f32, |
6335 | w: f32, |
6336 | ); |
6337 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] |
6338 | #[doc = "The `vertexAttrib4fv()` method." ] |
6339 | #[doc = "" ] |
6340 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)" ] |
6341 | #[doc = "" ] |
6342 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6343 | pub fn vertex_attrib4fv_with_f32_array( |
6344 | this: &WebGl2RenderingContext, |
6345 | indx: u32, |
6346 | values: &[f32], |
6347 | ); |
6348 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] |
6349 | #[doc = "The `vertexAttrib4fv()` method." ] |
6350 | #[doc = "" ] |
6351 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)" ] |
6352 | #[doc = "" ] |
6353 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6354 | pub fn vertex_attrib4fv_with_f32_sequence( |
6355 | this: &WebGl2RenderingContext, |
6356 | indx: u32, |
6357 | values: &::wasm_bindgen::JsValue, |
6358 | ); |
6359 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)] |
6360 | #[doc = "The `vertexAttribPointer()` method." ] |
6361 | #[doc = "" ] |
6362 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)" ] |
6363 | #[doc = "" ] |
6364 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6365 | pub fn vertex_attrib_pointer_with_i32( |
6366 | this: &WebGl2RenderingContext, |
6367 | indx: u32, |
6368 | size: i32, |
6369 | type_: u32, |
6370 | normalized: bool, |
6371 | stride: i32, |
6372 | offset: i32, |
6373 | ); |
6374 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)] |
6375 | #[doc = "The `vertexAttribPointer()` method." ] |
6376 | #[doc = "" ] |
6377 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)" ] |
6378 | #[doc = "" ] |
6379 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6380 | pub fn vertex_attrib_pointer_with_f64( |
6381 | this: &WebGl2RenderingContext, |
6382 | indx: u32, |
6383 | size: i32, |
6384 | type_: u32, |
6385 | normalized: bool, |
6386 | stride: i32, |
6387 | offset: f64, |
6388 | ); |
6389 | # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport)] |
6390 | #[doc = "The `viewport()` method." ] |
6391 | #[doc = "" ] |
6392 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)" ] |
6393 | #[doc = "" ] |
6394 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6395 | pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32); |
6396 | } |
6397 | impl WebGl2RenderingContext { |
6398 | #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const." ] |
6399 | #[doc = "" ] |
6400 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6401 | pub const READ_BUFFER: u32 = 3074u64 as u32; |
6402 | #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const." ] |
6403 | #[doc = "" ] |
6404 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6405 | pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32; |
6406 | #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const." ] |
6407 | #[doc = "" ] |
6408 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6409 | pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32; |
6410 | #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const." ] |
6411 | #[doc = "" ] |
6412 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6413 | pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32; |
6414 | #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const." ] |
6415 | #[doc = "" ] |
6416 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6417 | pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32; |
6418 | #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const." ] |
6419 | #[doc = "" ] |
6420 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6421 | pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32; |
6422 | #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const." ] |
6423 | #[doc = "" ] |
6424 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6425 | pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32; |
6426 | #[doc = "The `WebGL2RenderingContext.COLOR` const." ] |
6427 | #[doc = "" ] |
6428 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6429 | pub const COLOR: u32 = 6144u64 as u32; |
6430 | #[doc = "The `WebGL2RenderingContext.DEPTH` const." ] |
6431 | #[doc = "" ] |
6432 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6433 | pub const DEPTH: u32 = 6145u64 as u32; |
6434 | #[doc = "The `WebGL2RenderingContext.STENCIL` const." ] |
6435 | #[doc = "" ] |
6436 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6437 | pub const STENCIL: u32 = 6146u64 as u32; |
6438 | #[doc = "The `WebGL2RenderingContext.RED` const." ] |
6439 | #[doc = "" ] |
6440 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6441 | pub const RED: u32 = 6403u64 as u32; |
6442 | #[doc = "The `WebGL2RenderingContext.RGB8` const." ] |
6443 | #[doc = "" ] |
6444 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6445 | pub const RGB8: u32 = 32849u64 as u32; |
6446 | #[doc = "The `WebGL2RenderingContext.RGBA8` const." ] |
6447 | #[doc = "" ] |
6448 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6449 | pub const RGBA8: u32 = 32856u64 as u32; |
6450 | #[doc = "The `WebGL2RenderingContext.RGB10_A2` const." ] |
6451 | #[doc = "" ] |
6452 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6453 | pub const RGB10_A2: u32 = 32857u64 as u32; |
6454 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const." ] |
6455 | #[doc = "" ] |
6456 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6457 | pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32; |
6458 | #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const." ] |
6459 | #[doc = "" ] |
6460 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6461 | pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32; |
6462 | #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const." ] |
6463 | #[doc = "" ] |
6464 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6465 | pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32; |
6466 | #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const." ] |
6467 | #[doc = "" ] |
6468 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6469 | pub const TEXTURE_3D: u32 = 32879u64 as u32; |
6470 | #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const." ] |
6471 | #[doc = "" ] |
6472 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6473 | pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32; |
6474 | #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const." ] |
6475 | #[doc = "" ] |
6476 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6477 | pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32; |
6478 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const." ] |
6479 | #[doc = "" ] |
6480 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6481 | pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32; |
6482 | #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const." ] |
6483 | #[doc = "" ] |
6484 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6485 | pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32; |
6486 | #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const." ] |
6487 | #[doc = "" ] |
6488 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6489 | pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32; |
6490 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const." ] |
6491 | #[doc = "" ] |
6492 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6493 | pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32; |
6494 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const." ] |
6495 | #[doc = "" ] |
6496 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6497 | pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32; |
6498 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const." ] |
6499 | #[doc = "" ] |
6500 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6501 | pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32; |
6502 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const." ] |
6503 | #[doc = "" ] |
6504 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6505 | pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32; |
6506 | #[doc = "The `WebGL2RenderingContext.MIN` const." ] |
6507 | #[doc = "" ] |
6508 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6509 | pub const MIN: u32 = 32775u64 as u32; |
6510 | #[doc = "The `WebGL2RenderingContext.MAX` const." ] |
6511 | #[doc = "" ] |
6512 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6513 | pub const MAX: u32 = 32776u64 as u32; |
6514 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const." ] |
6515 | #[doc = "" ] |
6516 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6517 | pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32; |
6518 | #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const." ] |
6519 | #[doc = "" ] |
6520 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6521 | pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32; |
6522 | #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const." ] |
6523 | #[doc = "" ] |
6524 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6525 | pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32; |
6526 | #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const." ] |
6527 | #[doc = "" ] |
6528 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6529 | pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32; |
6530 | #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const." ] |
6531 | #[doc = "" ] |
6532 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6533 | pub const CURRENT_QUERY: u32 = 34917u64 as u32; |
6534 | #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const." ] |
6535 | #[doc = "" ] |
6536 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6537 | pub const QUERY_RESULT: u32 = 34918u64 as u32; |
6538 | #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const." ] |
6539 | #[doc = "" ] |
6540 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6541 | pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32; |
6542 | #[doc = "The `WebGL2RenderingContext.STREAM_READ` const." ] |
6543 | #[doc = "" ] |
6544 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6545 | pub const STREAM_READ: u32 = 35041u64 as u32; |
6546 | #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const." ] |
6547 | #[doc = "" ] |
6548 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6549 | pub const STREAM_COPY: u32 = 35042u64 as u32; |
6550 | #[doc = "The `WebGL2RenderingContext.STATIC_READ` const." ] |
6551 | #[doc = "" ] |
6552 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6553 | pub const STATIC_READ: u32 = 35045u64 as u32; |
6554 | #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const." ] |
6555 | #[doc = "" ] |
6556 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6557 | pub const STATIC_COPY: u32 = 35046u64 as u32; |
6558 | #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const." ] |
6559 | #[doc = "" ] |
6560 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6561 | pub const DYNAMIC_READ: u32 = 35049u64 as u32; |
6562 | #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const." ] |
6563 | #[doc = "" ] |
6564 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6565 | pub const DYNAMIC_COPY: u32 = 35050u64 as u32; |
6566 | #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const." ] |
6567 | #[doc = "" ] |
6568 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6569 | pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32; |
6570 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const." ] |
6571 | #[doc = "" ] |
6572 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6573 | pub const DRAW_BUFFER0: u32 = 34853u64 as u32; |
6574 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const." ] |
6575 | #[doc = "" ] |
6576 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6577 | pub const DRAW_BUFFER1: u32 = 34854u64 as u32; |
6578 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const." ] |
6579 | #[doc = "" ] |
6580 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6581 | pub const DRAW_BUFFER2: u32 = 34855u64 as u32; |
6582 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const." ] |
6583 | #[doc = "" ] |
6584 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6585 | pub const DRAW_BUFFER3: u32 = 34856u64 as u32; |
6586 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const." ] |
6587 | #[doc = "" ] |
6588 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6589 | pub const DRAW_BUFFER4: u32 = 34857u64 as u32; |
6590 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const." ] |
6591 | #[doc = "" ] |
6592 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6593 | pub const DRAW_BUFFER5: u32 = 34858u64 as u32; |
6594 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const." ] |
6595 | #[doc = "" ] |
6596 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6597 | pub const DRAW_BUFFER6: u32 = 34859u64 as u32; |
6598 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const." ] |
6599 | #[doc = "" ] |
6600 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6601 | pub const DRAW_BUFFER7: u32 = 34860u64 as u32; |
6602 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const." ] |
6603 | #[doc = "" ] |
6604 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6605 | pub const DRAW_BUFFER8: u32 = 34861u64 as u32; |
6606 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const." ] |
6607 | #[doc = "" ] |
6608 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6609 | pub const DRAW_BUFFER9: u32 = 34862u64 as u32; |
6610 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const." ] |
6611 | #[doc = "" ] |
6612 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6613 | pub const DRAW_BUFFER10: u32 = 34863u64 as u32; |
6614 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const." ] |
6615 | #[doc = "" ] |
6616 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6617 | pub const DRAW_BUFFER11: u32 = 34864u64 as u32; |
6618 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const." ] |
6619 | #[doc = "" ] |
6620 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6621 | pub const DRAW_BUFFER12: u32 = 34865u64 as u32; |
6622 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const." ] |
6623 | #[doc = "" ] |
6624 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6625 | pub const DRAW_BUFFER13: u32 = 34866u64 as u32; |
6626 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const." ] |
6627 | #[doc = "" ] |
6628 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6629 | pub const DRAW_BUFFER14: u32 = 34867u64 as u32; |
6630 | #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const." ] |
6631 | #[doc = "" ] |
6632 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6633 | pub const DRAW_BUFFER15: u32 = 34868u64 as u32; |
6634 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const." ] |
6635 | #[doc = "" ] |
6636 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6637 | pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32; |
6638 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const." ] |
6639 | #[doc = "" ] |
6640 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6641 | pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32; |
6642 | #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const." ] |
6643 | #[doc = "" ] |
6644 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6645 | pub const SAMPLER_3D: u32 = 35679u64 as u32; |
6646 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const." ] |
6647 | #[doc = "" ] |
6648 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6649 | pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32; |
6650 | #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const." ] |
6651 | #[doc = "" ] |
6652 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6653 | pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32; |
6654 | #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const." ] |
6655 | #[doc = "" ] |
6656 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6657 | pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32; |
6658 | #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const." ] |
6659 | #[doc = "" ] |
6660 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6661 | pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32; |
6662 | #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const." ] |
6663 | #[doc = "" ] |
6664 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6665 | pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32; |
6666 | #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const." ] |
6667 | #[doc = "" ] |
6668 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6669 | pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32; |
6670 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const." ] |
6671 | #[doc = "" ] |
6672 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6673 | pub const FLOAT_MAT2X3: u32 = 35685u64 as u32; |
6674 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const." ] |
6675 | #[doc = "" ] |
6676 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6677 | pub const FLOAT_MAT2X4: u32 = 35686u64 as u32; |
6678 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const." ] |
6679 | #[doc = "" ] |
6680 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6681 | pub const FLOAT_MAT3X2: u32 = 35687u64 as u32; |
6682 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const." ] |
6683 | #[doc = "" ] |
6684 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6685 | pub const FLOAT_MAT3X4: u32 = 35688u64 as u32; |
6686 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const." ] |
6687 | #[doc = "" ] |
6688 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6689 | pub const FLOAT_MAT4X2: u32 = 35689u64 as u32; |
6690 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const." ] |
6691 | #[doc = "" ] |
6692 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6693 | pub const FLOAT_MAT4X3: u32 = 35690u64 as u32; |
6694 | #[doc = "The `WebGL2RenderingContext.SRGB` const." ] |
6695 | #[doc = "" ] |
6696 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6697 | pub const SRGB: u32 = 35904u64 as u32; |
6698 | #[doc = "The `WebGL2RenderingContext.SRGB8` const." ] |
6699 | #[doc = "" ] |
6700 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6701 | pub const SRGB8: u32 = 35905u64 as u32; |
6702 | #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const." ] |
6703 | #[doc = "" ] |
6704 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6705 | pub const SRGB8_ALPHA8: u32 = 35907u64 as u32; |
6706 | #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const." ] |
6707 | #[doc = "" ] |
6708 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6709 | pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32; |
6710 | #[doc = "The `WebGL2RenderingContext.RGBA32F` const." ] |
6711 | #[doc = "" ] |
6712 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6713 | pub const RGBA32F: u32 = 34836u64 as u32; |
6714 | #[doc = "The `WebGL2RenderingContext.RGB32F` const." ] |
6715 | #[doc = "" ] |
6716 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6717 | pub const RGB32F: u32 = 34837u64 as u32; |
6718 | #[doc = "The `WebGL2RenderingContext.RGBA16F` const." ] |
6719 | #[doc = "" ] |
6720 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6721 | pub const RGBA16F: u32 = 34842u64 as u32; |
6722 | #[doc = "The `WebGL2RenderingContext.RGB16F` const." ] |
6723 | #[doc = "" ] |
6724 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6725 | pub const RGB16F: u32 = 34843u64 as u32; |
6726 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const." ] |
6727 | #[doc = "" ] |
6728 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6729 | pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32; |
6730 | #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const." ] |
6731 | #[doc = "" ] |
6732 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6733 | pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32; |
6734 | #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const." ] |
6735 | #[doc = "" ] |
6736 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6737 | pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32; |
6738 | #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const." ] |
6739 | #[doc = "" ] |
6740 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6741 | pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32; |
6742 | #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const." ] |
6743 | #[doc = "" ] |
6744 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6745 | pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32; |
6746 | #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const." ] |
6747 | #[doc = "" ] |
6748 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6749 | pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32; |
6750 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const." ] |
6751 | #[doc = "" ] |
6752 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6753 | pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32; |
6754 | #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const." ] |
6755 | #[doc = "" ] |
6756 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6757 | pub const R11F_G11F_B10F: u32 = 35898u64 as u32; |
6758 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const." ] |
6759 | #[doc = "" ] |
6760 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6761 | pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32; |
6762 | #[doc = "The `WebGL2RenderingContext.RGB9_E5` const." ] |
6763 | #[doc = "" ] |
6764 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6765 | pub const RGB9_E5: u32 = 35901u64 as u32; |
6766 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const." ] |
6767 | #[doc = "" ] |
6768 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6769 | pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32; |
6770 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const." ] |
6771 | #[doc = "" ] |
6772 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6773 | pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32; |
6774 | #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const." ] |
6775 | #[doc = "" ] |
6776 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6777 | pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32; |
6778 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const." ] |
6779 | #[doc = "" ] |
6780 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6781 | pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32; |
6782 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const." ] |
6783 | #[doc = "" ] |
6784 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6785 | pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32; |
6786 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const." ] |
6787 | #[doc = "" ] |
6788 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6789 | pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32; |
6790 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const." ] |
6791 | #[doc = "" ] |
6792 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6793 | pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32; |
6794 | #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const." ] |
6795 | #[doc = "" ] |
6796 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6797 | pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32; |
6798 | #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const." ] |
6799 | #[doc = "" ] |
6800 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6801 | pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32; |
6802 | #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const." ] |
6803 | #[doc = "" ] |
6804 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6805 | pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32; |
6806 | #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const." ] |
6807 | #[doc = "" ] |
6808 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6809 | pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32; |
6810 | #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const." ] |
6811 | #[doc = "" ] |
6812 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6813 | pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32; |
6814 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const." ] |
6815 | #[doc = "" ] |
6816 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6817 | pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32; |
6818 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const." ] |
6819 | #[doc = "" ] |
6820 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6821 | pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32; |
6822 | #[doc = "The `WebGL2RenderingContext.RGBA32UI` const." ] |
6823 | #[doc = "" ] |
6824 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6825 | pub const RGBA32UI: u32 = 36208u64 as u32; |
6826 | #[doc = "The `WebGL2RenderingContext.RGB32UI` const." ] |
6827 | #[doc = "" ] |
6828 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6829 | pub const RGB32UI: u32 = 36209u64 as u32; |
6830 | #[doc = "The `WebGL2RenderingContext.RGBA16UI` const." ] |
6831 | #[doc = "" ] |
6832 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6833 | pub const RGBA16UI: u32 = 36214u64 as u32; |
6834 | #[doc = "The `WebGL2RenderingContext.RGB16UI` const." ] |
6835 | #[doc = "" ] |
6836 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6837 | pub const RGB16UI: u32 = 36215u64 as u32; |
6838 | #[doc = "The `WebGL2RenderingContext.RGBA8UI` const." ] |
6839 | #[doc = "" ] |
6840 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6841 | pub const RGBA8UI: u32 = 36220u64 as u32; |
6842 | #[doc = "The `WebGL2RenderingContext.RGB8UI` const." ] |
6843 | #[doc = "" ] |
6844 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6845 | pub const RGB8UI: u32 = 36221u64 as u32; |
6846 | #[doc = "The `WebGL2RenderingContext.RGBA32I` const." ] |
6847 | #[doc = "" ] |
6848 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6849 | pub const RGBA32I: u32 = 36226u64 as u32; |
6850 | #[doc = "The `WebGL2RenderingContext.RGB32I` const." ] |
6851 | #[doc = "" ] |
6852 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6853 | pub const RGB32I: u32 = 36227u64 as u32; |
6854 | #[doc = "The `WebGL2RenderingContext.RGBA16I` const." ] |
6855 | #[doc = "" ] |
6856 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6857 | pub const RGBA16I: u32 = 36232u64 as u32; |
6858 | #[doc = "The `WebGL2RenderingContext.RGB16I` const." ] |
6859 | #[doc = "" ] |
6860 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6861 | pub const RGB16I: u32 = 36233u64 as u32; |
6862 | #[doc = "The `WebGL2RenderingContext.RGBA8I` const." ] |
6863 | #[doc = "" ] |
6864 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6865 | pub const RGBA8I: u32 = 36238u64 as u32; |
6866 | #[doc = "The `WebGL2RenderingContext.RGB8I` const." ] |
6867 | #[doc = "" ] |
6868 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6869 | pub const RGB8I: u32 = 36239u64 as u32; |
6870 | #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const." ] |
6871 | #[doc = "" ] |
6872 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6873 | pub const RED_INTEGER: u32 = 36244u64 as u32; |
6874 | #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const." ] |
6875 | #[doc = "" ] |
6876 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6877 | pub const RGB_INTEGER: u32 = 36248u64 as u32; |
6878 | #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const." ] |
6879 | #[doc = "" ] |
6880 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6881 | pub const RGBA_INTEGER: u32 = 36249u64 as u32; |
6882 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const." ] |
6883 | #[doc = "" ] |
6884 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6885 | pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32; |
6886 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const." ] |
6887 | #[doc = "" ] |
6888 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6889 | pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32; |
6890 | #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const." ] |
6891 | #[doc = "" ] |
6892 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6893 | pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32; |
6894 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const." ] |
6895 | #[doc = "" ] |
6896 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6897 | pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32; |
6898 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const." ] |
6899 | #[doc = "" ] |
6900 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6901 | pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32; |
6902 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const." ] |
6903 | #[doc = "" ] |
6904 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6905 | pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32; |
6906 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const." ] |
6907 | #[doc = "" ] |
6908 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6909 | pub const INT_SAMPLER_2D: u32 = 36298u64 as u32; |
6910 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const." ] |
6911 | #[doc = "" ] |
6912 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6913 | pub const INT_SAMPLER_3D: u32 = 36299u64 as u32; |
6914 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const." ] |
6915 | #[doc = "" ] |
6916 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6917 | pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32; |
6918 | #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const." ] |
6919 | #[doc = "" ] |
6920 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6921 | pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32; |
6922 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const." ] |
6923 | #[doc = "" ] |
6924 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6925 | pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32; |
6926 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const." ] |
6927 | #[doc = "" ] |
6928 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6929 | pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32; |
6930 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const." ] |
6931 | #[doc = "" ] |
6932 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6933 | pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32; |
6934 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const." ] |
6935 | #[doc = "" ] |
6936 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6937 | pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32; |
6938 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const." ] |
6939 | #[doc = "" ] |
6940 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6941 | pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32; |
6942 | #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const." ] |
6943 | #[doc = "" ] |
6944 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6945 | pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32; |
6946 | #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const." ] |
6947 | #[doc = "" ] |
6948 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6949 | pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32; |
6950 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const." ] |
6951 | #[doc = "" ] |
6952 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6953 | pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32; |
6954 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const." ] |
6955 | #[doc = "" ] |
6956 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6957 | pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32; |
6958 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const." ] |
6959 | #[doc = "" ] |
6960 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6961 | pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32; |
6962 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const." ] |
6963 | #[doc = "" ] |
6964 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6965 | pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32; |
6966 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const." ] |
6967 | #[doc = "" ] |
6968 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6969 | pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32; |
6970 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const." ] |
6971 | #[doc = "" ] |
6972 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6973 | pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32; |
6974 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const." ] |
6975 | #[doc = "" ] |
6976 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6977 | pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32; |
6978 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const." ] |
6979 | #[doc = "" ] |
6980 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6981 | pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32; |
6982 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const." ] |
6983 | #[doc = "" ] |
6984 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6985 | pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32; |
6986 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const." ] |
6987 | #[doc = "" ] |
6988 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6989 | pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32; |
6990 | #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const." ] |
6991 | #[doc = "" ] |
6992 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6993 | pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32; |
6994 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const." ] |
6995 | #[doc = "" ] |
6996 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
6997 | pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32; |
6998 | #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const." ] |
6999 | #[doc = "" ] |
7000 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7001 | pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32; |
7002 | #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const." ] |
7003 | #[doc = "" ] |
7004 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7005 | pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32; |
7006 | #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const." ] |
7007 | #[doc = "" ] |
7008 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7009 | pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32; |
7010 | #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const." ] |
7011 | #[doc = "" ] |
7012 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7013 | pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32; |
7014 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const." ] |
7015 | #[doc = "" ] |
7016 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7017 | pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32; |
7018 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const." ] |
7019 | #[doc = "" ] |
7020 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7021 | pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32; |
7022 | #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const." ] |
7023 | #[doc = "" ] |
7024 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7025 | pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32; |
7026 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const." ] |
7027 | #[doc = "" ] |
7028 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7029 | pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32; |
7030 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const." ] |
7031 | #[doc = "" ] |
7032 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7033 | pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32; |
7034 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const." ] |
7035 | #[doc = "" ] |
7036 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7037 | pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32; |
7038 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const." ] |
7039 | #[doc = "" ] |
7040 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7041 | pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32; |
7042 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const." ] |
7043 | #[doc = "" ] |
7044 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7045 | pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32; |
7046 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const." ] |
7047 | #[doc = "" ] |
7048 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7049 | pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32; |
7050 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const." ] |
7051 | #[doc = "" ] |
7052 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7053 | pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32; |
7054 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const." ] |
7055 | #[doc = "" ] |
7056 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7057 | pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32; |
7058 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const." ] |
7059 | #[doc = "" ] |
7060 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7061 | pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32; |
7062 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const." ] |
7063 | #[doc = "" ] |
7064 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7065 | pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32; |
7066 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const." ] |
7067 | #[doc = "" ] |
7068 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7069 | pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32; |
7070 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const." ] |
7071 | #[doc = "" ] |
7072 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7073 | pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32; |
7074 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const." ] |
7075 | #[doc = "" ] |
7076 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7077 | pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32; |
7078 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const." ] |
7079 | #[doc = "" ] |
7080 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7081 | pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32; |
7082 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const." ] |
7083 | #[doc = "" ] |
7084 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7085 | pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32; |
7086 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const." ] |
7087 | #[doc = "" ] |
7088 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7089 | pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32; |
7090 | #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const." ] |
7091 | #[doc = "" ] |
7092 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7093 | pub const MAX_SAMPLES: u32 = 36183u64 as u32; |
7094 | #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const." ] |
7095 | #[doc = "" ] |
7096 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7097 | pub const HALF_FLOAT: u32 = 5131u64 as u32; |
7098 | #[doc = "The `WebGL2RenderingContext.RG` const." ] |
7099 | #[doc = "" ] |
7100 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7101 | pub const RG: u32 = 33319u64 as u32; |
7102 | #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const." ] |
7103 | #[doc = "" ] |
7104 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7105 | pub const RG_INTEGER: u32 = 33320u64 as u32; |
7106 | #[doc = "The `WebGL2RenderingContext.R8` const." ] |
7107 | #[doc = "" ] |
7108 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7109 | pub const R8: u32 = 33321u64 as u32; |
7110 | #[doc = "The `WebGL2RenderingContext.RG8` const." ] |
7111 | #[doc = "" ] |
7112 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7113 | pub const RG8: u32 = 33323u64 as u32; |
7114 | #[doc = "The `WebGL2RenderingContext.R16F` const." ] |
7115 | #[doc = "" ] |
7116 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7117 | pub const R16F: u32 = 33325u64 as u32; |
7118 | #[doc = "The `WebGL2RenderingContext.R32F` const." ] |
7119 | #[doc = "" ] |
7120 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7121 | pub const R32F: u32 = 33326u64 as u32; |
7122 | #[doc = "The `WebGL2RenderingContext.RG16F` const." ] |
7123 | #[doc = "" ] |
7124 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7125 | pub const RG16F: u32 = 33327u64 as u32; |
7126 | #[doc = "The `WebGL2RenderingContext.RG32F` const." ] |
7127 | #[doc = "" ] |
7128 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7129 | pub const RG32F: u32 = 33328u64 as u32; |
7130 | #[doc = "The `WebGL2RenderingContext.R8I` const." ] |
7131 | #[doc = "" ] |
7132 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7133 | pub const R8I: u32 = 33329u64 as u32; |
7134 | #[doc = "The `WebGL2RenderingContext.R8UI` const." ] |
7135 | #[doc = "" ] |
7136 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7137 | pub const R8UI: u32 = 33330u64 as u32; |
7138 | #[doc = "The `WebGL2RenderingContext.R16I` const." ] |
7139 | #[doc = "" ] |
7140 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7141 | pub const R16I: u32 = 33331u64 as u32; |
7142 | #[doc = "The `WebGL2RenderingContext.R16UI` const." ] |
7143 | #[doc = "" ] |
7144 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7145 | pub const R16UI: u32 = 33332u64 as u32; |
7146 | #[doc = "The `WebGL2RenderingContext.R32I` const." ] |
7147 | #[doc = "" ] |
7148 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7149 | pub const R32I: u32 = 33333u64 as u32; |
7150 | #[doc = "The `WebGL2RenderingContext.R32UI` const." ] |
7151 | #[doc = "" ] |
7152 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7153 | pub const R32UI: u32 = 33334u64 as u32; |
7154 | #[doc = "The `WebGL2RenderingContext.RG8I` const." ] |
7155 | #[doc = "" ] |
7156 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7157 | pub const RG8I: u32 = 33335u64 as u32; |
7158 | #[doc = "The `WebGL2RenderingContext.RG8UI` const." ] |
7159 | #[doc = "" ] |
7160 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7161 | pub const RG8UI: u32 = 33336u64 as u32; |
7162 | #[doc = "The `WebGL2RenderingContext.RG16I` const." ] |
7163 | #[doc = "" ] |
7164 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7165 | pub const RG16I: u32 = 33337u64 as u32; |
7166 | #[doc = "The `WebGL2RenderingContext.RG16UI` const." ] |
7167 | #[doc = "" ] |
7168 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7169 | pub const RG16UI: u32 = 33338u64 as u32; |
7170 | #[doc = "The `WebGL2RenderingContext.RG32I` const." ] |
7171 | #[doc = "" ] |
7172 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7173 | pub const RG32I: u32 = 33339u64 as u32; |
7174 | #[doc = "The `WebGL2RenderingContext.RG32UI` const." ] |
7175 | #[doc = "" ] |
7176 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7177 | pub const RG32UI: u32 = 33340u64 as u32; |
7178 | #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const." ] |
7179 | #[doc = "" ] |
7180 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7181 | pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32; |
7182 | #[doc = "The `WebGL2RenderingContext.R8_SNORM` const." ] |
7183 | #[doc = "" ] |
7184 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7185 | pub const R8_SNORM: u32 = 36756u64 as u32; |
7186 | #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const." ] |
7187 | #[doc = "" ] |
7188 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7189 | pub const RG8_SNORM: u32 = 36757u64 as u32; |
7190 | #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const." ] |
7191 | #[doc = "" ] |
7192 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7193 | pub const RGB8_SNORM: u32 = 36758u64 as u32; |
7194 | #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const." ] |
7195 | #[doc = "" ] |
7196 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7197 | pub const RGBA8_SNORM: u32 = 36759u64 as u32; |
7198 | #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const." ] |
7199 | #[doc = "" ] |
7200 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7201 | pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32; |
7202 | #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const." ] |
7203 | #[doc = "" ] |
7204 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7205 | pub const COPY_READ_BUFFER: u32 = 36662u64 as u32; |
7206 | #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const." ] |
7207 | #[doc = "" ] |
7208 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7209 | pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32; |
7210 | #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const." ] |
7211 | #[doc = "" ] |
7212 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7213 | pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32; |
7214 | #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const." ] |
7215 | #[doc = "" ] |
7216 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7217 | pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32; |
7218 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const." ] |
7219 | #[doc = "" ] |
7220 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7221 | pub const UNIFORM_BUFFER: u32 = 35345u64 as u32; |
7222 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const." ] |
7223 | #[doc = "" ] |
7224 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7225 | pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32; |
7226 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const." ] |
7227 | #[doc = "" ] |
7228 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7229 | pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32; |
7230 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const." ] |
7231 | #[doc = "" ] |
7232 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7233 | pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32; |
7234 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const." ] |
7235 | #[doc = "" ] |
7236 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7237 | pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32; |
7238 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const." ] |
7239 | #[doc = "" ] |
7240 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7241 | pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32; |
7242 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const." ] |
7243 | #[doc = "" ] |
7244 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7245 | pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32; |
7246 | #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const." ] |
7247 | #[doc = "" ] |
7248 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7249 | pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32; |
7250 | #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const." ] |
7251 | #[doc = "" ] |
7252 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7253 | pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32; |
7254 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const." ] |
7255 | #[doc = "" ] |
7256 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7257 | pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32; |
7258 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const." ] |
7259 | #[doc = "" ] |
7260 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7261 | pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32; |
7262 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const." ] |
7263 | #[doc = "" ] |
7264 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7265 | pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32; |
7266 | #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const." ] |
7267 | #[doc = "" ] |
7268 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7269 | pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32; |
7270 | #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const." ] |
7271 | #[doc = "" ] |
7272 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7273 | pub const UNIFORM_TYPE: u32 = 35383u64 as u32; |
7274 | #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const." ] |
7275 | #[doc = "" ] |
7276 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7277 | pub const UNIFORM_SIZE: u32 = 35384u64 as u32; |
7278 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const." ] |
7279 | #[doc = "" ] |
7280 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7281 | pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32; |
7282 | #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const." ] |
7283 | #[doc = "" ] |
7284 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7285 | pub const UNIFORM_OFFSET: u32 = 35387u64 as u32; |
7286 | #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const." ] |
7287 | #[doc = "" ] |
7288 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7289 | pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32; |
7290 | #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const." ] |
7291 | #[doc = "" ] |
7292 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7293 | pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32; |
7294 | #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const." ] |
7295 | #[doc = "" ] |
7296 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7297 | pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32; |
7298 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const." ] |
7299 | #[doc = "" ] |
7300 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7301 | pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32; |
7302 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const." ] |
7303 | #[doc = "" ] |
7304 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7305 | pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32; |
7306 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const." ] |
7307 | #[doc = "" ] |
7308 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7309 | pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32; |
7310 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const." ] |
7311 | #[doc = "" ] |
7312 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7313 | pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32; |
7314 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const." ] |
7315 | #[doc = "" ] |
7316 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7317 | pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32; |
7318 | #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const." ] |
7319 | #[doc = "" ] |
7320 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7321 | pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32; |
7322 | #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const." ] |
7323 | #[doc = "" ] |
7324 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7325 | pub const INVALID_INDEX: u32 = 4294967295u64 as u32; |
7326 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const." ] |
7327 | #[doc = "" ] |
7328 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7329 | pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32; |
7330 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const." ] |
7331 | #[doc = "" ] |
7332 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7333 | pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32; |
7334 | #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const." ] |
7335 | #[doc = "" ] |
7336 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7337 | pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32; |
7338 | #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const." ] |
7339 | #[doc = "" ] |
7340 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7341 | pub const OBJECT_TYPE: u32 = 37138u64 as u32; |
7342 | #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const." ] |
7343 | #[doc = "" ] |
7344 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7345 | pub const SYNC_CONDITION: u32 = 37139u64 as u32; |
7346 | #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const." ] |
7347 | #[doc = "" ] |
7348 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7349 | pub const SYNC_STATUS: u32 = 37140u64 as u32; |
7350 | #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const." ] |
7351 | #[doc = "" ] |
7352 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7353 | pub const SYNC_FLAGS: u32 = 37141u64 as u32; |
7354 | #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const." ] |
7355 | #[doc = "" ] |
7356 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7357 | pub const SYNC_FENCE: u32 = 37142u64 as u32; |
7358 | #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const." ] |
7359 | #[doc = "" ] |
7360 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7361 | pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32; |
7362 | #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const." ] |
7363 | #[doc = "" ] |
7364 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7365 | pub const UNSIGNALED: u32 = 37144u64 as u32; |
7366 | #[doc = "The `WebGL2RenderingContext.SIGNALED` const." ] |
7367 | #[doc = "" ] |
7368 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7369 | pub const SIGNALED: u32 = 37145u64 as u32; |
7370 | #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const." ] |
7371 | #[doc = "" ] |
7372 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7373 | pub const ALREADY_SIGNALED: u32 = 37146u64 as u32; |
7374 | #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const." ] |
7375 | #[doc = "" ] |
7376 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7377 | pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32; |
7378 | #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const." ] |
7379 | #[doc = "" ] |
7380 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7381 | pub const CONDITION_SATISFIED: u32 = 37148u64 as u32; |
7382 | #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const." ] |
7383 | #[doc = "" ] |
7384 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7385 | pub const WAIT_FAILED: u32 = 37149u64 as u32; |
7386 | #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const." ] |
7387 | #[doc = "" ] |
7388 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7389 | pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32; |
7390 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const." ] |
7391 | #[doc = "" ] |
7392 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7393 | pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32; |
7394 | #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const." ] |
7395 | #[doc = "" ] |
7396 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7397 | pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32; |
7398 | #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const." ] |
7399 | #[doc = "" ] |
7400 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7401 | pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32; |
7402 | #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const." ] |
7403 | #[doc = "" ] |
7404 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7405 | pub const SAMPLER_BINDING: u32 = 35097u64 as u32; |
7406 | #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const." ] |
7407 | #[doc = "" ] |
7408 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7409 | pub const RGB10_A2UI: u32 = 36975u64 as u32; |
7410 | #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const." ] |
7411 | #[doc = "" ] |
7412 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7413 | pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32; |
7414 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const." ] |
7415 | #[doc = "" ] |
7416 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7417 | pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32; |
7418 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const." ] |
7419 | #[doc = "" ] |
7420 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7421 | pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32; |
7422 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const." ] |
7423 | #[doc = "" ] |
7424 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7425 | pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32; |
7426 | #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const." ] |
7427 | #[doc = "" ] |
7428 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7429 | pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32; |
7430 | #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const." ] |
7431 | #[doc = "" ] |
7432 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7433 | pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32; |
7434 | #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const." ] |
7435 | #[doc = "" ] |
7436 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7437 | pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32; |
7438 | #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const." ] |
7439 | #[doc = "" ] |
7440 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7441 | pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32; |
7442 | #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const." ] |
7443 | #[doc = "" ] |
7444 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7445 | pub const TIMEOUT_IGNORED: f64 = -1i64 as f64; |
7446 | #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const." ] |
7447 | #[doc = "" ] |
7448 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7449 | pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32; |
7450 | #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const." ] |
7451 | #[doc = "" ] |
7452 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7453 | pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32; |
7454 | #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const." ] |
7455 | #[doc = "" ] |
7456 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7457 | pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32; |
7458 | #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const." ] |
7459 | #[doc = "" ] |
7460 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7461 | pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32; |
7462 | #[doc = "The `WebGL2RenderingContext.POINTS` const." ] |
7463 | #[doc = "" ] |
7464 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7465 | pub const POINTS: u32 = 0u64 as u32; |
7466 | #[doc = "The `WebGL2RenderingContext.LINES` const." ] |
7467 | #[doc = "" ] |
7468 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7469 | pub const LINES: u32 = 1u64 as u32; |
7470 | #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const." ] |
7471 | #[doc = "" ] |
7472 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7473 | pub const LINE_LOOP: u32 = 2u64 as u32; |
7474 | #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const." ] |
7475 | #[doc = "" ] |
7476 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7477 | pub const LINE_STRIP: u32 = 3u64 as u32; |
7478 | #[doc = "The `WebGL2RenderingContext.TRIANGLES` const." ] |
7479 | #[doc = "" ] |
7480 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7481 | pub const TRIANGLES: u32 = 4u64 as u32; |
7482 | #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const." ] |
7483 | #[doc = "" ] |
7484 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7485 | pub const TRIANGLE_STRIP: u32 = 5u64 as u32; |
7486 | #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const." ] |
7487 | #[doc = "" ] |
7488 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7489 | pub const TRIANGLE_FAN: u32 = 6u64 as u32; |
7490 | #[doc = "The `WebGL2RenderingContext.ZERO` const." ] |
7491 | #[doc = "" ] |
7492 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7493 | pub const ZERO: u32 = 0i64 as u32; |
7494 | #[doc = "The `WebGL2RenderingContext.ONE` const." ] |
7495 | #[doc = "" ] |
7496 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7497 | pub const ONE: u32 = 1u64 as u32; |
7498 | #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const." ] |
7499 | #[doc = "" ] |
7500 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7501 | pub const SRC_COLOR: u32 = 768u64 as u32; |
7502 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const." ] |
7503 | #[doc = "" ] |
7504 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7505 | pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32; |
7506 | #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const." ] |
7507 | #[doc = "" ] |
7508 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7509 | pub const SRC_ALPHA: u32 = 770u64 as u32; |
7510 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const." ] |
7511 | #[doc = "" ] |
7512 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7513 | pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32; |
7514 | #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const." ] |
7515 | #[doc = "" ] |
7516 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7517 | pub const DST_ALPHA: u32 = 772u64 as u32; |
7518 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const." ] |
7519 | #[doc = "" ] |
7520 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7521 | pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32; |
7522 | #[doc = "The `WebGL2RenderingContext.DST_COLOR` const." ] |
7523 | #[doc = "" ] |
7524 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7525 | pub const DST_COLOR: u32 = 774u64 as u32; |
7526 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const." ] |
7527 | #[doc = "" ] |
7528 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7529 | pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32; |
7530 | #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const." ] |
7531 | #[doc = "" ] |
7532 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7533 | pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32; |
7534 | #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const." ] |
7535 | #[doc = "" ] |
7536 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7537 | pub const FUNC_ADD: u32 = 32774u64 as u32; |
7538 | #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const." ] |
7539 | #[doc = "" ] |
7540 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7541 | pub const BLEND_EQUATION: u32 = 32777u64 as u32; |
7542 | #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const." ] |
7543 | #[doc = "" ] |
7544 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7545 | pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32; |
7546 | #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const." ] |
7547 | #[doc = "" ] |
7548 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7549 | pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32; |
7550 | #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const." ] |
7551 | #[doc = "" ] |
7552 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7553 | pub const FUNC_SUBTRACT: u32 = 32778u64 as u32; |
7554 | #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const." ] |
7555 | #[doc = "" ] |
7556 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7557 | pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32; |
7558 | #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const." ] |
7559 | #[doc = "" ] |
7560 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7561 | pub const BLEND_DST_RGB: u32 = 32968u64 as u32; |
7562 | #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const." ] |
7563 | #[doc = "" ] |
7564 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7565 | pub const BLEND_SRC_RGB: u32 = 32969u64 as u32; |
7566 | #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const." ] |
7567 | #[doc = "" ] |
7568 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7569 | pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32; |
7570 | #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const." ] |
7571 | #[doc = "" ] |
7572 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7573 | pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32; |
7574 | #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const." ] |
7575 | #[doc = "" ] |
7576 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7577 | pub const CONSTANT_COLOR: u32 = 32769u64 as u32; |
7578 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const." ] |
7579 | #[doc = "" ] |
7580 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7581 | pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32; |
7582 | #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const." ] |
7583 | #[doc = "" ] |
7584 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7585 | pub const CONSTANT_ALPHA: u32 = 32771u64 as u32; |
7586 | #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const." ] |
7587 | #[doc = "" ] |
7588 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7589 | pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32; |
7590 | #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const." ] |
7591 | #[doc = "" ] |
7592 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7593 | pub const BLEND_COLOR: u32 = 32773u64 as u32; |
7594 | #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const." ] |
7595 | #[doc = "" ] |
7596 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7597 | pub const ARRAY_BUFFER: u32 = 34962u64 as u32; |
7598 | #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const." ] |
7599 | #[doc = "" ] |
7600 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7601 | pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32; |
7602 | #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const." ] |
7603 | #[doc = "" ] |
7604 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7605 | pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32; |
7606 | #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const." ] |
7607 | #[doc = "" ] |
7608 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7609 | pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32; |
7610 | #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const." ] |
7611 | #[doc = "" ] |
7612 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7613 | pub const STREAM_DRAW: u32 = 35040u64 as u32; |
7614 | #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const." ] |
7615 | #[doc = "" ] |
7616 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7617 | pub const STATIC_DRAW: u32 = 35044u64 as u32; |
7618 | #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const." ] |
7619 | #[doc = "" ] |
7620 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7621 | pub const DYNAMIC_DRAW: u32 = 35048u64 as u32; |
7622 | #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const." ] |
7623 | #[doc = "" ] |
7624 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7625 | pub const BUFFER_SIZE: u32 = 34660u64 as u32; |
7626 | #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const." ] |
7627 | #[doc = "" ] |
7628 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7629 | pub const BUFFER_USAGE: u32 = 34661u64 as u32; |
7630 | #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const." ] |
7631 | #[doc = "" ] |
7632 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7633 | pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32; |
7634 | #[doc = "The `WebGL2RenderingContext.FRONT` const." ] |
7635 | #[doc = "" ] |
7636 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7637 | pub const FRONT: u32 = 1028u64 as u32; |
7638 | #[doc = "The `WebGL2RenderingContext.BACK` const." ] |
7639 | #[doc = "" ] |
7640 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7641 | pub const BACK: u32 = 1029u64 as u32; |
7642 | #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const." ] |
7643 | #[doc = "" ] |
7644 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7645 | pub const FRONT_AND_BACK: u32 = 1032u64 as u32; |
7646 | #[doc = "The `WebGL2RenderingContext.CULL_FACE` const." ] |
7647 | #[doc = "" ] |
7648 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7649 | pub const CULL_FACE: u32 = 2884u64 as u32; |
7650 | #[doc = "The `WebGL2RenderingContext.BLEND` const." ] |
7651 | #[doc = "" ] |
7652 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7653 | pub const BLEND: u32 = 3042u64 as u32; |
7654 | #[doc = "The `WebGL2RenderingContext.DITHER` const." ] |
7655 | #[doc = "" ] |
7656 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7657 | pub const DITHER: u32 = 3024u64 as u32; |
7658 | #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const." ] |
7659 | #[doc = "" ] |
7660 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7661 | pub const STENCIL_TEST: u32 = 2960u64 as u32; |
7662 | #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const." ] |
7663 | #[doc = "" ] |
7664 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7665 | pub const DEPTH_TEST: u32 = 2929u64 as u32; |
7666 | #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const." ] |
7667 | #[doc = "" ] |
7668 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7669 | pub const SCISSOR_TEST: u32 = 3089u64 as u32; |
7670 | #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const." ] |
7671 | #[doc = "" ] |
7672 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7673 | pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32; |
7674 | #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const." ] |
7675 | #[doc = "" ] |
7676 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7677 | pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32; |
7678 | #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const." ] |
7679 | #[doc = "" ] |
7680 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7681 | pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32; |
7682 | #[doc = "The `WebGL2RenderingContext.NO_ERROR` const." ] |
7683 | #[doc = "" ] |
7684 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7685 | pub const NO_ERROR: u32 = 0i64 as u32; |
7686 | #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const." ] |
7687 | #[doc = "" ] |
7688 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7689 | pub const INVALID_ENUM: u32 = 1280u64 as u32; |
7690 | #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const." ] |
7691 | #[doc = "" ] |
7692 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7693 | pub const INVALID_VALUE: u32 = 1281u64 as u32; |
7694 | #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const." ] |
7695 | #[doc = "" ] |
7696 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7697 | pub const INVALID_OPERATION: u32 = 1282u64 as u32; |
7698 | #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const." ] |
7699 | #[doc = "" ] |
7700 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7701 | pub const OUT_OF_MEMORY: u32 = 1285u64 as u32; |
7702 | #[doc = "The `WebGL2RenderingContext.CW` const." ] |
7703 | #[doc = "" ] |
7704 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7705 | pub const CW: u32 = 2304u64 as u32; |
7706 | #[doc = "The `WebGL2RenderingContext.CCW` const." ] |
7707 | #[doc = "" ] |
7708 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7709 | pub const CCW: u32 = 2305u64 as u32; |
7710 | #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const." ] |
7711 | #[doc = "" ] |
7712 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7713 | pub const LINE_WIDTH: u32 = 2849u64 as u32; |
7714 | #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const." ] |
7715 | #[doc = "" ] |
7716 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7717 | pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32; |
7718 | #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const." ] |
7719 | #[doc = "" ] |
7720 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7721 | pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32; |
7722 | #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const." ] |
7723 | #[doc = "" ] |
7724 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7725 | pub const CULL_FACE_MODE: u32 = 2885u64 as u32; |
7726 | #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const." ] |
7727 | #[doc = "" ] |
7728 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7729 | pub const FRONT_FACE: u32 = 2886u64 as u32; |
7730 | #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const." ] |
7731 | #[doc = "" ] |
7732 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7733 | pub const DEPTH_RANGE: u32 = 2928u64 as u32; |
7734 | #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const." ] |
7735 | #[doc = "" ] |
7736 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7737 | pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32; |
7738 | #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const." ] |
7739 | #[doc = "" ] |
7740 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7741 | pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32; |
7742 | #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const." ] |
7743 | #[doc = "" ] |
7744 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7745 | pub const DEPTH_FUNC: u32 = 2932u64 as u32; |
7746 | #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const." ] |
7747 | #[doc = "" ] |
7748 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7749 | pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32; |
7750 | #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const." ] |
7751 | #[doc = "" ] |
7752 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7753 | pub const STENCIL_FUNC: u32 = 2962u64 as u32; |
7754 | #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const." ] |
7755 | #[doc = "" ] |
7756 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7757 | pub const STENCIL_FAIL: u32 = 2964u64 as u32; |
7758 | #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const." ] |
7759 | #[doc = "" ] |
7760 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7761 | pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32; |
7762 | #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const." ] |
7763 | #[doc = "" ] |
7764 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7765 | pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32; |
7766 | #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const." ] |
7767 | #[doc = "" ] |
7768 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7769 | pub const STENCIL_REF: u32 = 2967u64 as u32; |
7770 | #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const." ] |
7771 | #[doc = "" ] |
7772 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7773 | pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32; |
7774 | #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const." ] |
7775 | #[doc = "" ] |
7776 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7777 | pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32; |
7778 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const." ] |
7779 | #[doc = "" ] |
7780 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7781 | pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32; |
7782 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const." ] |
7783 | #[doc = "" ] |
7784 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7785 | pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32; |
7786 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const." ] |
7787 | #[doc = "" ] |
7788 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7789 | pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32; |
7790 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const." ] |
7791 | #[doc = "" ] |
7792 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7793 | pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32; |
7794 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const." ] |
7795 | #[doc = "" ] |
7796 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7797 | pub const STENCIL_BACK_REF: u32 = 36003u64 as u32; |
7798 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const." ] |
7799 | #[doc = "" ] |
7800 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7801 | pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32; |
7802 | #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const." ] |
7803 | #[doc = "" ] |
7804 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7805 | pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32; |
7806 | #[doc = "The `WebGL2RenderingContext.VIEWPORT` const." ] |
7807 | #[doc = "" ] |
7808 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7809 | pub const VIEWPORT: u32 = 2978u64 as u32; |
7810 | #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const." ] |
7811 | #[doc = "" ] |
7812 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7813 | pub const SCISSOR_BOX: u32 = 3088u64 as u32; |
7814 | #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const." ] |
7815 | #[doc = "" ] |
7816 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7817 | pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32; |
7818 | #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const." ] |
7819 | #[doc = "" ] |
7820 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7821 | pub const COLOR_WRITEMASK: u32 = 3107u64 as u32; |
7822 | #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const." ] |
7823 | #[doc = "" ] |
7824 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7825 | pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32; |
7826 | #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const." ] |
7827 | #[doc = "" ] |
7828 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7829 | pub const PACK_ALIGNMENT: u32 = 3333u64 as u32; |
7830 | #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const." ] |
7831 | #[doc = "" ] |
7832 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7833 | pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32; |
7834 | #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const." ] |
7835 | #[doc = "" ] |
7836 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7837 | pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32; |
7838 | #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const." ] |
7839 | #[doc = "" ] |
7840 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7841 | pub const SUBPIXEL_BITS: u32 = 3408u64 as u32; |
7842 | #[doc = "The `WebGL2RenderingContext.RED_BITS` const." ] |
7843 | #[doc = "" ] |
7844 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7845 | pub const RED_BITS: u32 = 3410u64 as u32; |
7846 | #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const." ] |
7847 | #[doc = "" ] |
7848 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7849 | pub const GREEN_BITS: u32 = 3411u64 as u32; |
7850 | #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const." ] |
7851 | #[doc = "" ] |
7852 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7853 | pub const BLUE_BITS: u32 = 3412u64 as u32; |
7854 | #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const." ] |
7855 | #[doc = "" ] |
7856 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7857 | pub const ALPHA_BITS: u32 = 3413u64 as u32; |
7858 | #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const." ] |
7859 | #[doc = "" ] |
7860 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7861 | pub const DEPTH_BITS: u32 = 3414u64 as u32; |
7862 | #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const." ] |
7863 | #[doc = "" ] |
7864 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7865 | pub const STENCIL_BITS: u32 = 3415u64 as u32; |
7866 | #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const." ] |
7867 | #[doc = "" ] |
7868 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7869 | pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32; |
7870 | #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const." ] |
7871 | #[doc = "" ] |
7872 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7873 | pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32; |
7874 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const." ] |
7875 | #[doc = "" ] |
7876 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7877 | pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32; |
7878 | #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const." ] |
7879 | #[doc = "" ] |
7880 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7881 | pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32; |
7882 | #[doc = "The `WebGL2RenderingContext.SAMPLES` const." ] |
7883 | #[doc = "" ] |
7884 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7885 | pub const SAMPLES: u32 = 32937u64 as u32; |
7886 | #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const." ] |
7887 | #[doc = "" ] |
7888 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7889 | pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32; |
7890 | #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const." ] |
7891 | #[doc = "" ] |
7892 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7893 | pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32; |
7894 | #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const." ] |
7895 | #[doc = "" ] |
7896 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7897 | pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32; |
7898 | #[doc = "The `WebGL2RenderingContext.DONT_CARE` const." ] |
7899 | #[doc = "" ] |
7900 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7901 | pub const DONT_CARE: u32 = 4352u64 as u32; |
7902 | #[doc = "The `WebGL2RenderingContext.FASTEST` const." ] |
7903 | #[doc = "" ] |
7904 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7905 | pub const FASTEST: u32 = 4353u64 as u32; |
7906 | #[doc = "The `WebGL2RenderingContext.NICEST` const." ] |
7907 | #[doc = "" ] |
7908 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7909 | pub const NICEST: u32 = 4354u64 as u32; |
7910 | #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const." ] |
7911 | #[doc = "" ] |
7912 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7913 | pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32; |
7914 | #[doc = "The `WebGL2RenderingContext.BYTE` const." ] |
7915 | #[doc = "" ] |
7916 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7917 | pub const BYTE: u32 = 5120u64 as u32; |
7918 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const." ] |
7919 | #[doc = "" ] |
7920 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7921 | pub const UNSIGNED_BYTE: u32 = 5121u64 as u32; |
7922 | #[doc = "The `WebGL2RenderingContext.SHORT` const." ] |
7923 | #[doc = "" ] |
7924 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7925 | pub const SHORT: u32 = 5122u64 as u32; |
7926 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const." ] |
7927 | #[doc = "" ] |
7928 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7929 | pub const UNSIGNED_SHORT: u32 = 5123u64 as u32; |
7930 | #[doc = "The `WebGL2RenderingContext.INT` const." ] |
7931 | #[doc = "" ] |
7932 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7933 | pub const INT: u32 = 5124u64 as u32; |
7934 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const." ] |
7935 | #[doc = "" ] |
7936 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7937 | pub const UNSIGNED_INT: u32 = 5125u64 as u32; |
7938 | #[doc = "The `WebGL2RenderingContext.FLOAT` const." ] |
7939 | #[doc = "" ] |
7940 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7941 | pub const FLOAT: u32 = 5126u64 as u32; |
7942 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const." ] |
7943 | #[doc = "" ] |
7944 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7945 | pub const DEPTH_COMPONENT: u32 = 6402u64 as u32; |
7946 | #[doc = "The `WebGL2RenderingContext.ALPHA` const." ] |
7947 | #[doc = "" ] |
7948 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7949 | pub const ALPHA: u32 = 6406u64 as u32; |
7950 | #[doc = "The `WebGL2RenderingContext.RGB` const." ] |
7951 | #[doc = "" ] |
7952 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7953 | pub const RGB: u32 = 6407u64 as u32; |
7954 | #[doc = "The `WebGL2RenderingContext.RGBA` const." ] |
7955 | #[doc = "" ] |
7956 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7957 | pub const RGBA: u32 = 6408u64 as u32; |
7958 | #[doc = "The `WebGL2RenderingContext.LUMINANCE` const." ] |
7959 | #[doc = "" ] |
7960 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7961 | pub const LUMINANCE: u32 = 6409u64 as u32; |
7962 | #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const." ] |
7963 | #[doc = "" ] |
7964 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7965 | pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32; |
7966 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const." ] |
7967 | #[doc = "" ] |
7968 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7969 | pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32; |
7970 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const." ] |
7971 | #[doc = "" ] |
7972 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7973 | pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32; |
7974 | #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const." ] |
7975 | #[doc = "" ] |
7976 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7977 | pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32; |
7978 | #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const." ] |
7979 | #[doc = "" ] |
7980 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7981 | pub const FRAGMENT_SHADER: u32 = 35632u64 as u32; |
7982 | #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const." ] |
7983 | #[doc = "" ] |
7984 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7985 | pub const VERTEX_SHADER: u32 = 35633u64 as u32; |
7986 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const." ] |
7987 | #[doc = "" ] |
7988 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7989 | pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32; |
7990 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const." ] |
7991 | #[doc = "" ] |
7992 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7993 | pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32; |
7994 | #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const." ] |
7995 | #[doc = "" ] |
7996 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
7997 | pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32; |
7998 | #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const." ] |
7999 | #[doc = "" ] |
8000 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8001 | pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32; |
8002 | #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const." ] |
8003 | #[doc = "" ] |
8004 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8005 | pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32; |
8006 | #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const." ] |
8007 | #[doc = "" ] |
8008 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8009 | pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32; |
8010 | #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const." ] |
8011 | #[doc = "" ] |
8012 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8013 | pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32; |
8014 | #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const." ] |
8015 | #[doc = "" ] |
8016 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8017 | pub const SHADER_TYPE: u32 = 35663u64 as u32; |
8018 | #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const." ] |
8019 | #[doc = "" ] |
8020 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8021 | pub const DELETE_STATUS: u32 = 35712u64 as u32; |
8022 | #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const." ] |
8023 | #[doc = "" ] |
8024 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8025 | pub const LINK_STATUS: u32 = 35714u64 as u32; |
8026 | #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const." ] |
8027 | #[doc = "" ] |
8028 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8029 | pub const VALIDATE_STATUS: u32 = 35715u64 as u32; |
8030 | #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const." ] |
8031 | #[doc = "" ] |
8032 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8033 | pub const ATTACHED_SHADERS: u32 = 35717u64 as u32; |
8034 | #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const." ] |
8035 | #[doc = "" ] |
8036 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8037 | pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32; |
8038 | #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const." ] |
8039 | #[doc = "" ] |
8040 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8041 | pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32; |
8042 | #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const." ] |
8043 | #[doc = "" ] |
8044 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8045 | pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32; |
8046 | #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const." ] |
8047 | #[doc = "" ] |
8048 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8049 | pub const CURRENT_PROGRAM: u32 = 35725u64 as u32; |
8050 | #[doc = "The `WebGL2RenderingContext.NEVER` const." ] |
8051 | #[doc = "" ] |
8052 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8053 | pub const NEVER: u32 = 512u64 as u32; |
8054 | #[doc = "The `WebGL2RenderingContext.LESS` const." ] |
8055 | #[doc = "" ] |
8056 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8057 | pub const LESS: u32 = 513u64 as u32; |
8058 | #[doc = "The `WebGL2RenderingContext.EQUAL` const." ] |
8059 | #[doc = "" ] |
8060 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8061 | pub const EQUAL: u32 = 514u64 as u32; |
8062 | #[doc = "The `WebGL2RenderingContext.LEQUAL` const." ] |
8063 | #[doc = "" ] |
8064 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8065 | pub const LEQUAL: u32 = 515u64 as u32; |
8066 | #[doc = "The `WebGL2RenderingContext.GREATER` const." ] |
8067 | #[doc = "" ] |
8068 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8069 | pub const GREATER: u32 = 516u64 as u32; |
8070 | #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const." ] |
8071 | #[doc = "" ] |
8072 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8073 | pub const NOTEQUAL: u32 = 517u64 as u32; |
8074 | #[doc = "The `WebGL2RenderingContext.GEQUAL` const." ] |
8075 | #[doc = "" ] |
8076 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8077 | pub const GEQUAL: u32 = 518u64 as u32; |
8078 | #[doc = "The `WebGL2RenderingContext.ALWAYS` const." ] |
8079 | #[doc = "" ] |
8080 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8081 | pub const ALWAYS: u32 = 519u64 as u32; |
8082 | #[doc = "The `WebGL2RenderingContext.KEEP` const." ] |
8083 | #[doc = "" ] |
8084 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8085 | pub const KEEP: u32 = 7680u64 as u32; |
8086 | #[doc = "The `WebGL2RenderingContext.REPLACE` const." ] |
8087 | #[doc = "" ] |
8088 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8089 | pub const REPLACE: u32 = 7681u64 as u32; |
8090 | #[doc = "The `WebGL2RenderingContext.INCR` const." ] |
8091 | #[doc = "" ] |
8092 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8093 | pub const INCR: u32 = 7682u64 as u32; |
8094 | #[doc = "The `WebGL2RenderingContext.DECR` const." ] |
8095 | #[doc = "" ] |
8096 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8097 | pub const DECR: u32 = 7683u64 as u32; |
8098 | #[doc = "The `WebGL2RenderingContext.INVERT` const." ] |
8099 | #[doc = "" ] |
8100 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8101 | pub const INVERT: u32 = 5386u64 as u32; |
8102 | #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const." ] |
8103 | #[doc = "" ] |
8104 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8105 | pub const INCR_WRAP: u32 = 34055u64 as u32; |
8106 | #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const." ] |
8107 | #[doc = "" ] |
8108 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8109 | pub const DECR_WRAP: u32 = 34056u64 as u32; |
8110 | #[doc = "The `WebGL2RenderingContext.VENDOR` const." ] |
8111 | #[doc = "" ] |
8112 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8113 | pub const VENDOR: u32 = 7936u64 as u32; |
8114 | #[doc = "The `WebGL2RenderingContext.RENDERER` const." ] |
8115 | #[doc = "" ] |
8116 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8117 | pub const RENDERER: u32 = 7937u64 as u32; |
8118 | #[doc = "The `WebGL2RenderingContext.VERSION` const." ] |
8119 | #[doc = "" ] |
8120 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8121 | pub const VERSION: u32 = 7938u64 as u32; |
8122 | #[doc = "The `WebGL2RenderingContext.NEAREST` const." ] |
8123 | #[doc = "" ] |
8124 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8125 | pub const NEAREST: u32 = 9728u64 as u32; |
8126 | #[doc = "The `WebGL2RenderingContext.LINEAR` const." ] |
8127 | #[doc = "" ] |
8128 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8129 | pub const LINEAR: u32 = 9729u64 as u32; |
8130 | #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const." ] |
8131 | #[doc = "" ] |
8132 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8133 | pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32; |
8134 | #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const." ] |
8135 | #[doc = "" ] |
8136 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8137 | pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32; |
8138 | #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const." ] |
8139 | #[doc = "" ] |
8140 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8141 | pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32; |
8142 | #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const." ] |
8143 | #[doc = "" ] |
8144 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8145 | pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32; |
8146 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const." ] |
8147 | #[doc = "" ] |
8148 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8149 | pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32; |
8150 | #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const." ] |
8151 | #[doc = "" ] |
8152 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8153 | pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32; |
8154 | #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const." ] |
8155 | #[doc = "" ] |
8156 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8157 | pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32; |
8158 | #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const." ] |
8159 | #[doc = "" ] |
8160 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8161 | pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32; |
8162 | #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const." ] |
8163 | #[doc = "" ] |
8164 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8165 | pub const TEXTURE_2D: u32 = 3553u64 as u32; |
8166 | #[doc = "The `WebGL2RenderingContext.TEXTURE` const." ] |
8167 | #[doc = "" ] |
8168 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8169 | pub const TEXTURE: u32 = 5890u64 as u32; |
8170 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const." ] |
8171 | #[doc = "" ] |
8172 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8173 | pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32; |
8174 | #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const." ] |
8175 | #[doc = "" ] |
8176 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8177 | pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32; |
8178 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const." ] |
8179 | #[doc = "" ] |
8180 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8181 | pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32; |
8182 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const." ] |
8183 | #[doc = "" ] |
8184 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8185 | pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32; |
8186 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const." ] |
8187 | #[doc = "" ] |
8188 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8189 | pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32; |
8190 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const." ] |
8191 | #[doc = "" ] |
8192 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8193 | pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32; |
8194 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const." ] |
8195 | #[doc = "" ] |
8196 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8197 | pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32; |
8198 | #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const." ] |
8199 | #[doc = "" ] |
8200 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8201 | pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32; |
8202 | #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const." ] |
8203 | #[doc = "" ] |
8204 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8205 | pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32; |
8206 | #[doc = "The `WebGL2RenderingContext.TEXTURE0` const." ] |
8207 | #[doc = "" ] |
8208 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8209 | pub const TEXTURE0: u32 = 33984u64 as u32; |
8210 | #[doc = "The `WebGL2RenderingContext.TEXTURE1` const." ] |
8211 | #[doc = "" ] |
8212 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8213 | pub const TEXTURE1: u32 = 33985u64 as u32; |
8214 | #[doc = "The `WebGL2RenderingContext.TEXTURE2` const." ] |
8215 | #[doc = "" ] |
8216 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8217 | pub const TEXTURE2: u32 = 33986u64 as u32; |
8218 | #[doc = "The `WebGL2RenderingContext.TEXTURE3` const." ] |
8219 | #[doc = "" ] |
8220 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8221 | pub const TEXTURE3: u32 = 33987u64 as u32; |
8222 | #[doc = "The `WebGL2RenderingContext.TEXTURE4` const." ] |
8223 | #[doc = "" ] |
8224 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8225 | pub const TEXTURE4: u32 = 33988u64 as u32; |
8226 | #[doc = "The `WebGL2RenderingContext.TEXTURE5` const." ] |
8227 | #[doc = "" ] |
8228 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8229 | pub const TEXTURE5: u32 = 33989u64 as u32; |
8230 | #[doc = "The `WebGL2RenderingContext.TEXTURE6` const." ] |
8231 | #[doc = "" ] |
8232 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8233 | pub const TEXTURE6: u32 = 33990u64 as u32; |
8234 | #[doc = "The `WebGL2RenderingContext.TEXTURE7` const." ] |
8235 | #[doc = "" ] |
8236 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8237 | pub const TEXTURE7: u32 = 33991u64 as u32; |
8238 | #[doc = "The `WebGL2RenderingContext.TEXTURE8` const." ] |
8239 | #[doc = "" ] |
8240 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8241 | pub const TEXTURE8: u32 = 33992u64 as u32; |
8242 | #[doc = "The `WebGL2RenderingContext.TEXTURE9` const." ] |
8243 | #[doc = "" ] |
8244 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8245 | pub const TEXTURE9: u32 = 33993u64 as u32; |
8246 | #[doc = "The `WebGL2RenderingContext.TEXTURE10` const." ] |
8247 | #[doc = "" ] |
8248 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8249 | pub const TEXTURE10: u32 = 33994u64 as u32; |
8250 | #[doc = "The `WebGL2RenderingContext.TEXTURE11` const." ] |
8251 | #[doc = "" ] |
8252 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8253 | pub const TEXTURE11: u32 = 33995u64 as u32; |
8254 | #[doc = "The `WebGL2RenderingContext.TEXTURE12` const." ] |
8255 | #[doc = "" ] |
8256 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8257 | pub const TEXTURE12: u32 = 33996u64 as u32; |
8258 | #[doc = "The `WebGL2RenderingContext.TEXTURE13` const." ] |
8259 | #[doc = "" ] |
8260 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8261 | pub const TEXTURE13: u32 = 33997u64 as u32; |
8262 | #[doc = "The `WebGL2RenderingContext.TEXTURE14` const." ] |
8263 | #[doc = "" ] |
8264 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8265 | pub const TEXTURE14: u32 = 33998u64 as u32; |
8266 | #[doc = "The `WebGL2RenderingContext.TEXTURE15` const." ] |
8267 | #[doc = "" ] |
8268 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8269 | pub const TEXTURE15: u32 = 33999u64 as u32; |
8270 | #[doc = "The `WebGL2RenderingContext.TEXTURE16` const." ] |
8271 | #[doc = "" ] |
8272 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8273 | pub const TEXTURE16: u32 = 34000u64 as u32; |
8274 | #[doc = "The `WebGL2RenderingContext.TEXTURE17` const." ] |
8275 | #[doc = "" ] |
8276 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8277 | pub const TEXTURE17: u32 = 34001u64 as u32; |
8278 | #[doc = "The `WebGL2RenderingContext.TEXTURE18` const." ] |
8279 | #[doc = "" ] |
8280 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8281 | pub const TEXTURE18: u32 = 34002u64 as u32; |
8282 | #[doc = "The `WebGL2RenderingContext.TEXTURE19` const." ] |
8283 | #[doc = "" ] |
8284 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8285 | pub const TEXTURE19: u32 = 34003u64 as u32; |
8286 | #[doc = "The `WebGL2RenderingContext.TEXTURE20` const." ] |
8287 | #[doc = "" ] |
8288 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8289 | pub const TEXTURE20: u32 = 34004u64 as u32; |
8290 | #[doc = "The `WebGL2RenderingContext.TEXTURE21` const." ] |
8291 | #[doc = "" ] |
8292 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8293 | pub const TEXTURE21: u32 = 34005u64 as u32; |
8294 | #[doc = "The `WebGL2RenderingContext.TEXTURE22` const." ] |
8295 | #[doc = "" ] |
8296 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8297 | pub const TEXTURE22: u32 = 34006u64 as u32; |
8298 | #[doc = "The `WebGL2RenderingContext.TEXTURE23` const." ] |
8299 | #[doc = "" ] |
8300 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8301 | pub const TEXTURE23: u32 = 34007u64 as u32; |
8302 | #[doc = "The `WebGL2RenderingContext.TEXTURE24` const." ] |
8303 | #[doc = "" ] |
8304 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8305 | pub const TEXTURE24: u32 = 34008u64 as u32; |
8306 | #[doc = "The `WebGL2RenderingContext.TEXTURE25` const." ] |
8307 | #[doc = "" ] |
8308 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8309 | pub const TEXTURE25: u32 = 34009u64 as u32; |
8310 | #[doc = "The `WebGL2RenderingContext.TEXTURE26` const." ] |
8311 | #[doc = "" ] |
8312 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8313 | pub const TEXTURE26: u32 = 34010u64 as u32; |
8314 | #[doc = "The `WebGL2RenderingContext.TEXTURE27` const." ] |
8315 | #[doc = "" ] |
8316 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8317 | pub const TEXTURE27: u32 = 34011u64 as u32; |
8318 | #[doc = "The `WebGL2RenderingContext.TEXTURE28` const." ] |
8319 | #[doc = "" ] |
8320 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8321 | pub const TEXTURE28: u32 = 34012u64 as u32; |
8322 | #[doc = "The `WebGL2RenderingContext.TEXTURE29` const." ] |
8323 | #[doc = "" ] |
8324 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8325 | pub const TEXTURE29: u32 = 34013u64 as u32; |
8326 | #[doc = "The `WebGL2RenderingContext.TEXTURE30` const." ] |
8327 | #[doc = "" ] |
8328 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8329 | pub const TEXTURE30: u32 = 34014u64 as u32; |
8330 | #[doc = "The `WebGL2RenderingContext.TEXTURE31` const." ] |
8331 | #[doc = "" ] |
8332 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8333 | pub const TEXTURE31: u32 = 34015u64 as u32; |
8334 | #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const." ] |
8335 | #[doc = "" ] |
8336 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8337 | pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32; |
8338 | #[doc = "The `WebGL2RenderingContext.REPEAT` const." ] |
8339 | #[doc = "" ] |
8340 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8341 | pub const REPEAT: u32 = 10497u64 as u32; |
8342 | #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const." ] |
8343 | #[doc = "" ] |
8344 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8345 | pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32; |
8346 | #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const." ] |
8347 | #[doc = "" ] |
8348 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8349 | pub const MIRRORED_REPEAT: u32 = 33648u64 as u32; |
8350 | #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const." ] |
8351 | #[doc = "" ] |
8352 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8353 | pub const FLOAT_VEC2: u32 = 35664u64 as u32; |
8354 | #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const." ] |
8355 | #[doc = "" ] |
8356 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8357 | pub const FLOAT_VEC3: u32 = 35665u64 as u32; |
8358 | #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const." ] |
8359 | #[doc = "" ] |
8360 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8361 | pub const FLOAT_VEC4: u32 = 35666u64 as u32; |
8362 | #[doc = "The `WebGL2RenderingContext.INT_VEC2` const." ] |
8363 | #[doc = "" ] |
8364 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8365 | pub const INT_VEC2: u32 = 35667u64 as u32; |
8366 | #[doc = "The `WebGL2RenderingContext.INT_VEC3` const." ] |
8367 | #[doc = "" ] |
8368 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8369 | pub const INT_VEC3: u32 = 35668u64 as u32; |
8370 | #[doc = "The `WebGL2RenderingContext.INT_VEC4` const." ] |
8371 | #[doc = "" ] |
8372 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8373 | pub const INT_VEC4: u32 = 35669u64 as u32; |
8374 | #[doc = "The `WebGL2RenderingContext.BOOL` const." ] |
8375 | #[doc = "" ] |
8376 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8377 | pub const BOOL: u32 = 35670u64 as u32; |
8378 | #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const." ] |
8379 | #[doc = "" ] |
8380 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8381 | pub const BOOL_VEC2: u32 = 35671u64 as u32; |
8382 | #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const." ] |
8383 | #[doc = "" ] |
8384 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8385 | pub const BOOL_VEC3: u32 = 35672u64 as u32; |
8386 | #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const." ] |
8387 | #[doc = "" ] |
8388 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8389 | pub const BOOL_VEC4: u32 = 35673u64 as u32; |
8390 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const." ] |
8391 | #[doc = "" ] |
8392 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8393 | pub const FLOAT_MAT2: u32 = 35674u64 as u32; |
8394 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const." ] |
8395 | #[doc = "" ] |
8396 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8397 | pub const FLOAT_MAT3: u32 = 35675u64 as u32; |
8398 | #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const." ] |
8399 | #[doc = "" ] |
8400 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8401 | pub const FLOAT_MAT4: u32 = 35676u64 as u32; |
8402 | #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const." ] |
8403 | #[doc = "" ] |
8404 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8405 | pub const SAMPLER_2D: u32 = 35678u64 as u32; |
8406 | #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const." ] |
8407 | #[doc = "" ] |
8408 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8409 | pub const SAMPLER_CUBE: u32 = 35680u64 as u32; |
8410 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const." ] |
8411 | #[doc = "" ] |
8412 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8413 | pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32; |
8414 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const." ] |
8415 | #[doc = "" ] |
8416 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8417 | pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32; |
8418 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const." ] |
8419 | #[doc = "" ] |
8420 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8421 | pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32; |
8422 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const." ] |
8423 | #[doc = "" ] |
8424 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8425 | pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32; |
8426 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const." ] |
8427 | #[doc = "" ] |
8428 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8429 | pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32; |
8430 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const." ] |
8431 | #[doc = "" ] |
8432 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8433 | pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32; |
8434 | #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const." ] |
8435 | #[doc = "" ] |
8436 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8437 | pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32; |
8438 | #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const." ] |
8439 | #[doc = "" ] |
8440 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8441 | pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32; |
8442 | #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const." ] |
8443 | #[doc = "" ] |
8444 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8445 | pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32; |
8446 | #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const." ] |
8447 | #[doc = "" ] |
8448 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8449 | pub const COMPILE_STATUS: u32 = 35713u64 as u32; |
8450 | #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const." ] |
8451 | #[doc = "" ] |
8452 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8453 | pub const LOW_FLOAT: u32 = 36336u64 as u32; |
8454 | #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const." ] |
8455 | #[doc = "" ] |
8456 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8457 | pub const MEDIUM_FLOAT: u32 = 36337u64 as u32; |
8458 | #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const." ] |
8459 | #[doc = "" ] |
8460 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8461 | pub const HIGH_FLOAT: u32 = 36338u64 as u32; |
8462 | #[doc = "The `WebGL2RenderingContext.LOW_INT` const." ] |
8463 | #[doc = "" ] |
8464 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8465 | pub const LOW_INT: u32 = 36339u64 as u32; |
8466 | #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const." ] |
8467 | #[doc = "" ] |
8468 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8469 | pub const MEDIUM_INT: u32 = 36340u64 as u32; |
8470 | #[doc = "The `WebGL2RenderingContext.HIGH_INT` const." ] |
8471 | #[doc = "" ] |
8472 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8473 | pub const HIGH_INT: u32 = 36341u64 as u32; |
8474 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const." ] |
8475 | #[doc = "" ] |
8476 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8477 | pub const FRAMEBUFFER: u32 = 36160u64 as u32; |
8478 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const." ] |
8479 | #[doc = "" ] |
8480 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8481 | pub const RENDERBUFFER: u32 = 36161u64 as u32; |
8482 | #[doc = "The `WebGL2RenderingContext.RGBA4` const." ] |
8483 | #[doc = "" ] |
8484 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8485 | pub const RGBA4: u32 = 32854u64 as u32; |
8486 | #[doc = "The `WebGL2RenderingContext.RGB5_A1` const." ] |
8487 | #[doc = "" ] |
8488 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8489 | pub const RGB5_A1: u32 = 32855u64 as u32; |
8490 | #[doc = "The `WebGL2RenderingContext.RGB565` const." ] |
8491 | #[doc = "" ] |
8492 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8493 | pub const RGB565: u32 = 36194u64 as u32; |
8494 | #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const." ] |
8495 | #[doc = "" ] |
8496 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8497 | pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32; |
8498 | #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const." ] |
8499 | #[doc = "" ] |
8500 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8501 | pub const STENCIL_INDEX8: u32 = 36168u64 as u32; |
8502 | #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const." ] |
8503 | #[doc = "" ] |
8504 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8505 | pub const DEPTH_STENCIL: u32 = 34041u64 as u32; |
8506 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const." ] |
8507 | #[doc = "" ] |
8508 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8509 | pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32; |
8510 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const." ] |
8511 | #[doc = "" ] |
8512 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8513 | pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32; |
8514 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const." ] |
8515 | #[doc = "" ] |
8516 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8517 | pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32; |
8518 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const." ] |
8519 | #[doc = "" ] |
8520 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8521 | pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32; |
8522 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const." ] |
8523 | #[doc = "" ] |
8524 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8525 | pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32; |
8526 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const." ] |
8527 | #[doc = "" ] |
8528 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8529 | pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32; |
8530 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const." ] |
8531 | #[doc = "" ] |
8532 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8533 | pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32; |
8534 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const." ] |
8535 | #[doc = "" ] |
8536 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8537 | pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32; |
8538 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const." ] |
8539 | #[doc = "" ] |
8540 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8541 | pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32; |
8542 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const." ] |
8543 | #[doc = "" ] |
8544 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8545 | pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32; |
8546 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const." ] |
8547 | #[doc = "" ] |
8548 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8549 | pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32; |
8550 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const." ] |
8551 | #[doc = "" ] |
8552 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8553 | pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32; |
8554 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const." ] |
8555 | #[doc = "" ] |
8556 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8557 | pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32; |
8558 | #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const." ] |
8559 | #[doc = "" ] |
8560 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8561 | pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32; |
8562 | #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const." ] |
8563 | #[doc = "" ] |
8564 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8565 | pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32; |
8566 | #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const." ] |
8567 | #[doc = "" ] |
8568 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8569 | pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32; |
8570 | #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const." ] |
8571 | #[doc = "" ] |
8572 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8573 | pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32; |
8574 | #[doc = "The `WebGL2RenderingContext.NONE` const." ] |
8575 | #[doc = "" ] |
8576 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8577 | pub const NONE: u32 = 0i64 as u32; |
8578 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const." ] |
8579 | #[doc = "" ] |
8580 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8581 | pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32; |
8582 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const." ] |
8583 | #[doc = "" ] |
8584 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8585 | pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32; |
8586 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const." ] |
8587 | #[doc = "" ] |
8588 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8589 | pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32; |
8590 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const." ] |
8591 | #[doc = "" ] |
8592 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8593 | pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32; |
8594 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const." ] |
8595 | #[doc = "" ] |
8596 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8597 | pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32; |
8598 | #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const." ] |
8599 | #[doc = "" ] |
8600 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8601 | pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32; |
8602 | #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const." ] |
8603 | #[doc = "" ] |
8604 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8605 | pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32; |
8606 | #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const." ] |
8607 | #[doc = "" ] |
8608 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8609 | pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32; |
8610 | #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const." ] |
8611 | #[doc = "" ] |
8612 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8613 | pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32; |
8614 | #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const." ] |
8615 | #[doc = "" ] |
8616 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8617 | pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32; |
8618 | #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const." ] |
8619 | #[doc = "" ] |
8620 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8621 | pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32; |
8622 | #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const." ] |
8623 | #[doc = "" ] |
8624 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8625 | pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32; |
8626 | #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const." ] |
8627 | #[doc = "" ] |
8628 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8629 | pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32; |
8630 | #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const." ] |
8631 | #[doc = "" ] |
8632 | #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] |
8633 | pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32; |
8634 | } |
8635 | |