Edytuj

Udostępnij za pośrednictwem


iPhoneOSGameView.RenderFrame Event

Definition

Occurs part of run-loop processing when a frame should be rendered.

public event EventHandler<OpenTK.FrameEventArgs> RenderFrame;
member this.RenderFrame : 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