Skip to content

Execution Order

Dominic Maas edited this page Jun 6, 2021 · 1 revision

The Vesta Engine performs the following events during every frame:

Frame Request

  • Calculate the accumulator

Fixed Update

  • Run continuously until the accumulator is greater than or equal to the delta time.
  • Called multiple times per frame

Update

  • Run general events here such as determining if the mouse button is clicked, etc.

Render

  • Render the screen

End Frame

  • Clear any io events (if a mouse button is clicked for example)
Clone this wiki locally