mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-08 04:23:40 +00:00
associated material at the top level, vk.xml and associated material in xml/, and generated include and source files in include/vulkan/ and src/ext_loader/, respectively (public issue 436).
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
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[]
|
|
--
|