#winit #egui #egui-integration #platform #run

egui_winit_platform

Platform code to use egui with winit

23 breaking releases

0.24.0 Oct 8, 2024
0.23.0 Jul 17, 2024
0.22.0 May 4, 2024
0.21.0 Mar 17, 2024
0.2.0 Nov 13, 2020

#12 in #egui-integration

Download history 289/week @ 2024-08-12 216/week @ 2024-08-19 207/week @ 2024-08-26 216/week @ 2024-09-02 227/week @ 2024-09-09 232/week @ 2024-09-16 456/week @ 2024-09-23 220/week @ 2024-09-30 345/week @ 2024-10-07 276/week @ 2024-10-14 199/week @ 2024-10-21 307/week @ 2024-10-28 350/week @ 2024-11-04 241/week @ 2024-11-11 230/week @ 2024-11-18 299/week @ 2024-11-25

1,169 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–21MB
~317K SLoC