Metal (API)

Metal
DeveloperApple Inc.
ReleaseJune 2014 (2014-06)
Stable release
4 / June 2025 (2025-06)
Written inMetal Shading Language (C++14-based in Metal 1–3, C++17-based in Metal 4),
Metal GPU Drivers: C/C++,
Metal Runtime: Objective-C, C/C++,
Metal API: Objective-C, Swift, C++ (binding via metal-cpp)
Operating systemiOS, iPadOS, macOS, tvOS and visionOS
Type3D graphics and compute API
LicenseProprietary
Websitedeveloper.apple.com/metal/

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 (MSL).