imgui-opengl

Crates.ioimgui-opengl
lib.rsimgui-opengl
version0.1.0
sourcesrc
created_at2022-12-28 00:17:48.384704
updated_at2023-04-19 13:16:05.97569
descriptionAn OpenGL renderer for imgui-rs
homepagehttps://github.com/jakobzs/rust-imgui-opengl-renderer
repositoryhttps://github.com/jakobzs/rust-imgui-opengl-renderer
max_upload_size
id746555
size19,069
Jakob (Jakobzs)

documentation

README

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.

Commit count: 70

cargo fmt