pub struct KnownPlatformGraphicsExternalImageHandleTypes;Expand description
Describes various GPU memory handle types that are currently supported by the graphics backends
Implementations§
Source§impl KnownPlatformGraphicsExternalImageHandleTypes
impl KnownPlatformGraphicsExternalImageHandleTypes
Sourcepub const D3D11_TEXTURE_GLOBAL_SHARED_HANDLE: &'static str = "D3D11TextureGlobalSharedHandle"
pub const D3D11_TEXTURE_GLOBAL_SHARED_HANDLE: &'static str = "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
Sourcepub const D3D11_TEXTURE_NT_HANDLE: &'static str = "D3D11TextureNtHandle"
pub const D3D11_TEXTURE_NT_HANDLE: &'static str = "D3D11TextureNtHandle"
A DXGI NT handle returned by IDXGIResource1::CreateSharedHandle for a texture created with D3D11_RESOURCE_MISC_SHARED_NTHANDLE or flag
Sourcepub const VULKAN_OPAQUE_POSIX_FILE_DESCRIPTOR: &'static str = "VulkanOpaquePosixFileDescriptor"
pub const VULKAN_OPAQUE_POSIX_FILE_DESCRIPTOR: &'static str = "VulkanOpaquePosixFileDescriptor"
A POSIX file descriptor that’s exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT or in a compatible way
Sourcepub const VULKAN_OPAQUE_NT_HANDLE: &'static str = "VulkanOpaqueNtHandle"
pub const VULKAN_OPAQUE_NT_HANDLE: &'static str = "VulkanOpaqueNtHandle"
A NT handle that’s been exported by Vulkan using VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT or in a compatible way
pub const VULKAN_OPAQUE_KMT_HANDLE: &'static str = "VulkanOpaqueKmtHandle"
Sourcepub const IO_SURFACE_REF: &'static str = "IOSurfaceRef"
pub const IO_SURFACE_REF: &'static str = "IOSurfaceRef"
A reference to IOSurface
Sourcepub const DMA_BUF_FILE_DESCRIPTOR: &'static str = "DmaBufFileDescriptor"
pub const DMA_BUF_FILE_DESCRIPTOR: &'static str = "DmaBufFileDescriptor"
A Linux dma-buf file descriptor, imported via EGL_LINUX_DMA_BUF_EXT or VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT.
Auto Trait Implementations§
impl Freeze for KnownPlatformGraphicsExternalImageHandleTypes
impl RefUnwindSafe for KnownPlatformGraphicsExternalImageHandleTypes
impl Send for KnownPlatformGraphicsExternalImageHandleTypes
impl Sync for KnownPlatformGraphicsExternalImageHandleTypes
impl Unpin for KnownPlatformGraphicsExternalImageHandleTypes
impl UnsafeUnpin for KnownPlatformGraphicsExternalImageHandleTypes
impl UnwindSafe for KnownPlatformGraphicsExternalImageHandleTypes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more