SimpleGL  1.1.0
A framework for platform independent rendering
synchronization.hpp
Go to the documentation of this file.
1 
8 #ifndef SYNCHRONISATION_HPP
9 #define SYNCHRONISATION_HPP
10 
11 #include <SimpleGL_vk/SimpleGL_vk_Export.h>
12 
13 #include <vulkan/vulkan.h>
14 
15 namespace sgl {
16 
22  class SIMPLEGL_VK_EXPORT Semaphore {
23 
24  private:
26  VkSemaphore handle;
27 
28  public:
30  Semaphore(void);
31 
33  ~Semaphore(void);
34 
40  VkSemaphore getHandle();
41  };
42 
48  class SIMPLEGL_VK_EXPORT Fence {
49 
50  private:
52  VkFence handle;
53 
54  public:
56  Fence(void);
57 
59  ~Fence(void);
60 
66  VkFence getHandle();
67  };
68 }
69 
70 #endif /* SYNCHRONISATION_HPP */
Generic namespace for the SimpleGL framework.
Definition: application.hpp:18
This class wraps a Vulkan semaphore.
This class wraps a Vulkan fence.