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 was 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  undefined,
21 };
22 
23 } } // namespace bnb::interfaces
24 
25 namespace std {
26 
27 template <>
28 struct hash<::bnb::interfaces::pixel_format> {
29  size_t operator()(::bnb::interfaces::pixel_format type) const {
30  return std::hash<int>()(static_cast<int>(type));
31  }
32 };
33 
34 } // namespace std
35 /// @}
36