Based on https://github.com/hasenbanck/egui_wgpu_backend `egui-wgpu` is now an official backend for `eframe` (opt-in). Use the `wgpu` feature flag on `eframe` and the `NativeOptions::renderer` settings to pick it. Co-authored-by: Nils Hasenbanck <nils@hasenbanck.de> Co-authored-by: Sven Niederberger <niederberger@embotech.com> Co-authored-by: Sven Niederberger <73159570+s-nie@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
README.md
This demo shows how to embed 3D rendering using three-d in eframe.
Any 3D library built on top of glow can be used in eframe.
Alternatively you can render 3D stuff to a texture and display it using [egui::Ui::image].
If you are content of having egui sit on top of a 3D background, take a look at:
cargo run -p custom_3d_three-d