gfx-shader-param: Split setting defaults from properties

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-12-22 06:07:37 +01:00
parent 1ff6c0cf41
commit 672c6d39af
2 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,8 @@
#include "gfx-shader-param.hpp"
#include "gfx-shader-param-basic.hpp"
void gfx::shader::parameter::defaults(obs_data_t* settings) {}
void gfx::shader::parameter::properties(obs_properties_t* props, obs_data_t* settings) {}
void gfx::shader::parameter::update(obs_data_t* settings) {}

View file

@ -42,6 +42,8 @@ namespace gfx {
virtual ~parameter(){};
public:
virtual void defaults(obs_data_t* settings);
virtual void properties(obs_properties_t* props, obs_data_t* settings);
virtual void update(obs_data_t* settings);