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

#74 in Game dev

Download history 22160/week @ 2024-10-28 23846/week @ 2024-11-04 21651/week @ 2024-11-11 27735/week @ 2024-11-18 28228/week @ 2024-11-25 25353/week @ 2024-12-02 25015/week @ 2024-12-09 29712/week @ 2024-12-16 16591/week @ 2024-12-23 20458/week @ 2024-12-30 29911/week @ 2025-01-06 30281/week @ 2025-01-13 28598/week @ 2025-01-20 31487/week @ 2025-01-27 36879/week @ 2025-02-03 25428/week @ 2025-02-10

125,919 downloads per month
Used in 208 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
~815K SLoC