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

#75 in Game dev

Download history 18447/week @ 2024-09-27 18893/week @ 2024-10-04 23319/week @ 2024-10-11 20534/week @ 2024-10-18 22751/week @ 2024-10-25 24368/week @ 2024-11-01 21852/week @ 2024-11-08 26427/week @ 2024-11-15 25932/week @ 2024-11-22 27066/week @ 2024-11-29 24666/week @ 2024-12-06 28776/week @ 2024-12-13 19308/week @ 2024-12-20 17951/week @ 2024-12-27 29546/week @ 2025-01-03 23416/week @ 2025-01-10

94,566 downloads per month
Used in 193 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

~14–49MB
~800K SLoC