egui/examples/custom_3d_glow
Emil Ernerfeldt cb77458f70
eframe error handling (#2433)
* eframe::run_native: return errors instead of crashing

* Detect and handle glutin errors

* egui_demo_app: silence wgpu log spam

* Add trace logs for why eframe is shutting down

* Fix: only save App state once on Mac

* Handle Winit failure

* Log where we load app state from

* Don't panic on zero-sized window

* Clamp loaded window size to not be too tiny to see

* Simplify code: more shared code in window_builder

* Improve code readability

* Fix wasm32 build

* fix android

* Update changelog
2022-12-12 15:16:32 +01:00
..
src eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
Cargo.toml Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
README.md Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
screenshot.png Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01: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