Instance Property

offset

The position of the destination image's clip rectangle origin, relative to the source image.

Declaration

@property(readwrite, nonatomic) MPSOffset offset;

Discussion

The offset is defined as the position of clipRect.origin in source image coordinates. The default value is {0,0,0}, indicating that the top left corners of the clip rectangle and the source image align.

The value of offset.z is the index of the starting source image in batch processing mode.