web_sys/features/
gen_GpuVertexFormat.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use wasm_bindgen::prelude::*;
4#[cfg(web_sys_unstable_apis)]
5#[wasm_bindgen]
6#[doc = "The `GpuVertexFormat` enum."]
7#[doc = ""]
8#[doc = "*This API requires the following crate features to be activated: `GpuVertexFormat`*"]
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 GpuVertexFormat {
14 Uint8 = "uint8",
15 Uint8x2 = "uint8x2",
16 Uint8x4 = "uint8x4",
17 Sint8 = "sint8",
18 Sint8x2 = "sint8x2",
19 Sint8x4 = "sint8x4",
20 Unorm8 = "unorm8",
21 Unorm8x2 = "unorm8x2",
22 Unorm8x4 = "unorm8x4",
23 Snorm8 = "snorm8",
24 Snorm8x2 = "snorm8x2",
25 Snorm8x4 = "snorm8x4",
26 Uint16 = "uint16",
27 Uint16x2 = "uint16x2",
28 Uint16x4 = "uint16x4",
29 Sint16 = "sint16",
30 Sint16x2 = "sint16x2",
31 Sint16x4 = "sint16x4",
32 Unorm16 = "unorm16",
33 Unorm16x2 = "unorm16x2",
34 Unorm16x4 = "unorm16x4",
35 Snorm16 = "snorm16",
36 Snorm16x2 = "snorm16x2",
37 Snorm16x4 = "snorm16x4",
38 Float16 = "float16",
39 Float16x2 = "float16x2",
40 Float16x4 = "float16x4",
41 Float32 = "float32",
42 Float32x2 = "float32x2",
43 Float32x3 = "float32x3",
44 Float32x4 = "float32x4",
45 Uint32 = "uint32",
46 Uint32x2 = "uint32x2",
47 Uint32x3 = "uint32x3",
48 Uint32x4 = "uint32x4",
49 Sint32 = "sint32",
50 Sint32x2 = "sint32x2",
51 Sint32x3 = "sint32x3",
52 Sint32x4 = "sint32x4",
53 Unorm1010102 = "unorm10-10-10-2",
54 Unorm8x4Bgra = "unorm8x4-bgra",
55}