RavEngine
Loading...
Searching...
No Matches
CommandQueue.hpp
1
#pragma once
2
#include <RGL/Types.hpp>
3
#include <memory>
4
5
struct
ID3D12CommandQueue;
6
7
namespace
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
27
struct
ICommandQueue
{
28
virtual
RGLCommandBufferPtr CreateCommandBuffer() = 0;
29
virtual
void
WaitUntilCompleted() = 0;
30
virtual
QueueData
GetQueueData() = 0;
31
};
32
}
RGL::ICommandQueue
Definition
CommandQueue.hpp:27
RGL::QueueData
Definition
CommandQueue.hpp:15
RavEngine
deps
RGL
include
RGL
CommandQueue.hpp
Generated by
1.9.8