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
96,224 downloads per month
Used in 190 crates
(28 directly)
2MB
39K
SLoC
egui-wgpu
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