Blob Blame Raw


#ifndef TFXPARAM_INCLUDED
#define TFXPARAM_INCLUDED

// #include "tcommon.h"

#include "tfx.h"
#include "tparamcontainer.h"

template <class T>
void bindParam(TFx *fx, string name, T &var, bool hidden = false)
{
	fx->getParams()->add(new TParamVarT<T>(name, var, hidden));
	var->addObserver(fx);
}

#endif