Condividi tramite


MPSImageHistogram.EncodeToCommandBuffer Metodo

Definizione

Codifica il kernel in commandBuffer, che funzionerà su source e scriverà i byte dei risultati histogramOffset in 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

Parametri

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

Si applica a