addXXXAttribute functions
Save some details about mesh into attributes