RavEngine
Loading...
Searching...
No Matches
WGCommandQueue.hpp
1
#pragma once
2
#include <RGL/CommandQueue.hpp>
3
#include <emscripten/html5_webgpu.h>
4
#include <memory>
5
6
namespace
RGL{
7
struct
DeviceWG;
8
9
struct
CommandQueueWG
:
public
ICommandQueue
,
public
std::enable_shared_from_this<CommandQueueWG>{
10
WGPUQueue queue =
nullptr
;
11
const
std::shared_ptr<DeviceWG> owningDevice;
12
CommandQueueWG
(
decltype
(owningDevice));
13
14
RGLCommandBufferPtr CreateCommandBuffer()
final
;
15
16
QueueData
GetQueueData()
final
;
17
18
void
WaitUntilCompleted()
final
{}
19
virtual
~CommandQueueWG
();
20
};
21
}
RGL::CommandQueueWG
Definition
WGCommandQueue.hpp:9
RGL::ICommandQueue
Definition
CommandQueue.hpp:27
RGL::QueueData
Definition
CommandQueue.hpp:15
RavEngine
deps
RGL
src
WGCommandQueue.hpp
Generated by
1.9.8