HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
gfx_surface_delegate.hpp
1// Copyright Take Vos 2022.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7namespace hi::inline v1 {
8
10public:
11 virtual ~gfx_surface_delegate() = default;
12 constexpr gfx_surface_delegate() noexcept = default;
15 gfx_surface_delegate& operator=(gfx_surface_delegate const&) = delete;
16 gfx_surface_delegate& operator=(gfx_surface_delegate&&) = delete;
17
25 virtual void teardown_for_swapchain_lost() noexcept {}
26
29 virtual void teardown_for_device_lost() noexcept {}
30};
31
32} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm.hpp:15
Definition gfx_surface_delegate.hpp:9
virtual void teardown_for_swapchain_lost() noexcept
The swap-chain is going to be teared-down.
Definition gfx_surface_delegate.hpp:25
virtual void teardown_for_device_lost() noexcept
The vulkan device is going to be teared-down.
Definition gfx_surface_delegate.hpp:29