The Core Image filter to apply.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
The Core Image filter must have a single
input parameter and produce a single
output parameter. The default value is
nil. If the value is
nil and the effect node is enabled, no filtering takes place. However, its children are still rendered in a separate pass and blended to the parent’s framebuffer.
If you wish to use a Core Image filter that doesn't have an
input parameter, such as a sunbeams generator, you can subclass
CIFilter and add an
input property. The input image's extent can be used to define properties such as radius on the filter. The following code creates a filter based on CISunbeamsGenerator which can be used as an effect node's filter: