Type Method

samplerWithImage:

Creates and returns a sampler that references an image.

Declaration

+ (instancetype)samplerWithImage:(CIImage *)im;

Parameters

im

The image that you want the sampler to reference.

Return Value

A sampler object that references the image specified by the im argument.

See Also

Creating a Sampler

+ samplerWithImage:keysAndValues:

Creates and returns a sampler that references an image using options specified as key-value pairs.

+ samplerWithImage:options:

Creates and returns a sampler that references an image using options specified in a dictionary.