summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_GpuQueue.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_GpuQueue.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_GpuQueue.rs')
-rw-r--r--vendor/web-sys/src/features/gen_GpuQueue.rs699
1 files changed, 699 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_GpuQueue.rs b/vendor/web-sys/src/features/gen_GpuQueue.rs
new file mode 100644
index 000000000..45b0bfeb8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuQueue.rs
@@ -0,0 +1,699 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueue , typescript_type = "GPUQueue")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuQueue` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuQueue;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUQueue" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuQueue) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUQueue" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuQueue, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuImageCopyExternalImage",
+ feature = "GpuImageCopyTextureTagged",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
+ #[doc = "The `copyExternalImageToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`, `GpuImageCopyTextureTagged`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_external_image_to_texture_with_u32_sequence(
+ this: &GpuQueue,
+ source: &GpuImageCopyExternalImage,
+ destination: &GpuImageCopyTextureTagged,
+ copy_size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyExternalImage",
+ feature = "GpuImageCopyTextureTagged",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
+ #[doc = "The `copyExternalImageToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuImageCopyExternalImage`, `GpuImageCopyTextureTagged`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_external_image_to_texture_with_gpu_extent_3d_dict(
+ this: &GpuQueue,
+ source: &GpuImageCopyExternalImage,
+ destination: &GpuImageCopyTextureTagged,
+ copy_size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = onSubmittedWorkDone)]
+ #[doc = "The `onSubmittedWorkDone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/onSubmittedWorkDone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn on_submitted_work_done(this: &GpuQueue) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = submit)]
+ #[doc = "The `submit()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/submit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn submit(this: &GpuQueue, command_buffers: &::wasm_bindgen::JsValue);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuImageCopyTexture", feature = "GpuImageDataLayout",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_buffer_source_and_u32_sequence(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &::js_sys::Object,
+ data_layout: &GpuImageDataLayout,
+ size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuImageCopyTexture", feature = "GpuImageDataLayout",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_u8_array_and_u32_sequence(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &[u8],
+ data_layout: &GpuImageDataLayout,
+ size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyTexture",
+ feature = "GpuImageDataLayout",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_buffer_source_and_gpu_extent_3d_dict(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &::js_sys::Object,
+ data_layout: &GpuImageDataLayout,
+ size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyTexture",
+ feature = "GpuImageDataLayout",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_u8_array_and_gpu_extent_3d_dict(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &[u8],
+ data_layout: &GpuImageDataLayout,
+ size: &GpuExtent3dDict,
+ );
+}