Banuba SDK
Loading...
Searching...
No Matches
texture_output.hpp
1#pragma once
2
3#include <bnb/player_api/interfaces/output.hpp>
4#include <functional>
5
6namespace bnb::player_api
7{
8
9 class BNB_EXPORT texture_output
10 : public interfaces::output
11 {
12 public:
13 using texture_ready_callback = std::function<void(const texture_t pb)>;
14
15 static std::shared_ptr<texture_output> create(const texture_ready_callback& callback);
16 }; // class texture_output
17
18} // namespace bnb::player_api
The interface is inherited by all classes that must work with player, and responsible for passing the...
Definition output.hpp:26