MPSImageBatch.Iterate Method

Definition

Iterate over the unique images in the image batch.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public static IntPtr Iterate(Foundation.NSArray<MetalPerformanceShaders.MPSImage> imageBatch, MetalPerformanceShaders.MPSImageBatch.MPSImageBatchIterator iterator);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Iterate : Foundation.NSArray<MetalPerformanceShaders.MPSImage> * MetalPerformanceShaders.MPSImageBatch.MPSImageBatchIterator -> nativeint

Parameters

imageBatch
NSArray<MPSImage>

The batch of images to iterate over.

iterator
MPSImageBatch.MPSImageBatchIterator

The callback to call for each unique image.

Returns

IntPtr

nativeint

The value returned by the callback for the last image iterated over.

Attributes

Applies to