Edit

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:")]
public virtual void EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture source, Metal.IMTLBuffer histogram, nuint histogramOffset);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit

Parameters

commandBuffer
IMTLCommandBuffer
source
IMTLTexture
histogram
IMTLBuffer
histogramOffset
System.System.UIntPtr System.unativeint
Attributes

Applies to