Skip to main content

web_sys/features/
gen_GpuTextureFormat.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use wasm_bindgen::prelude::*;
4#[cfg(web_sys_unstable_apis)]
5#[wasm_bindgen]
6#[doc = "The `GpuTextureFormat` enum."]
7#[doc = ""]
8#[doc = "*This API requires the following crate features to be activated: `GpuTextureFormat`*"]
9#[doc = ""]
10#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
11#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
12#[derive(Debug, Clone, Copy, PartialEq, Eq)]
13pub enum GpuTextureFormat {
14    R8unorm = "r8unorm",
15    R8snorm = "r8snorm",
16    R8uint = "r8uint",
17    R8sint = "r8sint",
18    R16unorm = "r16unorm",
19    R16snorm = "r16snorm",
20    R16uint = "r16uint",
21    R16sint = "r16sint",
22    R16float = "r16float",
23    Rg8unorm = "rg8unorm",
24    Rg8snorm = "rg8snorm",
25    Rg8uint = "rg8uint",
26    Rg8sint = "rg8sint",
27    R32uint = "r32uint",
28    R32sint = "r32sint",
29    R32float = "r32float",
30    Rg16unorm = "rg16unorm",
31    Rg16snorm = "rg16snorm",
32    Rg16uint = "rg16uint",
33    Rg16sint = "rg16sint",
34    Rg16float = "rg16float",
35    Rgba8unorm = "rgba8unorm",
36    Rgba8unormSrgb = "rgba8unorm-srgb",
37    Rgba8snorm = "rgba8snorm",
38    Rgba8uint = "rgba8uint",
39    Rgba8sint = "rgba8sint",
40    Bgra8unorm = "bgra8unorm",
41    Bgra8unormSrgb = "bgra8unorm-srgb",
42    Rgb9e5ufloat = "rgb9e5ufloat",
43    Rgb10a2uint = "rgb10a2uint",
44    Rgb10a2unorm = "rgb10a2unorm",
45    Rg11b10ufloat = "rg11b10ufloat",
46    Rg32uint = "rg32uint",
47    Rg32sint = "rg32sint",
48    Rg32float = "rg32float",
49    Rgba16unorm = "rgba16unorm",
50    Rgba16snorm = "rgba16snorm",
51    Rgba16uint = "rgba16uint",
52    Rgba16sint = "rgba16sint",
53    Rgba16float = "rgba16float",
54    Rgba32uint = "rgba32uint",
55    Rgba32sint = "rgba32sint",
56    Rgba32float = "rgba32float",
57    Stencil8 = "stencil8",
58    Depth16unorm = "depth16unorm",
59    Depth24plus = "depth24plus",
60    Depth24plusStencil8 = "depth24plus-stencil8",
61    Depth32float = "depth32float",
62    Depth32floatStencil8 = "depth32float-stencil8",
63    Bc1RgbaUnorm = "bc1-rgba-unorm",
64    Bc1RgbaUnormSrgb = "bc1-rgba-unorm-srgb",
65    Bc2RgbaUnorm = "bc2-rgba-unorm",
66    Bc2RgbaUnormSrgb = "bc2-rgba-unorm-srgb",
67    Bc3RgbaUnorm = "bc3-rgba-unorm",
68    Bc3RgbaUnormSrgb = "bc3-rgba-unorm-srgb",
69    Bc4RUnorm = "bc4-r-unorm",
70    Bc4RSnorm = "bc4-r-snorm",
71    Bc5RgUnorm = "bc5-rg-unorm",
72    Bc5RgSnorm = "bc5-rg-snorm",
73    Bc6hRgbUfloat = "bc6h-rgb-ufloat",
74    Bc6hRgbFloat = "bc6h-rgb-float",
75    Bc7RgbaUnorm = "bc7-rgba-unorm",
76    Bc7RgbaUnormSrgb = "bc7-rgba-unorm-srgb",
77    Etc2Rgb8unorm = "etc2-rgb8unorm",
78    Etc2Rgb8unormSrgb = "etc2-rgb8unorm-srgb",
79    Etc2Rgb8a1unorm = "etc2-rgb8a1unorm",
80    Etc2Rgb8a1unormSrgb = "etc2-rgb8a1unorm-srgb",
81    Etc2Rgba8unorm = "etc2-rgba8unorm",
82    Etc2Rgba8unormSrgb = "etc2-rgba8unorm-srgb",
83    EacR11unorm = "eac-r11unorm",
84    EacR11snorm = "eac-r11snorm",
85    EacRg11unorm = "eac-rg11unorm",
86    EacRg11snorm = "eac-rg11snorm",
87    Astc4x4Unorm = "astc-4x4-unorm",
88    Astc4x4UnormSrgb = "astc-4x4-unorm-srgb",
89    Astc5x4Unorm = "astc-5x4-unorm",
90    Astc5x4UnormSrgb = "astc-5x4-unorm-srgb",
91    Astc5x5Unorm = "astc-5x5-unorm",
92    Astc5x5UnormSrgb = "astc-5x5-unorm-srgb",
93    Astc6x5Unorm = "astc-6x5-unorm",
94    Astc6x5UnormSrgb = "astc-6x5-unorm-srgb",
95    Astc6x6Unorm = "astc-6x6-unorm",
96    Astc6x6UnormSrgb = "astc-6x6-unorm-srgb",
97    Astc8x5Unorm = "astc-8x5-unorm",
98    Astc8x5UnormSrgb = "astc-8x5-unorm-srgb",
99    Astc8x6Unorm = "astc-8x6-unorm",
100    Astc8x6UnormSrgb = "astc-8x6-unorm-srgb",
101    Astc8x8Unorm = "astc-8x8-unorm",
102    Astc8x8UnormSrgb = "astc-8x8-unorm-srgb",
103    Astc10x5Unorm = "astc-10x5-unorm",
104    Astc10x5UnormSrgb = "astc-10x5-unorm-srgb",
105    Astc10x6Unorm = "astc-10x6-unorm",
106    Astc10x6UnormSrgb = "astc-10x6-unorm-srgb",
107    Astc10x8Unorm = "astc-10x8-unorm",
108    Astc10x8UnormSrgb = "astc-10x8-unorm-srgb",
109    Astc10x10Unorm = "astc-10x10-unorm",
110    Astc10x10UnormSrgb = "astc-10x10-unorm-srgb",
111    Astc12x10Unorm = "astc-12x10-unorm",
112    Astc12x10UnormSrgb = "astc-12x10-unorm-srgb",
113    Astc12x12Unorm = "astc-12x12-unorm",
114    Astc12x12UnormSrgb = "astc-12x12-unorm-srgb",
115}