Поделиться через


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
Атрибуты

Применяется к