LiteFX::Rendering::IRenderPass::begin¶
begin overloads
Synopses¶
Declared in <litefx/rendering_api.hpp>
Begins the render pass.
[[dllimport, dllexport]] void begin(IFrameBuffer const& frameBuffer) const;Begins the render pass by recording into the external primary command buffer provided by commandBuffer.
[[dllimport, dllexport]] void begin(
IFrameBuffer const& frameBuffer,
ICommandBuffer const& commandBuffer) const;Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if commandBuffer is not a recording primary command buffer of the render pass queue. |
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. |