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
Zicklag 1d9524cc59 Re-implement PaintCallbacks With Support for WGPU (#1684)
* Re-implement PaintCallbacks With Support for WGPU

This makes breaking changes to the PaintCallback system, but makes it
flexible enough to support both the WGPU and glow backends with custom
rendering.

Also adds a WGPU equivalent to the glow demo for custom painting.
2022-05-28 17:52:36 +02:00
..
2022-05-12 09:02:28 +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