An object that implements the
GLKViewDelegate protocol can be set as a
GLKView object’s delegate. A delegate allows your application to provide a drawing method to a
GLKView object without subclassing the
Draws the view’s contents.
The view requesting that its contents be redrawn.
A rectangle that describes the area that needs to be updated.
The semantics of this method are identical to those of the
GLKViewobject makes its OpenGL ES context the current context and binds its framebuffer as the target for OpenGL ES rendering commands. Your delegate method should then draw the view’s contents.
Available in iOS 5.0 and later.