MPSImageHistogram.EncodeToCommandBuffer Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Codifica el kernel en commandBuffer
, que funcionará en source
y escribirá los bytes de resultados histogramOffset
en 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
Parámetros
- commandBuffer
- IMTLCommandBuffer
- source
- IMTLTexture
- histogram
- IMTLBuffer
- histogramOffset
- System.System.UIntPtr System.unativeint
- Atributos