Skip to content

LiteFX::Rendering::Backends::DirectX12Queue

Implements a DirectX 12 command queue.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12Queue final
    : public CommandQueue<DirectX12CommandBuffer>
    , public ComResource<ID3D12CommandQueue>

Base Classes

NameDescription
CommandQueue<DirectX12CommandBuffer>Represents a command queue.
ComResource<ID3D12CommandQueue>A resource that is hold by a ComPtr.

Type Aliases

Member Functions

NameDescription
~DirectX12Queue [destructor] [virtual]Destructor
createCommandBuffer [virtual]Creates a command buffer that can be used to allocate commands on the queue.
currentFence [virtual]Returns the value of the latest fence inserted into the queue.
device Returns a pointer to the device that provides this queue or nullptr, if the device has already been released.
handle [virtual]Returns the resource managed by the class.
lastCompletedFence [virtual]Returns the last fence that was completed on the queue.
priority [virtual]Returns the priority of the queue.
submit [virtual]Submits a set of command buffers with shared ownership and inserts a fence to wait for them.
submit [virtual]Submits a set of command buffers with shared ownership and inserts a fence to wait for them.
submit [virtual]Submits a single command buffer with shared ownership and inserts a fence to wait for it.
submit [virtual]Submits a single command buffer with shared ownership and inserts a fence to wait for it.
submit [virtual]Submits a single command buffer with shared ownership and inserts a fence to wait for it.
type [virtual]Returns the type of the queue.
waitFor [virtual]Lets the CPU wait for a certain fence value to complete on the command queue.
waitFor Lets the command queue wait for a certain fence value to complete on another queue.

Static Member Functions

NameDescription
create Creates the DirectX 12 command queue.

Using Declarations

Name
submit

Protected Member Functions

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

Friends

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

See Also

DirectX12CommandBuffer