Type Method

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 initWithOptions: method instead.

See Also

Creating a Context Without Specifying a Destination

- init

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

+ initWithOptions:

Initializes a context without a specific rendering destination, using the specified options.