MetalGameOfLife: Data-parallel Programming with the MTLComputeCommandEncoder in Metal
Version 1.0, 2016-09-13
Xcode 7.2, iOS 9.0 SDK, tvOS 9.1 SDK, OS X 10.11 SDK
iOS 9.0 or later, tvOS 9.1 or later, or OS X 10.11 and a device supporting Metal
This sample demonstrates the use of data-parallel programming with the MTLComputeCommandEncoder in Metal on OS X, iOS, and tvOS. It implements a version of Conway's Game of Life, a simulation that plays out over time on a two-dimensional grid of cells.