|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||CoreImage||MBS MacCG Plugin||17.2||Yes||No||No||Yes, macOS only||No|
The CIFilterGenerator 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 CIFilterGenerator object.) The complex effect can be encapsulated as a CIFilterGenerator 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 CIPlugIn class are invoked. A CIFilterGenerator object is registered by its filename or, if present, by a class attribute that you supply in its description.
You can create a CIFilterGenerator object programmatically, using the methods provided by the CIFilterGenerator class, or by using the editor view provided by Core Image (see CIFilter Image Kit Additions).
- 4 properties
- 14 methods
- method connectObject(sourceObject as Variant, sourceKey as string, targetObject as Variant, targetKey as String)
- method Constructor
- method Constructor(File as folderItem)
- method Constructor(Handle as Integer)
- method Constructor(URL as string)
- method copy as CIFilterGeneratorMBS
- method disconnectObject(sourceObject as Variant, sourceKey as string, targetObject as Variant, targetKey as String)
- method exportKey(key as string, targetObject as Variant, exportedKeyName as String)
- method filterWithName(name as String) as CIFilterMBS
- method registerFilterName(name as string)
- method removeExportedKey(exportedKeyName as string)
- method setAttributes(attributes as dictionary, ExportedKey as string)
- method writeToFile(File as Folderitem, atomically as Boolean = true) as Boolean
- method writeToURL(URL as String, atomically as Boolean = true) as Boolean
- 6 shared methods
- shared method filterGenerator as CIFilterGeneratorMBS
- shared method filterGeneratorWithContentsOfFile(File as folderItem) as CIFilterGeneratorMBS
- shared method filterGeneratorWithContentsOfURL(URL as string) as CIFilterGeneratorMBS
- shared method kCIFilterGeneratorExportedKey as String
- shared method kCIFilterGeneratorExportedKeyName as String
- shared method kCIFilterGeneratorExportedKeyTargetObject as String
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCG Plugin.
MBS Xojo tutorial videos