MPSImageHistogram.EncodeToCommandBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encodes the kernel to commandBuffer
, which will operate on source
and write the results histogramOffset
bytes into 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
Parameters
- commandBuffer
- IMTLCommandBuffer
- source
- IMTLTexture
- histogram
- IMTLBuffer
- histogramOffset
- System.System.UIntPtr System.unativeint
- Attributes