Skip to main content

KnownPlatformGraphicsExternalImageHandleTypes Class

Definition

Assembly:Avalonia.Base
Package:Avalonia

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

public class KnownPlatformGraphicsExternalImageHandleTypes

Inheritance: object -> KnownPlatformGraphicsExternalImageHandleTypes

Fields

NameDescription
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
IOSurfaceRefA reference to IOSurface
VulkanOpaqueKmtHandleNo summary available.
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

D3D11TextureGlobalSharedHandle Field

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

public string D3D11TextureGlobalSharedHandle

D3D11TextureNtHandle Field

A DXGI NT handle returned by IDXGIResource1::CreateSharedHandle for a texture created with D3D11_RESOURCE_MISC_SHARED_NTHANDLE or flag

public string D3D11TextureNtHandle

IOSurfaceRef Field

A reference to IOSurface

public string IOSurfaceRef

VulkanOpaqueKmtHandle Field

public string VulkanOpaqueKmtHandle

VulkanOpaqueNtHandle Field

A NT handle that's been exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT or in a compatible way

public string VulkanOpaqueNtHandle

VulkanOpaquePosixFileDescriptor Field

A POSIX file descriptor that's exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT or in a compatible way

public string VulkanOpaquePosixFileDescriptor