mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Automatically generate screenshots for all examples (#2379)
This commit is contained in:
@@ -11,7 +11,9 @@ publish = false
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[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"
|
||||
three-d = { version = "0.13", default-features = false }
|
||||
|
||||
@@ -18,3 +18,5 @@ cargo run -p custom_3d_three-d
|
||||
```
|
||||
wasm-pack build examples/custom_3d_three-d --target web
|
||||
```
|
||||
|
||||

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