Sets a material asset map.
Returns eOk if successful or an appropriate error code in the other case.