sandbox
Loading...
Searching...
No Matches
semaphore.hpp
1#ifndef LIBSBX_GRAPHICS_RENDER_PASS_SEMAPHORE_HPP_
2#define LIBSBX_GRAPHICS_RENDER_PASS_SEMAPHORE_HPP_
3
4#include <vulkan/vulkan.hpp>
5
6namespace sbx::graphics {
7
8class semaphore final {
9
10public:
11
12 semaphore();
13
14 ~semaphore();
15
16 auto handle() const noexcept -> const VkSemaphore&;
17
18 operator const VkSemaphore&() const noexcept;
19
20private:
21
22 VkSemaphore _handle;
23
24}; // class fence final
25
26} // sbx::graphics
27
28#endif // LIBSBX_GRAPHICS_RENDER_PASS_SEMAPHORE_HPP_
Definition: semaphore.hpp:8