pub fn run_native_ext(
app_name: &str,
native_options: NativeOptions,
egui_ctx: Option<Context>,
app_creator: AppCreator<'_>,
) -> ResultExpand description
Like run_native, but lets you supply a pre-existing egui::Context.
If egui_ctx is Some, that context will be used by eframe instead of creating a fresh one.
If it is None, eframe creates a new context (same behavior as run_native).
ยงErrors
This function can fail if we fail to set up a graphics context.