Instance Property


The name of the kernel routine.


var name: String { get }


The name of a kernel routine is the identifier used to declare it in the Core Image Kernel Language source code. For example, if you use the init(source:) method to create a kernel from the source code below, the name of the returned CIKernel object is “moveUpTwoPixels”.

kernel vec4 moveUpTwoPixels (sampler image) {
    vec2 dc = destCoord();
    vec2 offset = vec2(0.0, 2.0);
    return sample (image, samplerTransform (image, dc + offset));

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software