Table of Contents

Interface IExternalObjectsRenderInterfaceContextFeature

Namespace
Avalonia.Platform
Assembly
Avalonia.Base.dll
[Unstable]
public interface IExternalObjectsRenderInterfaceContextFeature

Properties

DeviceLuid

byte[]? DeviceLuid { get; }

Property Value

byte[]

DeviceUuid

byte[]? DeviceUuid { get; }

Property Value

byte[]

SupportedImageHandleTypes

Returns the list of image handle types supported by the current GPU backend, see KnownPlatformGraphicsExternalImageHandleTypes

IReadOnlyList<string> SupportedImageHandleTypes { get; }

Property Value

IReadOnlyList<string>

SupportedSemaphoreTypes

Returns the list of semaphore types supported by the current GPU backend, see KnownPlatformGraphicsExternalSemaphoreHandleTypes

IReadOnlyList<string> SupportedSemaphoreTypes { get; }

Property Value

IReadOnlyList<string>

Methods

GetSynchronizationCapabilities(string)

CompositionGpuImportedImageSynchronizationCapabilities GetSynchronizationCapabilities(string imageHandleType)

Parameters

imageHandleType string

Returns

CompositionGpuImportedImageSynchronizationCapabilities

ImportImage(IPlatformHandle, PlatformGraphicsExternalImageProperties)

IPlatformRenderInterfaceImportedImage ImportImage(IPlatformHandle handle, PlatformGraphicsExternalImageProperties properties)

Parameters

handle IPlatformHandle
properties PlatformGraphicsExternalImageProperties

Returns

IPlatformRenderInterfaceImportedImage

ImportImage(ICompositionImportableSharedGpuContextImage)

IPlatformRenderInterfaceImportedImage ImportImage(ICompositionImportableSharedGpuContextImage image)

Parameters

image ICompositionImportableSharedGpuContextImage

Returns

IPlatformRenderInterfaceImportedImage

ImportSemaphore(IPlatformHandle)

IPlatformRenderInterfaceImportedSemaphore ImportSemaphore(IPlatformHandle handle)

Parameters

handle IPlatformHandle

Returns

IPlatformRenderInterfaceImportedSemaphore