Creates a render loop that terminates when a certain condition is reached.
Creates a render loop that terminates when a certain condition is reached.
Each loop iteration receives and passes an updated state.
Canvas manager to use in the render loop
Initial state when the loop starts
Operation to render the frame and update the state
Loop termination check
Frame rate limit
Creates a render loop that never terminates.
Creates a render loop that never terminates.
Canvas manager to use in the render loop
Operation to render the frame
Frame rate limit
Creates a render loop that never terminates.
Creates a render loop that never terminates.
Each loop iteration receives and passes an updated state.
Canvas manager to use in the render loop
Initial state when the loop starts
Operation to render the frame and update the state
Frame rate limit
Renders a single frame
Renders a single frame
Operation to render the frame and update the state