#egui #wgpu #back-end

egui-wgpu

Bindings for using egui natively using the wgpu library

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

#1335 in GUI

Download history 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 54564/week @ 2025-03-05 65273/week @ 2025-03-12 58741/week @ 2025-03-19 56956/week @ 2025-03-26 51674/week @ 2025-04-02 53093/week @ 2025-04-09 43225/week @ 2025-04-16 44182/week @ 2025-04-23

201,674 downloads per month
Used in 250 crates (30 directly)

MIT/Apache

2MB
40K SLoC

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


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

Dependencies

~15–51MB
~829K SLoC