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

#150 in Game dev

Download history 25932/week @ 2024-11-22 27066/week @ 2024-11-29 24666/week @ 2024-12-06 28776/week @ 2024-12-13 19308/week @ 2024-12-20 17951/week @ 2024-12-27 29546/week @ 2025-01-03 29378/week @ 2025-01-10 29056/week @ 2025-01-17 31704/week @ 2025-01-24 36377/week @ 2025-01-31 27979/week @ 2025-02-07 25631/week @ 2025-02-14 37540/week @ 2025-02-21 42352/week @ 2025-02-28 58380/week @ 2025-03-07

168,620 downloads per month
Used in 226 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–50MB
~821K SLoC