use EguiState;
/// Drains the egui frame output stashed on
/// `world.plugin_resource_mut::<EguiState>()` into the renderer's
/// [`EguiFrameInputs`](crate::render::wgpu::render_configs::EguiFrameInputs), so
/// the overlay rides the frame inputs like every other input instead of poking
/// the renderer through a side channel. Returns `None` when nothing was drawn.
pub