Protocol

GLKViewControllerDelegate

Rendering loop callback methods for use with a GLKViewController object.

Declaration

protocol GLKViewControllerDelegate

Overview

A delegate is called each time the controller is about to display a new frame of animation. It is also called before the view controller’s rendering loop pauses or resumes sending updates.

Topics

Handling an Update Event

func glkViewControllerUpdate(GLKViewController)

Called before each frame is displayed.

Required.

Pause and Resume Notifications

func glkViewController(GLKViewController, willPause: Bool)

Called before the rendering loop is paused or resumed.

Relationships

Inherits From

See Also

OpenGL ES View Rendering

class GLKView

A default implementation for views that draw their content using OpenGL ES.

Deprecated
protocol GLKViewDelegate

Drawing callback methods for use with a GLKView object.

class GLKViewController

A view controller that manages an OpenGL ES rendering loop.

Deprecated