| Crates.io | simple-wgpu |
| lib.rs | simple-wgpu |
| version | 0.3.0 |
| created_at | 2023-04-10 09:45:39.774156+00 |
| updated_at | 2025-02-21 21:12:37.436373+00 |
| description | Ergonomic wrapper around wgpu-rs |
| homepage | https://github.com/swiftcoder/simple-wgpu |
| repository | https://github.com/swiftcoder/simple-wgpu |
| max_upload_size | |
| id | 834978 |
| size | 158,973 |
An opinionated wrapper around wgpu-rs, that aims to improve the API ergonomics.
I'm a big fan of the write-once-cross-compile-anywhere promise underlying WebGPU, but I'm less of a fan of the API itself. The WebGPU API is modelled on an earlier, pipeline-centric vision of the Vulkan API, and has inherited a degree of verbosity/inflexibility as a result. This library aims to recapture some of the simplicity of writing code for OpenGL - ideally without giving up the safety and stability guarantees of wgpu-rs.
Me, mostly, but if you find it useful, feel free.
I've put this under the Apache license, but if you need a more permissive license, feel free to get in touch.