Edytuj

Udostępnij za pośrednictwem


SKTexture.PreloadAsync Method

Definition

Loads the texture into memory and calls completion when finished.

public virtual System.Threading.Tasks.Task PreloadAsync ();
abstract member PreloadAsync : unit -> System.Threading.Tasks.Task
override this.PreloadAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous Preload operation

Remarks

The PreloadAsync 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