MetalFX

On this page 7

MetalFX is the Apple framework for upscaling and frame generation in applications that render with Metal, allowing a game to render fewer pixels and reconstruct a sharp high-resolution image. Introduced with macOS Ventura and iOS 16, it is a key part of how Apple silicon Macs run demanding games, and it sits within the Apple silicon & compatibility toolkit next to Metal, Game Mode and the Game Porting Toolkit.

The idea mirrors techniques known on other platforms: the GPU spends its budget on a smaller internal frame, and a specialized pass rebuilds detail for the display. Because Apple silicon uses a unified memory architecture, the upscaler shares the same memory pool as the rest of the render pipeline, which keeps the extra pass inexpensive.

How MetalFX reconstructs a high-resolution frame

MetalFX works as a post-processing stage inserted after the main scene is rendered and before user interface elements are drawn. The game renders the 3D scene at a reduced internal resolution, passes the color image and supporting data to a MetalFX scaler object, and receives an output texture at the target resolution.

The framework offers two original scaler types. The spatial scaler analyzes only the current frame and sharpens edges, which is simple to adopt. The temporal scaler accumulates information across several frames, using motion vectors, depth and sub-pixel camera jitter to recover genuine detail that a single low-resolution frame does not contain.

Later releases extended the framework with frame interpolation, which synthesizes an intermediate frame between two rendered frames, and a denoised upscaler that combines ray tracing denoising with temporal upscaling in one pass. Availability of these newer features depends on the macOS version and the GPU family.

The table below summarizes the inputs each technique needs from the game.

TechniqueRequired inputsIntegration effort
Spatial upscalingCurrent color frameLow
Temporal upscalingColor, depth, motion vectors, jitter offsetMedium
Frame interpolationTwo rendered frames, motion vectors, depthMedium to high
Denoised upscalingNoisy ray-traced color plus auxiliary buffersHigh
MetalFX techniques and required inputs

Quality modes and performance trade-offs

The central trade-off in MetalFX is input resolution versus image fidelity. A lower internal resolution frees more GPU time but gives the scaler less information, so fine patterns such as foliage, wires and text in the scene degrade first.

Developers choose the input size themselves rather than selecting fixed presets, but most games expose familiar quality, balanced and performance labels. The values below are typical ratios, not fixed rules, and the right choice depends on the title and the display.

Mode labelScale per axisPixels renderedTypical outcome
QualityAbout 1.5xAbout 44 percentClose to native image
BalancedAbout 1.7xAbout 35 percentSlight softness in motion
Performance2x25 percentVisible loss in fine detail
Typical scale ratios used with MetalFX

Temporal upscaling at a 2x ratio typically reconstructs a far better image than spatial upscaling at the same ratio, but it can introduce ghosting and smearing when motion vectors are missing or wrong, for example on particles and transparent surfaces.

MetalFX compared with other upscaling technologies

MetalFX fills the same role on Apple platforms that NVIDIA DLSS, AMD FSR and Intel XeSS fill on Windows PCs. The concepts are similar, but the platform support and the hardware path differ.

TechnologyPlatformsMain approach
MetalFXmacOS, iOS, iPadOS on MetalSpatial and temporal, tuned for Apple GPUs
DLSSWindows with NVIDIA RTX GPUsMachine learning on dedicated tensor cores
FSRCross-platform, open sourceSpatial or temporal, vendor-neutral shaders
XeSSWindows on Intel and other GPUsMachine learning with a fallback path
Comparison with competing upscalers

For developers porting a PC title, the practical consequence is that DLSS integration does not carry over to the Mac automatically. Because the temporal inputs are nearly identical, an engine that already feeds DLSS or FSR can usually wire MetalFX into the same hooks with moderate effort.

Adopting MetalFX in a Mac game

Integration starts with creating a scaler descriptor that declares the input and output sizes and pixel formats, then building the scaler object for the Metal device. Each frame, the renderer assigns the current textures and encodes the scaler into a Metal command buffer.

  • Apply a sub-pixel jitter sequence to the projection matrix so the temporal scaler can accumulate detail.
  • Render the user interface at native resolution after upscaling, so menus and text stay crisp.
  • Signal a history reset on camera cuts, otherwise old frames bleed into the new scene.
  • Adjust texture mip bias for the output resolution to avoid blurry surface textures.

The Game Porting Toolkit and engines with Metal back ends shorten this path, but native integration remains the most reliable way to get stable results, because the engine knows exactly which surfaces lack motion vectors.

Limitations and common artifacts

MetalFX cannot create information that the inputs do not support, so its weak points are predictable. The table lists the most common symptoms and their usual causes.

SymptomLikely causeUsual fix
Trails behind moving objectsMissing or incorrect motion vectorsWrite vectors for every animated object
Shimmering on thin geometryInput resolution too lowRaise the quality mode
Blurry texturesMip bias not adjustedApply a negative mip bias
Unstable frame pacing with interpolationLow base frame rateReach a stable base rate first
Typical MetalFX artifacts

Frame interpolation also adds input latency, because the system must hold a rendered frame before displaying the intermediate one. It is therefore best suited to single-player games that already run at a reasonable base frame rate, not to competitive titles.

The idea in brief

MetalFX lets a Mac game draw a smaller picture and then enlarge it cleverly. Drawing fewer pixels is much faster. The game therefore runs more smoothly. The enlargement step then fills in edges and detail, so the image still looks sharp on a large screen.

Picture an artist who sketches a scene quickly. Notes from earlier sketches help add fine detail. The important point is that smoother play costs very little visible quality when the game supplies good information to the upscaler.

A practical scenario

A small studio ports its third-person action game to the Mac. On a MacBook Air with a base Apple silicon chip, native rendering at 2560 x 1600 runs at about 28 frames per second, which feels sluggish in combat.

The team already supplies motion vectors and depth for its temporal antialiasing, so it connects those buffers to the MetalFX temporal scaler and renders internally at 1280 x 800, a 2x ratio per axis. The interface is drawn afterward at full resolution, and the camera cut system resets the scaler history.

The game now holds about 50 to 55 frames per second on the same machine. Testers report a small loss of detail on distant foliage, so the studio exposes a quality mode for owners of faster Macs, where the input rises to roughly two thirds of the output resolution.