Edit

Share via


iPhoneOSGameView.UpdateFrame Event

Definition

Occurs part of run-loop processing when a frame should be updated prior to rendering.

public event EventHandler<OpenTK.FrameEventArgs> UpdateFrame;
member this.UpdateFrame : EventHandler<OpenTK.FrameEventArgs> 

Event Type

Implements

Remarks

When using the run-loop processing architecture, events happen in the following order:

  1. Load
  2. UpdateFrame
  3. RenderFrame
  4. Unload

Run() and Run(Double), invoke Load before starting the UpdateFrame/RenderFrame loop which is invoked for every rendered frame.

Stop() ends the UpdateFrame/RenderFrame loop processing, then invokes the Unload event.

Applies to