Skip to main content

ICompositionGpuImportedObject Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

An imported GPU object that's usable by composition APIs

Definition

Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface ICompositionGpuImportedObject : IAsyncDisposable
ImplementsIAsyncDisposable

Properties

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

Methods

DisposeAsync()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
(Inherited from IAsyncDisposable)

See Also

Reference

Avalonia.Rendering.Composition Namespace