2 unstable releases

Uses old Rust 2015

0.1.0 Apr 19, 2023
0.0.0 Dec 28, 2022

#1030 in Graphics APIs

MIT/Apache

19KB
388 lines

imgui-opengl

Build Status Documentation Version

OpenGL (3+) rendering for imgui-rs

Integration guide

  1. Construct it (passing in an OpenGL function loader from SDL2 or glutin or somesuch).
    let renderer = imgui_opengl_renderer::Renderer::new(&mut imgui, |s| video.gl_get_proc_address(s) as _);
    
  2. Call render to draw the UI.
    renderer.render(ui);
    

Take a look at the example app to see it all in context.

Dependencies

~12–18MB
~242K SLoC