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