EAGLContext
An Eaglcontext object manages an OpenGL ES rendering context—the state information, commands, and resources needed to draw using OpenGL ES. To execute OpenGL ES commands, you need a current rendering context.
Declaration
class EAGLContextOverview
Drawing resources, such as textures and renderbuffers, are managed for the EAGLContext object by an EAGLSharegroup object associated with the context. When you initialize a new EAGLContext object, you can choose to have it create a new sharegroup, or you can use one obtained from a previously created context.
Before drawing to a context, you must bind a complete framebuffer object to the context. For more information on configuring rendering contexts, see OpenGL ES Programming Guide.
Topics
Creating Contexts
Setting the Current Context
Attaching Storage to a Renderbuffer
Displaying a Renderbuffer
Getting Context Information
Enabling OpenGL ES Multithreading
Constants
Instance Methods
presentRenderbuffer(_:afterMinimumDuration:)presentRenderbuffer(_:atTime:)texImageIOSurface(_:target:internalFormat:width:height:format:type:plane:)