Diligent::ICommandQueueD3D12 struct

Command queue interface.

Base classes

struct IObject
Base interface for all dynamic objects in the engine.

Derived classes

template<typename Base>
class RefCountedObject
Base class for all reference counting objects.

Public functions

auto GetNextFenceValue() const -> Uint64 METHOD() virtual
Returns the fence value that will be signaled next time.
auto Submit(Uint32 NumCommandLists, ID3D12CommandList*const* ppCommandLists) -> Uint64 METHOD() virtual
Submits command lists for execution.
auto GetD3D12CommandQueue() -> ID3D12CommandQueue*METHOD() virtual
Returns D3D12 command queue. May return null if queue is anavailable.
auto GetCompletedFenceValue() -> Uint64 METHOD() virtual
Returns value of the last completed fence.
auto WaitForIdle() -> Uint64 METHOD() virtual
Blocks execution until all pending GPU commands are complete.
auto SignalFence(ID3D12Fence* pFence, Uint64 Value) -> void METHOD() virtual
Signals the given fence.

Function documentation

Uint64 METHOD() Diligent::ICommandQueueD3D12::Submit(Uint32 NumCommandLists, ID3D12CommandList*const* ppCommandLists) virtual

Submits command lists for execution.

Parameters
NumCommandLists in - The number of command lists to submit.
ppCommandLists in - A pointer to the array of NumCommandLists command lists to submit.
Returns Fence value associated with the executed command lists.