MPSImageNormalizedHistogram.GetHistogramSize(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.
Calculates and returns the amount of memory, in bytes, that is consumed the histogram for an image with the specified pixel format.
[Foundation.Export("histogramSizeForSourceFormat:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetHistogramSize(Metal.MTLPixelFormat sourceFormat);
[<Foundation.Export("histogramSizeForSourceFormat:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetHistogramSize : Metal.MTLPixelFormat -> unativeint
override this.GetHistogramSize : Metal.MTLPixelFormat -> unativeint
Parameters
- sourceFormat
- MTLPixelFormat
Returns
unativeint
- Attributes