Called for each game update/render frame.
Reimplement this function to perform custom application update logic and GPU rendering for a single application frame.