Auto generate render device implementation macros.