MPSBinaryImageKernel
A kernel that consumes two textures and produces one texture.
Declaration
class MPSBinaryImageKernelMentioned in
Overview
MPSBinaryImageKernel 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.
Topics
Initializers
Methods
encode(commandBuffer:primaryTexture:inPlaceSecondaryTexture:fallbackCopyAllocator:)encode(commandBuffer:inPlacePrimaryTexture:secondaryTexture:fallbackCopyAllocator:)encode(commandBuffer:primaryTexture:secondaryTexture:destinationTexture:)encode(commandBuffer:primaryImage:secondaryImage:destinationImage:)primarySourceRegion(forDestinationSize:)secondarySourceRegion(forDestinationSize:)