Crates.io | egui-skia-sdl2-event |
lib.rs | egui-skia-sdl2-event |
version | 0.4.0 |
source | src |
created_at | 2022-12-12 10:30:00.704817 |
updated_at | 2023-02-15 01:14:17.987029 |
description | Provides event handling for egui in SDL2 window applications. |
homepage | https://github.com/lucasmerlin/egui-sdl2-event |
repository | https://github.com/lucasmerlin/egui-sdl2-event |
max_upload_size | |
id | 734913 |
size | 19,682 |
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
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
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.