<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIDepthOfField",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIDepthOfField"
  },
  "title" : "CIDepthOfField"
}
-->

# CIDepthOfField

The properties you use to configure a depth-of-field filter.

```
protocol CIDepthOfField : CIFilterProtocol
```

## Topics

### Instance Properties

[`inputImage`](/documentation/CoreImage/CIDepthOfField/inputImage)

The image to use as an input image.

[`point0`](/documentation/CoreImage/CIDepthOfField/point0)

The first point in the focused region of the output image.

[`point1`](/documentation/CoreImage/CIDepthOfField/point1)

The second point in the focused region of the output image.

[`radius`](/documentation/CoreImage/CIDepthOfField/radius)

The distance from the center of the effect.

[`saturation`](/documentation/CoreImage/CIDepthOfField/saturation)

The amount to adjust the saturation by.

[`unsharpMaskIntensity`](/documentation/CoreImage/CIDepthOfField/unsharpMaskIntensity)

The intensity of the unsharp mask effect applied to the in-focus area.

[`unsharpMaskRadius`](/documentation/CoreImage/CIDepthOfField/unsharpMaskRadius)

The radius of the unsharp mask effect applied to the in-focus area.

## See Also

[`depthOfField()`](/documentation/CoreImage/CIFilter-swift.class/depthOfField())

Simulates a depth of field effect.



---

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)