Skip to main content

create_showcase_app_default

Function create_showcase_app_default 

Source
pub fn create_showcase_app_default(
    headless: bool,
) -> Result<(App, ShowcaseState), PlatformError>
Expand description

Builds an App and reactive ShowcaseState using the default max-performance configuration (RenderMode::Auto).

§Arguments

  • bool - When true, uses deterministic HeadlessPlatform; otherwise uses the active native OS backend.

§Returns

  • Result<(App, ShowcaseState), PlatformError> - Initialized showcase app and state.