26 releases (11 breaking)

0.28.1 Jul 5, 2024
0.27.2 Apr 2, 2024
0.27.1 Mar 29, 2024
0.24.1 Nov 30, 2023
0.0.1-alpha.1 Jul 28, 2021

#699 in GUI

Download history 11356/week @ 2024-04-04 16404/week @ 2024-04-11 14071/week @ 2024-04-18 12923/week @ 2024-04-25 12748/week @ 2024-05-02 10317/week @ 2024-05-09 11950/week @ 2024-05-16 11527/week @ 2024-05-23 12185/week @ 2024-05-30 11625/week @ 2024-06-06 12113/week @ 2024-06-13 10403/week @ 2024-06-20 11933/week @ 2024-06-27 15914/week @ 2024-07-04 16894/week @ 2024-07-11 13789/week @ 2024-07-18

60,100 downloads per month
Used in 76 crates (20 directly)

MIT/Apache

2.5MB
36K 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 setting WgpuConfiguration::supported_backends. The default is to prefer WebGPU and fall back on WebGL.

Feature flags

Dependencies

~12–48MB
~805K SLoC