yolobs-studio/plugins/linux-capture/xcompcap-main.hpp

27 lines
468 B
C++
Raw Normal View History

2016-02-23 23:16:51 +00:00
#pragma once
struct XCompcapMain_private;
2019-09-22 21:19:10 +00:00
class XCompcapMain {
public:
2016-02-23 23:16:51 +00:00
static bool init();
static void deinit();
static obs_properties_t *properties();
static void defaults(obs_data_t *settings);
XCompcapMain(obs_data_t *settings, obs_source_t *source);
~XCompcapMain();
void updateSettings(obs_data_t *settings);
void tick(float seconds);
void render(gs_effect_t *effect);
uint32_t width();
uint32_t height();
2019-09-22 21:19:10 +00:00
private:
2016-02-23 23:16:51 +00:00
XCompcapMain_private *p;
};