egui/examples
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
..
confirm_exit Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00
custom_3d_glow Re-implement PaintCallbacks With Support for WGPU (#1684) 2022-05-28 17:52:36 +02:00
custom_3d_three-d Re-implement PaintCallbacks With Support for WGPU (#1684) 2022-05-28 17:52:36 +02:00
custom_font Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00
custom_font_style Pass clip rectangle to PaintCallback 2022-04-15 10:31:33 +02:00
custom_window_frame App::clear_color: give egui::Visuals as argument 2022-04-30 15:41:43 +02:00
download_image Add Ui::spinner shortcut method (#1494) 2022-04-15 07:39:08 +02:00
file_dialog Simplify file_dialog example 2022-04-30 15:49:22 +02:00
hello_world example hello_world: remove frame.set_window_size 2022-04-30 15:47:55 +02:00
puffin_profiler Add opt-in support for the 'puffin' profiler in eframe (#1483) 2022-04-13 11:06:13 +02:00
retained_image Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00
svg Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00
README.md Move examples out of eframe/examples into examples/ (#1486) 2022-04-13 16:13:24 +02:00

egui and eframe examples

All the examples in this folder uses eframe to set up a window for egui. Some examples are specific to eframe, but many are applicable to any egui integration.

There are a lot more examples at https://www.egui.rs, and it has links to the source code of each example.

Also check out the official docs at https://docs.rs/egui and https://docs.rs/eframe.