Inherits NSObject.
Defines a name and a paramaters list specifiying a filter. Each filter must take an image as input and returns and image processed by an filtering algorithm. Optionally, a filter can take additional parameters which are stored in parameters member. The engine supports the following filters:
- Smoothing: performs face smoothing filter on the input image
- Greyscale: performs greyscale conversion on the input image
- Threshold: performs binary thresholding operation on the input image
- Multply: performs multiplication of the given image with a custom mask texture specified as input parameter
- HighPass: performs gaussian high pass filter on the input image
- Blur - performs gaussian blur on the input image
The filter applied is defined by name member. Input parameters of each filter can be set using FilterParameterTemplate class Provides methods for serialization and deserialization of FilterTemplate instances from JSON format.