Skip to main content

mln_gfx/
backend.rs

1// The backends the port builds, which a host picks a device of. The
2// renderer reads what it needs of one from its `Gpu`'s `Caps`.
3
4#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
5#[repr(u8)]
6pub enum Type {
7    OpenGL,
8    Metal,
9    Vulkan,
10    WebGPU,
11    D3D12,
12}