egui/examples/custom_3d_glow
Emil Ernerfeldt 931e716b97
Add egui_wgpu crate (#1564)
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>
2022-05-12 09:02:28 +02:00
..
src Add egui_wgpu crate (#1564) 2022-05-12 09:02:28 +02:00
Cargo.toml Add egui_wgpu crate (#1564) 2022-05-12 09:02:28 +02:00
README.md Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00

This demo shows how to embed 3D rendering using glow in eframe.

This is very advanced usage, and you need to be careful.

If you want an easier way to show 3D graphics with egui, take a look at the custom_3d_three-d.rs example.

If you are content of having egui sit on top of a 3D background, take a look at:

cargo run -p custom_3d_glow