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