makeFrameInterpolator(device:compiler:)
Creates a frame interpolator instance for a Metal device.
Declaration
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.