Instance Method

filterWithName:

Returns a filter object specified by name.

Required.

Declaration

- (CIFilter *)filterWithName:(NSString *)name;

Parameters

name

The name of the requested custom filter.

Return Value

A CIFilter object implementing the custom filter.

Discussion

Core Image calls this method when a filter is requested by name using the CIFilter class method filterWithName: method (or related methods). Your implementation of this method should provide a new instance of the CIFilter subclass for your custom filter.

See Also