Contents

MTLFXFrameInterpolatorDescriptor

A set of properties that configure a frame interpolator, and a factory method that creates the effect.

Declaration

class MTLFXFrameInterpolatorDescriptor

Overview

A frame interpolator inspects two frames your game or app renders and, based on their properties, generates an extra frame at a fraction of the cost, helping you to increase your frame rate.

When you configure this descriptor, set the properties that determine the pixel format for each texture to the respective format of the texture you later assign to the scaler. For example, make sure that the format to which you set the colorTextureFormat property matches the format of the texture you later assign to the interpolator’s MTLFXFrameInterpolatorDescriptor/colorTexture property.

Topics

Instance Properties

Instance Methods

Type Methods