RavEngine
Loading...
Searching...
No Matches
VkSynchronization.hpp
1#pragma once
2#include <RGL/Types.hpp>
3#include <RGL/Synchronization.hpp>
4#include <volk.h>
5#include <memory>
6
7namespace RGL {
8 struct DeviceVk;
9
10 struct FenceVk : public IFence {
11 VkFence fence = VK_NULL_HANDLE;
12 const std::shared_ptr<DeviceVk> owningDevice;
13 FenceVk(decltype(owningDevice) device, bool preSignaled);
14 void Wait() final;
15 void Reset() final;
16 void Signal() final;
17 virtual ~FenceVk();
18 };
19}
Definition VkSynchronization.hpp:10
Definition Synchronization.hpp:5