Skip to content

Jakobzs/rust-imgui-opengl-renderer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

OpenGL (3+) rendering for imgui-rs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%