1// Copyright (c) 2018-2020 NVIDIA Corporation
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5When allocating memory that may: be exported to another process or Vulkan
6instance, add a slink:VkExportMemoryAllocateInfoNV structure to the
7pname:pNext chain of the slink:VkMemoryAllocateInfo structure, specifying
8the handle types that may: be exported.
9
10[open,refpage='VkExportMemoryAllocateInfoNV',desc='Specify memory handle types that may be exported',type='structs']
11--
12The slink:VkExportMemoryAllocateInfoNV structure is defined as:
13
14include::{generated}/api/structs/VkExportMemoryAllocateInfoNV.adoc[]
15
16  * pname:sType is a elink:VkStructureType value identifying this structure.
17  * pname:pNext is `NULL` or a pointer to a structure extending this
18    structure.
19  * pname:handleTypes is a bitmask of
20    elink:VkExternalMemoryHandleTypeFlagBitsNV specifying one or more memory
21    handle types that may: be exported.
22    Multiple handle types may: be requested for the same allocation as long
23    as they are compatible, as reported by
24    flink:vkGetPhysicalDeviceExternalImageFormatPropertiesNV.
25
26include::{generated}/validity/structs/VkExportMemoryAllocateInfoNV.adoc[]
27--
28