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

#73 in Game dev

Download history 22881/week @ 2024-10-30 23512/week @ 2024-11-06 24026/week @ 2024-11-13 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 33079/week @ 2025-02-05 21120/week @ 2025-02-12

122,704 downloads per month
Used in 209 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–54MB
~826K SLoC