---
title: name
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cikernel/name
---

# name

The name of the kernel routine.

## Declaration

```swift
var name: String { get }
```

## Discussion

Discussion 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)); }
