ICompositionGpuInterop Interface

Definition

Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
C#
[NotClientImplementableAttribute]
public interface ICompositionGpuInterop

Properties

DeviceLuid The LUID of the graphics adapter used by the compositor
DeviceUuid The UUID of the graphics adapter used by the compositor
IsLost Indicates if the device context this instance is associated with is no longer available
SupportedImageHandleTypes Returns the list of image handle types supported by the current GPU backend, see KnownPlatformGraphicsExternalImageHandleTypes
SupportedSemaphoreTypes Returns the list of semaphore types supported by the current GPU backend, see KnownPlatformGraphicsExternalSemaphoreHandleTypes

Methods

GetSynchronizationCapabilities(String) Returns the supported ways to synchronize access to the imported GPU image
ImportImage(ICompositionImportableSharedGpuContextImage) Asynchronously imports a texture. The returned object is immediately usable. If import operation fails, the caller is responsible for destroying the handle
ImportImage(IPlatformHandle, PlatformGraphicsExternalImageProperties) Asynchronously imports a texture. The returned object is immediately usable.
ImportSemaphore(ICompositionImportableSharedGpuContextSemaphore) Asynchronously imports a semaphore object. The returned object is immediately usable.
ImportSemaphore(IPlatformHandle) Asynchronously imports a semaphore object. The returned object is immediately usable. If import operation fails, the caller is responsible for destroying the handle

See Also