IEffectGroup.LoadAsync Method

IEffectGroup LoadAsync Method Lumia Imaging SDK
Do optional asynchronous loading prior to rendering.

Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
IAsyncAction LoadAsync()
IAsyncAction LoadAsync()
Function LoadAsync As IAsyncAction
Function LoadAsync As IAsyncAction
IAsyncAction^ LoadAsync()
IAsyncAction^ LoadAsync()
JavaScript
function LoadAsync();
function LoadAsync();

Return Value

Type: IAsyncAction
An asynchronous action that completes when the loading is done, or null if no asynchronous loading is needed.
Remarks
The internal structure of the effect group must not be changed during this call. Any changes in the connections between member effects must happen in PrepareGroup(IImageProvider).

Note, if the effect group never needs to do any asynchronous loading, returning null is more efficient than returning an already completed action.

See Also
Show: