HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
ttauri
GUI
vertical_sync.hpp
1
// Copyright Take Vos 2020-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
7
#include "../chrono.hpp"
8
#include "../subsystem.hpp"
9
#include <atomic>
10
11
namespace
tt {
12
13
class
vertical_sync
{
14
public
:
15
vertical_sync
()
noexcept
{}
16
17
virtual
~vertical_sync
() =
default
;
18
22
virtual
utc_nanoseconds
wait
() noexcept = 0;
23
};
24
25
}
tt::vertical_sync
Definition
vertical_sync.hpp:13
tt::vertical_sync::wait
virtual utc_nanoseconds wait() noexcept=0
Wait for the vertical sync.
Generated on Mon Apr 22 2024 12:53:34 for HikoGUI by
1.10.0