mesh materialid cpu attribute char -> int