Function Prototype

vkGetPhysicalDeviceExternalImageFormatPropertiesNV

Determine image capabilities compatible with external memory handle types

To determine the image capabilities compatible with an external memory handle type, call:

VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV(
    VkPhysicalDevice physicalDevice,
    VkFormat format,
    VkImageType type,
    VkImageTiling tiling,
    VkImageUsageFlags usage,
    VkImageCreateFlags flags,
    VkExternalMemoryHandleTypeFlagsNV externalHandleType,
    VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties);

If externalHandleType is 0, pExternalImageFormatProperties→imageFormatProperties will return the same values as a call to vkGetPhysicalDeviceImageFormatProperties, and the other members of pExternalImageFormatProperties will all be 0. Otherwise, they are filled in as described for VkExternalImageFormatPropertiesNV.

Valid Usage

VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-externalHandleType-07721

externalHandleType must not have more than one bit set