ICompositionGpuInterop Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
Definition
Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface ICompositionGpuInterop
<NotClientImplementableAttribute>
Public Interface ICompositionGpuInterop
[<NotClientImplementableAttribute>]
type ICompositionGpuInterop = interface end
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 |