mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-30 00:52:07 -05:00
26 lines
564 B
C
26 lines
564 B
C
#pragma once
|
|
|
|
#include "obs.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct random_tex {
|
|
texture_t texture;
|
|
effect_t whatever;
|
|
};
|
|
|
|
EXPORT struct random_tex *random_create(const char *settings, obs_source_t source);
|
|
EXPORT void random_destroy(struct random_tex *rt);
|
|
EXPORT uint32_t random_get_output_flags(struct random_tex *rt);
|
|
|
|
EXPORT void random_video_render(struct random_tex *rt, obs_source_t filter_target);
|
|
|
|
EXPORT uint32_t random_getwidth(struct random_tex *rt);
|
|
EXPORT uint32_t random_getheight(struct random_tex *rt);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|