#egui #winit #platform

egui_winit_platform

Platform code to use egui with winit

17 breaking releases

0.18.0 Feb 14, 2023
0.16.0 Aug 26, 2022
0.15.0 Jul 3, 2022
0.14.0 Mar 9, 2022
0.2.0 Nov 13, 2020

#191 in Operating systems

Download history 346/week @ 2022-12-04 659/week @ 2022-12-11 473/week @ 2022-12-18 372/week @ 2022-12-25 429/week @ 2023-01-01 672/week @ 2023-01-08 568/week @ 2023-01-15 433/week @ 2023-01-22 627/week @ 2023-01-29 497/week @ 2023-02-05 450/week @ 2023-02-12 769/week @ 2023-02-19 387/week @ 2023-02-26 931/week @ 2023-03-05 580/week @ 2023-03-12 665/week @ 2023-03-19

2,629 downloads per month
Used in 4 crates

MIT/Apache

26KB
463 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

~5–11MB
~205K SLoC