bevy/examples/window
François cb286e5b60
Screenshots in wasm (#8455)
# Objective

- Enable taking a screenshot in wasm
- Followup on #7163 

## Solution

- Create a blob from the image data, generate a url to that blob, add an
`a` element to the document linking to that url, click on that element,
then revoke the url
- This will automatically trigger a download of the screenshot file in
the browser
2023-04-28 19:37:11 +00:00
..
clear_color.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
low_power.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
multiple_windows.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
scale_factor_override.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
screenshot.rs Screenshots in wasm (#8455) 2023-04-28 19:37:11 +00:00
transparent_window.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
window_resizing.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
window_settings.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00