init(image:options:)
Initializes the sampler with an image object using options specified in a dictionary.
Declaration
init(image im: CIImage, options dict: [AnyHashable : Any]? = nil)Parameters
- im:
The image to initialize the sampler with.
- dict:
A dictionary that contains options specified as key-value pairs. See Sampler Option Keys.