sandbox
Loading...
Searching...
No Matches
fence.hpp
1
#ifndef LIBSBX_GRAPHICS_RENDER_PASS_FENCE_HPP_
2
#define LIBSBX_GRAPHICS_RENDER_PASS_FENCE_HPP_
3
4
#include <limits>
5
6
#include <vulkan/vulkan.hpp>
7
8
namespace
sbx::graphics {
9
10
class
fence
final {
11
12
public
:
13
14
fence
(
bool
is_signaled =
true
);
15
16
~fence
();
17
18
auto
handle()
const
noexcept
->
const
VkFence&;
19
20
operator
const
VkFence&()
const
noexcept
;
21
22
auto
wait(std::uint64_t timeout = std::numeric_limits<std::uint64_t>::max())
const
noexcept
-> void;
23
24
auto
reset()
const
noexcept
-> void;
25
26
private
:
27
28
VkFence _handle;
29
30
};
// class fence final
31
32
}
// sbx::graphics
33
34
#endif
// LIBSBX_GRAPHICS_RENDER_PASS_FENCE_HPP_
sbx::graphics::fence
Definition:
fence.hpp:10
libsbx-graphics
libsbx
graphics
render_pass
fence.hpp
Generated by
1.9.5