9 unstable releases (3 breaking)
0.4.0 | Feb 9, 2019 |
---|---|
0.3.2 | Jan 12, 2019 |
0.3.1 | Nov 28, 2018 |
0.2.3 | Aug 19, 2018 |
0.1.0 | May 3, 2018 |
#67 in Graphics APIs
262 downloads per month
Used in 2 crates
15KB
253 lines
imgui-opengl-renderer
OpenGL (3+) rendering for imgui-rs
Integration guide
- 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 _);
- Call
render
to draw the UI.renderer.render(ui);
Take a look at the example app to see it all in context.
Dependencies
~4.5MB
~63K SLoC