Edit

Share via


MPSImageHistogram.HistogramSizeForSourceFormat(MTLPixelFormat) Method

Definition

Caution

Please use 'GetHistogramSize' instead.

Calculates and returns the amount of memory, in bytes, that is consumed the histogram for an image with the specified pixel format.

[System.Obsolete("Please use 'GetHistogramSize' instead.")]
public virtual nuint HistogramSizeForSourceFormat (Metal.MTLPixelFormat sourceFormat);
abstract member HistogramSizeForSourceFormat : Metal.MTLPixelFormat -> nuint
override this.HistogramSizeForSourceFormat : Metal.MTLPixelFormat -> nuint

Parameters

sourceFormat
MTLPixelFormat

Returns

System.System.UIntPtr System.unativeint
Attributes

Applies to