Skip to main content

web_sys/features/
gen_GpuQueue.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[cfg(web_sys_unstable_apis)]
6#[wasm_bindgen]
7extern "C" {
8    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueue , typescript_type = "GPUQueue")]
9    #[derive(Debug, Clone, PartialEq, Eq)]
10    #[doc = "The `GpuQueue` class."]
11    #[doc = ""]
12    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue)"]
13    #[doc = ""]
14    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
15    #[doc = ""]
16    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
17    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
18    pub type GpuQueue;
19    #[cfg(web_sys_unstable_apis)]
20    # [wasm_bindgen (structural , method , getter , js_class = "GPUQueue" , js_name = label)]
21    #[doc = "Getter for the `label` field of this object."]
22    #[doc = ""]
23    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
26    #[doc = ""]
27    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
28    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
29    pub fn label(this: &GpuQueue) -> ::alloc::string::String;
30    #[cfg(web_sys_unstable_apis)]
31    # [wasm_bindgen (structural , method , setter , js_class = "GPUQueue" , js_name = label)]
32    #[doc = "Setter for the `label` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
37    #[doc = ""]
38    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
39    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
40    pub fn set_label(this: &GpuQueue, value: &str);
41    #[cfg(web_sys_unstable_apis)]
42    #[cfg(all(
43        feature = "GpuCopyExternalImageDestInfo",
44        feature = "GpuCopyExternalImageSourceInfo",
45    ))]
46    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
47    #[doc = "The `copyExternalImageToTexture()` method."]
48    #[doc = ""]
49    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture)"]
50    #[doc = ""]
51    #[doc = "*This API requires the following crate features to be activated: `GpuCopyExternalImageDestInfo`, `GpuCopyExternalImageSourceInfo`, `GpuQueue`*"]
52    #[doc = ""]
53    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
54    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
55    pub fn copy_external_image_to_texture_with_u32_sequence(
56        this: &GpuQueue,
57        source: &GpuCopyExternalImageSourceInfo,
58        destination: &GpuCopyExternalImageDestInfo,
59        copy_size: &[::js_sys::Number],
60    ) -> Result<(), JsValue>;
61    #[cfg(web_sys_unstable_apis)]
62    #[cfg(all(
63        feature = "GpuCopyExternalImageDestInfo",
64        feature = "GpuCopyExternalImageSourceInfo",
65        feature = "GpuExtent3dDict",
66    ))]
67    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
68    #[doc = "The `copyExternalImageToTexture()` method."]
69    #[doc = ""]
70    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture)"]
71    #[doc = ""]
72    #[doc = "*This API requires the following crate features to be activated: `GpuCopyExternalImageDestInfo`, `GpuCopyExternalImageSourceInfo`, `GpuExtent3dDict`, `GpuQueue`*"]
73    #[doc = ""]
74    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
75    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
76    pub fn copy_external_image_to_texture_with_gpu_extent_3d_dict(
77        this: &GpuQueue,
78        source: &GpuCopyExternalImageSourceInfo,
79        destination: &GpuCopyExternalImageDestInfo,
80        copy_size: &GpuExtent3dDict,
81    ) -> Result<(), JsValue>;
82    #[cfg(web_sys_unstable_apis)]
83    # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = onSubmittedWorkDone)]
84    #[doc = "The `onSubmittedWorkDone()` method."]
85    #[doc = ""]
86    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/onSubmittedWorkDone)"]
87    #[doc = ""]
88    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
89    #[doc = ""]
90    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
91    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
92    pub fn on_submitted_work_done(this: &GpuQueue) -> ::js_sys::Promise<::js_sys::Undefined>;
93    #[cfg(web_sys_unstable_apis)]
94    #[cfg(feature = "GpuCommandBuffer")]
95    # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = submit)]
96    #[doc = "The `submit()` method."]
97    #[doc = ""]
98    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/submit)"]
99    #[doc = ""]
100    #[doc = "*This API requires the following crate features to be activated: `GpuCommandBuffer`, `GpuQueue`*"]
101    #[doc = ""]
102    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
103    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
104    pub fn submit(this: &GpuQueue, command_buffers: &[GpuCommandBuffer]);
105    #[cfg(web_sys_unstable_apis)]
106    #[cfg(feature = "GpuBuffer")]
107    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
108    #[doc = "The `writeBuffer()` method."]
109    #[doc = ""]
110    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
111    #[doc = ""]
112    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
113    #[doc = ""]
114    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
115    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
116    pub fn write_buffer_with_u32_and_buffer_source(
117        this: &GpuQueue,
118        buffer: &GpuBuffer,
119        buffer_offset: u32,
120        data: &::js_sys::Object,
121    ) -> Result<(), JsValue>;
122    #[cfg(web_sys_unstable_apis)]
123    #[cfg(feature = "GpuBuffer")]
124    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
125    #[doc = "The `writeBuffer()` method."]
126    #[doc = ""]
127    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
128    #[doc = ""]
129    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
130    #[doc = ""]
131    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
132    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
133    pub fn write_buffer_with_f64_and_buffer_source(
134        this: &GpuQueue,
135        buffer: &GpuBuffer,
136        buffer_offset: f64,
137        data: &::js_sys::Object,
138    ) -> Result<(), JsValue>;
139    #[cfg(web_sys_unstable_apis)]
140    #[cfg(feature = "GpuBuffer")]
141    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
142    #[doc = "The `writeBuffer()` method."]
143    #[doc = ""]
144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
145    #[doc = ""]
146    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
147    #[doc = ""]
148    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
149    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
150    pub fn write_buffer_with_u32_and_u8_slice(
151        this: &GpuQueue,
152        buffer: &GpuBuffer,
153        buffer_offset: u32,
154        data: &[u8],
155    ) -> Result<(), JsValue>;
156    #[cfg(web_sys_unstable_apis)]
157    #[cfg(feature = "GpuBuffer")]
158    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
159    #[doc = "The `writeBuffer()` method."]
160    #[doc = ""]
161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
162    #[doc = ""]
163    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
164    #[doc = ""]
165    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
166    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
167    pub fn write_buffer_with_f64_and_u8_slice(
168        this: &GpuQueue,
169        buffer: &GpuBuffer,
170        buffer_offset: f64,
171        data: &[u8],
172    ) -> Result<(), JsValue>;
173    #[cfg(web_sys_unstable_apis)]
174    #[cfg(feature = "GpuBuffer")]
175    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
176    #[doc = "The `writeBuffer()` method."]
177    #[doc = ""]
178    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
179    #[doc = ""]
180    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
181    #[doc = ""]
182    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
183    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
184    pub fn write_buffer_with_u32_and_u8_array(
185        this: &GpuQueue,
186        buffer: &GpuBuffer,
187        buffer_offset: u32,
188        data: &::js_sys::Uint8Array,
189    ) -> Result<(), JsValue>;
190    #[cfg(web_sys_unstable_apis)]
191    #[cfg(feature = "GpuBuffer")]
192    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
193    #[doc = "The `writeBuffer()` method."]
194    #[doc = ""]
195    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
196    #[doc = ""]
197    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
198    #[doc = ""]
199    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
200    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
201    pub fn write_buffer_with_f64_and_u8_array(
202        this: &GpuQueue,
203        buffer: &GpuBuffer,
204        buffer_offset: f64,
205        data: &::js_sys::Uint8Array,
206    ) -> Result<(), JsValue>;
207    #[cfg(web_sys_unstable_apis)]
208    #[cfg(feature = "GpuBuffer")]
209    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
210    #[doc = "The `writeBuffer()` method."]
211    #[doc = ""]
212    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
213    #[doc = ""]
214    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
215    #[doc = ""]
216    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
217    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
218    pub fn write_buffer_with_u32_and_buffer_source_and_u32(
219        this: &GpuQueue,
220        buffer: &GpuBuffer,
221        buffer_offset: u32,
222        data: &::js_sys::Object,
223        data_offset: u32,
224    ) -> Result<(), JsValue>;
225    #[cfg(web_sys_unstable_apis)]
226    #[cfg(feature = "GpuBuffer")]
227    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
228    #[doc = "The `writeBuffer()` method."]
229    #[doc = ""]
230    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
231    #[doc = ""]
232    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
233    #[doc = ""]
234    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
235    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
236    pub fn write_buffer_with_f64_and_buffer_source_and_u32(
237        this: &GpuQueue,
238        buffer: &GpuBuffer,
239        buffer_offset: f64,
240        data: &::js_sys::Object,
241        data_offset: u32,
242    ) -> Result<(), JsValue>;
243    #[cfg(web_sys_unstable_apis)]
244    #[cfg(feature = "GpuBuffer")]
245    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
246    #[doc = "The `writeBuffer()` method."]
247    #[doc = ""]
248    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
249    #[doc = ""]
250    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
251    #[doc = ""]
252    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
253    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
254    pub fn write_buffer_with_u32_and_u8_slice_and_u32(
255        this: &GpuQueue,
256        buffer: &GpuBuffer,
257        buffer_offset: u32,
258        data: &[u8],
259        data_offset: u32,
260    ) -> Result<(), JsValue>;
261    #[cfg(web_sys_unstable_apis)]
262    #[cfg(feature = "GpuBuffer")]
263    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
264    #[doc = "The `writeBuffer()` method."]
265    #[doc = ""]
266    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
267    #[doc = ""]
268    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
269    #[doc = ""]
270    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
271    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
272    pub fn write_buffer_with_f64_and_u8_slice_and_u32(
273        this: &GpuQueue,
274        buffer: &GpuBuffer,
275        buffer_offset: f64,
276        data: &[u8],
277        data_offset: u32,
278    ) -> Result<(), JsValue>;
279    #[cfg(web_sys_unstable_apis)]
280    #[cfg(feature = "GpuBuffer")]
281    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
282    #[doc = "The `writeBuffer()` method."]
283    #[doc = ""]
284    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
285    #[doc = ""]
286    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
287    #[doc = ""]
288    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
289    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
290    pub fn write_buffer_with_u32_and_u8_array_and_u32(
291        this: &GpuQueue,
292        buffer: &GpuBuffer,
293        buffer_offset: u32,
294        data: &::js_sys::Uint8Array,
295        data_offset: u32,
296    ) -> Result<(), JsValue>;
297    #[cfg(web_sys_unstable_apis)]
298    #[cfg(feature = "GpuBuffer")]
299    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
300    #[doc = "The `writeBuffer()` method."]
301    #[doc = ""]
302    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
303    #[doc = ""]
304    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
305    #[doc = ""]
306    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
307    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
308    pub fn write_buffer_with_f64_and_u8_array_and_u32(
309        this: &GpuQueue,
310        buffer: &GpuBuffer,
311        buffer_offset: f64,
312        data: &::js_sys::Uint8Array,
313        data_offset: u32,
314    ) -> Result<(), JsValue>;
315    #[cfg(web_sys_unstable_apis)]
316    #[cfg(feature = "GpuBuffer")]
317    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
318    #[doc = "The `writeBuffer()` method."]
319    #[doc = ""]
320    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
321    #[doc = ""]
322    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
323    #[doc = ""]
324    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
325    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
326    pub fn write_buffer_with_u32_and_buffer_source_and_f64(
327        this: &GpuQueue,
328        buffer: &GpuBuffer,
329        buffer_offset: u32,
330        data: &::js_sys::Object,
331        data_offset: f64,
332    ) -> Result<(), JsValue>;
333    #[cfg(web_sys_unstable_apis)]
334    #[cfg(feature = "GpuBuffer")]
335    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
336    #[doc = "The `writeBuffer()` method."]
337    #[doc = ""]
338    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
339    #[doc = ""]
340    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
341    #[doc = ""]
342    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
343    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
344    pub fn write_buffer_with_f64_and_buffer_source_and_f64(
345        this: &GpuQueue,
346        buffer: &GpuBuffer,
347        buffer_offset: f64,
348        data: &::js_sys::Object,
349        data_offset: f64,
350    ) -> Result<(), JsValue>;
351    #[cfg(web_sys_unstable_apis)]
352    #[cfg(feature = "GpuBuffer")]
353    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
354    #[doc = "The `writeBuffer()` method."]
355    #[doc = ""]
356    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
357    #[doc = ""]
358    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
359    #[doc = ""]
360    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
361    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
362    pub fn write_buffer_with_u32_and_u8_slice_and_f64(
363        this: &GpuQueue,
364        buffer: &GpuBuffer,
365        buffer_offset: u32,
366        data: &[u8],
367        data_offset: f64,
368    ) -> Result<(), JsValue>;
369    #[cfg(web_sys_unstable_apis)]
370    #[cfg(feature = "GpuBuffer")]
371    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
372    #[doc = "The `writeBuffer()` method."]
373    #[doc = ""]
374    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
375    #[doc = ""]
376    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
377    #[doc = ""]
378    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
379    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
380    pub fn write_buffer_with_f64_and_u8_slice_and_f64(
381        this: &GpuQueue,
382        buffer: &GpuBuffer,
383        buffer_offset: f64,
384        data: &[u8],
385        data_offset: f64,
386    ) -> Result<(), JsValue>;
387    #[cfg(web_sys_unstable_apis)]
388    #[cfg(feature = "GpuBuffer")]
389    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
390    #[doc = "The `writeBuffer()` method."]
391    #[doc = ""]
392    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
393    #[doc = ""]
394    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
395    #[doc = ""]
396    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
397    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
398    pub fn write_buffer_with_u32_and_u8_array_and_f64(
399        this: &GpuQueue,
400        buffer: &GpuBuffer,
401        buffer_offset: u32,
402        data: &::js_sys::Uint8Array,
403        data_offset: f64,
404    ) -> Result<(), JsValue>;
405    #[cfg(web_sys_unstable_apis)]
406    #[cfg(feature = "GpuBuffer")]
407    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
408    #[doc = "The `writeBuffer()` method."]
409    #[doc = ""]
410    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
411    #[doc = ""]
412    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
413    #[doc = ""]
414    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
415    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
416    pub fn write_buffer_with_f64_and_u8_array_and_f64(
417        this: &GpuQueue,
418        buffer: &GpuBuffer,
419        buffer_offset: f64,
420        data: &::js_sys::Uint8Array,
421        data_offset: f64,
422    ) -> Result<(), JsValue>;
423    #[cfg(web_sys_unstable_apis)]
424    #[cfg(feature = "GpuBuffer")]
425    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
426    #[doc = "The `writeBuffer()` method."]
427    #[doc = ""]
428    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
429    #[doc = ""]
430    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
431    #[doc = ""]
432    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
433    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
434    pub fn write_buffer_with_u32_and_buffer_source_and_u32_and_u32(
435        this: &GpuQueue,
436        buffer: &GpuBuffer,
437        buffer_offset: u32,
438        data: &::js_sys::Object,
439        data_offset: u32,
440        size: u32,
441    ) -> Result<(), JsValue>;
442    #[cfg(web_sys_unstable_apis)]
443    #[cfg(feature = "GpuBuffer")]
444    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
445    #[doc = "The `writeBuffer()` method."]
446    #[doc = ""]
447    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
448    #[doc = ""]
449    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
450    #[doc = ""]
451    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
452    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
453    pub fn write_buffer_with_f64_and_buffer_source_and_u32_and_u32(
454        this: &GpuQueue,
455        buffer: &GpuBuffer,
456        buffer_offset: f64,
457        data: &::js_sys::Object,
458        data_offset: u32,
459        size: u32,
460    ) -> Result<(), JsValue>;
461    #[cfg(web_sys_unstable_apis)]
462    #[cfg(feature = "GpuBuffer")]
463    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
464    #[doc = "The `writeBuffer()` method."]
465    #[doc = ""]
466    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
467    #[doc = ""]
468    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
469    #[doc = ""]
470    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
471    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
472    pub fn write_buffer_with_u32_and_u8_slice_and_u32_and_u32(
473        this: &GpuQueue,
474        buffer: &GpuBuffer,
475        buffer_offset: u32,
476        data: &[u8],
477        data_offset: u32,
478        size: u32,
479    ) -> Result<(), JsValue>;
480    #[cfg(web_sys_unstable_apis)]
481    #[cfg(feature = "GpuBuffer")]
482    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
483    #[doc = "The `writeBuffer()` method."]
484    #[doc = ""]
485    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
486    #[doc = ""]
487    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
488    #[doc = ""]
489    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
490    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
491    pub fn write_buffer_with_f64_and_u8_slice_and_u32_and_u32(
492        this: &GpuQueue,
493        buffer: &GpuBuffer,
494        buffer_offset: f64,
495        data: &[u8],
496        data_offset: u32,
497        size: u32,
498    ) -> Result<(), JsValue>;
499    #[cfg(web_sys_unstable_apis)]
500    #[cfg(feature = "GpuBuffer")]
501    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
502    #[doc = "The `writeBuffer()` method."]
503    #[doc = ""]
504    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
505    #[doc = ""]
506    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
507    #[doc = ""]
508    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
509    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
510    pub fn write_buffer_with_u32_and_u8_array_and_u32_and_u32(
511        this: &GpuQueue,
512        buffer: &GpuBuffer,
513        buffer_offset: u32,
514        data: &::js_sys::Uint8Array,
515        data_offset: u32,
516        size: u32,
517    ) -> Result<(), JsValue>;
518    #[cfg(web_sys_unstable_apis)]
519    #[cfg(feature = "GpuBuffer")]
520    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
521    #[doc = "The `writeBuffer()` method."]
522    #[doc = ""]
523    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
524    #[doc = ""]
525    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
526    #[doc = ""]
527    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
528    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
529    pub fn write_buffer_with_f64_and_u8_array_and_u32_and_u32(
530        this: &GpuQueue,
531        buffer: &GpuBuffer,
532        buffer_offset: f64,
533        data: &::js_sys::Uint8Array,
534        data_offset: u32,
535        size: u32,
536    ) -> Result<(), JsValue>;
537    #[cfg(web_sys_unstable_apis)]
538    #[cfg(feature = "GpuBuffer")]
539    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
540    #[doc = "The `writeBuffer()` method."]
541    #[doc = ""]
542    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
543    #[doc = ""]
544    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
545    #[doc = ""]
546    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
547    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
548    pub fn write_buffer_with_u32_and_buffer_source_and_f64_and_u32(
549        this: &GpuQueue,
550        buffer: &GpuBuffer,
551        buffer_offset: u32,
552        data: &::js_sys::Object,
553        data_offset: f64,
554        size: u32,
555    ) -> Result<(), JsValue>;
556    #[cfg(web_sys_unstable_apis)]
557    #[cfg(feature = "GpuBuffer")]
558    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
559    #[doc = "The `writeBuffer()` method."]
560    #[doc = ""]
561    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
562    #[doc = ""]
563    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
564    #[doc = ""]
565    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
566    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
567    pub fn write_buffer_with_f64_and_buffer_source_and_f64_and_u32(
568        this: &GpuQueue,
569        buffer: &GpuBuffer,
570        buffer_offset: f64,
571        data: &::js_sys::Object,
572        data_offset: f64,
573        size: u32,
574    ) -> Result<(), JsValue>;
575    #[cfg(web_sys_unstable_apis)]
576    #[cfg(feature = "GpuBuffer")]
577    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
578    #[doc = "The `writeBuffer()` method."]
579    #[doc = ""]
580    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
581    #[doc = ""]
582    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
583    #[doc = ""]
584    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
585    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
586    pub fn write_buffer_with_u32_and_u8_slice_and_f64_and_u32(
587        this: &GpuQueue,
588        buffer: &GpuBuffer,
589        buffer_offset: u32,
590        data: &[u8],
591        data_offset: f64,
592        size: u32,
593    ) -> Result<(), JsValue>;
594    #[cfg(web_sys_unstable_apis)]
595    #[cfg(feature = "GpuBuffer")]
596    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
597    #[doc = "The `writeBuffer()` method."]
598    #[doc = ""]
599    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
600    #[doc = ""]
601    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
602    #[doc = ""]
603    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
604    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
605    pub fn write_buffer_with_f64_and_u8_slice_and_f64_and_u32(
606        this: &GpuQueue,
607        buffer: &GpuBuffer,
608        buffer_offset: f64,
609        data: &[u8],
610        data_offset: f64,
611        size: u32,
612    ) -> Result<(), JsValue>;
613    #[cfg(web_sys_unstable_apis)]
614    #[cfg(feature = "GpuBuffer")]
615    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
616    #[doc = "The `writeBuffer()` method."]
617    #[doc = ""]
618    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
619    #[doc = ""]
620    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
621    #[doc = ""]
622    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
623    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
624    pub fn write_buffer_with_u32_and_u8_array_and_f64_and_u32(
625        this: &GpuQueue,
626        buffer: &GpuBuffer,
627        buffer_offset: u32,
628        data: &::js_sys::Uint8Array,
629        data_offset: f64,
630        size: u32,
631    ) -> Result<(), JsValue>;
632    #[cfg(web_sys_unstable_apis)]
633    #[cfg(feature = "GpuBuffer")]
634    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
635    #[doc = "The `writeBuffer()` method."]
636    #[doc = ""]
637    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
638    #[doc = ""]
639    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
640    #[doc = ""]
641    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
642    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
643    pub fn write_buffer_with_f64_and_u8_array_and_f64_and_u32(
644        this: &GpuQueue,
645        buffer: &GpuBuffer,
646        buffer_offset: f64,
647        data: &::js_sys::Uint8Array,
648        data_offset: f64,
649        size: u32,
650    ) -> Result<(), JsValue>;
651    #[cfg(web_sys_unstable_apis)]
652    #[cfg(feature = "GpuBuffer")]
653    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
654    #[doc = "The `writeBuffer()` method."]
655    #[doc = ""]
656    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
657    #[doc = ""]
658    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
659    #[doc = ""]
660    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
661    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
662    pub fn write_buffer_with_u32_and_buffer_source_and_u32_and_f64(
663        this: &GpuQueue,
664        buffer: &GpuBuffer,
665        buffer_offset: u32,
666        data: &::js_sys::Object,
667        data_offset: u32,
668        size: f64,
669    ) -> Result<(), JsValue>;
670    #[cfg(web_sys_unstable_apis)]
671    #[cfg(feature = "GpuBuffer")]
672    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
673    #[doc = "The `writeBuffer()` method."]
674    #[doc = ""]
675    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
676    #[doc = ""]
677    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
678    #[doc = ""]
679    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
680    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
681    pub fn write_buffer_with_f64_and_buffer_source_and_u32_and_f64(
682        this: &GpuQueue,
683        buffer: &GpuBuffer,
684        buffer_offset: f64,
685        data: &::js_sys::Object,
686        data_offset: u32,
687        size: f64,
688    ) -> Result<(), JsValue>;
689    #[cfg(web_sys_unstable_apis)]
690    #[cfg(feature = "GpuBuffer")]
691    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
692    #[doc = "The `writeBuffer()` method."]
693    #[doc = ""]
694    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
695    #[doc = ""]
696    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
697    #[doc = ""]
698    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
699    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
700    pub fn write_buffer_with_u32_and_u8_slice_and_u32_and_f64(
701        this: &GpuQueue,
702        buffer: &GpuBuffer,
703        buffer_offset: u32,
704        data: &[u8],
705        data_offset: u32,
706        size: f64,
707    ) -> Result<(), JsValue>;
708    #[cfg(web_sys_unstable_apis)]
709    #[cfg(feature = "GpuBuffer")]
710    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
711    #[doc = "The `writeBuffer()` method."]
712    #[doc = ""]
713    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
714    #[doc = ""]
715    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
716    #[doc = ""]
717    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
718    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
719    pub fn write_buffer_with_f64_and_u8_slice_and_u32_and_f64(
720        this: &GpuQueue,
721        buffer: &GpuBuffer,
722        buffer_offset: f64,
723        data: &[u8],
724        data_offset: u32,
725        size: f64,
726    ) -> Result<(), JsValue>;
727    #[cfg(web_sys_unstable_apis)]
728    #[cfg(feature = "GpuBuffer")]
729    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
730    #[doc = "The `writeBuffer()` method."]
731    #[doc = ""]
732    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
733    #[doc = ""]
734    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
735    #[doc = ""]
736    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
737    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
738    pub fn write_buffer_with_u32_and_u8_array_and_u32_and_f64(
739        this: &GpuQueue,
740        buffer: &GpuBuffer,
741        buffer_offset: u32,
742        data: &::js_sys::Uint8Array,
743        data_offset: u32,
744        size: f64,
745    ) -> Result<(), JsValue>;
746    #[cfg(web_sys_unstable_apis)]
747    #[cfg(feature = "GpuBuffer")]
748    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
749    #[doc = "The `writeBuffer()` method."]
750    #[doc = ""]
751    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
752    #[doc = ""]
753    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
754    #[doc = ""]
755    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
756    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
757    pub fn write_buffer_with_f64_and_u8_array_and_u32_and_f64(
758        this: &GpuQueue,
759        buffer: &GpuBuffer,
760        buffer_offset: f64,
761        data: &::js_sys::Uint8Array,
762        data_offset: u32,
763        size: f64,
764    ) -> Result<(), JsValue>;
765    #[cfg(web_sys_unstable_apis)]
766    #[cfg(feature = "GpuBuffer")]
767    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
768    #[doc = "The `writeBuffer()` method."]
769    #[doc = ""]
770    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
771    #[doc = ""]
772    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
773    #[doc = ""]
774    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
775    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
776    pub fn write_buffer_with_u32_and_buffer_source_and_f64_and_f64(
777        this: &GpuQueue,
778        buffer: &GpuBuffer,
779        buffer_offset: u32,
780        data: &::js_sys::Object,
781        data_offset: f64,
782        size: f64,
783    ) -> Result<(), JsValue>;
784    #[cfg(web_sys_unstable_apis)]
785    #[cfg(feature = "GpuBuffer")]
786    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
787    #[doc = "The `writeBuffer()` method."]
788    #[doc = ""]
789    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
790    #[doc = ""]
791    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
792    #[doc = ""]
793    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
794    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
795    pub fn write_buffer_with_f64_and_buffer_source_and_f64_and_f64(
796        this: &GpuQueue,
797        buffer: &GpuBuffer,
798        buffer_offset: f64,
799        data: &::js_sys::Object,
800        data_offset: f64,
801        size: f64,
802    ) -> Result<(), JsValue>;
803    #[cfg(web_sys_unstable_apis)]
804    #[cfg(feature = "GpuBuffer")]
805    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
806    #[doc = "The `writeBuffer()` method."]
807    #[doc = ""]
808    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
809    #[doc = ""]
810    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
811    #[doc = ""]
812    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
813    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
814    pub fn write_buffer_with_u32_and_u8_slice_and_f64_and_f64(
815        this: &GpuQueue,
816        buffer: &GpuBuffer,
817        buffer_offset: u32,
818        data: &[u8],
819        data_offset: f64,
820        size: f64,
821    ) -> Result<(), JsValue>;
822    #[cfg(web_sys_unstable_apis)]
823    #[cfg(feature = "GpuBuffer")]
824    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
825    #[doc = "The `writeBuffer()` method."]
826    #[doc = ""]
827    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
828    #[doc = ""]
829    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
830    #[doc = ""]
831    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
832    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
833    pub fn write_buffer_with_f64_and_u8_slice_and_f64_and_f64(
834        this: &GpuQueue,
835        buffer: &GpuBuffer,
836        buffer_offset: f64,
837        data: &[u8],
838        data_offset: f64,
839        size: f64,
840    ) -> Result<(), JsValue>;
841    #[cfg(web_sys_unstable_apis)]
842    #[cfg(feature = "GpuBuffer")]
843    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
844    #[doc = "The `writeBuffer()` method."]
845    #[doc = ""]
846    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
847    #[doc = ""]
848    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
849    #[doc = ""]
850    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
851    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
852    pub fn write_buffer_with_u32_and_u8_array_and_f64_and_f64(
853        this: &GpuQueue,
854        buffer: &GpuBuffer,
855        buffer_offset: u32,
856        data: &::js_sys::Uint8Array,
857        data_offset: f64,
858        size: f64,
859    ) -> Result<(), JsValue>;
860    #[cfg(web_sys_unstable_apis)]
861    #[cfg(feature = "GpuBuffer")]
862    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
863    #[doc = "The `writeBuffer()` method."]
864    #[doc = ""]
865    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
866    #[doc = ""]
867    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
868    #[doc = ""]
869    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
870    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
871    pub fn write_buffer_with_f64_and_u8_array_and_f64_and_f64(
872        this: &GpuQueue,
873        buffer: &GpuBuffer,
874        buffer_offset: f64,
875        data: &::js_sys::Uint8Array,
876        data_offset: f64,
877        size: f64,
878    ) -> Result<(), JsValue>;
879    #[cfg(web_sys_unstable_apis)]
880    #[cfg(all(
881        feature = "GpuTexelCopyBufferLayout",
882        feature = "GpuTexelCopyTextureInfo",
883    ))]
884    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
885    #[doc = "The `writeTexture()` method."]
886    #[doc = ""]
887    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
888    #[doc = ""]
889    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`, `GpuTexelCopyBufferLayout`, `GpuTexelCopyTextureInfo`*"]
890    #[doc = ""]
891    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
892    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
893    pub fn write_texture_with_buffer_source_and_u32_sequence(
894        this: &GpuQueue,
895        destination: &GpuTexelCopyTextureInfo,
896        data: &::js_sys::Object,
897        data_layout: &GpuTexelCopyBufferLayout,
898        size: &[::js_sys::Number],
899    ) -> Result<(), JsValue>;
900    #[cfg(web_sys_unstable_apis)]
901    #[cfg(all(
902        feature = "GpuTexelCopyBufferLayout",
903        feature = "GpuTexelCopyTextureInfo",
904    ))]
905    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
906    #[doc = "The `writeTexture()` method."]
907    #[doc = ""]
908    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
909    #[doc = ""]
910    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`, `GpuTexelCopyBufferLayout`, `GpuTexelCopyTextureInfo`*"]
911    #[doc = ""]
912    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
913    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
914    pub fn write_texture_with_u8_slice_and_u32_sequence(
915        this: &GpuQueue,
916        destination: &GpuTexelCopyTextureInfo,
917        data: &[u8],
918        data_layout: &GpuTexelCopyBufferLayout,
919        size: &[::js_sys::Number],
920    ) -> Result<(), JsValue>;
921    #[cfg(web_sys_unstable_apis)]
922    #[cfg(all(
923        feature = "GpuTexelCopyBufferLayout",
924        feature = "GpuTexelCopyTextureInfo",
925    ))]
926    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
927    #[doc = "The `writeTexture()` method."]
928    #[doc = ""]
929    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
930    #[doc = ""]
931    #[doc = "*This API requires the following crate features to be activated: `GpuQueue`, `GpuTexelCopyBufferLayout`, `GpuTexelCopyTextureInfo`*"]
932    #[doc = ""]
933    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
934    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
935    pub fn write_texture_with_u8_array_and_u32_sequence(
936        this: &GpuQueue,
937        destination: &GpuTexelCopyTextureInfo,
938        data: &::js_sys::Uint8Array,
939        data_layout: &GpuTexelCopyBufferLayout,
940        size: &[::js_sys::Number],
941    ) -> Result<(), JsValue>;
942    #[cfg(web_sys_unstable_apis)]
943    #[cfg(all(
944        feature = "GpuExtent3dDict",
945        feature = "GpuTexelCopyBufferLayout",
946        feature = "GpuTexelCopyTextureInfo",
947    ))]
948    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
949    #[doc = "The `writeTexture()` method."]
950    #[doc = ""]
951    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
952    #[doc = ""]
953    #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuQueue`, `GpuTexelCopyBufferLayout`, `GpuTexelCopyTextureInfo`*"]
954    #[doc = ""]
955    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
956    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
957    pub fn write_texture_with_buffer_source_and_gpu_extent_3d_dict(
958        this: &GpuQueue,
959        destination: &GpuTexelCopyTextureInfo,
960        data: &::js_sys::Object,
961        data_layout: &GpuTexelCopyBufferLayout,
962        size: &GpuExtent3dDict,
963    ) -> Result<(), JsValue>;
964    #[cfg(web_sys_unstable_apis)]
965    #[cfg(all(
966        feature = "GpuExtent3dDict",
967        feature = "GpuTexelCopyBufferLayout",
968        feature = "GpuTexelCopyTextureInfo",
969    ))]
970    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
971    #[doc = "The `writeTexture()` method."]
972    #[doc = ""]
973    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
974    #[doc = ""]
975    #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuQueue`, `GpuTexelCopyBufferLayout`, `GpuTexelCopyTextureInfo`*"]
976    #[doc = ""]
977    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
978    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
979    pub fn write_texture_with_u8_slice_and_gpu_extent_3d_dict(
980        this: &GpuQueue,
981        destination: &GpuTexelCopyTextureInfo,
982        data: &[u8],
983        data_layout: &GpuTexelCopyBufferLayout,
984        size: &GpuExtent3dDict,
985    ) -> Result<(), JsValue>;
986    #[cfg(web_sys_unstable_apis)]
987    #[cfg(all(
988        feature = "GpuExtent3dDict",
989        feature = "GpuTexelCopyBufferLayout",
990        feature = "GpuTexelCopyTextureInfo",
991    ))]
992    # [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
993    #[doc = "The `writeTexture()` method."]
994    #[doc = ""]
995    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
996    #[doc = ""]
997    #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuQueue`, `GpuTexelCopyBufferLayout`, `GpuTexelCopyTextureInfo`*"]
998    #[doc = ""]
999    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1000    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1001    pub fn write_texture_with_u8_array_and_gpu_extent_3d_dict(
1002        this: &GpuQueue,
1003        destination: &GpuTexelCopyTextureInfo,
1004        data: &::js_sys::Uint8Array,
1005        data_layout: &GpuTexelCopyBufferLayout,
1006        size: &GpuExtent3dDict,
1007    ) -> Result<(), JsValue>;
1008}