Metal Programming Guide: Tutorial and Reference via Swift
- Length: 352 pages
- Edition: 1
- Language: English
- Publisher: Addison-Wesley Professional
- Publication Date: 2018-01-05
- ISBN-10: 0134668944
- ISBN-13: 9780134668949
- Sales Rank: #979098 (See Top 100 Books)
Master Metal: The Next-Generation Graphics and GPU Programming Platform for Apple Developers
Metal enables Apple developers to maximize performance in demanding tasks like 3D graphics, games, scientific programming, visualization, and GPU-accelerated machine learning. Metal® Programming Guide is the authoritative, practical guide to Metal for all iOS programmers who are interested in graphics programming but don’t know where to start.
Pioneering Apple developer Janie Clayton covers everything from basic draw calls to advanced parallel computing, combining easy-to-understand conceptual explanations with well-tested Swift 4/Xcode 9 sample code (available for download at GitHub).
Clayton introduces the essential Metal, graphics, and math concepts every graphics programmer needs to know. She also discusses key graphics-specific libraries, concepts, and Metal Classes, presenting techniques and examples you’ll find valuable for both graphics and data processing. Clayton also provides coverage of the Metal Compute Pipeline, demonstrating practical GPU programming applications ranging from image processing to neural networking.
- Quickly get a basic Metal project running
- Work with Metal resources and memory management
- Learn how shaders are compiled and accessed by the CPU
- Program both 2D and 3D graphics with Metal
- Import 3D models and assets from Blender, Maya, and other programs
- Apply imported textures to model objects
- Use multipass rendering to efficiently implement computationally expensive techniques
- Leverage tessellation to reduce mesh detail
- Use the GPU for a wide spectrum of general-purpose computing applications
- Get started with the Metal Performance Shaders Framework
Register your product at informit.com/register for convenient access to downloads, updates, and/or corrections as they become available.
Table of Contents
PART I: Metal Basics
Chapter 1 What Is Metal?
Chapter 2 Overview of Rendering and Raster Graphics
Chapter 3 Your First Metal Application (Hello, Triangle!)
PART II: Rendering and Graphics
Chapter 4 Essential Mathematics for Graphics
Chapter 5 Introduction to Shaders
Chapter 6 Metal Resources and Memory Management
Chapter 7 Libraries, Functions, and Pipeline States
Chapter 8 2D Drawing
Chapter 9 Introduction to 3D Drawing
Chapter 10 Advanced 3D Drawing
Chapter 11 Interfacing with Model I/O
Chapter 12 Texturing and Sampling
Chapter 13 Multipass Rendering Techniques
Chapter 14 Geometry Unleashed: Tessellation in Metal
PART III: Data Parallel Programming
Chapter 15 The Metal Compute Pipeline
Chapter 16 Image Processing in Metal
Chapter 17 Machine Vision
Chapter 18 Metal Performance Shaders Framework
Chapter 19 Neural Network Concepts
Chapter 20 Convolutional Neural Networks