---
title: name
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cifilter-swift.class/name
---

# name

A name associated with a filter.

## Declaration

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

## Discussion

Discussion You use a filter’s name to construct key paths to its attributes when the filter is attached to a Core Animation layer. For example, if a CALayer object has an attached CIFilter instance whose name is myExposureFilter, you can refer to attributes of the filter using a key path such as filters.myExposureFilter.inputEV. Layer animations may also access filter attributes via these key paths. Core Animation can animate this property on a layer. The default value for this property is nil.

## See Also

### Getting filter parameters and attributes

- [isEnabled](coreimage/cifilter-swift.class/isenabled.md)
- [attributes](coreimage/cifilter-swift.class/attributes.md)
- [inputKeys](coreimage/cifilter-swift.class/inputkeys.md)
- [outputKeys](coreimage/cifilter-swift.class/outputkeys.md)
- [outputImage](coreimage/cifilter-swift.class/outputimage.md)
