Enum BackendType

Represents the graphics backends that wgpu can use.

enum BackendType : __C.WGPUBackendType { ... }

Enum members

NameDescription
_null
d3d11
d3d12
metal
openGL
openGLES
primary All the graphics APIs that for which wgpu offers first tier support.

Vulkan, Metal, DirectX 12, and Browser WebGPU

secondary All the graphics APIs that for which wgpu offers second tier support.

That is, OpenGL and DirectX 11. These may be unsupported or are still experimental.

undefined
vulkan
webGPU

See Also

wgpu::Backends