Initializer

init()

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

Declaration

init()

Return Value

An initialized 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 init(options:) initializer instead.

See Also

Creating a Context Without Specifying a Destination

init(options: [CIContextOption : Any]?)

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software