mdl_get_argument_attachment
Returns the name of the MDL function call attached to an argument.
arguments
-
"argument_name" : String
The name of the argument to retrieve.
-
"element_name" : String
The name of the MDL material instance or function call to retrieve the attachment from.
-
"evaluate_field_accessors" : Boolean (default: true)
If an MDL argument is attached to a structure field accessor (as automatically generated by mdl_attach_function_to_argument) then evaluate the accessor and return the name of the actual MDL function attached and the field (seperated by a period) rather than the name of the accessor function.