This document currently is a largely undocumented draft so it is more informational to refer to the C API at the moment: OpenMfx API Reference.

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.