Banuba SDK
Loading...
Searching...
No Matches
libs
effect_player
bnb
effect_player
interfaces
effect_player_configuration.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup EffectPlayer
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file was generated by Djinni from effect_player.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
/** Configuration for EffectPlayer */
17
class
BNB_EXPORT
effect_player_configuration
{
18
public
:
19
virtual
~effect_player_configuration
() {}
20
21
/**
22
* @param fx_width Width of effect rendering area
23
* @param fx_height Height of effect rendering area
24
*/
25
static
std::shared_ptr<effect_player_configuration>
create
(int32_t fx_width, int32_t fx_height);
26
27
/** Init audio device. */
28
virtual
void
set_audio_enabled
(
bool
enabled) = 0;
29
};
30
31
} }
// namespace bnb::interfaces
32
/// @}
33
bnb::interfaces::effect_player_configuration
Configuration for EffectPlayer.
Definition
effect_player_configuration.hpp:17
bnb::interfaces::effect_player_configuration::create
static std::shared_ptr< effect_player_configuration > create(int32_t fx_width, int32_t fx_height)
bnb::interfaces::effect_player_configuration::set_audio_enabled
virtual void set_audio_enabled(bool enabled)=0
Init audio device.
Generated by
1.12.0