Edit

Share via


MPSImageHistogramEqualization.EncodeTransformToCommandBuffer Method

Definition

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

Applies to