Freigeben über


MPSImageHistogram.EncodeToCommandBuffer Methode

Definition

Codiert den Kernel in commandBuffer, der auf source arbeitet und die Ergebnisbytes histogramOffset in histogramschreibt.

[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

Parameter

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

Gilt für: