CompositionDrawingSurfaceUpdateAsync Method
Updates the surface contents using an unspecified automatic means of synchronization
provided by the underlying platform
Namespace: Avalonia.Rendering.CompositionAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Task UpdateAsync(
ICompositionImportedGpuImage image
)
Public Function UpdateAsync (
image As ICompositionImportedGpuImage
) As Task
member UpdateAsync :
image : ICompositionImportedGpuImage -> Task
- image ICompositionImportedGpuImage
- GPU image with new surface contents
TaskA task that completes when update operation is completed and user code is free to destroy or dispose the image