Bulk update of extracted Apple sample-code archives from /Users/mmj/.cupertino/sample-code/, the source the v1.0.0 / v1.0.1 release database bundles indexed. 627 source zips processed: - 619 extracted successfully - 8 invalid zips skipped (samplecode.zip, accessibility.zip, appintents.zip, ios-ipados-release-notes.zip, watchos-release-notes.zip, visionos-release-notes-visionos-release-notes.zip, updates.zip, technologyoverviews-.zip — all corrupt downloads, not real samples, cupertino crawler #TBD). Result: 632 sample directories (was 606). 1,166 file-level changes: 139 new, 582 modified, 445 deleted. Sample directories whose zips extracted byte-identical to the previous version produce zero git changes. |
||
|---|---|---|
| .. | ||
| Common | ||
| Configuration | ||
| Metal | ||
| OpenGL | ||
| OpenGLToMetal.xcodeproj | ||
| .gitignore | ||
| LICENSE.txt | ||
| README.md | ||
Migrating OpenGL Code to Metal
Replace your app's deprecated OpenGL code with Metal.
Overview
- Note: This sample code project is associated with WWDC 2019 session 611: Bringing OpenGL Apps to Metal.
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.