clipRectSource
The source rectangle to use when reading data.
Declaration
var clipRectSource: MTLRegion { get set }Discussion
This value indicates which part of the source image to read from. If the value of clipRectSource does not lie completely within the source image, then the intersection of the image bounds and the value of clipRectSource will be used. The value of clipRectSource replaces the offset value for this filter, which is ignored.
The default value is MPSRectNoClip, indicating that the entire source texture is used.