C Specification
The VkMemoryGetFdInfoKHR structure is defined as:
typedef struct VkMemoryGetFdInfoKHR {
    VkStructureType                       sType;
    const void*                           pNext;
    VkDeviceMemory                        memory;
    VkExternalMemoryHandleTypeFlagBits    handleType;
} VkMemoryGetFdInfoKHR;Members
- 
sTypeis the type of this structure.
- 
pNextisNULLor a pointer to an extension-specific structure.
- 
memoryis the memory object from which the handle will be exported.
- 
handleTypeis the type of handle requested.
Description
The properties of the file descriptor exported depend on the value of
handleType.
See VkExternalMemoryHandleTypeFlagBits for a description of the
properties of the defined external memory handle types.
| Note The size of the exported file may be larger than the size requested by
VkMemoryAllocateInfo::allocationSize.
If  | 
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.