Skip to content

LiteFX::Rendering::RenderPass::commandBuffer

Returns a command buffer that can be currently used for recording multi-threaded commands in the render pass.

Synopsis

Declared in <litefx/rendering.hpp>

virtual SharedPtr<command_buffer_type const> commandBuffer(UInt32 index) const = 0;

Return Value

A command buffer that can be currently used for recording multi-threaded commands in the render pass.

Parameters

NameDescription
indexThe index of the command buffer.

See Also

commandBuffers