mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-17 04:45:02 +01:00
vendor
This commit is contained in:
parent
12163d1338
commit
550b1644cb
363 changed files with 84081 additions and 16 deletions
26
egui/crates/egui_glow/README.md
Normal file
26
egui/crates/egui_glow/README.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# egui_glow
|
||||
|
||||
[](https://crates.io/crates/egui_glow)
|
||||
[](https://docs.rs/egui_glow)
|
||||

|
||||

|
||||
|
||||
This crates provides bindings between [`egui`](https://github.com/emilk/egui) and [glow](https://crates.io/crates/glow) which allows you to:
|
||||
* Render egui using glow on both native and web.
|
||||
* Write cross platform native egui apps (with the `winit` feature).
|
||||
|
||||
To write web apps using `glow` you can use [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) (which uses `egui_glow` for rendering).
|
||||
|
||||
To use on Linux, first run:
|
||||
|
||||
```
|
||||
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
|
||||
```
|
||||
|
||||
This crate optionally depends on [`egui-winit`](https://github.com/emilk/egui/tree/master/crates/egui-winit).
|
||||
|
||||
Text the example with:
|
||||
|
||||
``` sh
|
||||
cargo run -p egui_glow --example pure_glow --features=winit,egui/default_fonts
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue