egui-raylib
Egui bindings for Raylib.
Built against egui 0.35 and raylib 6.0.
Installation
Inside the Cargo.toml file:
[]
= "6.0" # you can use any raylib feature
= "0.1"
Usage
A minimal usage of this library is like this:
use *;
use EguiRaylib;
You can check the examples for testing the default egui demo.
Todo
These features are not yet implemented, maybe they will be in the future:
- Inputs for PointerGone and WindowFocused
- Touch-screen inputs
- Custom mouse cursor
Raylib limitations
There are egui features that are not implemented because of Raylib limitations:
- No files drag and drop
- No OS theme awareness (light or dark mode)
- No IME
- Not all mouse cursor types
- No URL opening (although it can be implemented with the help of other libraries)
- No image copy/pasting