1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00
Files
egui/examples/custom_3d_glow
Emil Ernerfeldt 27559ef3fd Rename Panel methods (#8192)
The three methods for showing a `Panel` are now:

* `panel.show`: always show the panel.
* `panel.show_collapsible`: show or hide the panel, with a slide
animation in between.
* `Panel::show_switched`: animate between two different panels: a
thin/collapsed one and a thick/expanded one.
2026-05-24 12:22:32 +02:00
..
2026-05-24 12:22:32 +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 are content of having egui sit on top of a 3D background, take a look at:

cargo run -p custom_3d_glow