]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/fence.h
Annotate uniforms with descriptor set layout qualifiers
[libs/gl.git] / source / backends / vulkan / fence.h
1 #ifndef MSP_GL_VULKAN_FENCE_H_
2 #define MSP_GL_VULKAN_FENCE_H_
3
4 #include "handles.h"
5
6 namespace Msp {
7 namespace GL {
8
9 class Device;
10
11 class Fence
12 {
13         friend class VulkanCommands;
14
15 private:
16         Device &device;
17         VkFence handle;
18
19 public:
20         Fence(bool = false);
21         Fence(Fence &&);
22         ~Fence();
23
24         bool get_status();
25         void reset();
26         void wait();
27 };
28
29
30 } // namespace GL
31 } // namespace Msp
32
33 #endif