MfxParamDef#

template<typename T>
class MfxParamDef : public MfxBase#

A parameter definition is manipulated during the MfxEffect::Describe action to tell the host how to let the user interact with the parameter. It differs from MfxParam that is the parameter instance during the cooking.

Public Functions

MfxParamDef &Label(const char *label)#

Set the human readable label to display for this parameter

MfxParamDef &Range(const T &minimum, const T &maximum)#

Set the range of values allowed for this parameter. Some hosts may not supporting distinct min/max for the different component of the parameter.