Metal N-Body Simulation
Last Revision: | Version 1.1, 2015-12-10 First release. |
Build Requirements: | Xcode 7.1, iOS 9.1 SDK |
Runtime Requirements: | iOS 9.1 or later |
Performs an N-body simulation which calculates a gravity field and corresponding velocity and acceleration contributions accumulated by each body in the system from every other body. This further demonstrates performant techniques for compute kernel generating visualization data for the fragment and vertex stages in the Metal render pipeline.
This sample is intended to be built and used with devices listed on iOS device compatibility reference page:
<https://developer.apple.com/library/ios/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/OpenGLESPlatforms/OpenGLESPlatforms.html>.
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-12-10