Metal is a low-level, low-overhead hardware-accelerated 3D graphic and compute shader API created by Apple, debuting in iOS 8. Metal combines functions similar to OpenGL and OpenCL in one API. It is intended to improve performance by offering low-level access to the GPU hardware for apps on iOS, iPadOS, macOS, tvOS and visionOS (though not watchOS). It is similar to low-level APIs on other platforms such as Vulkan and DirectX 12.

Metal is an object-oriented API that can be invoked using the Swift, Objective-C or C++17 programming languages. Full-blown GPU execution is controlled via the Metal Shading Language. According to Apple promotional materials: "MSL [Metal Shading Language] is a single, unified language that allows tighter integration between the graphics and compute programs. Since MSL is C++-based, you will find it familiar and easy to use."

Features

Metal aims to provide low-overhead access to the GPU. Commands are encoded beforehand and then submitted to the GPU for asynchronous execution. The application controls when to wait for the execution to complete thus allowing application developers to increase throughput by encoding other commands while commands are executed on the GPU or save power by explicitly waiting for GPU execution to complete. Additionally, command encoding is CPU independent thus applications can encode commands to each CPU thread independently. Lastly, render states are pre-computed beforehand, allowing the GPU driver to know in advance how to configure and optimize the render pipeline before command execution.

Metal improves the capabilities of GPGPU programming by using compute shaders. Metal uses a specific shading language based on C++14, implemented using Clang and LLVM.

Metal allows application developers to create Metal resources such as buffers, textures. Resources can be allocated on the CPU, GPU, or both and provides facilities to update and synchronize allocated resources. Metal can also enforce a resource's state during a command encoder's lifetime.

On macOS, Metal can provide application developers the discretion to specify which GPU to execute. Application developers can choose between the low-power integrated GPU of the CPU, the discrete GPU (on certain MacBooks and Macs) or an external GPU connected through Thunderbolt. Application developers also have the preference on how GPU commands are executed on which GPUs and provides suggestion on which GPU a certain command is most efficient to execute (commands to render a scene can be executed by the discrete GPU while post-processing and display can be handled by the integrated GPU).

Metal Performance Shaders

Metal Performance Shaders is a highly optimized library of graphics functions that can help application developers achieve great performance at the same time decrease work on maintaining GPU family specific functions. It provides functions including:

  • Image filtering algorithms
  • Neural network processing
  • Advanced math operations
  • Ray tracing

History

Metal has been available since June 2, 2014 on iOS devices powered by Apple A7 or later, and since June 8, 2015 on Macs (2012 models or later) running OS X El Capitan.

On June 5, 2017, at WWDC, Apple announced the second version of Metal, to be supported by macOS High Sierra, iOS 11 and tvOS 11. Metal 2 is not a separate API from Metal and is supported by the same hardware. Metal 2 enables more efficient profiling and debugging in Xcode, accelerated machine learning, lower CPU workload, support for virtual reality on macOS, and specificities of the Apple A11 GPU, in particular.

At the 2020 WWDC, Apple announced the migration of the Mac to Apple silicon. Macs using Apple silicon will feature Apple GPUs with a feature set combining what was previously available on macOS and iOS, and will be able to take advantage of features tailored to the tile based deferred rendering (TBDR) architecture of Apple GPUs.

At the 2022 WWDC, Apple announced the third version of Metal (Metal 3), which would debut with the release of macOS Ventura, iOS 16 and iPadOS 16. Metal 3 introduces the MetalFX upscaling framework, which renders complex scenes in less time per frame with high-performance upscaling and anti-aliasing, mesh shaders support. Also announced possibility to use C/C++ for Metal API.

At the 2023 WWDC, Apple announced a brand new toolkit called the Game Porting Toolkit to port Windows 10/11-based games. It includes an environment to test binaries, translation layers from HLSL to MSL, and Metal-cpp bindings. Jeremy Sandmel announced a new Game Mode for macOS Sonoma, and Hideo Kojima announced Death Stranding for the macOS App Store.

At the 2024 WWDC, Apple announced Game Porting Toolkit 2, along with the release of new games such as Control: Ultimate Edition, Frostpunk 2, and Assassin's Creed Shadows for macOS.

At the 2025 WWDC, Apple announced Metal 4, a new version of the API featuring a unified command encoder system, support for neural rendering, and new technologies such as MetalFX Frame Interpolation and a ray tracing denoiser.

Supported GPUs

The first version of Metal supports the following hardware and software:

The second version of Metal supports the following hardware and software:

The third version of Metal supports the following hardware and software:

The fourth version of Metal supports the following hardware and software:

Adoption

According to Apple, more than 148,000 applications use Metal directly, and 1.7 million use it through high-level frameworks, as of June 2017. macOS games using Metal for rendering are listed below.

TitleDeveloper (macOS version)Game engineMacOS release date (OpenGL/DirectX)Metal-based release dateMetal support notes
Ark: Survival EvolvedStudio WildcardUnreal Engine 429 August 2017
Assassin's Creed ShadowsUbisoft QuebecUbisoft Anvil20 March 2025
ARMA 3Virtual ProgrammingReal Virtuality31 August 2015Metal support in beta since 17 September 2017[citation needed]
Baldur's Gate IIILarian StudiosDivinity Engine 4.022 September 2023Metal support in early access since 6 October 2020[citation needed]
Ballistic OverkillAquiris Game StudioUnity Engine 528 March 2017
Batman: Arkham CityFeral InteractiveUnreal Engine 318 October 2013Metal support since 21 February 2019 with v1.2[citation needed]
Batman: The Enemy WithinTelltale GamesTelltale Tool8 August 2017
BattleTechHarebrained SchemesUnity Engine 524 April 2018
Bioshock RemasteredFeral InteractiveUnreal Engine 2.522 August 2017
Bioshock 2 RemasteredFeral InteractiveUnreal Engine 2.522 October 2020
Cyberpunk 2077CD ProjektREDengine 417 July 2025Support for Metal 4
Cities: SkylinesParadox InteractiveUnity Engine 510 March 2015Metal support since 18 May 2017[citation needed]
Civilization VIAspyr MediaLORE24 October 2016Metal support since 5 April 2019[citation needed]
Company of Heroes 2Feral InteractiveEssence Engine 321 January 2015Metal support since 19 October 2018[citation needed]
Control: Ultimate EditionRemedy EntertainmentNorthlight Engine26 March 2025
Dead Island 2Dambuster StudiosUnreal Engine 424 July 2025
Deus Ex: Mankind DividedFeral InteractiveDawn Engine12 December 2017
DiRT RallyFeral InteractiveEGO Engine 2.516 November 2017
Divinity: Original Sin IILarian StudiosDivinity Engine 231 January 2019
Dota 2ValveSource 218 July 2013MoltenVK was announced on 26 February 2018. The option to use this became available on 31 May 2018.
The Elder Scrolls OnlineZenimax Online StudiosN/A4 April 201422 October 2018OpenGL Renderer replaced with Vulkan via MoltenVK wrapper (translates Vulkan API calls to Metal) in patch 4.2.5
Empire: Total WarFeral InteractiveTW Engine 34 March 2009Metal support since 16 December 2019[citation needed]
EVE OnlineCCP GamesN/A6 November 200714 October 2021Previously available on macOS via DirectX 9.0 from November 2007 until February 2009; native macOS version using Metal released 14 November 2021[citation needed]
EverspaceRockfishUnreal Engine 426 May 2017
F1 2016Feral InteractiveEGO Engine 4.06 April 2017
F1 2017Feral InteractiveEGO Engine 4.025 August 2017
FortniteEpic GamesUnreal Engine 425 July 2017
Frostpunk11 Bit StudiosLiquid Engine24 February 2021
Frostpunk 211 Bit StudiosUnreal Engine 520 September 2024
GravelVirtual ProgrammingUnreal Engine 420 January 2019
Guardians of the Galaxy: The Telltale SeriesTelltale GamesTelltale Tool18 April 2017
HeadlanderDouble Fine ProductionsBuddha Engine18 November 2016
Heroes of the StormBlizzard EntertainmentSC2 Engine2 June 2015Metal support in beta since 24 January 2017 (temporarily removed on 29 November 2017 until ?)[citation needed]
HitmanFeral InteractiveGlacier 220 June 2017
Life Is Strange: Before the StormFeral InteractiveUnity Engine13 September 2018
Life Is Strange 2Feral InteractiveUnreal Engine 42019
Mafia IIIAspyr MediaIllusion Engine11 May 2017
Medieval II: Total WarFeral InteractiveTW Engine 217 December 2015Metal support since 25 October 2018[citation needed]
Micro Machines World SeriesVirtual ProgrammingUnity Engine 530 June 2017
Minecraft: Story Mode - Season TwoTelltale GamesTelltale Tool11 July 2017
MXGP3Virtual ProgrammingUnreal Engine 423 November 2018
Napoleon: Total WarFeral InteractiveTW Engine 32 July 2013Metal support since 25 October 2019 with v1.2[citation needed]
ObductionCyan WorldsUnreal Engine 429 March 2017
ObserverBloober TeamUnreal Engine 424 October 2017
Quake IIid SoftwareQuake II engine9 February 2019A port using MoltenVK was released as vkQuake2.
RefunctDominique GrieshoferUnreal Engine 45 September 2016
Resident Evil 2CapcomRE Engine10 December 2024
Resident Evil 3CapcomRE Engine18 March 2025
Resident Evil 4CapcomRE Engine20 December 2023
Resident Evil VillageCapcomRE Engine28 October 2022First macOS game with MetalFX support
Rise of the Tomb RaiderFeral InteractiveFoundation Engine12 April 2018
Shadow of the Tomb RaiderFeral InteractiveFoundation Engine2019
Sid Meier's Railroads!Feral InteractiveGamebryo1 November 2012Metal support since 18 December 2018[citation needed]
The Sims 3Maxis Redwood ShoresThe Sims 3 Engine2 June 200928 October 2020
The Sims 4MaxisSmartSim17 February 2015Metal support added 12 November 2019[citation needed]
Sky: Children of the LightThatgamecompanyN/A18 July 2019Native Metal support added since pre-global live in November 2017
StarcraftBlizzard EntertainmentModified Warcraft II engine20 November 2001Metal support since 2 July 2020 with v1.23.5[citation needed]
StarCraft IIBlizzard EntertainmentSC2 Engine27 July 2010Metal support in beta since 24 January 2017[citation needed]
Tomb RaiderFeral InteractiveFoundation Engine17 January 2014Metal support with v1.2 in July 2019[citation needed]
Total War: Rome RemasteredFeral InteractiveTW Engine 229 April 2021
Total War: Shogun 2Feral InteractiveTW Engine 331 July 2014Metal support since 4 October 2019[citation needed]
Total War: Shogun 2: Fall of the SamuraiFeral InteractiveTW Engine 318 December 2014Metal support since 4 October 2019[citation needed]
Total War: Three KingdomsFeral InteractiveTW Engine 323 May 2019
Total War: WarhammerFeral InteractiveTW Engine 319 April 2017
Total War: Warhammer IIFeral InteractiveTW Engine 320 November 2018
Total War Saga: Thrones of BritanniaFeral InteractiveTW Engine 324 May 2018
Total War Saga: TroyFeral InteractiveTW Engine 313 August 2020
Transport Fever 2Urban GamesN/A23 February 2021Metal support using MoltenVK and OpenGL
Universe SandboxGiant ArmyUnity Engine 5TBAMetal support in beta since June 2017[citation needed]
Unreal TournamentEpic GamesUnreal Engine 4CancelledMetal support since January 2017[citation needed]
War ThunderGaijin EntertainmentDagor Engine 41 November 2012Metal support added 24 May 2017 (removed in ? 2018 and reintroduced 27 August 2020)[citation needed]
Warhammer 40,000: Dawn of War IIIFeral InteractiveEssence Engine 49 June 2017
The WitnessThekla, IncThekla Engine8 March 2017
World of WarcraftBlizzard EntertainmentWoW Engine23 November 2004Metal support since August 2016[citation needed]
X-Plane 11Laminar ResearchN/A30 May 2017Metal support in beta since 2 April 2020

See also

  • Direct3D – DirectX 12 introduces low-level APIs.
  • Mantle – low-level API by AMD
  • Vulkan – low-overhead successor to OpenGL
  • MoltenVK - software compatibility library to run Vulkan software on top of the Metal API
  • WebGPU
  • OpenGL - cross-platform graphics API

External links

  • (preliminary)
  • ;
  • - Apple article explaining what GPUs are compatible with Apple's Metal APIs on Mac OS 10.14 (Mojave) operating system