sandbox
Loading...
Searching...
No Matches
instance.hpp
1// SPDX-License-Identifier: MIT
2#ifndef LIBSBX_GRAPHICS_DEVICES_INSTANCE_HPP_
3#define LIBSBX_GRAPHICS_DEVICES_INSTANCE_HPP_
4
5#include <vulkan/vulkan.hpp>
6
7#include <libsbx/utility/noncopyable.hpp>
8
9namespace sbx::graphics {
10
12
13public:
14
15 instance();
16
17 ~instance();
18
19 auto handle() const noexcept -> const VkInstance&;
20
21 operator const VkInstance&() const noexcept;
22
23private:
24
25 VkInstance _handle{};
26
27}; // class instance
28
29} // namespace sbx::graphics
30
31#endif // LIBSBX_GRAPHICS_DEVICES_INSTANCE_HPP_
Definition: instance.hpp:11
Definition: noncopyable.hpp:7