C Specification
To begin a render pass instance, call:
// Provided by VK_VERSION_1_3
void vkCmdBeginRendering(
VkCommandBuffer commandBuffer,
const VkRenderingInfo* pRenderingInfo);
or the equivalent command
// Provided by VK_KHR_dynamic_rendering
void vkCmdBeginRenderingKHR(
VkCommandBuffer commandBuffer,
const VkRenderingInfo* pRenderingInfo);
Parameters
-
commandBuffer
is the command buffer in which to record the command. -
pRenderingInfo
is a pointer to a VkRenderingInfo 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
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.