<!--
{
  "documentType" : "article",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/filter-attribute-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Filter Attribute Keys"
}
-->

# Filter Attribute Keys

Attributes for a filter and its parameters.

## Discussion

Attribute keys are used for the attribute dictionary of a filter.  Most entries in the attribute dictionary are optional. The attribute [`kCIAttributeFilterName`](/documentation/CoreImage/kCIAttributeFilterName) is mandatory. For a parameter, the attribute [`kCIAttributeClass`](/documentation/CoreImage/kCIAttributeClass) is mandatory because it specifies the class name of the filter.

A parameter of type <doc://com.apple.documentation/documentation/Foundation/NSNumber> does not necessarily need the attributes [`kCIAttributeMin`](/documentation/CoreImage/kCIAttributeMin) and [`kCIAttributeMax`](/documentation/CoreImage/kCIAttributeMax). These attributes are not present when the parameter has no upper or lower bounds. For example, the Gaussian blur filter has a radius parameter with a minimum of `0` but no maximum value to indicate that all nonnegative values are valid.

## Topics

### Constants

[`kCIAttributeFilterName`](/documentation/CoreImage/kCIAttributeFilterName)

The filter name.

[`kCIAttributeFilterDisplayName`](/documentation/CoreImage/kCIAttributeFilterDisplayName)

The localized version of the filter name that is displayed in the user interface.

[`kCIAttributeDescription`](/documentation/CoreImage/kCIAttributeDescription)

The localized description of the filter. This description should inform the user what the filter does and be short enough to display in the user interface for the filter. It is not intended to be technically detailed.

[`kCIAttributeFilterAvailable_Mac`](/documentation/CoreImage/kCIAttributeFilterAvailable_Mac)

The macOS version in which the filter first became available.

[`kCIAttributeFilterAvailable_iOS`](/documentation/CoreImage/kCIAttributeFilterAvailable_iOS)

The iOS version in which the filter first became available.

[`kCIAttributeReferenceDocumentation`](/documentation/CoreImage/kCIAttributeReferenceDocumentation)

The localized reference documentation for the filter. The reference should provide developers with technical details.

[`kCIAttributeFilterCategories`](/documentation/CoreImage/kCIAttributeFilterCategories)

An array of filter category keys that specifies all the categories in which the filter is a member.

[`kCIAttributeClass`](/documentation/CoreImage/kCIAttributeClass)

The class name of the filter.

[`kCIAttributeType`](/documentation/CoreImage/kCIAttributeType)

The type of an attribute.

[`kCIAttributeMin`](/documentation/CoreImage/kCIAttributeMin)

The minimum value for a filter parameter, specified as a floating-point value.

[`kCIAttributeMax`](/documentation/CoreImage/kCIAttributeMax)

The maximum value for a filter parameter, specified as a floating-point value.

[`kCIAttributeSliderMin`](/documentation/CoreImage/kCIAttributeSliderMin)

The minimum value, specified as a floating-point value, to use for a slider that controls input values for a filter parameter.

[`kCIAttributeSliderMax`](/documentation/CoreImage/kCIAttributeSliderMax)

The maximum value, specified as a floating-point value, to use for a slider that controls input values for a filter parameter.

[`kCIAttributeDefault`](/documentation/CoreImage/kCIAttributeDefault)

The default value, specified as a floating-point value, for a filter parameter.

[`kCIAttributeIdentity`](/documentation/CoreImage/kCIAttributeIdentity)

If supplied as a value for a parameter, the parameter has no effect on the input image.

[`kCIAttributeName`](/documentation/CoreImage/kCIAttributeName)

The name of the attribute.

[`kCIAttributeDisplayName`](/documentation/CoreImage/kCIAttributeDisplayName)

The localized display name of the attribute.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)