#egui #winit #platform #integration

egui_winit_platform

Platform code to use egui with winit

22 breaking releases

0.23.0 Jul 17, 2024
0.21.0 Mar 17, 2024
0.20.0 Oct 22, 2023
0.19.0 Jun 12, 2023
0.2.0 Nov 13, 2020

#498 in GUI

Download history 423/week @ 2024-04-03 457/week @ 2024-04-10 493/week @ 2024-04-17 617/week @ 2024-04-24 507/week @ 2024-05-01 371/week @ 2024-05-08 463/week @ 2024-05-15 769/week @ 2024-05-22 373/week @ 2024-05-29 325/week @ 2024-06-05 405/week @ 2024-06-12 328/week @ 2024-06-19 226/week @ 2024-06-26 128/week @ 2024-07-03 255/week @ 2024-07-10 295/week @ 2024-07-17

961 downloads per month
Used in 3 crates

MIT/Apache

25KB
415 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–20MB
~303K SLoC