A kernel that consumes two textures and produces one texture.
SDKs
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Metal Performance Shaders
Declaration
class MPSBinaryImageKernel : MPSKernel
Overview
MPSBinary
defines shared behavior for most image processing kernels (filters) such as edging modes, clipping, and tiling support for image operations that consume two source textures. It is not meant to be used directly, but provides API abstraction and in some cases may allow some level of polymorphic manipulation of image kernel objects.