2013-10-14 13:21:15 +02:00
|
|
|
#pragma once
|
2013-09-30 19:37:13 -07:00
|
|
|
|
2013-11-26 23:07:27 -07:00
|
|
|
#include <obs.h>
|
2013-09-30 19:37:13 -07:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
struct random_tex {
|
|
|
|
|
texture_t texture;
|
|
|
|
|
};
|
|
|
|
|
|
2013-11-13 06:24:20 -07:00
|
|
|
EXPORT const char *random_getname(const char *locale);
|
|
|
|
|
|
2013-12-22 01:30:18 -07:00
|
|
|
EXPORT struct random_tex *random_create(const char *settings,
|
|
|
|
|
obs_source_t source);
|
2013-09-30 19:37:13 -07:00
|
|
|
EXPORT void random_destroy(struct random_tex *rt);
|
|
|
|
|
EXPORT uint32_t random_get_output_flags(struct random_tex *rt);
|
|
|
|
|
|
2013-12-22 01:30:18 -07:00
|
|
|
EXPORT void random_video_render(struct random_tex *rt,
|
|
|
|
|
obs_source_t filter_target);
|
2013-09-30 19:37:13 -07:00
|
|
|
|
2013-10-17 17:21:42 -07:00
|
|
|
EXPORT uint32_t random_getwidth(struct random_tex *rt);
|
|
|
|
|
EXPORT uint32_t random_getheight(struct random_tex *rt);
|
2013-09-30 19:37:13 -07:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|