imgui-opengl-renderer

Crates.ioimgui-opengl-renderer
lib.rsimgui-opengl-renderer
version0.12.1
sourcesrc
created_at2018-05-03 18:25:11.48219
updated_at2023-08-26 20:33:18.969719
descriptionAn OpenGL renderer for imgui-rs
homepagehttps://github.com/michaelfairley/rust-imgui-opengl-renderer
repositoryhttps://github.com/michaelfairley/rust-imgui-opengl-renderer
max_upload_size
id63619
size15,265
Michael Fairley (michaelfairley)

documentation

README

imgui-opengl-renderer

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: 71

cargo fmt