Skip to content

LiteFX::Rendering::Backends::VulkanCommandBuffer

Records commands for a VulkanQueue

Synopsis

Declared in <litefx/backends/vulkan.hpp>

class [[dllimport, dllexport]] VulkanCommandBuffer final
    : public CommandBuffer<VulkanCommandBuffer, IVulkanBuffer, IVulkanVertexBuffer, IVulkanIndexBuffer, IVulkanImage, VulkanBarrier, VulkanPipelineState, VulkanBottomLevelAccelerationStructure, VulkanTopLevelAccelerationStructure>
    , public Resource<VkCommandBuffer>

Base Classes

Type Aliases

Member Functions

NameDescription
~VulkanCommandBuffer [destructor] [virtual]Destructor
barrier Executes the transitions that have been added to barrier.
begin begin overloads
bind bind overloads
buildAccelerationStructure buildAccelerationStructure overloads
copyAccelerationStructure Copies the acceleration structure from into the acceleration structure to.
dispatch [virtual]Executes a compute shader.
dispatchIndirect Executes a set of indirect dispatches.
dispatchMesh [virtual]Executes a mesh shader pipeline.
dispatchMeshIndirect Executes a set of indirect mesh shader dispatches.
draw draw overloads
drawIndexed drawIndexed overloads
drawIndexedIndirect Executes a set of indirect indexed draw calls.
drawIndirect Executes a set of indirect non-indexed draw calls.
end [virtual]Ends recording commands on the command buffer.
execute execute overloads
handle [virtual]Returns the resource managed by the class.
isSecondary [virtual]Returns true, if the command buffer is a secondary command buffer, or false otherwise.
makeBarrier [virtual]Creates a new barrier instance.
pushConstants Pushes a block of memory into the push constants backing memory.
queue Gets a pointer to the command queue that this command buffer was allocated from or nullptr, if the queue has already been released.
setBlendFactors [virtual]Sets the blend factors for the subsequent draw calls.
setDepthBounds [virtual]Sets the depth range for the depth bounds test.
setScissors setScissors overloads
setStencilRef [virtual]Sets the stencil reference for the subsequent draw calls.
setViewports setViewports overloads
submit [virtual]Submits the command buffer to parent command
traceRays Executes a query on a ray-tracing pipeline.
track track overloads
transfer transfer overloads
updateAccelerationStructure updateAccelerationStructure overloads
use Sets the active pipeline state.
writeTimingEvent [virtual]Writes the current GPU time stamp value for the timing event.

Static Member Functions

NameDescription
create Initializes a command buffer from a command queue.

Using Declarations

Protected Member Functions

NameDescription
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::VulkanCommandBuffer::VulkanCommandBufferImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

VulkanQueue