12 const API::RenderPass& renderPass,
13 const CommandBuffer::CmdBeginRenderPass& parameters,
14 VkSubpassContents contents
16 const VkRenderPassBeginInfo beginInfo{
17 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
19 static_cast<VkRenderPass
>(renderPass),
20 static_cast<VkFramebuffer>(parameters.framebuffer),
21 parameters.renderArea,
22 static_cast<uint32_t
>(parameters.clearValues.size()),
23 parameters.clearValues.data()
26 vkCmdBeginRenderPass(static_cast<VkCommandBuffer>(
_commandBuffer), &beginInfo, contents);
void draw(const CmdDraw ¶ms) const
void beginRenderPass(const API::RenderPass &renderPass, const CmdBeginRenderPass ¶meters, VkSubpassContents contents=VK_SUBPASS_CONTENTS_INLINE) const
void drawIndexed(const CmdDrawIndexed ¶ms) const
void endRenderPass() const
VkCommandBuffer _commandBuffer