24 releases (10 breaking)

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

#260 in GUI

Download history 2667/week @ 2024-01-24 3233/week @ 2024-01-31 5647/week @ 2024-02-07 8280/week @ 2024-02-14 7432/week @ 2024-02-21 10783/week @ 2024-02-28 11097/week @ 2024-03-06 11468/week @ 2024-03-13 13120/week @ 2024-03-20 12919/week @ 2024-03-27 11514/week @ 2024-04-03 15252/week @ 2024-04-10 15047/week @ 2024-04-17 12816/week @ 2024-04-24 12707/week @ 2024-05-01 8458/week @ 2024-05-08

51,727 downloads per month
Used in 69 crates (21 directly)

MIT/Apache

2.5MB
34K 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–50MB
~821K SLoC