mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Automatically generate screenshots for all examples (#2379)
This commit is contained in:
@@ -9,6 +9,8 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../crates/eframe", features = ["glow"] }
|
||||
eframe = { path = "../../crates/eframe", features = [
|
||||
"__screenshot", # __screenshot is so we can dump a ascreenshot using EFRAME_SCREENSHOT_TO
|
||||
] }
|
||||
egui_glow = { path = "../../crates/egui_glow" }
|
||||
glow = "0.11"
|
||||
|
||||
@@ -13,3 +13,5 @@ If you are content of having egui sit on top of a 3D background, take a look at:
|
||||
```sh
|
||||
cargo run -p custom_3d_glow
|
||||
```
|
||||
|
||||

|
||||
|
||||
BIN
examples/custom_3d_glow/screenshot.png
Normal file
BIN
examples/custom_3d_glow/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user