LiteFX::Rendering::Backends::VulkanRenderPass::begin¶
Begins the render pass by recording into the external primary command buffer provided by commandBuffer.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] virtual void begin(
VulkanFrameBuffer const& frameBuffer,
VulkanCommandBuffer const& commandBuffer) const override;Description¶
With this overload, the render pass does not submit commandBuffer. Ending it with end only records commands and returns 0. If the render pass has a present target, submit commandBuffer and call ISwapChain::present with the returned fence afterwards. The command buffer must be a recording primary command buffer that was created from commandQueue.
Note that pipeline and binding state is not preserved across the render pass boundaries!
Parameters¶
| Name | Description |
|---|---|
| frameBuffer | The frame buffer to obtain input attachments and render targets from. |
| commandBuffer | The primary command buffer to record the render pass into. |