A render-backend independant egui backend for sdl2

Overview

Crates.io Documentation

A Sdl2 + Egui Backend

An egui backend for sdl2 unbound to any renderer-backend.

You can include it like so:

[dependencies]
egui_sdl2_platform = "0.1.0"
sdl2 = "0.35"

Examples

I have included an example of how to use this backend together with wgpu using egui_wgpu_backend. It can be found here.

Alternatives

If you are using sdl2 with opengl I would recommend egui_sdl2_gl which has a backend for opengl included.

You might also like...
egui: an easy-to-use immediate mode GUI in pure Rust
egui: an easy-to-use immediate mode GUI in pure Rust

🖌 egui: an easy-to-use GUI in pure Rust egui is a simple, fast, and highly portable immediate mode GUI library for Rust. egui runs on the web, native

Egui bindings for macroquad

egui bindings for macroquad This is the easiest way to use egui. Just two functions! Web demo. Usage You need to call ui when you need to get informat

Egui bindings for miniquad

egui bindings for miniquad native On Linux you first must run apt install libx11-dev libxi-dev libgl1-mesa-dev (miniquad dependencies). cargo run --re

a day-planner/calendar app based on egui
a day-planner/calendar app based on egui

Malakal Malakal is a day planner application. I crafted it because I was not able to find a comfortable calendar application for Linux. I myself have

Example showing how to use tokio and egui together.

Example using tokio with egui This example uses reqwest to send an HTTP request to httpbin. The parsed response contains an increment value (as provid

A tool for creating egui Visuals (themes).

egui-visuals-utility A tool for creating egui Visuals (themes). The code is rather messy and might crash but it seems to work. To load the theme use s

egui port to Car Thing (and maybe an alternative Car Thing UI?)
egui port to Car Thing (and maybe an alternative Car Thing UI?)

tt This project contains a port of egui to the Spotify Car Thing although in the future I also plan for it to contain a custom Car Thing UI. Technical

Create dynamic grid-based layouts for egui

egui_grid Create dynamic grid layouts for egui. Grids are flexible, easy to create, with behavior similar to egui_extra's strip creation. They're comp

An interactive JSON tree visualiser for egui, with search and highlight functionality.
An interactive JSON tree visualiser for egui, with search and highlight functionality.

egui_json_tree An interactive JSON tree visualiser for egui, with search and highlight functionality. Usage use egui::{Color32}; use egui_json_tree::{

Comments
  • Relax the sdl2 features

    Relax the sdl2 features

    I am working on a project using this library and I found that it was not building. After investigation I found that the cause is that a feature was being enabled by egui_sdl2_platform that was causing the build failure.

    When this crate sets these features, it makes anything depending on it not build on Linux using system libraries.

    opened by lf- 0
Releases(0.2.0)
  • 0.2.0(Dec 20, 2022)

    • Remove 'static-link' and 'bundled' features
    • Remove borrow constraints for Platform::context. Now returns egui::Context instead of &egui::Context.
    • Fix egpu example not working for certain distros by setting the present mode to wgpu::PresentMode::Mailbox
    Source code(tar.gz)
    Source code(zip)
  • 0.1.0(Sep 5, 2022)

Owner
null
Render egui with skia!

Skia backend for egui This is a drawing backend for egui that uses skia-safe. Usage Have a look at the metal or cpu examples to get started. Run the e

null 14 Dec 19, 2022
Egui node graph is a featureful, customizable library to create node graph applications using egui

Egui node graph is a featureful, customizable library to create node graph applications using egui. The library takes care of presenting a node graph to your users, and allows customizing many aspects of the interaction, creating the semantics you want for your specific application.

null 367 Jan 8, 2023
A presentation about egui, implemented in egui

egui presentation A presentation about egui, implemented in egui. You can view the presentation at https://emilk.github.io/egui_presentation/. TODO Li

Emil Ernerfeldt 9 Aug 24, 2023
FLTK frontend for Egui WGPU backend.

Egui FLTK Frontend FLTK Frontend for Egui WGPU Backend On linux Debian/Ubuntu, make sure to install the latest main requirements: sudo apt-get update

Adia Robbie 5 Oct 25, 2022
D3D11 backend for egui library. Presumably for mods/cheats development

D3D11 backend for egui library. Presumably for mods/cheats development. Currently few features from egui are missing. WIP.

sy1ntexx 24 Jan 4, 2023
egui backend for D3D9.

egui-d3d9 egui backend for D3D9. Primarily intended for source games like CS:GO and GMod. It's not perfect by far, but it'll do. This is a rewrite of

unknowntrojan 6 Dec 25, 2022
SDL2 module for Deno

Deno SDL2 Cross platform and stable bindings to SDL2. Have fun! Features Bindings to Video, Graphics, Font and Mixer subsystems. (Uses rodio instead o

Divy Srivastava 102 Jan 4, 2023
Write and render svg-animations with Rust ✨

rusvid Write and render svg-animations with Rust ✨ (no gui or cli, under active development) Dependencies Ffmpeg in path rustc 1.63.0-nightly Simple u

Domenic Melcher 2 Jul 17, 2022
This project attempts to allow the creation of reusable egui-themes

egui stylist Note this project is considered to be experimental and -- while used in personal projects -- may have API breaking changes without warnin

Jacobsky 22 Dec 1, 2022
A simple GUI version of the pH calibration tool written in egui, based on the eframe template.

caliphui A simple GUI version of the pH calibration tool written in egui, based on the eframe template. Usage Native binaries are provided under relea

Peter Dunne 0 Dec 29, 2021