Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::ICommandQueueD3D12 Class Referenceabstract

Command queue interface. More...

Inheritance diagram for Diligent::ICommandQueueD3D12:
Diligent::RefCountedObject< ICommandQueueD3D12 > Diligent::ObjectBase< ICommandQueueD3D12 > Diligent::CommandQueueD3D12Impl

Public Member Functions

virtual UINT64 GetNextFenceValue ()=0
 Returns the fence value that will be signaled next time.
 
virtual UINT64 ExecuteCommandList (ID3D12GraphicsCommandList *commandList)=0
 Executes a given command list. More...
 
virtual ID3D12CommandQueue * GetD3D12CommandQueue ()=0
 Returns D3D12 command queue. May return null if queue is anavailable.
 
virtual Uint64 GetCompletedFenceValue ()=0
 Returns value of the last completed fence.
 
virtual void IdleGPU ()=0
 Blocks execution until all pending GPU commands are complete.
 

Detailed Description

Command queue interface.

Member Function Documentation

◆ ExecuteCommandList()

virtual UINT64 Diligent::ICommandQueueD3D12::ExecuteCommandList ( ID3D12GraphicsCommandList *  commandList)
pure virtual

Executes a given command list.

Returns
Fence value associated with the executed command list

Implemented in Diligent::CommandQueueD3D12Impl.