Instance Property

enableSetNeedsDisplay

A Boolean value that indicates whether the view responds to messages that invalidate the view’s contents.

Declaration

@property(nonatomic) BOOL enableSetNeedsDisplay;

Discussion

By default, a GLKView object respects the standard view drawing cycle for a UIView object, as described in UIView. However, many OpenGL ES applications need to update their contents explicitly in an animation rendering loop. When updating your contents in a rendering loop, the normal on-demand mechanism for view updates can be disabled by setting the value of this property to NO. If your application uses a GLKViewController object to drive the rendering loop, the view controller automatically sets this property to NO.

See Also

Drawing Your View’s Contents

context

The OpenGL ES context used when drawing the view’s contents.

Deprecated
- bindDrawable

Binds the underlying framebuffer object to OpenGL ES.

Deprecated
- display

Redraws the view’s contents immediately.

Deprecated
snapshot

Draws the contents of the view and returns them as a new image object.

Deprecated