MPSNNGraph.ExecuteAsync Method

Definition

Overloads

ExecuteAsync(MPSImage[])
ExecuteAsync(MPSImage[], MPSImage)

ExecuteAsync(MPSImage[])

public virtual System.Threading.Tasks.Task<MetalPerformanceShaders.MPSImage> ExecuteAsync (MetalPerformanceShaders.MPSImage[] sourceImages);
abstract member ExecuteAsync : MetalPerformanceShaders.MPSImage[] -> System.Threading.Tasks.Task<MetalPerformanceShaders.MPSImage>
override this.ExecuteAsync : MetalPerformanceShaders.MPSImage[] -> System.Threading.Tasks.Task<MetalPerformanceShaders.MPSImage>

Parameters

sourceImages
MPSImage[]

Returns

A task that represents the asynchronous Execute operation. The value of the TResult parameter is of type System.Action<MetalPerformanceShaders.MPSImage,Foundation.NSError>.

Remarks

The ExecuteAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

ExecuteAsync(MPSImage[], MPSImage)

public virtual System.Threading.Tasks.Task<MetalPerformanceShaders.MPSImage> ExecuteAsync (MetalPerformanceShaders.MPSImage[] sourceImages, out MetalPerformanceShaders.MPSImage result);
abstract member ExecuteAsync : MetalPerformanceShaders.MPSImage[] *  -> System.Threading.Tasks.Task<MetalPerformanceShaders.MPSImage>
override this.ExecuteAsync : MetalPerformanceShaders.MPSImage[] *  -> System.Threading.Tasks.Task<MetalPerformanceShaders.MPSImage>

Parameters

sourceImages
MPSImage[]
result
MPSImage

Returns

Applies to