MPSImageHistogramEqualization.EncodeTransformToCommandBuffer 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 transform function, which calculates the equalization lookup table, to the specified commandBuffer
.
[Foundation.Export("encodeTransformToCommandBuffer:sourceTexture:histogram:histogramOffset:")]
public virtual void EncodeTransformToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture source, Metal.IMTLBuffer histogram, nuint histogramOffset);
abstract member EncodeTransformToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit
override this.EncodeTransformToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit
Parameters
- commandBuffer
- IMTLCommandBuffer
The command buffer in which to encode the transformation.
- source
- IMTLTexture
The source image.
- histogram
- IMTLBuffer
A buffer that contains the current histogram data.
- histogramOffset
- System.System.UIntPtr System.unativeint
The offset, into histogram
, to the start of the current histogram data.
- Attributes