Skip to main content

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)

public Task UpdateAsync(
ICompositionImportedGpuImage image
)

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