<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXFrameInterpolatorDescriptor/isDistortionTextureEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLFXFrameInterpolatorDescriptor(py)distortionTextureEnabled"
  },
  "title" : "isDistortionTextureEnabled"
}
-->

# isDistortionTextureEnabled

A Boolean value that indicates whether the frame interpolator supports barrel distortion correction.

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

## Discussion

Set this property to <doc://com.apple.documentation/documentation/Swift/true> to create a frame interpolator
that can apply barrel distortion correction using a distortion field texture.

When you enable this property, you can assign a distortion texture to the interpolator’s
[`distortionTexture`](/documentation/MetalFX/MTLFXFrameInterpolatorBase/distortionTexture) property to correct lens distortion artifacts
during frame interpolation.

This property’s default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)