VKCMDENDRENDERPASS(3)

NAME
vkCmdEndRenderPass - End the current render pass

C SPECIFICATION

To record a command to end a render pass instance after recording the commands for the last subpass, call:

    void vkCmdEndRenderPass(
        VkCommandBuffer                             commandBuffer);

PARAMETERS

    • commandBuffer is the command buffer in which to end the current render pass instance.

DESCRIPTION

Ending a render pass instance performs any multisample resolve operations on the final subpass. Valid Usage

    • The current subpass index must be equal to the number of subpasses in the render pass minus one
Valid Usage (Implicit)

    • commandBuffer must be a valid VkCommandBuffer handle

    • commandBuffer must be in the recording state

    • The VkCommandPool that commandBuffer was allocated from must support graphics operations

    • This command must only be called inside of a render pass instance

    • commandBuffer must be a primary VkCommandBuffer
Host Synchronization

    • Host access to commandBuffer must be externally synchronized

    • Host access to the VkCommandPool that commandBuffer was allocated from must be externally synchronized
Command Properties
Command Buffer Levels | Render Pass Scope | Supported Queue Types
Primary | Inside | GRAPHICS

SEE ALSO

VkCommandBuffer

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCmdEndRenderPass

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.