egui/examples/custom_3d_three-d
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
..
src Re-implement PaintCallbacks With Support for WGPU (#1684) 2022-05-28 17:52:36 +02:00
Cargo.toml Move three-d patch into example Cargo.tom 2022-05-22 18:14:00 +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 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