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

#758 in GUI

Download history 2602/week @ 2024-01-26 4137/week @ 2024-02-02 6829/week @ 2024-02-09 7644/week @ 2024-02-16 8456/week @ 2024-02-23 10518/week @ 2024-03-01 13010/week @ 2024-03-08 10022/week @ 2024-03-15 14122/week @ 2024-03-22 12276/week @ 2024-03-29 11720/week @ 2024-04-05 16165/week @ 2024-04-12 14557/week @ 2024-04-19 12731/week @ 2024-04-26 11894/week @ 2024-05-03 8705/week @ 2024-05-10

50,024 downloads per month
Used in 70 crates (22 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–53MB
~840K SLoC