1 unstable release
Uses new Rust 2024
| 0.33.2 | Dec 19, 2025 |
|---|
#1129 in GUI
Used in radiance
2.5MB
44K
SLoC
This crates provides bindings between egui and wgpu.
If you're targeting WebGL you also need to turn on the
webgl feature of the wgpu crate:
# Enable both WebGL and WebGPU backends on web.
wgpu = { version = "*", features = ["webgpu", "webgl"] }
You can control whether WebGL or WebGPU will be picked at runtime by configuring
WgpuConfiguration::wgpu_setup.
The default is to prefer WebGPU and fall back on WebGL.
Feature flags
egui-wgpu
This crates provides bindings between egui and wgpu.
This was originally hosted at https://github.com/hasenbanck/egui_wgpu_backend
Dependencies
~6–28MB
~388K SLoC