From fundamentals to practice — a hands-on guide to Apple's GPU framework. Buffers, textures, and shaders; the render pipeline and compute; and the tools that capture, profile, and diagnose a real frame.
Free bonus: 3 interactive shader tutorials, included with the book or an all-access subscription. Try the foil sticker tutorial free.
Every concept is illustrated — the GPU pipeline drawn out step by step — and paired with complete, runnable Metal and MSL code you can drop straight into a project. Each article goes deep: not just which API to call, but what the hardware actually does with it. These are real pages, in light and dark.
This book is for Apple platform developers who are starting to work with Metal and want a practical path from the fundamentals to real debugging workflows. It explains the core rendering and compute concepts first, then shows how to inspect, capture, trace, and diagnose Metal workloads with Xcode's tools.
After reading it, you should be able to build and reason about basic Metal rendering or compute features, understand how data moves between the CPU and GPU, and use frame capture or traces to investigate correctness and performance problems.
Experienced Metal developers can use the second part as a focused guide to tooling: GPU Frame Capture, baselines, manual diagnostics, and the details that matter when a rendering or compute workload behaves differently from what the code suggests.
Readers should already be comfortable with Swift or Objective-C, Xcode, and basic graphics-programming ideas. Prior experience with OpenGL or similar ones is helpful but not required.
One throughline in two parts. Part I — Metal Fundamentals takes you from your first command buffer to a full pipeline on screen. Part II — Tools & Diagnostics — the half most Metal books skip — is how you read a frame like a profiler and make it fast.
MTLBuffers for the GPU.A modern web book you read right in the browser — no app to install, nothing to download. A few things make it comfortable to read:
Two parts · 8 chapters · 25 illustrated articles — Metal Fundamentals and Tools & Diagnostics. Lifetime access, including future revisions.