Contents

init(eaglContext:)

Creates a Core Image context from an EAGL context.

Declaration

init(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

Deprecated