4 releases

0.0.1-alpha.2 Jul 28, 2021
0.0.1-alpha.1 May 17, 2021
0.0.1-alpha.0 May 15, 2021
0.0.0-alpha.0 May 11, 2021

#1053 in Graphics APIs

Apache-2.0

8KB
106 lines

eww

Crates.io Docs.rs

eww (egui + winit + wgpu) is a egui backend with a winit platform and a wgpu renderer.

This repository contains:

  • the egui-winit crate providing egui platform support for winit,
  • the egui-wgpu crate providing egui rendering support for wgpu, and
  • the eww crate, which builds on top of the egui-{winit, wgpu}.

Status

eww is in early development. Therefore all crates are at v0.0.1-alpha.x

eww crate

The eww crate is build on top of egui-winit and egui-wgpu and provides a more convenient API, since it handles their interactions.

For just using the winit-wgpu combination, eww is recommended.

egui-{winit, wgpu} crates

If you're intrested in building your own backend then you can either use the

  • egui-winit combined with a different renderer, or
  • egui-wgpu combined with a different platform.

Contribution

egui-winit is an egui_winit_platform fork and
egui-wgpu an egui_wgpu_backend fork.

Feel free to contribute to this project. Just keep the guidelines in mind.

(vague) Guidelines

We're aiming to have and keep feature parity with egui_glium and extend it.

eww should be simple-to-use and handle the interaction between winit and wgpu. egui-{winit, wgpu} should be more barebones since they are meant to built upon.

Dependencies

~9–22MB
~339K SLoC