December 2017
Intermediate to advanced
351 pages
7h 52m
English
Even the largest avalanche is triggered by small things.—Vernor Vinge
To get a good feel for how Metal works, we visit an old chestnut that acts as the Hello, World! of graphics programming: rendering a triangle to the screen. This chapter is a high-level overview that touches on the various players in the Metal ecosystem. A more in-depth exploration of drawing 2D and 3D graphics is presented later in this book. This chapter helps you lay a solid foundation upon which to build more useful and complex programs.
This chapter begins by setting up Metal without using the built-in Apple template. You might be wondering why you would ...
Read now
Unlock full access