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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EncodeTransformToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture source, Metal.IMTLBuffer histogram, UIntPtr histogramOffset);
[<Foundation.Export("encodeTransformToCommandBuffer:sourceTexture:histogram:histogramOffset:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeTransformToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * unativeint -> unit
override this.EncodeTransformToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * unativeint -> 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
UIntPtr

unativeint

The offset, into histogram, to the start of the current histogram data.

Attributes

Applies to