blob: ce0f58a85746f281d732709882e0d2f47c302001 [file] [log] [blame]
When allocating memory that may: be exported to another process or Vulkan
instance, add a slink:VkExportMemoryAllocateInfoNV structure to the
pname:pNext chain of the slink:VkMemoryAllocateInfo structure, specifying
the handle types that may: be exported.
[open,refpage='VkExportMemoryAllocateInfoNV',desc='Specify memory handle types that may be exported',type='structs']
--
The slink:VkExportMemoryAllocateInfoNV structure is defined as:
include::../../api/structs/VkExportMemoryAllocateInfoNV.txt[]
* pname:sType is the type of this structure.
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
* pname:handleTypes is a bitmask of
elink:VkExternalMemoryHandleTypeFlagBitsNV specifying one or more memory
handle types that may: be exported.
Multiple handle types may: be requested for the same allocation as long
as they are compatible, as reported by
flink:vkGetPhysicalDeviceExternalImageFormatPropertiesNV.
include::../../validity/structs/VkExportMemoryAllocateInfoNV.txt[]
--