Contents

makeFrameInterpolator(device:)

Creates a frame interpolator instance for a Metal device.

Declaration

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

Parameters

  • device:

    The Metal device that creates the frame interpolator.

Return Value

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