Banuba SDK
libs
renderer_common
bnb
renderer_common
interfaces
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
14
namespace
bnb {
namespace
interfaces {
15
16
class
BNB_EXPORT
android_hardware_buffer
{
17
public
:
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
bnb::interfaces::android_hardware_buffer
Definition:
android_hardware_buffer.hpp:16
Generated by
1.8.17