Instance Property


The edge mode to use when texture reads stray off the edge of an image.


@property(readwrite, nonatomic) MPSImageEdgeMode edgeMode;


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 MPSImageEdgeModeZero.