Skip to main content

ICompositionGpuImportedObject Interface

Definition​

Assembly:Avalonia.Base
Package:Avalonia

An imported GPU object that's usable by composition APIs

public interface ICompositionGpuImportedObject

Implements: IAsyncDisposable

Properties​

NameDescription
ImportCompletedTracks the import status of the object. Once the task is completed, the user code is allowed to free the resource owner in case when a non-owning sharing handle was used.
IsLostIndicates if the device context this instance is associated with is no longer available

ImportCompleted Property​

Tracks the import status of the object. Once the task is completed, the user code is allowed to free the resource owner in case when a non-owning sharing handle was used.

public System.Threading.Tasks.Task ImportCompleted { get; set; }

IsLost Property​

Indicates if the device context this instance is associated with is no longer available

public bool IsLost { get; set; }