bevy_render::view::window::screenshot

Function save_to_disk

Source
pub fn save_to_disk(
    path: impl AsRef<Path>,
) -> impl FnMut(Trigger<'_, ScreenshotCaptured>)
Expand description

Saves the captured screenshot to disk at the provided path.