mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
gfx-shader-param: Split setting defaults from properties
This commit is contained in:
parent
1ff6c0cf41
commit
672c6d39af
2 changed files with 4 additions and 0 deletions
|
@ -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) {}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue