#egui #winit #platform

egui_winit_platform

Platform code to use egui with winit

9 breaking releases

0.10.0 Aug 27, 2021
0.9.0 Jun 25, 2021
0.8.0 Jun 5, 2021
0.5.0 Mar 16, 2021
0.2.0 Nov 13, 2020
Download history 775/week @ 2021-07-05 602/week @ 2021-07-12 613/week @ 2021-07-19 480/week @ 2021-07-26 528/week @ 2021-08-02 246/week @ 2021-08-09 202/week @ 2021-08-16 211/week @ 2021-08-23 713/week @ 2021-08-30 347/week @ 2021-09-06 460/week @ 2021-09-13 293/week @ 2021-09-20 444/week @ 2021-09-27 520/week @ 2021-10-04 313/week @ 2021-10-11 391/week @ 2021-10-18

1,472 downloads per month
Used in 5 crates

MIT/Apache

19KB
334 lines

egui_winit_platform

Latest version Documentation MIT Apache

Platform code to run egui using winit.

Example

We have created a simple example project to show you, how to use this crate.

License

egui_winit_platform is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT.


lib.rs:

A platform integration to use egui with winit.

You need to create a [Platform] and feed it with winit::event::Event events. Use begin_frame() and end_frame() to start drawing the egui UI. A basic usage example can be found here.

Dependencies

~4–6MB
~120K SLoC