maxcountryman_web_sys/features/
gen_GpuTextureFormat.rs1#![allow(unused_imports)]
2use wasm_bindgen::prelude::*;
3#[cfg(web_sys_unstable_apis)]
4#[wasm_bindgen]
5#[doc = "The `GpuTextureFormat` enum."]
6#[doc = ""]
7#[doc = "*This API requires the following crate features to be activated: `GpuTextureFormat`*"]
8#[doc = ""]
9#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
10#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
11#[derive(Debug, Clone, Copy, PartialEq, Eq)]
12pub enum GpuTextureFormat {
13 R8unorm = "r8unorm",
14 R8snorm = "r8snorm",
15 R8uint = "r8uint",
16 R8sint = "r8sint",
17 R16uint = "r16uint",
18 R16sint = "r16sint",
19 R16float = "r16float",
20 Rg8unorm = "rg8unorm",
21 Rg8snorm = "rg8snorm",
22 Rg8uint = "rg8uint",
23 Rg8sint = "rg8sint",
24 R32uint = "r32uint",
25 R32sint = "r32sint",
26 R32float = "r32float",
27 Rg16uint = "rg16uint",
28 Rg16sint = "rg16sint",
29 Rg16float = "rg16float",
30 Rgba8unorm = "rgba8unorm",
31 Rgba8unormSrgb = "rgba8unorm-srgb",
32 Rgba8snorm = "rgba8snorm",
33 Rgba8uint = "rgba8uint",
34 Rgba8sint = "rgba8sint",
35 Bgra8unorm = "bgra8unorm",
36 Bgra8unormSrgb = "bgra8unorm-srgb",
37 Rgb9e5ufloat = "rgb9e5ufloat",
38 Rgb10a2unorm = "rgb10a2unorm",
39 Rg11b10ufloat = "rg11b10ufloat",
40 Rg32uint = "rg32uint",
41 Rg32sint = "rg32sint",
42 Rg32float = "rg32float",
43 Rgba16uint = "rgba16uint",
44 Rgba16sint = "rgba16sint",
45 Rgba16float = "rgba16float",
46 Rgba32uint = "rgba32uint",
47 Rgba32sint = "rgba32sint",
48 Rgba32float = "rgba32float",
49 Stencil8 = "stencil8",
50 Depth16unorm = "depth16unorm",
51 Depth24plus = "depth24plus",
52 Depth24plusStencil8 = "depth24plus-stencil8",
53 Depth32float = "depth32float",
54 Bc1RgbaUnorm = "bc1-rgba-unorm",
55 Bc1RgbaUnormSrgb = "bc1-rgba-unorm-srgb",
56 Bc2RgbaUnorm = "bc2-rgba-unorm",
57 Bc2RgbaUnormSrgb = "bc2-rgba-unorm-srgb",
58 Bc3RgbaUnorm = "bc3-rgba-unorm",
59 Bc3RgbaUnormSrgb = "bc3-rgba-unorm-srgb",
60 Bc4RUnorm = "bc4-r-unorm",
61 Bc4RSnorm = "bc4-r-snorm",
62 Bc5RgUnorm = "bc5-rg-unorm",
63 Bc5RgSnorm = "bc5-rg-snorm",
64 Bc6hRgbUfloat = "bc6h-rgb-ufloat",
65 Bc6hRgbFloat = "bc6h-rgb-float",
66 Bc7RgbaUnorm = "bc7-rgba-unorm",
67 Bc7RgbaUnormSrgb = "bc7-rgba-unorm-srgb",
68 Depth24unormStencil8 = "depth24unorm-stencil8",
69 Depth32floatStencil8 = "depth32float-stencil8",
70}