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