Enum wgpu_types::Backend
source · #[repr(u8)]
pub enum Backend {
Empty,
Vulkan,
Metal,
Dx12,
Dx11,
Gl,
BrowserWebGpu,
}
Expand description
Backends supported by wgpu.
Variants§
Empty
Dummy backend, used for testing.
Vulkan
Vulkan API
Metal
Metal API (Apple platforms)
Dx12
Direct3D-12 (Windows)
Dx11
Direct3D-11 (Windows)
Gl
OpenGL ES-3 (Linux, Android)
BrowserWebGpu
WebGPU in the browser
Trait Implementations§
source§impl<'de> Deserialize<'de> for Backend
impl<'de> Deserialize<'de> for Backend
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more