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
Type Aliases
Member Functions
| Name | Description |
~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
| Name | Description |
create | Creates the DirectX 12 command queue. |
Using Declarations
Protected Member Functions
Friends
See Also
DirectX12CommandBuffer