KnownPlatformGraphicsExternalImageHandleTypes Class

Describes various GPU memory handle types that are currently supported by Avalonia graphics backends

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
C#
public static class KnownPlatformGraphicsExternalImageHandleTypes
Inheritance
Object    KnownPlatformGraphicsExternalImageHandleTypes

Fields

D3D11TextureGlobalSharedHandle An DXGI global shared handle returned by IDXGIResource::GetSharedHandle D3D11_RESOURCE_MISC_SHARED or D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX flag. The handle does not own the reference to the underlying video memory, so the provider should make sure that the resource is valid until the handle has been successfully imported
D3D11TextureNtHandle A DXGI NT handle returned by IDXGIResource1::CreateSharedHandle for a texture created with D3D11_RESOURCE_MISC_SHARED_NTHANDLE or flag
VulkanOpaqueKmtHandle 
VulkanOpaqueNtHandle A NT handle that's been exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT or in a compatible way
VulkanOpaquePosixFileDescriptor A POSIX file descriptor that's exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT or in a compatible way

See Also