• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1When allocating memory that may: be exported to another process or Vulkan
2instance, add a slink:VkExportMemoryAllocateInfoNV structure to the
3pname:pNext chain of the slink:VkMemoryAllocateInfo structure, specifying
4the handle types that may: be exported.
5
6[open,refpage='VkExportMemoryAllocateInfoNV',desc='Specify memory handle types that may be exported',type='structs']
7--
8The slink:VkExportMemoryAllocateInfoNV structure is defined as:
9
10include::../../api/structs/VkExportMemoryAllocateInfoNV.txt[]
11
12  * pname:sType is the type of this structure.
13  * pname:pNext is `NULL` or a pointer to an extension-specific structure.
14  * pname:handleTypes is a bitmask of
15    elink:VkExternalMemoryHandleTypeFlagBitsNV specifying one or more memory
16    handle types that may: be exported.
17    Multiple handle types may: be requested for the same allocation as long
18    as they are compatible, as reported by
19    flink:vkGetPhysicalDeviceExternalImageFormatPropertiesNV.
20
21include::../../validity/structs/VkExportMemoryAllocateInfoNV.txt[]
22--
23