Banuba SDK
consistency_mode.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup EffectPlayer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from effect_player.djinni
7 
8 #pragma once
9 
10 #include <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class consistency_mode : int {
15  synchronous,
16  /** switches to async-inconsistent mode while effect is loading */
17  synchronous_when_effect_loaded,
18  asynchronous_inconsistent,
19  asynchronous_consistent,
20  /** switches to async-inconsistent mode while effect is loading */
21  asynchronous_consistent_when_effect_loaded,
22 };
23 
24 } } // namespace bnb::interfaces
25 
26 namespace std {
27 
28 template <>
29 struct hash<::bnb::interfaces::consistency_mode> {
30  size_t operator()(::bnb::interfaces::consistency_mode type) const {
31  return std::hash<int>()(static_cast<int>(type));
32  }
33 };
34 
35 } // namespace std
36 /// @}
37