RavEngine
Loading...
Searching...
No Matches
CommandQueue.hpp
1#pragma once
2#include <RGL/Types.hpp>
3#include <memory>
4
5struct ID3D12CommandQueue;
6
7namespace RGL {
8
9 enum class QueueType {
10 AllCommands, CopyOnly, ComputeOnly
11 };
12
13 struct ICommandBuffer;
14
15 union QueueData {
16 struct {
17 ID3D12CommandQueue* commandQueue;
18 } d3d12Data;
19 struct {
20
21 } vkData;
22 struct {
23
24 } mtlData;
25 };
26
28 virtual RGLCommandBufferPtr CreateCommandBuffer() = 0;
29 virtual void WaitUntilCompleted() = 0;
30 virtual QueueData GetQueueData() = 0;
31 };
32}
Definition CommandQueue.hpp:27
Definition CommandQueue.hpp:15