LiteFX::Rendering::IRenderPass::commandBuffer¶
Returns a command buffer that can be currently used for recording multi-threaded commands in the render pass.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] SharedPtr<ICommandBuffer const> commandBuffer(UInt32 index) const;
Exceptions¶
| Name | Thrown on |
|---|---|
RuntimeException | Thrown, if the render pass has not been begun. |
ArgumentOutOfRangeException | Thrown, if the frame buffer does not store a command buffer at index. |
Return Value¶
A command buffer that can be currently used for recording multi-threaded commands in the render pass.
Parameters¶
| Name | Description |
|---|---|
| index | The index of the command buffer. |
See Also¶
commandBuffers