CompositionDrawingSurfaceUpdateAsync 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) Version: 11.3.999
public Task UpdateAsync(
	ICompositionImportedGpuImage image
)

Parameters

image  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