Skip to content

LiteFX::Rendering::Backends::VulkanCommandBuffer::create

Initializes a command buffer from a command queue.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] static SharedPtr<VulkanCommandBuffer> create(
    VulkanQueue const& queue,
    bool primary = true);

Return Value

Represents a shared pointer, that expresses non-exclusive ownership.

Parameters

NameDescription
queueThe parent command queue, the buffer gets submitted to.
primarytrue, if the command buffer is a primary command buffer.