web_sys/features/
gen_gpu_texture_usage.rs

1#[cfg(web_sys_unstable_apis)]
2#[doc = ""]
3#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
4#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
5pub mod gpu_texture_usage {
6    #![allow(unused_imports)]
7    #![allow(clippy::all)]
8    use super::super::*;
9    use wasm_bindgen::prelude::*;
10    #[cfg(web_sys_unstable_apis)]
11    #[doc = "The `GPUTextureUsage.COPY_SRC` const."]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
14    #[doc = ""]
15    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
16    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
17    pub const COPY_SRC: u32 = 1u64 as u32;
18    #[cfg(web_sys_unstable_apis)]
19    #[doc = "The `GPUTextureUsage.COPY_DST` const."]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
22    #[doc = ""]
23    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
24    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
25    pub const COPY_DST: u32 = 2u64 as u32;
26    #[cfg(web_sys_unstable_apis)]
27    #[doc = "The `GPUTextureUsage.TEXTURE_BINDING` const."]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
30    #[doc = ""]
31    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
32    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
33    pub const TEXTURE_BINDING: u32 = 4u64 as u32;
34    #[cfg(web_sys_unstable_apis)]
35    #[doc = "The `GPUTextureUsage.STORAGE_BINDING` const."]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
38    #[doc = ""]
39    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
40    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
41    pub const STORAGE_BINDING: u32 = 8u64 as u32;
42    #[cfg(web_sys_unstable_apis)]
43    #[doc = "The `GPUTextureUsage.RENDER_ATTACHMENT` const."]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
46    #[doc = ""]
47    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
48    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
49    pub const RENDER_ATTACHMENT: u32 = 16u64 as u32;
50}