An object that creates and configures chains of individual image filters.
- macOS 10.5+
- Core Image
CIFilter class provides methods for creating a
CIFilter object by chaining together existing
CIFilter objects to create complex effects. (A filter chain refers to the
CIFilter objects that are connected in the
CIFilter object.) The complex effect can be encapsulated as a
CIFilter object and saved as a file so that it can be used again. The filter generator file contains an archived instance of all the
CIFilter objects that are chained together.
Any filter generator files that you copy to
/Library/Graphics/Image Units/ are loaded when any of the loading methods provided by the
CIPlug class are invoked. A
CIFilter object is registered by its filename or, if present, by a class attribute that you supply in its description.
You can create a
CIFilter object programmatically, using the methods provided by the
CIFilter class, or by using the editor view provided by Core Image.