An optional clip rectangle to use when writing data. Only the pixels in the rectangle will be overwritten.
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Metal Performance Shaders
This value indicates which part of the destination to overwrite. If the clip rectangle does not lie completely within the destination image, then the intersection between the clip rectangle and destination bounds is used instead.
The default value is
MPSRect, indicating that the entire image is used.