31 releases (14 breaking)

new 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

#148 in Game dev

Download history 24971/week @ 2024-11-20 29197/week @ 2024-11-27 25082/week @ 2024-12-04 27375/week @ 2024-12-11 24535/week @ 2024-12-18 16316/week @ 2024-12-25 25779/week @ 2025-01-01 27369/week @ 2025-01-08 30829/week @ 2025-01-15 30277/week @ 2025-01-22 33986/week @ 2025-01-29 33028/week @ 2025-02-05 24084/week @ 2025-02-12 35648/week @ 2025-02-19 37574/week @ 2025-02-26 44130/week @ 2025-03-05

145,255 downloads per month
Used in 224 crates (28 directly)

MIT/Apache

2MB
40K SLoC

egui-wgpu

Latest version Documentation MIT Apache

This crates provides bindings between egui and wgpu.

This was originally hosted at https://github.com/hasenbanck/egui_wgpu_backend


lib.rs:

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

Dependencies

~14–51MB
~832K SLoC