Wrap a Kernel in a Filter Pro
- Writing Custom Kernels
- Advances in Core Image: Filters, Metal, Vision, and More
- Core Image Programming Guide: Creating Custom Filters (This is a bit outdated, but it still contains good content)
To use a metal kernel, you must access it from inside a CIFilter. See how to create a filter that utilizes your freshly forged kernel.