---
title: isDistortionTextureEnabled
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.1+]
path: metalfx/mtlfxframeinterpolatordescriptor/isdistortiontextureenabled
---

# isDistortionTextureEnabled

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

## Declaration

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

## Discussion

Discussion Set this property to 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 property to correct lens distortion artifacts during frame interpolation. This property’s default value is false.
