Share via


MPSImageHistogram.EncodeToCommandBuffer Method

Definition

Encodes the kernel to commandBuffer, which will operate on source and write the results histogramOffset bytes into histogram.

[Foundation.Export("encodeToCommandBuffer:sourceTexture:histogram:histogramOffset:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture source, Metal.IMTLBuffer histogram, UIntPtr histogramOffset);
[<Foundation.Export("encodeToCommandBuffer:sourceTexture:histogram:histogramOffset:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * unativeint -> unit
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * unativeint -> unit

Parameters

commandBuffer
IMTLCommandBuffer
source
IMTLTexture
histogram
IMTLBuffer
histogramOffset
UIntPtr

unativeint

Attributes

Applies to