Banuba SDK
egl_context.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup Utils
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file was generated by Djinni from utils.djinni
7 
8 #pragma once
9 
10 #include <bnb/utils/defs.hpp>
11 #include <cstdint>
12 #include <memory>
13 
14 namespace bnb { namespace interfaces {
15 
16 class BNB_EXPORT egl_context {
17 public:
18  virtual ~egl_context() {}
19 
20  static std::shared_ptr<egl_context> create(int32_t width, int32_t height);
21 
22  virtual bool check() const = 0;
23 
24  virtual void activate() const = 0;
25 
26  virtual void deactivate() const = 0;
27 };
28 
29 } } // namespace bnb::interfaces
30 /// @}
31 
bnb::interfaces::egl_context
Definition: egl_context.hpp:16