Function Prototype
vkGetMemoryZirconHandlePropertiesFUCHSIA
Get a Zircon handle properties for an external memory object
To obtain the memoryTypeIndex for the VkMemoryAllocateInfo structure,
call vkGetMemoryZirconHandlePropertiesFUCHSIA
:
VkResult vkGetMemoryZirconHandlePropertiesFUCHSIA(
VkDevice device,
VkExternalMemoryHandleTypeFlagBits handleType,
zx_handle_t zirconHandle,
VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties);
device
is the VkDevice.handleType
is a VkExternalMemoryHandleTypeFlagBits value specifying the type ofzirconHandle
zirconHandle
is azx_handle_t
(Zircon) handle to the external resource.pMemoryZirconHandleProperties
is a pointer to a VkMemoryZirconHandlePropertiesFUCHSIA structure in which the result will be stored.
Valid Usage
VUID-vkGetMemoryZirconHandlePropertiesFUCHSIA-handleType-04773
handleType
must be
VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA
VUID-vkGetMemoryZirconHandlePropertiesFUCHSIA-zirconHandle-04774
zirconHandle
must reference a valid VMO
Valid Usage (Implicit)
VUID-vkGetMemoryZirconHandlePropertiesFUCHSIA-device-parameter
device
must be a valid VkDevice handle
VUID-vkGetMemoryZirconHandlePropertiesFUCHSIA-handleType-parameter
handleType
must be a valid VkExternalMemoryHandleTypeFlagBits value
VUID-vkGetMemoryZirconHandlePropertiesFUCHSIA-pMemoryZirconHandleProperties-parameter
pMemoryZirconHandleProperties
must be a valid pointer to a VkMemoryZirconHandlePropertiesFUCHSIA structure