Skip to main content

capture_showcase_screenshots

Function capture_showcase_screenshots 

Source
pub fn capture_showcase_screenshots(
    out_dir: &Path,
) -> Result<usize, PlatformError>
Expand description

Renders all showcase routes, responsive viewports, dark mode, scroll positions, and overlays to raw RGBA files using native system fonts.

§Arguments

  • &Path - Destination directory for captured .rgba frames and manifest.txt.

§Returns

  • Result<usize, PlatformError> - Total number of captured frames.