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_swapchain,
14};
15
16enum class gfx_surface_loss {
17 none,
18 swapchain_lost,
19 device_lost,
20 window_lost,
21};
22
23}