raylib_imgui

A Raylib integration with DearImGui in Rust!
In main.rs:
use raylib_imgui::RaylibGui;
use raylib::prelude::*;
fn main() {
let (mut rl, thread) = raylib::init()
.size(800, 600)
.title("Demo window")
.build();
let mut gui = RaylibGui::new(&mut rl, &thread);
let mut open = true;
while !rl.window_should_close() {
let ui = gui.begin(&mut rl);
ui.show_demo_window(&mut open);
// Draw ImGui stuff here
let mut d = rl.begin_drawing(&thread);
d.clear_background(Color::WHITE);
// Draw raylib stuff here
gui.end();
}
}