Skip to content

Files

Latest commit

59522d1 · Dec 24, 2016

History

History

MetalImageFilters

Metal Image Filters: Using the image filters provided by the Metal Performance Shaders framework.

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.

Requirements

Build

Xcode 8.0 or later; iOS 10.0 SDK or later

Runtime

iOS 10.0 or later

Device Feature Set

iOS GPU Family 2 or later

Copyright (C) 2016 Apple Inc. All rights reserved.