MPSNNGraph.ExecuteAsync 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.
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.
Applies to
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