Skip to main content

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)

public static class KnownPlatformGraphicsExternalImageHandleTypes
InheritanceObject → KnownPlatformGraphicsExternalImageHandleTypes

Fields

D3D11TextureGlobalSharedHandleAn 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
D3D11TextureNtHandleA DXGI NT handle returned by IDXGIResource1::CreateSharedHandle for a texture created with D3D11_RESOURCE_MISC_SHARED_NTHANDLE or flag
VulkanOpaqueKmtHandle 
VulkanOpaqueNtHandleA NT handle that's been exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT or in a compatible way
VulkanOpaquePosixFileDescriptorA POSIX file descriptor that's exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT or in a compatible way

See Also

Reference

Avalonia.Platform Namespace