web_sys/features/
gen_GpuFeatureName.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use wasm_bindgen::prelude::*;
4#[cfg(web_sys_unstable_apis)]
5#[wasm_bindgen]
6#[doc = "The `GpuFeatureName` enum."]
7#[doc = ""]
8#[doc = "*This API requires the following crate features to be activated: `GpuFeatureName`*"]
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 GpuFeatureName {
14 DepthClipControl = "depth-clip-control",
15 Depth32floatStencil8 = "depth32float-stencil8",
16 TextureCompressionBc = "texture-compression-bc",
17 TextureCompressionBcSliced3d = "texture-compression-bc-sliced-3d",
18 TextureCompressionEtc2 = "texture-compression-etc2",
19 TextureCompressionAstc = "texture-compression-astc",
20 TextureCompressionAstcSliced3d = "texture-compression-astc-sliced-3d",
21 TimestampQuery = "timestamp-query",
22 IndirectFirstInstance = "indirect-first-instance",
23 ShaderF16 = "shader-f16",
24 Rg11b10ufloatRenderable = "rg11b10ufloat-renderable",
25 Bgra8unormStorage = "bgra8unorm-storage",
26 Float32Filterable = "float32-filterable",
27 Float32Blendable = "float32-blendable",
28 ClipDistances = "clip-distances",
29 DualSourceBlending = "dual-source-blending",
30}