Kinds of shader
The shaders by which stage of the GPU they run in: once per pixel, once per corner of a shape, or as general-purpose compute.

Fragment
Fragment shaders, also called pixel shaders: a small program that runs once for every pixel and returns its color. Most of what you see on screen starts here.

Vertex
Vertex shaders: programs that place the corners of shapes in space, so a flat mesh can bend, wave and move.

Compute
Compute shaders: general-purpose programs on the GPU, used for particles, simulations and anything that isn't a picture yet.

Mesh
Mesh and object shaders: Metal's way of generating geometry on the GPU, in the place geometry shaders fill on other platforms.

SwiftUI Effect
SwiftUI effects: stitchable Metal functions SwiftUI runs on a view’s pixels, as color, distortion and layer effects, from the playground to an app.
No shaders yet
- TileTile shaders: programs that work on the small tiles of the screen Apple GPUs render in, close to the pixels.