Function Prototype

vkTransitionImageLayoutEXT

Perform an image layout transition on the host

To perform an image layout transition on the host, call:

VkResult vkTransitionImageLayoutEXT(
    VkDevice device,
    uint32_t transitionCount,
    const VkHostImageLayoutTransitionInfoEXT* pTransitions);
  • device is the device which owns pTransitions[i].image.
  • transitionCount is the number of image layout transitions to perform.
  • pTransitions is a pointer to an array of VkHostImageLayoutTransitionInfoEXT structures specifying the image and subresource ranges within them to transition.

Valid Usage (Implicit)

VUID-vkTransitionImageLayoutEXT-pTransitions-parameter

pTransitions must be a valid pointer to an array of transitionCount valid VkHostImageLayoutTransitionInfoEXT structures