1 #![allow(unused_imports)] 2 use wasm_bindgen::prelude::*; 3 #[cfg(web_sys_unstable_apis)] 4 #[wasm_bindgen] 5 #[doc = "The `GpuFeatureName` enum."] 6 #[doc = ""] 7 #[doc = "*This API requires the following crate features to be activated: `GpuFeatureName`*"] 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)] 12 pub enum GpuFeatureName { 13 DepthClamping = "depth-clamping", 14 Depth24unormStencil8 = "depth24unorm-stencil8", 15 Depth32floatStencil8 = "depth32float-stencil8", 16 PipelineStatisticsQuery = "pipeline-statistics-query", 17 TextureCompressionBc = "texture-compression-bc", 18 TimestampQuery = "timestamp-query", 19 } 20