mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
cb286e5b60
# 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 |
||
---|---|---|
.. | ||
clear_color.rs | ||
low_power.rs | ||
multiple_windows.rs | ||
scale_factor_override.rs | ||
screenshot.rs | ||
transparent_window.rs | ||
window_resizing.rs | ||
window_settings.rs |