Instance Property

context

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

Declaration

@property(nonatomic, retain) EAGLContext *context;

Discussion

The view uses this context as the place to create its underlying framebuffer object and it also sets the context before calling your drawing method. Never change the context from inside your drawing method.

See Also

Drawing Your View’s Contents

- bindDrawable

Binds the underlying framebuffer object to OpenGL ES.

Deprecated
enableSetNeedsDisplay

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

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