#egui #winit #platform #integration

egui_winit_platform

Platform code to use egui with winit

20 breaking releases

0.21.0 Mar 17, 2024
0.20.0 Oct 22, 2023
0.19.0 Jun 12, 2023
0.18.0 Feb 14, 2023
0.2.0 Nov 13, 2020

#481 in GUI

Download history 407/week @ 2024-01-01 435/week @ 2024-01-08 346/week @ 2024-01-15 339/week @ 2024-01-22 544/week @ 2024-01-29 355/week @ 2024-02-05 378/week @ 2024-02-12 560/week @ 2024-02-19 618/week @ 2024-02-26 348/week @ 2024-03-04 519/week @ 2024-03-11 507/week @ 2024-03-18 259/week @ 2024-03-25 547/week @ 2024-04-01 355/week @ 2024-04-08 545/week @ 2024-04-15

1,747 downloads per month
Used in 4 crates

MIT/Apache

27KB
430 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

~7–22MB
~301K SLoC