Demo of the Metal graphics framework in Swift, as presented to the Swift Language User Group (SF), November 4, 2014.
Set MBEDemoNumber
to a number between 0 and 3 (inclusive) and deploy to a device running iOS 10+.
Demo index: 0. Clear screen to solid color
- Draw spinning triangle in 2D
- Draw spinning lit sphere
- Draw spinning textured globe