
Metal (API)
跳到导航
跳到搜索
此條目需要擴充。 (2016年3月20日) |
![]() | |
![]() | |
開發者 | Apple Inc. |
---|---|
初始版本 | 2014年6月 |
编程语言 | C++14 |
操作系统 | iOS, macOS, tvOS |
类型 | API |
网站 |
developer |
Metal 是一个兼顾图形与计算功能的,面向底层、低开销的硬件加速应用程序接口(API),其类似于将 OpenGL 与 OpenCL 的功能集成到了同一个API上,最初支持它的系统是 iOS 8。Metal 使得 iOS 可以实现其他平台的类似功能,例如 Khronos Group 的跨平台 Vulkan 与 Microsoft Windows 上的 Direct3D 12。
Metal也通过引入计算着色器来进一步提高GPGPU编程的能力。[2]
Metal 使用一种基于C++11的新着色语言,其实现借助了 Clang 和 LLVM。[3]
历史[编辑]
2014年6月2日,Metal 开始支持iOS设备(仅支持Apple A7或更新款處理器的iPhone、iPad);2015年6月8日,Metal 开始支持运行 OS X El Capitan 的Mac设备(僅2012年中或更新款機種)[4][5]。
2017年6月5日,Apple於WWDC宣布了Metal的第二个版本,支持macOS High Sierra、iOS 11和tvOS 11。Metal 2不是Metal的獨立API,並且由需要的硬體支援。 Metal 2在Xcode中實現了更高效的分析和調試,加速了機器學習、降低了CPU工作負載、支持macOS上的虛擬實境以及Apple A11處理器的特性。[6]
2019年6月3日,Metal API更新到第三个版本,支持macOS Catalina、iOS 13和iPadOS 13
参见[编辑]
参考文献[编辑]
- ^ McWhertor, Michael. This is the game Apple used to show off iPhone 6. Polygon. Vox Media. September 9, 2014 [September 9, 2014]. (原始内容存档于2014-09-10).
- ^ Data-Parallel Compute Processing: Compute Command Encoder. developer.apple.com. [2017-02-10] (英语).
- ^ Metal Shading Language Guide. September 8, 2014 [September 10, 2014].
- ^ Apple 发布包含 4,000 多个全新 API 的 iOS 8 SDK
- ^ Apple 宣布推出体验更出色、性能更强大的 OS X El Capitan
- ^ Archived copy of the Metal homepage, November 2017. Apple Developer. Apple. 20 November 2017. (原始内容存档于November 20, 2017) –通过Wayback Machine. 已忽略未知参数
|df=
(帮助); 无效|dead-url=bot: unknown
(帮助)
外部链接[编辑]
|