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://rustwasm.github.io/docs/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    R16uint = "r16uint",
19    R16sint = "r16sint",
20    R16float = "r16float",
21    Rg8unorm = "rg8unorm",
22    Rg8snorm = "rg8snorm",
23    Rg8uint = "rg8uint",
24    Rg8sint = "rg8sint",
25    R32uint = "r32uint",
26    R32sint = "r32sint",
27    R32float = "r32float",
28    Rg16uint = "rg16uint",
29    Rg16sint = "rg16sint",
30    Rg16float = "rg16float",
31    Rgba8unorm = "rgba8unorm",
32    Rgba8unormSrgb = "rgba8unorm-srgb",
33    Rgba8snorm = "rgba8snorm",
34    Rgba8uint = "rgba8uint",
35    Rgba8sint = "rgba8sint",
36    Bgra8unorm = "bgra8unorm",
37    Bgra8unormSrgb = "bgra8unorm-srgb",
38    Rgb9e5ufloat = "rgb9e5ufloat",
39    Rgb10a2uint = "rgb10a2uint",
40    Rgb10a2unorm = "rgb10a2unorm",
41    Rg11b10ufloat = "rg11b10ufloat",
42    Rg32uint = "rg32uint",
43    Rg32sint = "rg32sint",
44    Rg32float = "rg32float",
45    Rgba16uint = "rgba16uint",
46    Rgba16sint = "rgba16sint",
47    Rgba16float = "rgba16float",
48    Rgba32uint = "rgba32uint",
49    Rgba32sint = "rgba32sint",
50    Rgba32float = "rgba32float",
51    Stencil8 = "stencil8",
52    Depth16unorm = "depth16unorm",
53    Depth24plus = "depth24plus",
54    Depth24plusStencil8 = "depth24plus-stencil8",
55    Depth32float = "depth32float",
56    Depth32floatStencil8 = "depth32float-stencil8",
57    Bc1RgbaUnorm = "bc1-rgba-unorm",
58    Bc1RgbaUnormSrgb = "bc1-rgba-unorm-srgb",
59    Bc2RgbaUnorm = "bc2-rgba-unorm",
60    Bc2RgbaUnormSrgb = "bc2-rgba-unorm-srgb",
61    Bc3RgbaUnorm = "bc3-rgba-unorm",
62    Bc3RgbaUnormSrgb = "bc3-rgba-unorm-srgb",
63    Bc4RUnorm = "bc4-r-unorm",
64    Bc4RSnorm = "bc4-r-snorm",
65    Bc5RgUnorm = "bc5-rg-unorm",
66    Bc5RgSnorm = "bc5-rg-snorm",
67    Bc6hRgbUfloat = "bc6h-rgb-ufloat",
68    Bc6hRgbFloat = "bc6h-rgb-float",
69    Bc7RgbaUnorm = "bc7-rgba-unorm",
70    Bc7RgbaUnormSrgb = "bc7-rgba-unorm-srgb",
71    Etc2Rgb8unorm = "etc2-rgb8unorm",
72    Etc2Rgb8unormSrgb = "etc2-rgb8unorm-srgb",
73    Etc2Rgb8a1unorm = "etc2-rgb8a1unorm",
74    Etc2Rgb8a1unormSrgb = "etc2-rgb8a1unorm-srgb",
75    Etc2Rgba8unorm = "etc2-rgba8unorm",
76    Etc2Rgba8unormSrgb = "etc2-rgba8unorm-srgb",
77    EacR11unorm = "eac-r11unorm",
78    EacR11snorm = "eac-r11snorm",
79    EacRg11unorm = "eac-rg11unorm",
80    EacRg11snorm = "eac-rg11snorm",
81    Astc4x4Unorm = "astc-4x4-unorm",
82    Astc4x4UnormSrgb = "astc-4x4-unorm-srgb",
83    Astc5x4Unorm = "astc-5x4-unorm",
84    Astc5x4UnormSrgb = "astc-5x4-unorm-srgb",
85    Astc5x5Unorm = "astc-5x5-unorm",
86    Astc5x5UnormSrgb = "astc-5x5-unorm-srgb",
87    Astc6x5Unorm = "astc-6x5-unorm",
88    Astc6x5UnormSrgb = "astc-6x5-unorm-srgb",
89    Astc6x6Unorm = "astc-6x6-unorm",
90    Astc6x6UnormSrgb = "astc-6x6-unorm-srgb",
91    Astc8x5Unorm = "astc-8x5-unorm",
92    Astc8x5UnormSrgb = "astc-8x5-unorm-srgb",
93    Astc8x6Unorm = "astc-8x6-unorm",
94    Astc8x6UnormSrgb = "astc-8x6-unorm-srgb",
95    Astc8x8Unorm = "astc-8x8-unorm",
96    Astc8x8UnormSrgb = "astc-8x8-unorm-srgb",
97    Astc10x5Unorm = "astc-10x5-unorm",
98    Astc10x5UnormSrgb = "astc-10x5-unorm-srgb",
99    Astc10x6Unorm = "astc-10x6-unorm",
100    Astc10x6UnormSrgb = "astc-10x6-unorm-srgb",
101    Astc10x8Unorm = "astc-10x8-unorm",
102    Astc10x8UnormSrgb = "astc-10x8-unorm-srgb",
103    Astc10x10Unorm = "astc-10x10-unorm",
104    Astc10x10UnormSrgb = "astc-10x10-unorm-srgb",
105    Astc12x10Unorm = "astc-12x10-unorm",
106    Astc12x10UnormSrgb = "astc-12x10-unorm-srgb",
107    Astc12x12Unorm = "astc-12x12-unorm",
108    Astc12x12UnormSrgb = "astc-12x12-unorm-srgb",
109}