Sample Code

Migrating OpenGL Code to Metal

Replace your app’s deprecated OpenGL code with Metal.

Download

Overview

Configure the Sample Code Project

To run the app:

  • Build the project with Xcode 11 or later.

  • Target an iOS device or simulator with iOS 11 or later.

See Also

Essentials

Basic Tasks and Concepts

Get familiar with Metal through a series of sample code projects.