#egui #opengl #glfw #back-end

egui_gl_glfw

OpenGL backend for egui using GLFW

10 releases

0.1.9 Feb 28, 2025
0.1.8 Dec 7, 2024
0.1.6 Oct 12, 2024
0.1.5 Aug 20, 2024
0.1.1 Feb 16, 2024

#322 in GUI

Download history 1/week @ 2024-11-23 269/week @ 2024-12-07 12/week @ 2024-12-14 8/week @ 2024-12-28 8/week @ 2025-01-04 10/week @ 2025-01-11 7/week @ 2025-02-01 4/week @ 2025-02-08 28/week @ 2025-02-15 99/week @ 2025-02-22 80/week @ 2025-03-01 3/week @ 2025-03-08

210 downloads per month
Used in quaturn

MIT license

45KB
987 lines

egui_gl_glfw

Latest version MIT

Example screenshot

egui_glfw_gl is archived so I created this repository and made changes to the code where it was broken from the dependency updates.

This is a backend implementation for Egui that can be used with Rust bindings for GLFW and OpenGL.

Example

I have made an example to demonstrate the usage of egui_gl_glfw. To run the example, run the following:

cargo run --example demo

Credits

egui_gl_glfw is based on egui_glfw_gl which is based on egui_sdl2_gl, created by ArjunNair

Change Log

Version 0.1.2

Thanks to organizedgrime for contributing these changes.

  • Bump egui to version 0.27
  • Expose wayland features from internal crates

Version 0.1.3

  • Bump egui to 0.27.2
  • Bump glfw to 0.57.0
  • Some feature changes due to glfw changes

Version 0.1.4

  • Bump egui to 0.28.1
  • Bump glfw to 0.58.0

Version 0.1.5

  • Add features to control most egui and glfw features

Version 0.1.6

  • Improved mouse button handling, Thanks to JLi69

Version 0.1.7

  • Bump glfw to 0.59.0

Version 0.1.8

  • Remove glfw-vulkan feature

Version 0.1.9

  • Merge pull request from ToothlessBrush.

    Removed mut from the glfw::PWindow reference in the Painter constructor.

Dependencies

~5–17MB
~256K SLoC