RavEngine
Loading...
Searching...
No Matches
RGL::CommandQueueD3D12 Struct Reference
Inheritance diagram for RGL::CommandQueueD3D12:
[legend]
Collaboration diagram for RGL::CommandQueueD3D12:
[legend]

Public Member Functions

RGLCommandBufferPtr CreateCommandBuffer () final
 
 CommandQueueD3D12 (const DeviceD3D12 *device, QueueType type)
 
uint64_t ExecuteCommandList (Microsoft::WRL::ComPtr< ID3D12GraphicsCommandList2 > commandList)
 
uint64_t Signal ()
 
bool IsFenceComplete (uint64_t fenceValue)
 
void WaitForFenceValue (uint64_t fenceValue)
 
void Flush ()
 
Microsoft::WRL::ComPtr< ID3D12CommandQueue > GetD3D12CommandQueue () const
 
Microsoft::WRL::ComPtr< ID3D12GraphicsCommandList2 > CreateCommandList ()
 
void WaitUntilCompleted () final
 
QueueData GetQueueData () final
 

Public Attributes

D3D12_COMMAND_LIST_TYPE m_CommandListType
 
Microsoft::WRL::ComPtr< ID3D12Device2 > m_d3d12Device
 
Microsoft::WRL::ComPtr< ID3D12CommandQueue > m_d3d12CommandQueue
 
Microsoft::WRL::ComPtr< ID3D12Fence > m_d3d12Fence
 
const DeviceD3D12 * owningDevice = nullptr
 
HANDLE m_FenceEvent
 
uint64_t m_FenceValue
 

Member Function Documentation

◆ CreateCommandBuffer()

RGLCommandBufferPtr RGL::CommandQueueD3D12::CreateCommandBuffer ( )
finalvirtual

Implements RGL::ICommandQueue.

◆ GetQueueData()

QueueData RGL::CommandQueueD3D12::GetQueueData ( )
finalvirtual

Implements RGL::ICommandQueue.

◆ WaitUntilCompleted()

void RGL::CommandQueueD3D12::WaitUntilCompleted ( )
inlinefinalvirtual

Implements RGL::ICommandQueue.


The documentation for this struct was generated from the following file: