getPhysicalDeviceExternalImageFormatPropertiesNV :: MonadIO io=> PhysicalDevicephysicalDeviceis the physical device from which to query the image capabilitiesphysicalDevicemust be a valid PhysicalDevice handle-> Formatformatis the image format, corresponding to ImageCreateInfo::format.formatmust be a valid Format value-> ImageTypetypeis the image type, corresponding to ImageCreateInfo::imageType.typemust be a valid ImageType value-> ImageTilingtilingis the image tiling, corresponding to ImageCreateInfo::tiling.tilingmust be a valid ImageTiling value-> ImageUsageFlagsusageis the intended usage of the image, corresponding to ImageCreateInfo::usage.usagemust be a valid combination of ImageUsageFlagBits valuesusagemust not be0-> ImageCreateFlagsflagsis a bitmask describing additional parameters of the image, corresponding to ImageCreateInfo::flags.flagsmust be a valid combination of ImageCreateFlagBits values->"externalHandleType"
::: ExternalMemoryHandleTypeFlagsNVexternalHandleTypeis either one of the bits from ExternalMemoryHandleTypeFlagBitsNV, or 0.externalHandleTypemust not have more than one bit setexternalHandleTypemust be a valid combination of ExternalMemoryHandleTypeFlagBitsNV values-> io ExternalImageFormatPropertiesNV
vkGetPhysicalDeviceExternalImageFormatPropertiesNV - Determine image capabilities compatible with external memory handle types
Description
If externalHandleType is 0,
pExternalImageFormatProperties->imageFormatProperties will return the
same values as a call to
getPhysicalDeviceImageFormatProperties,
and the other members of pExternalImageFormatProperties will all be 0.
Otherwise, they are filled in as described for
ExternalImageFormatPropertiesNV.
Return Codes
See Also
VK_NV_external_memory_capabilities, ExternalImageFormatPropertiesNV, ExternalMemoryHandleTypeFlagsNV, Format, ImageCreateFlags, ImageTiling, ImageType, ImageUsageFlags, PhysicalDevice