C Specification
To begin a render pass instance, call:
// Provided by VK_KHR_dynamic_rendering
void vkCmdBeginRenderingKHR(
VkCommandBuffer commandBuffer,
const VkRenderingInfoKHR* pRenderingInfo);
Parameters
-
commandBuffer
is the command buffer in which to record the command. -
pRenderingInfo
is a pointer to a VkRenderingInfoKHR structure specifying details of the render pass instance to begin.
Description
After beginning a render pass instance, the command buffer is ready to record draw commands.
If pRenderingInfo->flags
includes VK_RENDERING_RESUMING_BIT_KHR
then this render pass is resumed from a render pass instance that has been
suspended earlier in submission order.
Document Notes
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.