Build your own low-level game engine in Metal!
Metal is a unified application programming interface (API) for the graphics processing unit, or GPU. Itâs unified because it applies to both 3D graphics and data-parallel computation paradigms. Metal is a low-level API because it provides programmers near-direct access to the GPU. Finally, Metal is a low-overhead API because it reduces the central processing unit (CPU) cost by multi-threading and pre-compiling of resources.
But beyond the technical definition, Metal is the most appropriate way to use the GPUâs parallel processing power to visualize data or solve numerical challenges. Itâs also tailored to be used for machine learning, image/video processing or, as this book describes, graphics rendering.
This book will introduce you to low-level graphics programming in Metal â Appleâs framework for programming on the graphics processing unit (GPU). As you progress through this book, youâll learn many of the fundamentals that go into making a game engine and gradually put together your own engine. Once your game engine is complete, youâll be able to put together 3D scenes and program your own simple 3D games. Because youâll have built your 3D game engine from scratch, youâll be able to customize every aspect of what you see on your screen.
This book is for intermediate Swift developers interested in learning 3D graphics or gaining a deeper understanding of how game engines work.