The best way to learn something is to try to explain it to someone else. So I wrote a document as a PDF file and a collection of examples using the Metal API.
Here’s the final document. Hopefully people will find it of use.
Sample code can be found on GitHub.
And of course, like all examples, this one starts with… a blank screen.
And ends with a slightly more complex demonstration: