HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
gfx_surface_state.hpp
1// Copyright Take Vos 2021.
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
9enum class gfx_surface_state {
10 no_window,
11 has_window,
12 has_device,
13 has_surface,
14 has_swapchain,
15};
16
17enum class gfx_surface_loss {
18 none,
19 swapchain_lost,
20 surface_lost,
21 device_lost,
22 window_lost,
23};
24
25}