4 ms·
Missing from the graphics API list is WebGPU - which is not really just for the web. I've not used Metal, but from what I've heard, the API resembles Metal a go
by pta2002 2y ago
Missing from the graphics API list is WebGPU - which is not really just for the web. I've not used Metal, but from what I've heard, the API resembles Metal a good bit, which is a good thing since it's supposedly the nicest of the low-level graphics APIs (and having used both Vulkan and WebGPU, I definitely agree WebGPU has a way nicer API). The libraries backing WebGPU implementations in the browser can be used standalone (Dawn[1] is written in C++ and wgpu[2] in Rust), which means that they can be used on an otherwise native application that would have used some native graphics API.
[1]: https://dawn.googlesource.com/dawn/+/refs/heads/main/README.md https://dawn.googlesource.com/dawn/+/refs/heads/main/README....
[2]: https://wgpu.rs/ https://wgpu.rs/