MPSImageHistogram.EncodeToCommandBuffer 方法

定义

将内核编码为 commandBuffer,这将对 source 运行并将结果histogramOffset字节写入 。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

参数

commandBuffer
IMTLCommandBuffer
source
IMTLTexture
histogram
IMTLBuffer
histogramOffset
System.System.UIntPtr System.unativeint
属性

适用于