#glfw #imgui #wgpu #glfw-window

imgui-glfw-support

GLFW support for imgui-rs

5 releases (3 breaking)

0.4.1 Nov 5, 2020
0.4.0 Oct 10, 2020
0.3.0 Aug 11, 2020
0.2.0 Jun 26, 2020
0.1.0 Mar 6, 2020

#8 in #glfw-window

MIT/Apache

21KB
184 lines

imgui-glfw-support

crates.io docs.rs build status

GLFW support for imgui-rs.

Example

See the examples folder.


lib.rs:

Provides a glfw-based backend platform for imgui-rs. This crate is modeled after the winit version.

Usage

  1. Initialize a GlfwPlatform
  2. Attach it to a glfw Window
  3. Optionally, enable platform clipboard integration
  4. Pass events to the platform (every frame)
  5. Call frame preparation (every frame)
  6. Call render preperation (every frame)

Examples

The examples can be found on github.

Dependencies

~17MB
~292K SLoC