31 releases (14 breaking)
0.31.1 | Mar 5, 2025 |
---|---|
0.30.0 | Dec 16, 2024 |
0.29.1 | Oct 1, 2024 |
0.28.1 | Jul 5, 2024 |
0.0.1-alpha.1 | Jul 28, 2021 |
#1584 in GUI
234,710 downloads per month
Used in 240 crates
(29 directly)
2MB
40K
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
~15–51MB
~828K SLoC