Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type ExternalMemoryHandleTypeFlags = ExternalMemoryHandleTypeFlagBits
- newtype ExternalMemoryHandleTypeFlagBits where
- ExternalMemoryHandleTypeFlagBits Flags
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID :: ExternalMemoryHandleTypeFlagBits
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT :: ExternalMemoryHandleTypeFlagBits
Documentation
newtype ExternalMemoryHandleTypeFlagBits Source #
VkExternalMemoryHandleTypeFlagBits - Bit specifying external memory handle types
Description
Some external memory handle types can only be shared within the same underlying physical device and/or the same driver version, as defined in the following table:
External memory handle types compatibility
Note
The above table does not restrict the drivers and devices with which
EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT
and
EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT
may
be shared, as these handle types inherently mean memory that does not
come from the same device, as they import memory from the host or a
foreign device, respectively.
Note
Even though the above table does not restrict the drivers and devices
with which EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT
may be
shared, query mechanisms exist in the Vulkan API that prevent the import
of incompatible dma-bufs (such as
getMemoryFdPropertiesKHR
)
and that prevent incompatible usage of dma-bufs (such as
PhysicalDeviceExternalBufferInfo
and
PhysicalDeviceExternalImageFormatInfo
).
See Also
VK_VERSION_1_1,
ExternalMemoryHandleTypeFlags
,
ImportMemoryFdInfoKHR
,
ImportMemoryHostPointerInfoEXT
,
ImportMemoryWin32HandleInfoKHR
,
ImportMemoryZirconHandleInfoFUCHSIA
,
MemoryGetFdInfoKHR
,
MemoryGetRemoteAddressInfoNV
,
MemoryGetWin32HandleInfoKHR
,
MemoryGetZirconHandleInfoFUCHSIA
,
PhysicalDeviceExternalBufferInfo
,
PhysicalDeviceExternalImageFormatInfo
,
getMemoryFdPropertiesKHR
,
getMemoryHostPointerPropertiesEXT
,
getMemoryWin32HandlePropertiesKHR
,
getMemoryZirconHandlePropertiesFUCHSIA
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID :: ExternalMemoryHandleTypeFlagBits |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT :: ExternalMemoryHandleTypeFlagBits |
|