3 releases (breaking)
0.11.0 | Apr 5, 2023 |
---|---|
0.10.0 | Jan 16, 2023 |
0.9.0 | Jan 5, 2023 |
#540 in GUI
106 downloads per month
660KB
13K
SLoC
This crate provides a SDL 2 based backend platform for imgui-rs.
A backend platform handles window/input device events and manages their state.
Using the library
There are three things you need to do to use this library correctly:
- Initialize a
SdlPlatform
instance - Pass events to the platform (every frame)
- Call frame preparation callback (every frame)
For a complete example, take a look at the imgui-rs' GitHub repository.
Dependencies
~30MB
~589K SLoC