Contents

context

Creates a context without a specific rendering destination, using default options.

Declaration

+ (CIContext *) context;

Return Value

A new Core Image context.

Discussion

If you create a context without specifying a rendering destination, Core Image automatically chooses and internally manages a rendering destination based on the current device’s capabilities. You cannot use a context without an explicit destination for the methods listed in Drawing Images. Instead, use the methods listed in Rendering Images.

To specify additional options for the context, use the contextWithOptions: method instead.

See Also

Related Documentation

  • Image Unit Tutorial
  • Core Image Programming Guide

Creating a Context Without Specifying a Destination