Instance Property


The source rectangle to use when reading data.


var clipRectSource: MTLRegion { get set }


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.

See Also


var zeroHistogram: Bool

Determines whether to zero-initialize the histogram results.

var histogramInfo: MPSImageHistogramInfo

A structure describing the histogram content.