macos_swift_metal_webcam_filter Importance notes for MacOS: set CVPixelBufferMetalCompatibilityKey to true in video output as documented in CVMetalTextureCacheCreateTextureFromImage References: http://flexmonkey.blogspot.co.uk/2015/07/generating-filtering-metal-textures.html https://navoshta.com/metal-camera-part-2-metal-texture/