Skip to content

Rust bindings and low level wrappers around the Dear ImGui ui rendering framework.

Notifications You must be signed in to change notification settings

Plegeus/RustImGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustImGui

Rust bindings and low level wrappers around the Dear ImGui ui rendering framework.

Structure

C++ From Rust

Because Dear ImGui is written in C++ and Rust does not directly support C++ calls, the functions of Dear ImGui are first wrapped in C calls. Using bindgen, said C calls are then possible from Rust, though wrapped in a rust friendly functions.

Since Rust does not support variadic nor overloaded functions, the wrapper functions take Option where optional arguments are found in the C++ code.

  • imgui: Rust crate
  • imgui_derive: derive macros for imgui
  • ImGui_cpp: the Dear ImGui source code (wrapped in C compatible calls)
  • ImGui_cpp_mtl: Apple specific code for ImGui_cpp
  • ImGui_cpp_vk: Vulkan
  • ImGui_c: Rust compatible C calls

Contributions

Feel free to contribute.

About

Rust bindings and low level wrappers around the Dear ImGui ui rendering framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published