Metal Tutorial 0 β Preparation
Metal doesnβt hide the GPU from you β it gives you direct access to it. Before writing a single shader, this tutorial builds the mental model youβll rely on throughout the series: how GPU objects relate, what the render loop actually does each frame, and which setup work belongs in init vs. draw.
What youβll learn:
- The MTLDevice β MTLCommandQueue β MTLCommandBuffer ownership chain
- How
UIViewRepresentablewires upMTKViewandMTKViewDelegate - Coordinate spaces from model space through NDC to screen pixels
- Which objects pay a one-time creation cost vs. which are created per frame