Instance Method

initWithImage:

Initializes a sampler with an image object.

Declaration

- (instancetype)initWithImage:(CIImage *)im;

Parameters

im

The image object to initialize the sampler with.

See Also

Initializing a Sampler

- initWithImage:keysAndValues:

Initializes the sampler with an image object using options specified as key-value pairs.

- initWithImage:options:

Initializes the sampler with an image object using options specified in a dictionary.