MPSImageHistogram.HistogramSizeForSourceFormat(MTLPixelFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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