UpdateAsync Method
Updates the surface contents using an unspecified automatic means of synchronization provided by the underlying platform
Definition
Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Task UpdateAsync(
ICompositionImportedGpuImage image
)
Public Function UpdateAsync (
image As ICompositionImportedGpuImage
) As Task
member UpdateAsync :
image : ICompositionImportedGpuImage -> Task
Parameters
- ICompositionImportedGpuImage
- GPU image with new surface contents
Return Value
Task
A task that completes when update operation is completed and user code is free to destroy or dispose the image
See Also
Reference
CompositionDrawingSurface Class
Avalonia.Rendering.Composition Namespace