Type Method

contextWithEAGLContext:

Creates a Core Image context from an EAGL context.

Declaration

+ (CIContext *)contextWithEAGLContext:(EAGLContext *)eaglContext;

Parameters

eaglContext

The EAGL context to render to.

Return Value

A Core Image context that targets OpenGL ES.

Discussion

The OpenGL ES context must support OpenGL ES 2.0. All drawing performed using the methods listed in Drawing Images is rendered directly into the context.

See Also

Creating a Context for GPU-Based Rendering with OpenGL

+ contextWithCGLContext:pixelFormat:colorSpace:options:

Creates a Core Image context from a CGL context, using the specified options, color space, and pixel format object.

Deprecated
+ contextWithCGLContext:pixelFormat:options:

Creates a Core Image context from a CGL context, using the specified options and pixel format object.

Deprecated
+ contextWithEAGLContext:options:

Creates a Core Image context from an EAGL context using the specified options.

Deprecated
+ contextForOfflineGPUAtIndex:

Creates an OpenGL-based Core Image context using a GPU that is not currently driving a display.

Deprecated
+ contextForOfflineGPUAtIndex:colorSpace:options:sharedContext:

Creates an OpenGL-based Core Image context using a GPU that is not currently driving a display, with the specified options.

Deprecated