About Metal and This Guide

The Metal framework supports GPU-accelerated advanced 3D graphics rendering and data-parallel computation workloads. Metal provides a modern and streamlined API for fine-grained, low-level control of the organization, processing, and submission of graphics and computation commands, as well as the management of the associated data and resources for these commands. A primary goal of Metal is to minimize the CPU overhead incurred by executing GPU workloads.

Metal框架支持GPU加速的高级3D图形渲染和数据并行计算工作负载。Metal为细粒度、低级的组织、处理和提交图形和计算命令以及对这些命令的相关数据和资源的管理提供了一个现代化的、精简的API。Metal的主要目标是最小化执行GPU工作负载所带来的CPU开销。

At a Glance

This document describes the fundamental concepts of Metal: the command submission model, the memory management model, and the use of independently compiled code for graphics shader and data-parallel computation functions. The document then details how to use the Metal API to write an app.

本文档描述了Metal的基本概念:命令提交模型、内存管理模型,以及独立编译的代码用于图形着色器和数据并行计算功能。然后文档详细说明了如何使用Metal API编写应用程序。

You can find more details in the following chapters:

Prerequisites

You should be familiar with the Objective-C language and experienced in programming with OpenGL, OpenCL, or similar APIs.

See Also

The Metal Framework Reference is a collection of documents that describes the interfaces in the Metal framework.

The_Metal Shading Language Guide_is a document that specifies the Metal shading language, which is used to write a graphics shader or a compute function that is used by a Metal app.

In addition, several sample code projects using Metal are available in the Apple Developer Library.

results matching ""

    No results matching ""