Banuba SDK
pixel_format.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup Types
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from types.djinni
7 
8 #pragma once
9 
10 #include <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class pixel_format : int {
15  rgb,
16  rgba,
17  bgr,
18  bgra,
19  argb,
20 };
21 
22 } } // namespace bnb::interfaces
23 
24 namespace std {
25 
26 template <>
27 struct hash<::bnb::interfaces::pixel_format> {
28  size_t operator()(::bnb::interfaces::pixel_format type) const {
29  return std::hash<int>()(static_cast<int>(type));
30  }
31 };
32 
33 } // namespace std
34 /// @}
35