2. Overview of Rendering and Raster Graphics

The basic tool for the manipulation of reality is the manipulation of words.If you can control the meaning of words, you can control the people who must use them.—Philip K. Dick

The end result of your Metal code is that an image is rendered to the screen. But how does it get there? How does Metal take a bunch of data and translate it to something you can see?

Many people who start out with an interest in 3D graphics programming find themselves drowning in a sea of unknowns. What are shaders? What are buffers? What do all these numbers represent?

The way we think about how 3D graphics works and the way the computer thinks about it are vastly different. We can conceptualize picking up a crayon and drawing ...

Get Metal Programming Guide: Tutorial and Reference via Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.