egui-skia-sdl2-event

Crates.ioegui-skia-sdl2-event
lib.rsegui-skia-sdl2-event
version0.4.0
sourcesrc
created_at2022-12-12 10:30:00.704817
updated_at2023-02-15 01:14:17.987029
descriptionProvides event handling for egui in SDL2 window applications.
homepagehttps://github.com/lucasmerlin/egui-sdl2-event
repositoryhttps://github.com/lucasmerlin/egui-sdl2-event
max_upload_size
id734913
size19,682
(lucasmerlin)

documentation

README

egui-sdl2-event

Provides event handling for egui when SDL2 is used as the windowing system.

This crate does not perform any rendering, but it can be combined with something like the egui-wgpu backend.

Most of the code is just adaptively copied from egui_sdl2_gl

crates.io link

Example

Clone the development repository for simple example program.

To run the example program, use this command at the root of the repository:

cargo run --bin example

Related

You might be interested in checking out egui_sdl2_platform as it seems to be doing the same job with more simplicity. egui_sdl2_platform depends on egui_wgpu_backend whereas egui-sdl2-event depends directly on the internal egui's wgpu implementation egui-wgpu.

Commit count: 20

cargo fmt