edgeMode
The edge mode to use when texture reads stray off the edge of an image.
Declaration
var edgeMode: MPSImageEdgeMode { get set }Discussion
Most MPSKernel objects can read off the edge of the source image. This can happen because of a negative offset property, because the value of offset + clipRect.size is larger than the source image or because the filter looks at neighboring pixels, such as a convolution filter.
The default value is MPSImageEdgeMode.zero.