The source rectangle to use when reading data.
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Metal Performance Shaders
This value indicates which part of the source image to read from. If the value of
clip does not lie completely within the source image, then the intersection of the image bounds and the value of
clip will be used. The value of
clip replaces the
offset value for this filter, which is ignored.
The default value is
MPSRect, indicating that the entire source texture is used.