#pragma once
#include <obs-module.h>

#include <util/base.h>
#include <util/dstr.h>
#include <util/darray.h>
#include <util/platform.h>

#include <stdio.h>

extern gs_texrender_t *create_or_reset_texrender(gs_texrender_t *render);
extern void set_blending_parameters();
extern void set_render_parameters();
void texrender_set_texture(gs_texture_t *source, gs_texrender_t *dest);
extern bool add_source_to_list(void *data, obs_source_t *source);
gs_effect_t *load_shader_effect(gs_effect_t *effect,
				const char *effect_file_path);
extern char *load_shader_from_file(const char *file_name);