pub fn create_showcase_app(
headless: bool,
mode: RenderMode,
) -> Result<(App, ShowcaseState), PlatformError>Expand description
Builds an App and reactive ShowcaseState configured for either native OS or headless mode.
§Arguments
bool- Whentrue, uses deterministicHeadlessPlatform; otherwise uses the active native OS backend.RenderMode- Initial rendering pipeline mode.
§Returns
Result<(App, ShowcaseState), PlatformError>- Initialized showcase app and state.