pub fn raw_input(
target: UiTarget,
time: Option<f64>,
focused: bool,
events: Vec<Event>,
) -> RawInputAvailable on crate feature
ui only.Expand description
The egui input for one frame laid out against target.
Both worlds lay frames out — the drawing side its own panels, every other world the frames it publishes — and egui only produces the same picture for the same input. Building it in one place is what keeps a published frame’s capture and the drawing side’s own layout agreeing on the screen rectangle, the density and the texture limit.
events is taken by value so a caller can hand over a buffer it keeps
across frames; it reaches egui as this frame’s events.