2 unstable releases

Uses old Rust 2015

0.1.0 Apr 19, 2023
0.0.0 Dec 28, 2022

#946 in Graphics APIs

Download history 3/week @ 2024-01-22 12/week @ 2024-01-29 2/week @ 2024-02-12 19/week @ 2024-02-19 52/week @ 2024-02-26 13/week @ 2024-03-04 15/week @ 2024-03-11 7/week @ 2024-03-18 9/week @ 2024-03-25 51/week @ 2024-04-01 7/week @ 2024-04-15

68 downloads per month

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–19MB
~241K SLoC