共用方式為


MPSImageHistogramEqualization.EncodeTransformToCommandBuffer 方法

定義

將轉換函式編碼,此函式會將相等查詢表計算為指定的 commandBuffer

[Foundation.Export("encodeTransformToCommandBuffer:sourceTexture:histogram:histogramOffset:")]
public virtual void EncodeTransformToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture source, Metal.IMTLBuffer histogram, nuint histogramOffset);
abstract member EncodeTransformToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit
override this.EncodeTransformToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit

參數

commandBuffer
IMTLCommandBuffer

用來編碼轉換的命令緩衝區。

source
IMTLTexture

來源影像。

histogram
IMTLBuffer

包含目前長條圖資料的緩衝區。

histogramOffset
System.System.UIntPtr System.unativeint

位移到 histogram 目前長條圖資料的開頭。

屬性

適用於