29 releases (13 breaking)

0.30.0 Dec 16, 2024
0.29.1 Oct 1, 2024
0.29.0 Sep 26, 2024
0.28.1 Jul 5, 2024
0.0.1-alpha.1 Jul 28, 2021

#73 in Game dev

Download history 16563/week @ 2024-09-22 17402/week @ 2024-09-29 18783/week @ 2024-10-06 24824/week @ 2024-10-13 20950/week @ 2024-10-20 23101/week @ 2024-10-27 23958/week @ 2024-11-03 21301/week @ 2024-11-10 27615/week @ 2024-11-17 27682/week @ 2024-11-24 24997/week @ 2024-12-01 25537/week @ 2024-12-08 29623/week @ 2024-12-15 16452/week @ 2024-12-22 19913/week @ 2024-12-29 26700/week @ 2025-01-05

96,224 downloads per month
Used in 190 crates (28 directly)

MIT/Apache

2MB
39K 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

~13–48MB
~794K SLoC