Type Method

kernelsWithString:

Creates and returns and array of CIKernel objects.

Declaration

+ (NSArray<CIKernel *> *)kernelsWithString:(NSString *)string;

Parameters

s

A program in the Core Image Kernel Language that contains one or more routines, each of which is marked using the kernel keyword.

Return Value

An array of CIKernel objects. The array contains one CIKernel objects for each kernel routine in the supplied string. Each object in the array can be of class CIKernel, CIColorKernel, or CIWarpKernel depending on the corresponding routine specified in the Core Image Kernel Language source code string.

Discussion

The Core Image Kernel Language is a dialect of the OpenGL Shading Language. See Core Image Kernel Language Reference and Core Image Programming Guide for more details.

See Also

Creating a Kernel Using Core Image Kernel Language

+ kernelWithString:

Creates a single kernel object.

Deprecated