<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/layerUsesCoreImageFilters",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(py)layerUsesCoreImageFilters"
  },
  "title" : "layerUsesCoreImageFilters"
}
-->

# layerUsesCoreImageFilters

A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering.

```
var layerUsesCoreImageFilters: Bool { get set }
```

## Discussion

If your view uses a custom layer and you assigned Core Image to that layer directly, you must set this property to <doc://com.apple.documentation/documentation/Swift/true> to let AppKit know of that fact. In macOS 10.9 and later, AppKit prefers to render layer trees out-of-process but cannot do so if any layers have Core Image filters attached to them. Specifying <doc://com.apple.documentation/documentation/Swift/true> for property lets AppKit know that it must move rendering of the layer hierarchy back into your app’s process. If the value of this property is <doc://com.apple.documentation/documentation/Swift/false>, adding a filter to the view’s layer triggers an exception.

You do not need to modify this property if you assigned the filters using the [`backgroundFilters`](/documentation/AppKit/NSView/backgroundFilters), [`compositingFilter`](/documentation/AppKit/NSView/compositingFilter), or [`contentFilters`](/documentation/AppKit/NSView/contentFilters) properties of the view. Those methods automatically let AppKit know that it needs to render the layer hierarchy in-process. Set it only if you set the filters on the layer directly.

## See Also

[`-  removeConstraint:`](/documentation/AppKit/NSView/removeConstraint(_:))

Removes the specified constraint from the view.



---

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)