2014-04-28 17:59:53 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct XCompcapMain_private;
|
|
|
|
|
2019-06-22 22:13:45 -07:00
|
|
|
class XCompcapMain {
|
|
|
|
public:
|
2014-04-28 17:59:53 -07:00
|
|
|
static bool init();
|
|
|
|
static void deinit();
|
|
|
|
|
2014-09-25 17:44:05 -07:00
|
|
|
static obs_properties_t *properties();
|
|
|
|
static void defaults(obs_data_t *settings);
|
2014-04-28 17:59:53 -07:00
|
|
|
|
2014-09-25 17:44:05 -07:00
|
|
|
XCompcapMain(obs_data_t *settings, obs_source_t *source);
|
2014-04-28 17:59:53 -07:00
|
|
|
~XCompcapMain();
|
|
|
|
|
2014-09-25 17:44:05 -07:00
|
|
|
void updateSettings(obs_data_t *settings);
|
2014-04-28 17:59:53 -07:00
|
|
|
|
|
|
|
void tick(float seconds);
|
2014-09-25 17:44:05 -07:00
|
|
|
void render(gs_effect_t *effect);
|
2014-04-28 17:59:53 -07:00
|
|
|
|
|
|
|
uint32_t width();
|
|
|
|
uint32_t height();
|
|
|
|
|
2019-06-22 22:13:45 -07:00
|
|
|
private:
|
2014-04-28 17:59:53 -07:00
|
|
|
XCompcapMain_private *p;
|
|
|
|
};
|