<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXFrameInterpolatorDescriptor/makeFrameInterpolator(device:compiler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLFXFrameInterpolatorDescriptor(im)newFrameInterpolatorWithDevice:compiler:"
  },
  "title" : "makeFrameInterpolator(device:compiler:)"
}
-->

# makeFrameInterpolator(device:compiler:)

Creates a frame interpolator instance for a Metal device.

```
func makeFrameInterpolator(device: any MTLDevice, compiler: any MTL4Compiler) -> (any MTL4FXFrameInterpolator)?
```

## Parameters

`device`

The Metal device that creates the frame interpolator.

`compiler`

A compiler instance this method can use to build pipeline state objects.

## Return Value


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

---

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)