mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Re-vendor WebGPU bindings (#10034)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
This commit is contained in:
1 parent
a9468c5cad
commit
7a83bc7650
135 files changed
+2820
-667
No files matched your search
@@ -149,6 +149,10 @@ Bottom level categories:
|
||||
|
||||
- Raise the minimum version of the `wasm-bindgen` family to the earliest releases that support wasm64. By @nickbabcock in [#9836](https://github.com/gfx-rs/wgpu/pull/9836).
|
||||
|
||||
#### WebGPU
|
||||
|
||||
- Upgrade vendored WebGPU bindings and `wasm-bindgen` to 0.2.127. By @beicause in [#10034](https://github.com/gfx-rs/wgpu/pull/10034).
|
||||
|
||||
#### GLES
|
||||
|
||||
- Update `glow` to 0.18 for wasm64 support. By @nickbabcock in [#9836](https://github.com/gfx-rs/wgpu/pull/9836).
|
||||
|
||||
Generated
+14
-14
@@ -2102,9 +2102,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "js-sys"
|
||||
version = "0.3.102"
|
||||
version = "0.3.104"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
|
||||
checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"futures-util",
|
||||
@@ -4516,9 +4516,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen"
|
||||
version = "0.2.125"
|
||||
version = "0.2.127"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
|
||||
checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"once_cell",
|
||||
@@ -4529,9 +4529,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-futures"
|
||||
version = "0.4.75"
|
||||
version = "0.4.77"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "503b14d284f2c8dac03b819967e155ea753f573586193b2b2c95990cb5d69280"
|
||||
checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
@@ -4539,9 +4539,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro"
|
||||
version = "0.2.125"
|
||||
version = "0.2.127"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
|
||||
checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"wasm-bindgen-macro-support",
|
||||
@@ -4549,9 +4549,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro-support"
|
||||
version = "0.2.125"
|
||||
version = "0.2.127"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
|
||||
checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"proc-macro2",
|
||||
@@ -4562,9 +4562,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-shared"
|
||||
version = "0.2.125"
|
||||
version = "0.2.127"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
|
||||
checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
@@ -4690,9 +4690,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "web-sys"
|
||||
version = "0.3.102"
|
||||
version = "0.3.104"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a6430a72df5eb332242960fe84b3002a241163998241eb596d4f739b9757061d"
|
||||
checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
|
||||
+4
-4
@@ -311,10 +311,10 @@ windows = { version = "0.62", default-features = false }
|
||||
# wasm dependencies
|
||||
console_error_panic_hook = "0.1.5"
|
||||
console_log = "1"
|
||||
js-sys = { version = "0.3.100", default-features = false }
|
||||
wasm-bindgen = { version = "0.2.123", default-features = false }
|
||||
wasm-bindgen-futures = { version = "0.4.73", default-features = false }
|
||||
web-sys = { version = "0.3.100", default-features = false }
|
||||
js-sys = { version = "0.3.104", default-features = false }
|
||||
wasm-bindgen = { version = "0.2.127", default-features = false }
|
||||
wasm-bindgen-futures = { version = "0.4.77", default-features = false }
|
||||
web-sys = { version = "0.3.104", default-features = false }
|
||||
web-time = "1.1.0"
|
||||
|
||||
# deno dependencies
|
||||
|
||||
@@ -24,9 +24,9 @@ block2 = "0.6.2"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
console_error_panic_hook = "0.1.5"
|
||||
wasm-bindgen = "0.2.123"
|
||||
wasm-bindgen-futures = "0.4.73"
|
||||
web-sys = { version = "0.3.100", features = [
|
||||
wasm-bindgen = "0.2.127"
|
||||
wasm-bindgen-futures = "0.4.77"
|
||||
web-sys = { version = "0.3.104", features = [
|
||||
"console",
|
||||
"Document",
|
||||
"Element",
|
||||
|
||||
+18
-28
@@ -1010,7 +1010,7 @@ fn map_js_sys_limits(limits: &wgt::Limits) -> js_sys::Object<js_sys::Number> {
|
||||
}
|
||||
|
||||
fn future_request_adapter(
|
||||
result: Result<js_sys::JsOption<webgpu_sys::GpuAdapter>, wasm_bindgen::JsValue>,
|
||||
result: Result<js_sys::JsNullable<webgpu_sys::GpuAdapter>, wasm_bindgen::JsValue>,
|
||||
requested_backends: Backends,
|
||||
) -> Result<dispatch::DispatchAdapter, wgt::RequestAdapterError> {
|
||||
result
|
||||
@@ -1073,19 +1073,9 @@ fn future_request_device(
|
||||
}
|
||||
|
||||
fn future_pop_error_scope(
|
||||
result: Result<js_sys::JsOption<webgpu_sys::GpuError>, wasm_bindgen::JsValue>,
|
||||
result: Result<js_sys::JsNullable<webgpu_sys::GpuError>, wasm_bindgen::JsValue>,
|
||||
) -> Option<crate::Error> {
|
||||
let js_option = result.ok()?;
|
||||
// WebGPU's `popErrorScope()` resolves with `null` when the scope captured no error, but
|
||||
// `wasm-bindgen`'s `JsOption` only treats `undefined` as absent (not `null`), so `null`
|
||||
// must be checked explicitly here.
|
||||
if js_option.is_empty() || JsValue::is_null(&js_option) {
|
||||
return None;
|
||||
}
|
||||
let err = js_option
|
||||
.into_option()
|
||||
.expect("null/undefined checked above");
|
||||
Some(crate::Error::from_js(err.into()))
|
||||
Some(crate::Error::from_js(result.ok()?.into_option()?.into()))
|
||||
}
|
||||
|
||||
fn future_compilation_info(
|
||||
@@ -2293,10 +2283,10 @@ impl dispatch::DeviceInterface for WebDevice {
|
||||
.bind_group_layouts
|
||||
.iter()
|
||||
.map(|bgl| match bgl {
|
||||
Some(bgl) => js_sys::JsOption::wrap(bgl.inner.as_webgpu().inner.clone()),
|
||||
None => js_sys::JsOption::new(),
|
||||
Some(bgl) => js_sys::JsNullable::wrap(bgl.inner.as_webgpu().inner.clone()),
|
||||
None => js_sys::JsNullable::new(),
|
||||
})
|
||||
.collect::<Vec<js_sys::JsOption<webgpu_sys::GpuBindGroupLayout>>>();
|
||||
.collect::<Vec<js_sys::JsNullable<webgpu_sys::GpuBindGroupLayout>>>();
|
||||
let mapped_desc = webgpu_sys::GpuPipelineLayoutDescriptor::new(&temp_layouts);
|
||||
if let Some(label) = desc.label {
|
||||
mapped_desc.set_label(label);
|
||||
@@ -2348,11 +2338,11 @@ impl dispatch::DeviceInterface for WebDevice {
|
||||
&mapped_attributes,
|
||||
);
|
||||
mapped_vbuf.set_step_mode(map_vertex_step_mode(vbuf.step_mode));
|
||||
js_sys::JsOption::wrap(mapped_vbuf)
|
||||
js_sys::JsNullable::wrap(mapped_vbuf)
|
||||
}
|
||||
None => js_sys::JsOption::new(),
|
||||
None => js_sys::JsNullable::new(),
|
||||
})
|
||||
.collect::<Vec<js_sys::JsOption<webgpu_sys::GpuVertexBufferLayout>>>();
|
||||
.collect::<Vec<js_sys::JsNullable<webgpu_sys::GpuVertexBufferLayout>>>();
|
||||
|
||||
mapped_vertex_state.set_buffers(&buffers);
|
||||
|
||||
@@ -2391,11 +2381,11 @@ impl dispatch::DeviceInterface for WebDevice {
|
||||
mapped_color_state.set_blend(&mapped_blend_state);
|
||||
}
|
||||
mapped_color_state.set_write_mask(target.write_mask.bits());
|
||||
js_sys::JsOption::wrap(mapped_color_state)
|
||||
js_sys::JsNullable::wrap(mapped_color_state)
|
||||
}
|
||||
None => js_sys::JsOption::new(),
|
||||
None => js_sys::JsNullable::new(),
|
||||
})
|
||||
.collect::<Vec<js_sys::JsOption<webgpu_sys::GpuColorTargetState>>>();
|
||||
.collect::<Vec<js_sys::JsNullable<webgpu_sys::GpuColorTargetState>>>();
|
||||
let module = frag.module.inner.as_webgpu();
|
||||
let mapped_fragment_desc = webgpu_sys::GpuFragmentState::new(&module.module, &targets);
|
||||
insert_constants_map(&mapped_fragment_desc, frag.compilation_options.constants);
|
||||
@@ -2612,14 +2602,14 @@ impl dispatch::DeviceInterface for WebDevice {
|
||||
.color_formats
|
||||
.iter()
|
||||
.map(|cf| match cf {
|
||||
Some(cf) => js_sys::JsOption::wrap(
|
||||
Some(cf) => js_sys::JsNullable::wrap(
|
||||
wasm_bindgen::JsValue::from(map_texture_format(*cf))
|
||||
.dyn_into::<js_sys::JsString>()
|
||||
.unwrap(),
|
||||
),
|
||||
None => js_sys::JsOption::new(),
|
||||
None => js_sys::JsNullable::new(),
|
||||
})
|
||||
.collect::<Vec<js_sys::JsOption<js_sys::JsString>>>();
|
||||
.collect::<Vec<js_sys::JsNullable<js_sys::JsString>>>();
|
||||
let mapped_desc = webgpu_sys::GpuRenderBundleEncoderDescriptor::new(&mapped_color_formats);
|
||||
if let Some(label) = desc.label {
|
||||
mapped_desc.set_label(label);
|
||||
@@ -3288,11 +3278,11 @@ impl dispatch::CommandEncoderInterface for WebCommandEncoder {
|
||||
}
|
||||
mapped_color_attachment.set_store_op(map_store_op(ca.ops.store));
|
||||
|
||||
js_sys::JsOption::wrap(mapped_color_attachment)
|
||||
js_sys::JsNullable::wrap(mapped_color_attachment)
|
||||
}
|
||||
None => js_sys::JsOption::new(),
|
||||
None => js_sys::JsNullable::new(),
|
||||
})
|
||||
.collect::<Vec<js_sys::JsOption<webgpu_sys::GpuRenderPassColorAttachment>>>();
|
||||
.collect::<Vec<js_sys::JsNullable<webgpu_sys::GpuRenderPassColorAttachment>>>();
|
||||
|
||||
let mapped_desc = webgpu_sys::GpuRenderPassDescriptor::new(&mapped_color_attachments);
|
||||
|
||||
|
||||
+8
-8
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPU , typescript_type = "GPU")]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPU", typescript_type = "GPU")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Gpu` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +38,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type Gpu;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPU" , js_name = wgslLanguageFeatures)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPU", js_name = "wgslLanguageFeatures")]
|
||||
#[doc = "Getter for the `wgslLanguageFeatures` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/wgslLanguageFeatures)"]
|
||||
@@ -49,7 +49,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn wgsl_language_features(this: &Gpu) -> WgslLanguageFeatures;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPU" , js_name = getPreferredCanvasFormat)]
|
||||
#[wasm_bindgen(method, js_class = "GPU", js_name = "getPreferredCanvasFormat")]
|
||||
#[doc = "The `getPreferredCanvasFormat()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/getPreferredCanvasFormat)"]
|
||||
@@ -60,7 +60,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn get_preferred_canvas_format(this: &Gpu) -> GpuTextureFormat;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPU" , js_name = requestAdapter)]
|
||||
#[wasm_bindgen(method, js_class = "GPU", js_name = "requestAdapter")]
|
||||
#[doc = "The `requestAdapter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/requestAdapter)"]
|
||||
@@ -69,9 +69,9 @@ extern "C" {
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn request_adapter(this: &Gpu) -> ::js_sys::Promise<::js_sys::JsOption<GpuAdapter>>;
|
||||
pub fn request_adapter(this: &Gpu) -> ::js_sys::Promise<::js_sys::JsNullable<GpuAdapter>>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPU" , js_name = requestAdapter)]
|
||||
#[wasm_bindgen(method, js_class = "GPU", js_name = "requestAdapter")]
|
||||
#[doc = "The `requestAdapter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/requestAdapter)"]
|
||||
@@ -83,5 +83,5 @@ extern "C" {
|
||||
pub fn request_adapter_with_options(
|
||||
this: &Gpu,
|
||||
options: &GpuRequestAdapterOptions,
|
||||
) -> ::js_sys::Promise<::js_sys::JsOption<GpuAdapter>>;
|
||||
) -> ::js_sys::Promise<::js_sys::JsNullable<GpuAdapter>>;
|
||||
}
|
||||
+11
-7
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUAdapter , typescript_type = "GPUAdapter")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUAdapter",
|
||||
typescript_type = "GPUAdapter"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuAdapter` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuAdapter;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , js_name = features)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapter", js_name = "features")]
|
||||
#[doc = "Getter for the `features` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/features)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn features(this: &GpuAdapter) -> GpuSupportedFeatures;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , js_name = limits)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapter", js_name = "limits")]
|
||||
#[doc = "Getter for the `limits` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/limits)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn limits(this: &GpuAdapter) -> GpuSupportedLimits;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , js_name = info)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapter", js_name = "info")]
|
||||
#[doc = "Getter for the `info` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/info)"]
|
||||
@@ -71,7 +75,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn info(this: &GpuAdapter) -> GpuAdapterInfo;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUAdapter" , js_name = requestDevice)]
|
||||
#[wasm_bindgen(method, js_class = "GPUAdapter", js_name = "requestDevice")]
|
||||
#[doc = "The `requestDevice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestDevice)"]
|
||||
@@ -82,7 +86,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn request_device(this: &GpuAdapter) -> ::js_sys::Promise<GpuDevice>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUAdapter" , js_name = requestDevice)]
|
||||
#[wasm_bindgen(method, js_class = "GPUAdapter", js_name = "requestDevice")]
|
||||
#[doc = "The `requestDevice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestDevice)"]
|
||||
|
||||
+28
-9
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUAdapterInfo , typescript_type = "GPUAdapterInfo")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUAdapterInfo",
|
||||
typescript_type = "GPUAdapterInfo"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuAdapterInfo` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuAdapterInfo;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = vendor)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapterInfo", js_name = "vendor")]
|
||||
#[doc = "Getter for the `vendor` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/vendor)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn vendor(this: &GpuAdapterInfo) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = architecture)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapterInfo", js_name = "architecture")]
|
||||
#[doc = "Getter for the `architecture` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/architecture)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn architecture(this: &GpuAdapterInfo) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = device)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapterInfo", js_name = "device")]
|
||||
#[doc = "Getter for the `device` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/device)"]
|
||||
@@ -71,7 +75,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn device(this: &GpuAdapterInfo) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = description)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUAdapterInfo", js_name = "description")]
|
||||
#[doc = "Getter for the `description` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/description)"]
|
||||
@@ -82,7 +86,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn description(this: &GpuAdapterInfo) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = subgroupMinSize)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "GPUAdapterInfo",
|
||||
js_name = "subgroupMinSize"
|
||||
)]
|
||||
#[doc = "Getter for the `subgroupMinSize` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/subgroupMinSize)"]
|
||||
@@ -93,7 +102,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn subgroup_min_size(this: &GpuAdapterInfo) -> u32;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = subgroupMaxSize)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "GPUAdapterInfo",
|
||||
js_name = "subgroupMaxSize"
|
||||
)]
|
||||
#[doc = "Getter for the `subgroupMaxSize` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)"]
|
||||
@@ -104,7 +118,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn subgroup_max_size(this: &GpuAdapterInfo) -> u32;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = isFallbackAdapter)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "GPUAdapterInfo",
|
||||
js_name = "isFallbackAdapter"
|
||||
)]
|
||||
#[doc = "Getter for the `isFallbackAdapter` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)"]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+8
-4
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroup , typescript_type = "GPUBindGroup")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUBindGroup",
|
||||
typescript_type = "GPUBindGroup"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBindGroup` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuBindGroup;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUBindGroup" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUBindGroup", 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/GPUBindGroup/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuBindGroup) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUBindGroup" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUBindGroup", 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/GPUBindGroup/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBindGroupDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBindGroupDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupEntry)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBindGroupEntry")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBindGroupEntry` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayout , typescript_type = "GPUBindGroupLayout")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUBindGroupLayout",
|
||||
typescript_type = "GPUBindGroupLayout"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBindGroupLayout` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuBindGroupLayout;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUBindGroupLayout" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUBindGroupLayout", 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/GPUBindGroupLayout/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuBindGroupLayout) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUBindGroupLayout" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUBindGroupLayout", 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/GPUBindGroupLayout/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBindGroupLayoutDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBindGroupLayoutDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutEntry)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBindGroupLayoutEntry")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBindGroupLayoutEntry` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBlendComponent)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBlendComponent")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBlendComponent` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBlendState)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBlendState")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBlendState` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+27
-23
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBuffer , typescript_type = "GPUBuffer")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUBuffer",
|
||||
typescript_type = "GPUBuffer"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBuffer` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuBuffer;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = size)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUBuffer", js_name = "size")]
|
||||
#[doc = "Getter for the `size` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/size)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn size(this: &GpuBuffer) -> f64;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = usage)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUBuffer", js_name = "usage")]
|
||||
#[doc = "Getter for the `usage` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/usage)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn usage(this: &GpuBuffer) -> u32;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = mapState)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUBuffer", js_name = "mapState")]
|
||||
#[doc = "Getter for the `mapState` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapState)"]
|
||||
@@ -71,7 +75,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn map_state(this: &GpuBuffer) -> GpuBufferMapState;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUBuffer", 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/GPUBuffer/label)"]
|
||||
@@ -82,7 +86,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuBuffer) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUBuffer" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUBuffer", 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/GPUBuffer/label)"]
|
||||
@@ -93,7 +97,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuBuffer, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = destroy)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer")]
|
||||
#[doc = "The `destroy()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/destroy)"]
|
||||
@@ -104,7 +108,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn destroy(this: &GpuBuffer);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -115,7 +119,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn get_mapped_range(this: &GpuBuffer) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -129,7 +133,7 @@ extern "C" {
|
||||
offset: u32,
|
||||
) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -143,7 +147,7 @@ extern "C" {
|
||||
offset: f64,
|
||||
) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -158,7 +162,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -173,7 +177,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -188,7 +192,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUBuffer", js_name = "getMappedRange")]
|
||||
#[doc = "The `getMappedRange()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
|
||||
@@ -203,7 +207,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<::js_sys::ArrayBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -214,7 +218,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn map_async(this: &GpuBuffer, mode: u32) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -229,7 +233,7 @@ extern "C" {
|
||||
offset: u32,
|
||||
) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -244,7 +248,7 @@ extern "C" {
|
||||
offset: f64,
|
||||
) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -260,7 +264,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -276,7 +280,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -292,7 +296,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer", js_name = "mapAsync")]
|
||||
#[doc = "The `mapAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
|
||||
@@ -308,7 +312,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = unmap)]
|
||||
#[wasm_bindgen(method, js_class = "GPUBuffer")]
|
||||
#[doc = "The `unmap()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/unmap)"]
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferBinding)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBufferBinding")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBufferBinding` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferBindingLayout)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBufferBindingLayout")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBufferBindingLayout` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUBufferDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuBufferDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCanvasConfiguration)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUCanvasConfiguration")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCanvasConfiguration` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+16
-7
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCanvasContext , typescript_type = "GPUCanvasContext")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUCanvasContext",
|
||||
typescript_type = "GPUCanvasContext"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCanvasContext` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuCanvasContext;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCanvasContext" , js_name = canvas)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCanvasContext", js_name = "canvas")]
|
||||
#[doc = "Getter for the `canvas` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/canvas)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn canvas(this: &GpuCanvasContext) -> ::js_sys::Object;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCanvasContext" , js_name = configure)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUCanvasContext")]
|
||||
#[doc = "The `configure()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/configure)"]
|
||||
@@ -63,7 +67,7 @@ extern "C" {
|
||||
configuration: &GpuCanvasConfiguration,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = getConfiguration)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCanvasContext", js_name = "getConfiguration")]
|
||||
#[doc = "The `getConfiguration()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/getConfiguration)"]
|
||||
@@ -74,7 +78,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn get_configuration(this: &GpuCanvasContext) -> Option<GpuCanvasConfiguration>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCanvasContext" , js_name = getCurrentTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCanvasContext",
|
||||
js_name = "getCurrentTexture"
|
||||
)]
|
||||
#[doc = "The `getCurrentTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/getCurrentTexture)"]
|
||||
@@ -85,7 +94,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn get_current_texture(this: &GpuCanvasContext) -> Result<GpuTexture, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = unconfigure)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCanvasContext")]
|
||||
#[doc = "The `unconfigure()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/unconfigure)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCanvasToneMapping)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUCanvasToneMapping")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCanvasToneMapping` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorDict)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUColorDict")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuColorDict` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorTargetState)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUColorTargetState")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuColorTargetState` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+8
-4
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandBuffer , typescript_type = "GPUCommandBuffer")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUCommandBuffer",
|
||||
typescript_type = "GPUCommandBuffer"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCommandBuffer` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuCommandBuffer;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCommandBuffer" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCommandBuffer", 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/GPUCommandBuffer/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuCommandBuffer) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUCommandBuffer" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUCommandBuffer", 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/GPUCommandBuffer/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandBufferDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUCommandBufferDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCommandBufferDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+200
-39
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandEncoder , typescript_type = "GPUCommandEncoder")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUCommandEncoder",
|
||||
typescript_type = "GPUCommandEncoder"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCommandEncoder` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuCommandEncoder;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCommandEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCommandEncoder", 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/GPUCommandEncoder/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuCommandEncoder) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUCommandEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUCommandEncoder", 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/GPUCommandEncoder/label)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuCommandEncoder, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = beginComputePass)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "beginComputePass")]
|
||||
#[doc = "The `beginComputePass()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/beginComputePass)"]
|
||||
@@ -71,7 +75,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn begin_compute_pass(this: &GpuCommandEncoder) -> GpuComputePassEncoder;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = beginComputePass)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "beginComputePass")]
|
||||
#[doc = "The `beginComputePass()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/beginComputePass)"]
|
||||
@@ -85,7 +89,12 @@ extern "C" {
|
||||
descriptor: &GpuComputePassDescriptor,
|
||||
) -> GpuComputePassEncoder;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = beginRenderPass)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "beginRenderPass"
|
||||
)]
|
||||
#[doc = "The `beginRenderPass()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/beginRenderPass)"]
|
||||
@@ -99,7 +108,7 @@ extern "C" {
|
||||
descriptor: &GpuRenderPassDescriptor,
|
||||
) -> Result<GpuRenderPassEncoder, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -110,7 +119,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn clear_buffer(this: &GpuCommandEncoder, buffer: &GpuBuffer);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -121,7 +130,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn clear_buffer_with_u32(this: &GpuCommandEncoder, buffer: &GpuBuffer, offset: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -132,7 +141,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn clear_buffer_with_f64(this: &GpuCommandEncoder, buffer: &GpuBuffer, offset: f64);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -148,7 +157,7 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -164,7 +173,7 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -180,7 +189,7 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "clearBuffer")]
|
||||
#[doc = "The `clearBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
|
||||
@@ -196,7 +205,74 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn copy_buffer_to_buffer(
|
||||
this: &GpuCommandEncoder,
|
||||
source: &GpuBuffer,
|
||||
destination: &GpuBuffer,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn copy_buffer_to_buffer_with_u32(
|
||||
this: &GpuCommandEncoder,
|
||||
source: &GpuBuffer,
|
||||
destination: &GpuBuffer,
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn copy_buffer_to_buffer_with_f64(
|
||||
this: &GpuCommandEncoder,
|
||||
source: &GpuBuffer,
|
||||
destination: &GpuBuffer,
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -213,7 +289,12 @@ extern "C" {
|
||||
destination_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -230,7 +311,12 @@ extern "C" {
|
||||
destination_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -247,7 +333,12 @@ extern "C" {
|
||||
destination_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -264,7 +355,12 @@ extern "C" {
|
||||
destination_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -282,7 +378,12 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -300,7 +401,12 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -318,7 +424,12 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -336,7 +447,12 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -354,7 +470,12 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -372,7 +493,12 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -390,7 +516,12 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyBufferToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
|
||||
@@ -408,7 +539,12 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToTexture"
|
||||
)]
|
||||
#[doc = "The `copyBufferToTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)"]
|
||||
@@ -424,7 +560,12 @@ extern "C" {
|
||||
copy_size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyBufferToTexture"
|
||||
)]
|
||||
#[doc = "The `copyBufferToTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)"]
|
||||
@@ -440,7 +581,12 @@ extern "C" {
|
||||
copy_size: &GpuExtent3dDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyTextureToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyTextureToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)"]
|
||||
@@ -456,7 +602,12 @@ extern "C" {
|
||||
copy_size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToBuffer)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyTextureToBuffer"
|
||||
)]
|
||||
#[doc = "The `copyTextureToBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)"]
|
||||
@@ -472,7 +623,12 @@ extern "C" {
|
||||
copy_size: &GpuExtent3dDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyTextureToTexture"
|
||||
)]
|
||||
#[doc = "The `copyTextureToTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)"]
|
||||
@@ -488,7 +644,12 @@ extern "C" {
|
||||
copy_size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUCommandEncoder",
|
||||
js_name = "copyTextureToTexture"
|
||||
)]
|
||||
#[doc = "The `copyTextureToTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)"]
|
||||
@@ -504,7 +665,7 @@ extern "C" {
|
||||
copy_size: &GpuExtent3dDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = finish)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder")]
|
||||
#[doc = "The `finish()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/finish)"]
|
||||
@@ -515,7 +676,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn finish(this: &GpuCommandEncoder) -> GpuCommandBuffer;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = finish)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "finish")]
|
||||
#[doc = "The `finish()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/finish)"]
|
||||
@@ -529,7 +690,7 @@ extern "C" {
|
||||
descriptor: &GpuCommandBufferDescriptor,
|
||||
) -> GpuCommandBuffer;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = resolveQuerySet)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "resolveQuerySet")]
|
||||
#[doc = "The `resolveQuerySet()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/resolveQuerySet)"]
|
||||
@@ -547,7 +708,7 @@ extern "C" {
|
||||
destination_offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = resolveQuerySet)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "resolveQuerySet")]
|
||||
#[doc = "The `resolveQuerySet()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/resolveQuerySet)"]
|
||||
@@ -565,7 +726,7 @@ extern "C" {
|
||||
destination_offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = insertDebugMarker)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "insertDebugMarker")]
|
||||
#[doc = "The `insertDebugMarker()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/insertDebugMarker)"]
|
||||
@@ -576,7 +737,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn insert_debug_marker(this: &GpuCommandEncoder, marker_label: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = popDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "popDebugGroup")]
|
||||
#[doc = "The `popDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/popDebugGroup)"]
|
||||
@@ -587,7 +748,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn pop_debug_group(this: &GpuCommandEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = pushDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUCommandEncoder", js_name = "pushDebugGroup")]
|
||||
#[doc = "The `pushDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/pushDebugGroup)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandEncoderDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUCommandEncoderDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCommandEncoderDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCompilationInfo , typescript_type = "GPUCompilationInfo")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUCompilationInfo",
|
||||
typescript_type = "GPUCompilationInfo"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCompilationInfo` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuCompilationInfo;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationInfo" , js_name = messages)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCompilationInfo", js_name = "messages")]
|
||||
#[doc = "Getter for the `messages` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationInfo/messages)"]
|
||||
|
||||
+27
-8
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCompilationMessage , typescript_type = "GPUCompilationMessage")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUCompilationMessage",
|
||||
typescript_type = "GPUCompilationMessage"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCompilationMessage` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuCompilationMessage;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = message)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "GPUCompilationMessage",
|
||||
js_name = "message"
|
||||
)]
|
||||
#[doc = "Getter for the `message` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/message)"]
|
||||
@@ -49,7 +58,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn message(this: &GpuCompilationMessage) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = type)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCompilationMessage", js_name = "type")]
|
||||
#[doc = "Getter for the `type` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/type)"]
|
||||
@@ -60,7 +69,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn type_(this: &GpuCompilationMessage) -> GpuCompilationMessageType;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = lineNum)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "GPUCompilationMessage",
|
||||
js_name = "lineNum"
|
||||
)]
|
||||
#[doc = "Getter for the `lineNum` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/lineNum)"]
|
||||
@@ -71,7 +85,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn line_num(this: &GpuCompilationMessage) -> f64;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = linePos)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "GPUCompilationMessage",
|
||||
js_name = "linePos"
|
||||
)]
|
||||
#[doc = "Getter for the `linePos` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/linePos)"]
|
||||
@@ -82,7 +101,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn line_pos(this: &GpuCompilationMessage) -> f64;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = offset)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCompilationMessage", js_name = "offset")]
|
||||
#[doc = "Getter for the `offset` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/offset)"]
|
||||
@@ -93,7 +112,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn offset(this: &GpuCompilationMessage) -> f64;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = length)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUCompilationMessage", js_name = "length")]
|
||||
#[doc = "Getter for the `length` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/length)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUComputePassDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuComputePassDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+518
-20
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassEncoder , typescript_type = "GPUComputePassEncoder")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUComputePassEncoder",
|
||||
typescript_type = "GPUComputePassEncoder"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuComputePassEncoder` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuComputePassEncoder;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUComputePassEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUComputePassEncoder", 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/GPUComputePassEncoder/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuComputePassEncoder) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUComputePassEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUComputePassEncoder", 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/GPUComputePassEncoder/label)"]
|
||||
@@ -60,7 +64,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuComputePassEncoder, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroups)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "dispatchWorkgroups"
|
||||
)]
|
||||
#[doc = "The `dispatchWorkgroups()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups)"]
|
||||
@@ -71,7 +79,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn dispatch_workgroups(this: &GpuComputePassEncoder, workgroup_count_x: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroups)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "dispatchWorkgroups"
|
||||
)]
|
||||
#[doc = "The `dispatchWorkgroups()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups)"]
|
||||
@@ -86,7 +98,11 @@ extern "C" {
|
||||
workgroup_count_y: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroups)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "dispatchWorkgroups"
|
||||
)]
|
||||
#[doc = "The `dispatchWorkgroups()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups)"]
|
||||
@@ -102,7 +118,11 @@ extern "C" {
|
||||
workgroup_count_z: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroupsIndirect)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "dispatchWorkgroupsIndirect"
|
||||
)]
|
||||
#[doc = "The `dispatchWorkgroupsIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect)"]
|
||||
@@ -117,7 +137,11 @@ extern "C" {
|
||||
indirect_offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroupsIndirect)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "dispatchWorkgroupsIndirect"
|
||||
)]
|
||||
#[doc = "The `dispatchWorkgroupsIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect)"]
|
||||
@@ -132,7 +156,7 @@ extern "C" {
|
||||
indirect_offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = end)]
|
||||
#[wasm_bindgen(method, js_class = "GPUComputePassEncoder")]
|
||||
#[doc = "The `end()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/end)"]
|
||||
@@ -143,7 +167,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn end(this: &GpuComputePassEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setPipeline)]
|
||||
#[wasm_bindgen(method, js_class = "GPUComputePassEncoder", js_name = "setPipeline")]
|
||||
#[doc = "The `setPipeline()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setPipeline)"]
|
||||
@@ -154,7 +178,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_pipeline(this: &GpuComputePassEncoder, pipeline: &GpuComputePipeline);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUComputePassEncoder", js_name = "setBindGroup")]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
|
||||
@@ -169,7 +193,7 @@ extern "C" {
|
||||
bind_group: Option<&GpuBindGroup>,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUComputePassEncoder", js_name = "setBindGroup")]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
|
||||
@@ -185,7 +209,12 @@ extern "C" {
|
||||
dynamic_offsets: &[::js_sys::Number],
|
||||
);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
|
||||
@@ -203,7 +232,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
|
||||
@@ -221,7 +255,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
|
||||
@@ -239,7 +278,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
|
||||
@@ -257,7 +301,461 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = insertDebugMarker)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64_and_u32(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64_and_f64(
|
||||
this: &GpuComputePassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePassEncoder",
|
||||
js_name = "insertDebugMarker"
|
||||
)]
|
||||
#[doc = "The `insertDebugMarker()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/insertDebugMarker)"]
|
||||
@@ -268,7 +766,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn insert_debug_marker(this: &GpuComputePassEncoder, marker_label: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = popDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUComputePassEncoder", js_name = "popDebugGroup")]
|
||||
#[doc = "The `popDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/popDebugGroup)"]
|
||||
@@ -279,7 +777,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn pop_debug_group(this: &GpuComputePassEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = pushDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUComputePassEncoder", js_name = "pushDebugGroup")]
|
||||
#[doc = "The `pushDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/pushDebugGroup)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,10 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassTimestampWrites)]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUComputePassTimestampWrites"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuComputePassTimestampWrites` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+13
-5
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePipeline , typescript_type = "GPUComputePipeline")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUComputePipeline",
|
||||
typescript_type = "GPUComputePipeline"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuComputePipeline` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuComputePipeline;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUComputePipeline" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUComputePipeline", 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/GPUComputePipeline/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuComputePipeline) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUComputePipeline" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUComputePipeline", 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/GPUComputePipeline/label)"]
|
||||
@@ -60,7 +64,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuComputePipeline, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUComputePipeline" , js_name = getBindGroupLayout)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPUComputePipeline",
|
||||
js_name = "getBindGroupLayout"
|
||||
)]
|
||||
#[doc = "The `getBindGroupLayout()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePipeline/getBindGroupLayout)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePipelineDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUComputePipelineDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuComputePipelineDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCopyExternalImageDestInfo)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUCopyExternalImageDestInfo")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCopyExternalImageDestInfo` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,10 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCopyExternalImageSourceInfo)]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUCopyExternalImageSourceInfo"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuCopyExternalImageSourceInfo` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDepthStencilState)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUDepthStencilState")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuDepthStencilState` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+57
-32
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,12 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = GPUDevice , typescript_type = "GPUDevice")]
|
||||
#[wasm_bindgen(
|
||||
extends = "EventTarget",
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUDevice",
|
||||
typescript_type = "GPUDevice"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuDevice` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +43,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuDevice;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = features)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", js_name = "features")]
|
||||
#[doc = "Getter for the `features` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/features)"]
|
||||
@@ -49,7 +54,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn features(this: &GpuDevice) -> GpuSupportedFeatures;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = limits)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", js_name = "limits")]
|
||||
#[doc = "Getter for the `limits` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/limits)"]
|
||||
@@ -60,7 +65,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn limits(this: &GpuDevice) -> GpuSupportedLimits;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = adapterInfo)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", js_name = "adapterInfo")]
|
||||
#[doc = "Getter for the `adapterInfo` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/adapterInfo)"]
|
||||
@@ -71,7 +76,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn adapter_info(this: &GpuDevice) -> GpuAdapterInfo;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = queue)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", js_name = "queue")]
|
||||
#[doc = "Getter for the `queue` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/queue)"]
|
||||
@@ -82,7 +87,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn queue(this: &GpuDevice) -> GpuQueue;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = lost)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", js_name = "lost")]
|
||||
#[doc = "Getter for the `lost` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/lost)"]
|
||||
@@ -93,7 +98,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn lost(this: &GpuDevice) -> ::js_sys::Promise<GpuDeviceLostInfo>;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = onuncapturederror)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", js_name = "onuncapturederror")]
|
||||
#[doc = "Getter for the `onuncapturederror` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/onuncapturederror)"]
|
||||
@@ -104,7 +109,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn onuncapturederror(this: &GpuDevice) -> Option<::js_sys::Function>;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUDevice" , js_name = onuncapturederror)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUDevice", js_name = "onuncapturederror")]
|
||||
#[doc = "Setter for the `onuncapturederror` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/onuncapturederror)"]
|
||||
@@ -115,7 +120,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_onuncapturederror(this: &GpuDevice, value: Option<&::js_sys::Function>);
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDevice", 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/GPUDevice/label)"]
|
||||
@@ -126,7 +131,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuDevice) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUDevice" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUDevice", 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/GPUDevice/label)"]
|
||||
@@ -137,7 +142,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuDevice, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createBindGroup")]
|
||||
#[doc = "The `createBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBindGroup)"]
|
||||
@@ -149,7 +154,12 @@ extern "C" {
|
||||
pub fn create_bind_group(this: &GpuDevice, descriptor: &GpuBindGroupDescriptor)
|
||||
-> GpuBindGroup;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = createBindGroupLayout)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUDevice",
|
||||
js_name = "createBindGroupLayout"
|
||||
)]
|
||||
#[doc = "The `createBindGroupLayout()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBindGroupLayout)"]
|
||||
@@ -163,7 +173,7 @@ extern "C" {
|
||||
descriptor: &GpuBindGroupLayoutDescriptor,
|
||||
) -> Result<GpuBindGroupLayout, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = createBuffer)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUDevice", js_name = "createBuffer")]
|
||||
#[doc = "The `createBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBuffer)"]
|
||||
@@ -177,7 +187,7 @@ extern "C" {
|
||||
descriptor: &GpuBufferDescriptor,
|
||||
) -> Result<GpuBuffer, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createCommandEncoder)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createCommandEncoder")]
|
||||
#[doc = "The `createCommandEncoder()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createCommandEncoder)"]
|
||||
@@ -188,7 +198,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn create_command_encoder(this: &GpuDevice) -> GpuCommandEncoder;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createCommandEncoder)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createCommandEncoder")]
|
||||
#[doc = "The `createCommandEncoder()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createCommandEncoder)"]
|
||||
@@ -202,7 +212,7 @@ extern "C" {
|
||||
descriptor: &GpuCommandEncoderDescriptor,
|
||||
) -> GpuCommandEncoder;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createComputePipeline)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createComputePipeline")]
|
||||
#[doc = "The `createComputePipeline()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createComputePipeline)"]
|
||||
@@ -216,7 +226,7 @@ extern "C" {
|
||||
descriptor: &GpuComputePipelineDescriptor,
|
||||
) -> GpuComputePipeline;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createComputePipelineAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createComputePipelineAsync")]
|
||||
#[doc = "The `createComputePipelineAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createComputePipelineAsync)"]
|
||||
@@ -230,7 +240,7 @@ extern "C" {
|
||||
descriptor: &GpuComputePipelineDescriptor,
|
||||
) -> ::js_sys::Promise<GpuComputePipeline>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createPipelineLayout)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createPipelineLayout")]
|
||||
#[doc = "The `createPipelineLayout()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createPipelineLayout)"]
|
||||
@@ -244,7 +254,7 @@ extern "C" {
|
||||
descriptor: &GpuPipelineLayoutDescriptor,
|
||||
) -> GpuPipelineLayout;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = createQuerySet)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUDevice", js_name = "createQuerySet")]
|
||||
#[doc = "The `createQuerySet()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createQuerySet)"]
|
||||
@@ -258,7 +268,12 @@ extern "C" {
|
||||
descriptor: &GpuQuerySetDescriptor,
|
||||
) -> Result<GpuQuerySet, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = createRenderBundleEncoder)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUDevice",
|
||||
js_name = "createRenderBundleEncoder"
|
||||
)]
|
||||
#[doc = "The `createRenderBundleEncoder()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderBundleEncoder)"]
|
||||
@@ -272,7 +287,12 @@ extern "C" {
|
||||
descriptor: &GpuRenderBundleEncoderDescriptor,
|
||||
) -> Result<GpuRenderBundleEncoder, JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = createRenderPipeline)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUDevice",
|
||||
js_name = "createRenderPipeline"
|
||||
)]
|
||||
#[doc = "The `createRenderPipeline()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderPipeline)"]
|
||||
@@ -286,7 +306,7 @@ extern "C" {
|
||||
descriptor: &GpuRenderPipelineDescriptor,
|
||||
) -> Result<GpuRenderPipeline, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createRenderPipelineAsync)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createRenderPipelineAsync")]
|
||||
#[doc = "The `createRenderPipelineAsync()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderPipelineAsync)"]
|
||||
@@ -300,7 +320,7 @@ extern "C" {
|
||||
descriptor: &GpuRenderPipelineDescriptor,
|
||||
) -> ::js_sys::Promise<GpuRenderPipeline>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createSampler)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createSampler")]
|
||||
#[doc = "The `createSampler()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createSampler)"]
|
||||
@@ -311,7 +331,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn create_sampler(this: &GpuDevice) -> GpuSampler;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createSampler)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createSampler")]
|
||||
#[doc = "The `createSampler()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createSampler)"]
|
||||
@@ -325,7 +345,7 @@ extern "C" {
|
||||
descriptor: &GpuSamplerDescriptor,
|
||||
) -> GpuSampler;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createShaderModule)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "createShaderModule")]
|
||||
#[doc = "The `createShaderModule()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createShaderModule)"]
|
||||
@@ -339,7 +359,7 @@ extern "C" {
|
||||
descriptor: &GpuShaderModuleDescriptor,
|
||||
) -> GpuShaderModule;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = createTexture)]
|
||||
#[wasm_bindgen(catch, method, js_class = "GPUDevice", js_name = "createTexture")]
|
||||
#[doc = "The `createTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createTexture)"]
|
||||
@@ -353,7 +373,7 @@ extern "C" {
|
||||
descriptor: &GpuTextureDescriptor,
|
||||
) -> Result<GpuTexture, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = destroy)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice")]
|
||||
#[doc = "The `destroy()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/destroy)"]
|
||||
@@ -364,7 +384,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn destroy(this: &GpuDevice);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUDevice" , js_name = importExternalTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPUDevice",
|
||||
js_name = "importExternalTexture"
|
||||
)]
|
||||
#[doc = "The `importExternalTexture()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/importExternalTexture)"]
|
||||
@@ -378,7 +403,7 @@ extern "C" {
|
||||
descriptor: &GpuExternalTextureDescriptor,
|
||||
) -> Result<GpuExternalTexture, JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = popErrorScope)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "popErrorScope")]
|
||||
#[doc = "The `popErrorScope()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/popErrorScope)"]
|
||||
@@ -387,9 +412,9 @@ extern "C" {
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn pop_error_scope(this: &GpuDevice) -> ::js_sys::Promise<::js_sys::JsOption<GpuError>>;
|
||||
pub fn pop_error_scope(this: &GpuDevice) -> ::js_sys::Promise<::js_sys::JsNullable<GpuError>>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = pushErrorScope)]
|
||||
#[wasm_bindgen(method, js_class = "GPUDevice", js_name = "pushErrorScope")]
|
||||
#[doc = "The `pushErrorScope()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/pushErrorScope)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDeviceDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUDeviceDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuDeviceDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+8
-4
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDeviceLostInfo , typescript_type = "GPUDeviceLostInfo")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUDeviceLostInfo",
|
||||
typescript_type = "GPUDeviceLostInfo"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuDeviceLostInfo` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuDeviceLostInfo;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDeviceLostInfo" , js_name = reason)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDeviceLostInfo", js_name = "reason")]
|
||||
#[doc = "Getter for the `reason` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDeviceLostInfo/reason)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn reason(this: &GpuDeviceLostInfo) -> GpuDeviceLostReason;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUDeviceLostInfo" , js_name = message)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUDeviceLostInfo", js_name = "message")]
|
||||
#[doc = "Getter for the `message` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDeviceLostInfo/message)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+7
-3
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUError , typescript_type = "GPUError")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUError",
|
||||
typescript_type = "GPUError"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuError` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuError;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUError" , js_name = message)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUError", js_name = "message")]
|
||||
#[doc = "Getter for the `message` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUError/message)"]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExtent3DDict)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUExtent3DDict")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuExtent3dDict` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExternalTexture , typescript_type = "GPUExternalTexture")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUExternalTexture",
|
||||
typescript_type = "GPUExternalTexture"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuExternalTexture` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuExternalTexture;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUExternalTexture" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUExternalTexture", 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/GPUExternalTexture/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuExternalTexture) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUExternalTexture" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUExternalTexture", 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/GPUExternalTexture/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,10 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExternalTextureBindingLayout)]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUExternalTextureBindingLayout"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuExternalTextureBindingLayout` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExternalTextureDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUExternalTextureDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuExternalTextureDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+2
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
@@ -54,4 +54,5 @@ pub enum GpuFeatureName {
|
||||
TextureFormatsTier2 = "texture-formats-tier2",
|
||||
PrimitiveIndex = "primitive-index",
|
||||
TextureComponentSwizzle = "texture-component-swizzle",
|
||||
SubgroupSizeControl = "subgroup-size-control",
|
||||
}
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+6
-6
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUFragmentState)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUFragmentState")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuFragmentState` dictionary."]
|
||||
#[doc = ""]
|
||||
@@ -99,7 +99,7 @@ extern "C" {
|
||||
#[wasm_bindgen(method, getter = "targets")]
|
||||
pub fn get_targets(
|
||||
this: &GpuFragmentState,
|
||||
) -> ::js_sys::Array<::js_sys::JsOption<GpuColorTargetState>>;
|
||||
) -> ::js_sys::Array<::js_sys::JsNullable<GpuColorTargetState>>;
|
||||
|
||||
#[doc = "Change the `targets` field of this object."]
|
||||
#[doc = ""]
|
||||
@@ -108,7 +108,7 @@ extern "C" {
|
||||
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
#[wasm_bindgen(method, setter = "targets")]
|
||||
pub fn set_targets(this: &GpuFragmentState, val: &[::js_sys::JsOption<GpuColorTargetState>]);
|
||||
pub fn set_targets(this: &GpuFragmentState, val: &[::js_sys::JsNullable<GpuColorTargetState>]);
|
||||
}
|
||||
|
||||
impl GpuFragmentState {
|
||||
@@ -120,7 +120,7 @@ impl GpuFragmentState {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn new(
|
||||
module: &GpuShaderModule,
|
||||
targets: &[::js_sys::JsOption<GpuColorTargetState>],
|
||||
targets: &[::js_sys::JsNullable<GpuColorTargetState>],
|
||||
) -> Self {
|
||||
#[allow(unused_mut)]
|
||||
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
|
||||
@@ -148,7 +148,7 @@ impl GpuFragmentState {
|
||||
}
|
||||
|
||||
#[deprecated = "Use `set_targets()` instead."]
|
||||
pub fn targets(&mut self, val: &[::js_sys::JsOption<GpuColorTargetState>]) -> &mut Self {
|
||||
pub fn targets(&mut self, val: &[::js_sys::JsNullable<GpuColorTargetState>]) -> &mut Self {
|
||||
self.set_targets(val);
|
||||
self
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+7
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,12 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = GpuError , extends = :: js_sys :: Object , js_name = GPUInternalError , typescript_type = "GPUInternalError")]
|
||||
#[wasm_bindgen(
|
||||
extends = "GpuError",
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUInternalError",
|
||||
typescript_type = "GPUInternalError"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuInternalError` class."]
|
||||
#[doc = ""]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUMultisampleState)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUMultisampleState")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuMultisampleState` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUObjectDescriptorBase)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUObjectDescriptorBase")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuObjectDescriptorBase` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOrigin2DDict)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUOrigin2DDict")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuOrigin2dDict` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOrigin3DDict)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUOrigin3DDict")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuOrigin3dDict` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,12 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = GpuError , extends = :: js_sys :: Object , js_name = GPUOutOfMemoryError , typescript_type = "GPUOutOfMemoryError")]
|
||||
#[wasm_bindgen(
|
||||
extends = "GpuError",
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUOutOfMemoryError",
|
||||
typescript_type = "GPUOutOfMemoryError"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuOutOfMemoryError` class."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineDescriptorBase)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUPipelineDescriptorBase")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuPipelineDescriptorBase` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+8
-4
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineLayout , typescript_type = "GPUPipelineLayout")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUPipelineLayout",
|
||||
typescript_type = "GPUPipelineLayout"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuPipelineLayout` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuPipelineLayout;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUPipelineLayout" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUPipelineLayout", 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/GPUPipelineLayout/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuPipelineLayout) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUPipelineLayout" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUPipelineLayout", 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/GPUPipelineLayout/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineLayoutDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUPipelineLayoutDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuPipelineLayoutDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
@@ -63,7 +63,7 @@ extern "C" {
|
||||
#[wasm_bindgen(method, getter = "bindGroupLayouts")]
|
||||
pub fn get_bind_group_layouts(
|
||||
this: &GpuPipelineLayoutDescriptor,
|
||||
) -> ::js_sys::Array<::js_sys::JsOption<GpuBindGroupLayout>>;
|
||||
) -> ::js_sys::Array<::js_sys::JsNullable<GpuBindGroupLayout>>;
|
||||
|
||||
#[doc = "Change the `bindGroupLayouts` field of this object."]
|
||||
#[doc = ""]
|
||||
@@ -74,8 +74,26 @@ extern "C" {
|
||||
#[wasm_bindgen(method, setter = "bindGroupLayouts")]
|
||||
pub fn set_bind_group_layouts(
|
||||
this: &GpuPipelineLayoutDescriptor,
|
||||
val: &[::js_sys::JsOption<GpuBindGroupLayout>],
|
||||
val: &[::js_sys::JsNullable<GpuBindGroupLayout>],
|
||||
);
|
||||
|
||||
#[doc = "Get the `immediateSize` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayoutDescriptor`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
#[wasm_bindgen(method, getter = "immediateSize")]
|
||||
pub fn get_immediate_size(this: &GpuPipelineLayoutDescriptor) -> Option<u32>;
|
||||
|
||||
#[doc = "Change the `immediateSize` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayoutDescriptor`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
#[wasm_bindgen(method, setter = "immediateSize")]
|
||||
pub fn set_immediate_size(this: &GpuPipelineLayoutDescriptor, val: u32);
|
||||
}
|
||||
|
||||
impl GpuPipelineLayoutDescriptor {
|
||||
@@ -85,7 +103,7 @@ impl GpuPipelineLayoutDescriptor {
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn new(bind_group_layouts: &[::js_sys::JsOption<GpuBindGroupLayout>]) -> Self {
|
||||
pub fn new(bind_group_layouts: &[::js_sys::JsNullable<GpuBindGroupLayout>]) -> Self {
|
||||
#[allow(unused_mut)]
|
||||
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
|
||||
ret.set_bind_group_layouts(bind_group_layouts);
|
||||
@@ -101,9 +119,15 @@ impl GpuPipelineLayoutDescriptor {
|
||||
#[deprecated = "Use `set_bind_group_layouts()` instead."]
|
||||
pub fn bind_group_layouts(
|
||||
&mut self,
|
||||
val: &[::js_sys::JsOption<GpuBindGroupLayout>],
|
||||
val: &[::js_sys::JsNullable<GpuBindGroupLayout>],
|
||||
) -> &mut Self {
|
||||
self.set_bind_group_layouts(val);
|
||||
self
|
||||
}
|
||||
|
||||
#[deprecated = "Use `set_immediate_size()` instead."]
|
||||
pub fn immediate_size(&mut self, val: u32) -> &mut Self {
|
||||
self.set_immediate_size(val);
|
||||
self
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPrimitiveState)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUPrimitiveState")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuPrimitiveState` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUProgrammableStage)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUProgrammableStage")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuProgrammableStage` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+11
-7
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQuerySet , typescript_type = "GPUQuerySet")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUQuerySet",
|
||||
typescript_type = "GPUQuerySet"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuQuerySet` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuQuerySet;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUQuerySet" , js_name = type)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUQuerySet", js_name = "type")]
|
||||
#[doc = "Getter for the `type` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/type)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn type_(this: &GpuQuerySet) -> GpuQueryType;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUQuerySet" , js_name = count)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUQuerySet", js_name = "count")]
|
||||
#[doc = "Getter for the `count` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/count)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn count(this: &GpuQuerySet) -> u32;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUQuerySet" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUQuerySet", 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/GPUQuerySet/label)"]
|
||||
@@ -71,7 +75,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuQuerySet) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUQuerySet" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUQuerySet", 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/GPUQuerySet/label)"]
|
||||
@@ -82,7 +86,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuQuerySet, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUQuerySet" , js_name = destroy)]
|
||||
#[wasm_bindgen(method, js_class = "GPUQuerySet")]
|
||||
#[doc = "The `destroy()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/destroy)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQuerySetDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUQuerySetDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuQuerySetDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
+70
-56
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueue , typescript_type = "GPUQueue")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUQueue",
|
||||
typescript_type = "GPUQueue"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuQueue` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuQueue;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUQueue" , js_name = label)]
|
||||
#[wasm_bindgen(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)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuQueue) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUQueue" , js_name = label)]
|
||||
#[wasm_bindgen(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)"]
|
||||
@@ -60,7 +64,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuQueue, value: &str);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
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)"]
|
||||
@@ -76,7 +85,12 @@ extern "C" {
|
||||
copy_size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
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)"]
|
||||
@@ -92,7 +106,7 @@ extern "C" {
|
||||
copy_size: &GpuExtent3dDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = onSubmittedWorkDone)]
|
||||
#[wasm_bindgen(method, 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)"]
|
||||
@@ -103,7 +117,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn on_submitted_work_done(this: &GpuQueue) -> ::js_sys::Promise<::js_sys::Undefined>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = submit)]
|
||||
#[wasm_bindgen(method, js_class = "GPUQueue")]
|
||||
#[doc = "The `submit()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/submit)"]
|
||||
@@ -114,7 +128,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn submit(this: &GpuQueue, command_buffers: &[GpuCommandBuffer]);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -130,7 +144,7 @@ extern "C" {
|
||||
data: &::js_sys::Object,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -146,7 +160,7 @@ extern "C" {
|
||||
data: &::js_sys::Object,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -162,7 +176,7 @@ extern "C" {
|
||||
data: &[u8],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -178,7 +192,7 @@ extern "C" {
|
||||
data: &[u8],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -194,7 +208,7 @@ extern "C" {
|
||||
data: &::js_sys::Uint8Array,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -210,7 +224,7 @@ extern "C" {
|
||||
data: &::js_sys::Uint8Array,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -227,7 +241,7 @@ extern "C" {
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -244,7 +258,7 @@ extern "C" {
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -261,7 +275,7 @@ extern "C" {
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -278,7 +292,7 @@ extern "C" {
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -295,7 +309,7 @@ extern "C" {
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -312,7 +326,7 @@ extern "C" {
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -329,7 +343,7 @@ extern "C" {
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -346,7 +360,7 @@ extern "C" {
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -363,7 +377,7 @@ extern "C" {
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -380,7 +394,7 @@ extern "C" {
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -397,7 +411,7 @@ extern "C" {
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -414,7 +428,7 @@ extern "C" {
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -432,7 +446,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -450,7 +464,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -468,7 +482,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -486,7 +500,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -504,7 +518,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -522,7 +536,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -540,7 +554,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -558,7 +572,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -576,7 +590,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -594,7 +608,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -612,7 +626,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -630,7 +644,7 @@ extern "C" {
|
||||
size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -648,7 +662,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -666,7 +680,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -684,7 +698,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -702,7 +716,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -720,7 +734,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -738,7 +752,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -756,7 +770,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -774,7 +788,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -792,7 +806,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -810,7 +824,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -828,7 +842,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -846,7 +860,7 @@ extern "C" {
|
||||
size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -863,7 +877,7 @@ extern "C" {
|
||||
size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -880,7 +894,7 @@ extern "C" {
|
||||
size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -897,7 +911,7 @@ extern "C" {
|
||||
size: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -914,7 +928,7 @@ extern "C" {
|
||||
size: &GpuExtent3dDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
@@ -931,7 +945,7 @@ extern "C" {
|
||||
size: &GpuExtent3dDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
|
||||
#[wasm_bindgen(catch, method, 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)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueueDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUQueueDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuQueueDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+8
-4
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundle , typescript_type = "GPURenderBundle")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPURenderBundle",
|
||||
typescript_type = "GPURenderBundle"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderBundle` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuRenderBundle;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPURenderBundle" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPURenderBundle", 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/GPURenderBundle/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuRenderBundle) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPURenderBundle" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPURenderBundle", 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/GPURenderBundle/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPURenderBundleDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderBundleDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+589
-43
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleEncoder , typescript_type = "GPURenderBundleEncoder")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPURenderBundleEncoder",
|
||||
typescript_type = "GPURenderBundleEncoder"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderBundleEncoder` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuRenderBundleEncoder;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPURenderBundleEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPURenderBundleEncoder", 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/GPURenderBundleEncoder/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuRenderBundleEncoder) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPURenderBundleEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPURenderBundleEncoder", 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/GPURenderBundleEncoder/label)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuRenderBundleEncoder, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder")]
|
||||
#[doc = "The `finish()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
|
||||
@@ -71,7 +75,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn finish(this: &GpuRenderBundleEncoder) -> GpuRenderBundle;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "finish")]
|
||||
#[doc = "The `finish()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
|
||||
@@ -85,7 +89,7 @@ extern "C" {
|
||||
descriptor: &GpuRenderBundleDescriptor,
|
||||
) -> GpuRenderBundle;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "setBindGroup")]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
|
||||
@@ -100,7 +104,7 @@ extern "C" {
|
||||
bind_group: Option<&GpuBindGroup>,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "setBindGroup")]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
|
||||
@@ -116,7 +120,12 @@ extern "C" {
|
||||
dynamic_offsets: &[::js_sys::Number],
|
||||
);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
|
||||
@@ -134,7 +143,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
|
||||
@@ -152,7 +166,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
|
||||
@@ -170,7 +189,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
|
||||
@@ -188,7 +212,461 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = insertDebugMarker)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64_and_u32(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64_and_f64(
|
||||
this: &GpuRenderBundleEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "insertDebugMarker"
|
||||
)]
|
||||
#[doc = "The `insertDebugMarker()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/insertDebugMarker)"]
|
||||
@@ -199,7 +677,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn insert_debug_marker(this: &GpuRenderBundleEncoder, marker_label: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = popDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "popDebugGroup")]
|
||||
#[doc = "The `popDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/popDebugGroup)"]
|
||||
@@ -210,7 +688,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn pop_debug_group(this: &GpuRenderBundleEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = pushDebugGroup)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "pushDebugGroup"
|
||||
)]
|
||||
#[doc = "The `pushDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/pushDebugGroup)"]
|
||||
@@ -221,7 +703,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn push_debug_group(this: &GpuRenderBundleEncoder, group_label: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
|
||||
@@ -232,7 +714,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn draw(this: &GpuRenderBundleEncoder, vertex_count: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "draw")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
|
||||
@@ -247,7 +729,7 @@ extern "C" {
|
||||
instance_count: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "draw")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
|
||||
@@ -263,7 +745,7 @@ extern "C" {
|
||||
first_vertex: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "draw")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
|
||||
@@ -280,7 +762,7 @@ extern "C" {
|
||||
first_instance: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
|
||||
@@ -291,7 +773,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn draw_indexed(this: &GpuRenderBundleEncoder, index_count: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
|
||||
@@ -306,7 +788,7 @@ extern "C" {
|
||||
instance_count: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
|
||||
@@ -322,7 +804,7 @@ extern "C" {
|
||||
first_index: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
|
||||
@@ -339,7 +821,7 @@ extern "C" {
|
||||
base_vertex: i32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
|
||||
@@ -357,7 +839,11 @@ extern "C" {
|
||||
first_instance: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "drawIndexedIndirect"
|
||||
)]
|
||||
#[doc = "The `drawIndexedIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
|
||||
@@ -372,7 +858,11 @@ extern "C" {
|
||||
indirect_offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "drawIndexedIndirect"
|
||||
)]
|
||||
#[doc = "The `drawIndexedIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
|
||||
@@ -387,7 +877,7 @@ extern "C" {
|
||||
indirect_offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndirect")]
|
||||
#[doc = "The `drawIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
|
||||
@@ -402,7 +892,7 @@ extern "C" {
|
||||
indirect_offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndirect")]
|
||||
#[doc = "The `drawIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
|
||||
@@ -417,7 +907,11 @@ extern "C" {
|
||||
indirect_offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -432,7 +926,11 @@ extern "C" {
|
||||
index_format: GpuIndexFormat,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -448,7 +946,11 @@ extern "C" {
|
||||
offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -464,7 +966,11 @@ extern "C" {
|
||||
offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -481,7 +987,11 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -498,7 +1008,11 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -515,7 +1029,11 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setIndexBuffer"
|
||||
)]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
|
||||
@@ -532,7 +1050,7 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setPipeline)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "setPipeline")]
|
||||
#[doc = "The `setPipeline()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setPipeline)"]
|
||||
@@ -543,7 +1061,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_pipeline(this: &GpuRenderBundleEncoder, pipeline: &GpuRenderPipeline);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
@@ -554,7 +1076,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_vertex_buffer(this: &GpuRenderBundleEncoder, slot: u32, buffer: Option<&GpuBuffer>);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
@@ -570,7 +1096,11 @@ extern "C" {
|
||||
offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
@@ -586,7 +1116,11 @@ extern "C" {
|
||||
offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
@@ -603,7 +1137,11 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
@@ -620,7 +1158,11 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
@@ -637,7 +1179,11 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderBundleEncoder",
|
||||
js_name = "setVertexBuffer"
|
||||
)]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
|
||||
|
||||
+9
-6
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,10 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleEncoderDescriptor)]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPURenderBundleEncoderDescriptor"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderBundleEncoderDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
@@ -63,7 +66,7 @@ extern "C" {
|
||||
#[wasm_bindgen(method, getter = "colorFormats")]
|
||||
pub fn get_color_formats(
|
||||
this: &GpuRenderBundleEncoderDescriptor,
|
||||
) -> ::js_sys::Array<::js_sys::JsOption<::js_sys::JsString>>;
|
||||
) -> ::js_sys::Array<::js_sys::JsNullable<::js_sys::JsString>>;
|
||||
|
||||
#[doc = "Change the `colorFormats` field of this object."]
|
||||
#[doc = ""]
|
||||
@@ -74,7 +77,7 @@ extern "C" {
|
||||
#[wasm_bindgen(method, setter = "colorFormats")]
|
||||
pub fn set_color_formats(
|
||||
this: &GpuRenderBundleEncoderDescriptor,
|
||||
val: &[::js_sys::JsOption<::js_sys::JsString>],
|
||||
val: &[::js_sys::JsNullable<::js_sys::JsString>],
|
||||
);
|
||||
|
||||
#[doc = "Get the `depthStencilFormat` field of this object."]
|
||||
@@ -159,7 +162,7 @@ impl GpuRenderBundleEncoderDescriptor {
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn new(color_formats: &[::js_sys::JsOption<::js_sys::JsString>]) -> Self {
|
||||
pub fn new(color_formats: &[::js_sys::JsNullable<::js_sys::JsString>]) -> Self {
|
||||
#[allow(unused_mut)]
|
||||
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
|
||||
ret.set_color_formats(color_formats);
|
||||
@@ -173,7 +176,7 @@ impl GpuRenderBundleEncoderDescriptor {
|
||||
}
|
||||
|
||||
#[deprecated = "Use `set_color_formats()` instead."]
|
||||
pub fn color_formats(&mut self, val: &[::js_sys::JsOption<::js_sys::JsString>]) -> &mut Self {
|
||||
pub fn color_formats(&mut self, val: &[::js_sys::JsNullable<::js_sys::JsString>]) -> &mut Self {
|
||||
self.set_color_formats(val);
|
||||
self
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassColorAttachment)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPURenderPassColorAttachment")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPassColorAttachment` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+5
-2
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,10 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassDepthStencilAttachment)]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPURenderPassDepthStencilAttachment"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPassDepthStencilAttachment` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPURenderPassDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPassDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
@@ -63,7 +63,7 @@ extern "C" {
|
||||
#[wasm_bindgen(method, getter = "colorAttachments")]
|
||||
pub fn get_color_attachments(
|
||||
this: &GpuRenderPassDescriptor,
|
||||
) -> ::js_sys::Array<::js_sys::JsOption<GpuRenderPassColorAttachment>>;
|
||||
) -> ::js_sys::Array<::js_sys::JsNullable<GpuRenderPassColorAttachment>>;
|
||||
|
||||
#[doc = "Change the `colorAttachments` field of this object."]
|
||||
#[doc = ""]
|
||||
@@ -74,7 +74,7 @@ extern "C" {
|
||||
#[wasm_bindgen(method, setter = "colorAttachments")]
|
||||
pub fn set_color_attachments(
|
||||
this: &GpuRenderPassDescriptor,
|
||||
val: &[::js_sys::JsOption<GpuRenderPassColorAttachment>],
|
||||
val: &[::js_sys::JsNullable<GpuRenderPassColorAttachment>],
|
||||
);
|
||||
|
||||
#[doc = "Get the `depthStencilAttachment` field of this object."]
|
||||
@@ -173,7 +173,7 @@ impl GpuRenderPassDescriptor {
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn new(color_attachments: &[::js_sys::JsOption<GpuRenderPassColorAttachment>]) -> Self {
|
||||
pub fn new(color_attachments: &[::js_sys::JsNullable<GpuRenderPassColorAttachment>]) -> Self {
|
||||
#[allow(unused_mut)]
|
||||
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
|
||||
ret.set_color_attachments(color_attachments);
|
||||
@@ -189,7 +189,7 @@ impl GpuRenderPassDescriptor {
|
||||
#[deprecated = "Use `set_color_attachments()` instead."]
|
||||
pub fn color_attachments(
|
||||
&mut self,
|
||||
val: &[::js_sys::JsOption<GpuRenderPassColorAttachment>],
|
||||
val: &[::js_sys::JsNullable<GpuRenderPassColorAttachment>],
|
||||
) -> &mut Self {
|
||||
self.set_color_attachments(val);
|
||||
self
|
||||
|
||||
+558
-50
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassEncoder , typescript_type = "GPURenderPassEncoder")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPURenderPassEncoder",
|
||||
typescript_type = "GPURenderPassEncoder"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPassEncoder` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuRenderPassEncoder;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPURenderPassEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPURenderPassEncoder", 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/GPURenderPassEncoder/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuRenderPassEncoder) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPURenderPassEncoder" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPURenderPassEncoder", 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/GPURenderPassEncoder/label)"]
|
||||
@@ -60,7 +64,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuRenderPassEncoder, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = beginOcclusionQuery)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "beginOcclusionQuery"
|
||||
)]
|
||||
#[doc = "The `beginOcclusionQuery()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery)"]
|
||||
@@ -71,7 +79,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn begin_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = end)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder")]
|
||||
#[doc = "The `end()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/end)"]
|
||||
@@ -82,7 +90,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn end(this: &GpuRenderPassEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = endOcclusionQuery)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "endOcclusionQuery"
|
||||
)]
|
||||
#[doc = "The `endOcclusionQuery()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery)"]
|
||||
@@ -93,7 +105,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn end_occlusion_query(this: &GpuRenderPassEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = executeBundles)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "executeBundles")]
|
||||
#[doc = "The `executeBundles()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/executeBundles)"]
|
||||
@@ -104,7 +116,12 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn execute_bundles(this: &GpuRenderPassEncoder, bundles: &[GpuRenderBundle]);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendConstant)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setBlendConstant"
|
||||
)]
|
||||
#[doc = "The `setBlendConstant()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendConstant)"]
|
||||
@@ -118,7 +135,12 @@ extern "C" {
|
||||
color: &[::js_sys::Number],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendConstant)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setBlendConstant"
|
||||
)]
|
||||
#[doc = "The `setBlendConstant()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendConstant)"]
|
||||
@@ -132,7 +154,7 @@ extern "C" {
|
||||
color: &GpuColorDict,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setScissorRect)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setScissorRect")]
|
||||
#[doc = "The `setScissorRect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setScissorRect)"]
|
||||
@@ -143,7 +165,11 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_scissor_rect(this: &GpuRenderPassEncoder, x: u32, y: u32, width: u32, height: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setStencilReference)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setStencilReference"
|
||||
)]
|
||||
#[doc = "The `setStencilReference()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setStencilReference)"]
|
||||
@@ -154,7 +180,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_stencil_reference(this: &GpuRenderPassEncoder, reference: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setViewport)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setViewport")]
|
||||
#[doc = "The `setViewport()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setViewport)"]
|
||||
@@ -173,7 +199,7 @@ extern "C" {
|
||||
max_depth: f32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setBindGroup")]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
|
||||
@@ -188,7 +214,7 @@ extern "C" {
|
||||
bind_group: Option<&GpuBindGroup>,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setBindGroup")]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
|
||||
@@ -204,7 +230,12 @@ extern "C" {
|
||||
dynamic_offsets: &[::js_sys::Number],
|
||||
);
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
|
||||
@@ -222,7 +253,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
|
||||
@@ -240,7 +276,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
|
||||
@@ -258,7 +299,12 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setBindGroup"
|
||||
)]
|
||||
#[doc = "The `setBindGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
|
||||
@@ -276,7 +322,461 @@ extern "C" {
|
||||
dynamic_offsets_data_length: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = insertDebugMarker)]
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64_and_u32(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
data_size: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_u32_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_u32_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_u32_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: u32,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_buffer_source_and_f64_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Object,
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_slice_and_f64_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &mut [u8],
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
catch,
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "setImmediates"
|
||||
)]
|
||||
#[doc = "The `setImmediates()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setImmediates)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
|
||||
#[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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_immediates_with_u8_array_and_f64_and_f64(
|
||||
this: &GpuRenderPassEncoder,
|
||||
range_offset: u32,
|
||||
data: &::js_sys::Uint8Array,
|
||||
data_offset: f64,
|
||||
data_size: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "insertDebugMarker"
|
||||
)]
|
||||
#[doc = "The `insertDebugMarker()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/insertDebugMarker)"]
|
||||
@@ -287,7 +787,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn insert_debug_marker(this: &GpuRenderPassEncoder, marker_label: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = popDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "popDebugGroup")]
|
||||
#[doc = "The `popDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/popDebugGroup)"]
|
||||
@@ -298,7 +798,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn pop_debug_group(this: &GpuRenderPassEncoder);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = pushDebugGroup)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "pushDebugGroup")]
|
||||
#[doc = "The `pushDebugGroup()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/pushDebugGroup)"]
|
||||
@@ -309,7 +809,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn push_debug_group(this: &GpuRenderPassEncoder, group_label: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
|
||||
@@ -320,7 +820,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn draw(this: &GpuRenderPassEncoder, vertex_count: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "draw")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
|
||||
@@ -335,7 +835,7 @@ extern "C" {
|
||||
instance_count: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "draw")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
|
||||
@@ -351,7 +851,7 @@ extern "C" {
|
||||
first_vertex: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "draw")]
|
||||
#[doc = "The `draw()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
|
||||
@@ -368,7 +868,7 @@ extern "C" {
|
||||
first_instance: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
|
||||
@@ -379,7 +879,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn draw_indexed(this: &GpuRenderPassEncoder, index_count: u32);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
|
||||
@@ -394,7 +894,7 @@ extern "C" {
|
||||
instance_count: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
|
||||
@@ -410,7 +910,7 @@ extern "C" {
|
||||
first_index: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
|
||||
@@ -427,7 +927,7 @@ extern "C" {
|
||||
base_vertex: i32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndexed")]
|
||||
#[doc = "The `drawIndexed()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
|
||||
@@ -445,7 +945,11 @@ extern "C" {
|
||||
first_instance: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "drawIndexedIndirect"
|
||||
)]
|
||||
#[doc = "The `drawIndexedIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"]
|
||||
@@ -460,7 +964,11 @@ extern "C" {
|
||||
indirect_offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect)]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
js_class = "GPURenderPassEncoder",
|
||||
js_name = "drawIndexedIndirect"
|
||||
)]
|
||||
#[doc = "The `drawIndexedIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"]
|
||||
@@ -475,7 +983,7 @@ extern "C" {
|
||||
indirect_offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndirect")]
|
||||
#[doc = "The `drawIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"]
|
||||
@@ -490,7 +998,7 @@ extern "C" {
|
||||
indirect_offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "drawIndirect")]
|
||||
#[doc = "The `drawIndirect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"]
|
||||
@@ -505,7 +1013,7 @@ extern "C" {
|
||||
indirect_offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -520,7 +1028,7 @@ extern "C" {
|
||||
index_format: GpuIndexFormat,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -536,7 +1044,7 @@ extern "C" {
|
||||
offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -552,7 +1060,7 @@ extern "C" {
|
||||
offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -569,7 +1077,7 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -586,7 +1094,7 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -603,7 +1111,7 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setIndexBuffer")]
|
||||
#[doc = "The `setIndexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
|
||||
@@ -620,7 +1128,7 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setPipeline)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setPipeline")]
|
||||
#[doc = "The `setPipeline()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setPipeline)"]
|
||||
@@ -631,7 +1139,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_pipeline(this: &GpuRenderPassEncoder, pipeline: &GpuRenderPipeline);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
@@ -642,7 +1150,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_vertex_buffer(this: &GpuRenderPassEncoder, slot: u32, buffer: Option<&GpuBuffer>);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
@@ -658,7 +1166,7 @@ extern "C" {
|
||||
offset: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
@@ -674,7 +1182,7 @@ extern "C" {
|
||||
offset: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
@@ -691,7 +1199,7 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
@@ -708,7 +1216,7 @@ extern "C" {
|
||||
size: u32,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
@@ -725,7 +1233,7 @@ extern "C" {
|
||||
size: f64,
|
||||
);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPassEncoder", js_name = "setVertexBuffer")]
|
||||
#[doc = "The `setVertexBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassTimestampWrites)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPURenderPassTimestampWrites")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPassTimestampWrites` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+9
-5
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPipeline , typescript_type = "GPURenderPipeline")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPURenderPipeline",
|
||||
typescript_type = "GPURenderPipeline"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPipeline` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuRenderPipeline;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPURenderPipeline" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPURenderPipeline", 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/GPURenderPipeline/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuRenderPipeline) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPURenderPipeline" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPURenderPipeline", 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/GPURenderPipeline/label)"]
|
||||
@@ -60,7 +64,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn set_label(this: &GpuRenderPipeline, value: &str);
|
||||
|
||||
# [wasm_bindgen (method , structural , js_class = "GPURenderPipeline" , js_name = getBindGroupLayout)]
|
||||
#[wasm_bindgen(method, js_class = "GPURenderPipeline", js_name = "getBindGroupLayout")]
|
||||
#[doc = "The `getBindGroupLayout()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPipeline/getBindGroupLayout)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPipelineDescriptor)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPURenderPipelineDescriptor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRenderPipelineDescriptor` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURequestAdapterOptions)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPURequestAdapterOptions")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuRequestAdapterOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
+8
-4
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,11 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSampler , typescript_type = "GPUSampler")]
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "GPUSampler",
|
||||
typescript_type = "GPUSampler"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuSampler` class."]
|
||||
#[doc = ""]
|
||||
@@ -38,7 +42,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub type GpuSampler;
|
||||
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GPUSampler" , js_name = label)]
|
||||
#[wasm_bindgen(method, getter, js_class = "GPUSampler", 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/GPUSampler/label)"]
|
||||
@@ -49,7 +53,7 @@ extern "C" {
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn label(this: &GpuSampler) -> ::alloc::string::String;
|
||||
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "GPUSampler" , js_name = label)]
|
||||
#[wasm_bindgen(method, setter, js_class = "GPUSampler", 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/GPUSampler/label)"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
@@ -26,7 +26,7 @@ use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSamplerBindingLayout)]
|
||||
#[wasm_bindgen(extends = "::js_sys::Object", js_name = "GPUSamplerBindingLayout")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GpuSamplerBindingLayout` dictionary."]
|
||||
#[doc = ""]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// If you want to improve the generated code, please submit a PR to the https://github.com/wasm-bindgen/wasm-bindgen repository.
|
||||
//
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.115` command.
|
||||
// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.127` command.
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
Loaded 100 of 135 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user