Mount Fuji Engine  0.8b
MF_API int MFMaterial_GetParameterIndexFromName ( MFMaterial pMaterial,
const char *  pParameterName 
)

Gets the index of a parameter from a parameter name.

Parameters
pMaterialPointer to a material instance.
pParameterNameString representing a parameter name.
Returns
The index of the parameter. -1 if the parameter does not exist.