Command queue interface. More...
#include <CommandQueueD3D12.h>
Public Member Functions | |
virtual Uint64 DILIGENT_CALL_TYPE | Submit (Uint32 NumCommandLists, ID3D12CommandList *const *ppCommandLists)=0 |
Submits command lists for execution. | |
virtual ID3D12CommandQueue *DILIGENT_CALL_TYPE | GetD3D12CommandQueue ()=0 |
Returns D3D12 command queue. May return null if queue is unavailable. | |
virtual void DILIGENT_CALL_TYPE | EnqueueSignal (ID3D12Fence *pFence, Uint64 Value)=0 |
Signals the given fence. | |
virtual void DILIGENT_CALL_TYPE | WaitFence (ID3D12Fence *pFence, Uint64 Value)=0 |
Instructs the GPU to wait until the fence reaches the specified value. | |
virtual void DILIGENT_CALL_TYPE | UpdateTileMappings (ResourceTileMappingsD3D12 *pMappings, Uint32 Count)=0 |
Updates mappings of tile locations in reserved resources to memory locations in a resource heap. | |
virtual const D3D12_COMMAND_QUEUE_DESC &DILIGENT_CALL_TYPE | GetD3D12CommandQueueDesc () const =0 |
Returns the Direct3D12 command queue description. | |
![]() | |
virtual Uint64 DILIGENT_CALL_TYPE | GetNextFenceValue () const =0 |
Returns the value of the internal fence that will be signaled next time. | |
virtual Uint64 DILIGENT_CALL_TYPE | GetCompletedFenceValue ()=0 |
Returns the last completed value of the internal fence. | |
virtual Uint64 DILIGENT_CALL_TYPE | WaitForIdle ()=0 |
Blocks execution until all pending GPU commands are complete. | |
![]() | |
virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface. | |
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
Increments the number of strong references by 1. | |
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Command queue interface.
|
pure virtual |
Submits command lists for execution.
[in] | NumCommandLists | - The number of command lists to submit. |
[in] | ppCommandLists | - A pointer to the array of NumCommandLists command lists to submit. |