Metal-Examples icon indicating copy to clipboard operation
Metal-Examples copied to clipboard

Just some examples of using the Metal API

Metal-Examples

Just some examples of using the Metal API. This is mostly just for me while I familiarize myself with the API. So is unlikely to be of interest to anyone.

To set it up, simply create a single view project (and have its view controller simply called ViewController, with a single UIView), and add the code from a specific example to build it.


Order of examples:

  1. [Bare Minimum Example](Bare Minimum Example)
  2. [Red Square Example](Red Square Example)
  3. [Textured Square Example](Textured Square Example)
  4. [Textured Square Example 2](Textured Square Example 2)
  5. [Wavey Checkers Example](Wavey Checkers Example)
  6. [Wavey Checkers Compute Example](Wavey Checkers Compute Example)