For automatic translation of parameters to be possible, a texture map plug-in must contain a ParamBlock2 which is a one-to-one match to the parameters structure in the mental ray shader. Every parameter block that you want to be automatically translated must have a matching structure in the mental ray shader. For example, if your plug-in has a parameter block that is called "Parameters", then the mental ray shader must have a structure that is called "Parameters". The contents of the parameter block will be matched with the contents of the structure.
The contents of the parameter blocks must also be a one-to-one match with the contents of the structure in the mental ray shader. That is, each parameter that you want to be automatically translated must match by name and by type to the parameter in the mental ray shader. The following table describes type compatibility. Note that automatic translation is not case sensitive.
* Structure must also match. If the mental ray shader contains a sub-structure of parameters, then the parameter block in the texture map plug-in must contain a sub-parameter-block of the same name, and the contents of the sub-parameter-block will be matched with the contents of the sub-structure.
** As long as the parameter does not have the GUI attribute "no_alpha".