EndRenderPass adds commands to the given command buffer to end the render pass. It does not call EndCommandBuffer, in case any further commands are to be added.
(cmd vk.CommandBuffer)
| 476 | // to end the render pass. It does not call EndCommandBuffer, |
| 477 | // in case any further commands are to be added. |
| 478 | func (sy *System) EndRenderPass(cmd vk.CommandBuffer) { |
| 479 | // Note that ending the renderpass changes the image's layout from |
| 480 | // vk.ImageLayoutColorAttachmentOptimal to vk.ImageLayoutPresentSrc |
| 481 | vk.CmdEndRenderPass(cmd) |
| 482 | } |
| 483 | |
| 484 | ///////////////////////////////////////////// |
| 485 | // Memory utils |