imgui_drain_events
Process pending native UI events in bounded batches, returning events, remaining queue depth, and dropped event count to manage input flow effectively.
Instructions
Drain a bounded batch of native UI events. Returns the events, remaining queue depth, and the number dropped since the previous drain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_events | No | Maximum events to return (default 100, maximum 256) |