Contents

init(device:histogramInfo:)

Initializes a histogram with specific information.

Declaration

init(device: any MTLDevice, histogramInfo: UnsafePointer<MPSImageHistogramInfo>)

Parameters

  • device:

    The Metal device the filter will run on.

  • histogramInfo:

    A pointer to a structure describing the histogram content.

Return Value

An initialized histogram object.

See Also

Methods