OpenTK.Platform.iPhoneOS.iPhoneOSGameView.Run Method
Starts as-fast-as-possible run-loop processing.

Syntax

public void Run ()

Exceptions

TypeReason
ObjectDisposedException The instance has had Foundation.NSObject.Dispose invoked on it.

Remarks

Invokes iPhoneOSGameView.CreateFrameBuffer, raises the iPhoneOSGameView.Load event, then begins run-loop processing. Run-loop processing consists of the following step (which happens for each frame):

  1. The iPhoneOSGameView.UpdateFrame event is raised.
  2. The OpenGL frame buffer is re-bound to iPhoneOSGameView.Framebuffer.
  3. The iPhoneOSGameView.RenderFrame event is raised.

Run-loop processing should not be used if a persistant layer is used (i.e. iPhoneOSGameView.LayerRetainsBacking is false); the entire view should need to be re-rendered on every frame.

In this Run overload, there is no delay between raising of the iPhoneOSGameView.RenderFrame event and the iPhoneOSGameView.UpdateFrame of the following frame; everything is executed as quickly as possible. This may not be desirable.

Requirements

Namespace: OpenTK.Platform.iPhoneOS
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0