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
6namespace 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}
Definition WGCommandQueue.hpp:9
Definition CommandQueue.hpp:27
Definition CommandQueue.hpp:15