---
title: "makeFrameInterpolator(device:)"
framework: MetalFX
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 27.1+]
path: "metalfx/mtlfxframeinterpolatordescriptor/makeframeinterpolator(device:)"
---

# makeFrameInterpolator(device:)

Creates a frame interpolator instance for a Metal device.

## Declaration

```swift
func makeFrameInterpolator(device: any MTLDevice) -> (any MTLFXFrameInterpolator)?
```

## Parameters

- `device`: The Metal device that creates the frame interpolator.

## Return Value

Return Value  A new frame interpolator instance upon success, or nil otherwise.
