Contents

context

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

Declaration

var context: EAGLContext { get set }

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