Information given to the backend about when it is time to repaint the ui.
This is given in the callback set by
Repaint after this duration. If zero, repaint as soon as possible.
The current frame number.
This can be compared to
Context::frame_nr to see if we’ve already
triggered the painting of the next frame.