30 releases (14 breaking)

0.31.0 Feb 4, 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

#76 in Game dev

Download history 22614/week @ 2024-10-24 24163/week @ 2024-10-31 21646/week @ 2024-11-07 24900/week @ 2024-11-14 26108/week @ 2024-11-21 27948/week @ 2024-11-28 25393/week @ 2024-12-05 27929/week @ 2024-12-12 21518/week @ 2024-12-19 17115/week @ 2024-12-26 27976/week @ 2025-01-02 28136/week @ 2025-01-09 30267/week @ 2025-01-16 30981/week @ 2025-01-23 34273/week @ 2025-01-30 30728/week @ 2025-02-06

131,929 downloads per month
Used in 205 crates (29 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
~813K SLoC