diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
commit | 9835e2ae736235810b4ea1c162ca5e65c547e770 (patch) | |
tree | 3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_WebglDrawBuffers.rs | |
parent | Releasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff) | |
download | rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip |
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_WebglDrawBuffers.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_WebglDrawBuffers.rs | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs b/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs new file mode 100644 index 000000000..a12d67b52 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs @@ -0,0 +1,159 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_draw_buffers , typescript_type = "WEBGL_draw_buffers")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebglDrawBuffers` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub type WebglDrawBuffers; + # [wasm_bindgen (method , structural , js_class = "WEBGL_draw_buffers" , js_name = drawBuffersWEBGL)] + #[doc = "The `drawBuffersWEBGL()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub fn draw_buffers_webgl(this: &WebglDrawBuffers, buffers: &::wasm_bindgen::JsValue); +} +impl WebglDrawBuffers { + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT0_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT0_WEBGL: u32 = 36064u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT1_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT1_WEBGL: u32 = 36065u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT2_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT2_WEBGL: u32 = 36066u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT3_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT3_WEBGL: u32 = 36067u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT4_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT4_WEBGL: u32 = 36068u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT5_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT5_WEBGL: u32 = 36069u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT6_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT6_WEBGL: u32 = 36070u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT7_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT7_WEBGL: u32 = 36071u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT8_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT8_WEBGL: u32 = 36072u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT9_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT9_WEBGL: u32 = 36073u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT10_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT10_WEBGL: u32 = 36074u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT11_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT11_WEBGL: u32 = 36075u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT12_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT12_WEBGL: u32 = 36076u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT13_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT13_WEBGL: u32 = 36077u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT14_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT14_WEBGL: u32 = 36078u64 as u32; + #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT15_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const COLOR_ATTACHMENT15_WEBGL: u32 = 36079u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER0_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER0_WEBGL: u32 = 34853u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER1_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER1_WEBGL: u32 = 34854u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER2_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER2_WEBGL: u32 = 34855u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER3_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER3_WEBGL: u32 = 34856u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER4_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER4_WEBGL: u32 = 34857u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER5_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER5_WEBGL: u32 = 34858u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER6_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER6_WEBGL: u32 = 34859u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER7_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER7_WEBGL: u32 = 34860u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER8_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER8_WEBGL: u32 = 34861u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER9_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER9_WEBGL: u32 = 34862u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER10_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER10_WEBGL: u32 = 34863u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER11_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER11_WEBGL: u32 = 34864u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER12_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER12_WEBGL: u32 = 34865u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER13_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER13_WEBGL: u32 = 34866u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER14_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER14_WEBGL: u32 = 34867u64 as u32; + #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER15_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const DRAW_BUFFER15_WEBGL: u32 = 34868u64 as u32; + #[doc = "The `WEBGL_draw_buffers.MAX_COLOR_ATTACHMENTS_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const MAX_COLOR_ATTACHMENTS_WEBGL: u32 = 36063u64 as u32; + #[doc = "The `WEBGL_draw_buffers.MAX_DRAW_BUFFERS_WEBGL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] + pub const MAX_DRAW_BUFFERS_WEBGL: u32 = 34852u64 as u32; +} |