Metal Image Filters: Using the image filters provided by the Metal Performance Shaders framework.
Last Revision: | Version 1.0, 2016-09-13 First release |
Build Requirements: | Xcode 8.0 or later; iOS 10.0 SDK or later |
Runtime Requirements: | iOS 10.0 or later; iOS GPU Family 2 or later |
This sample demonstrates how to use a selection of MPSKernel classes to filter an image on the GPU. The image is processed as a MTLTexture object, obtained from either a bundled file or a real-time video stream. The filters demonstrated range from a single-pass Sobel filter to a multi-pass histogram specification.
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13