To record a command to end a render pass instance after recording the commands for the last subpass, call:
void vkCmdEndRenderPass2KHR( VkCommandBuffer commandBuffer, const VkSubpassEndInfoKHR* pSubpassEndInfo);
commandBufferis the command buffer in which to end the current render pass instance.
pSubpassEndInfois a pointer to a VkSubpassEndInfoKHR structure containing information about how the previous subpass will be ended.
vkCmdEndRenderPass2KHR is semantically identical to
vkCmdEndRenderPass, except that it is extensible.
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 (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.