Made shader property flags interace dynamic, to avoid spelling mistakes and mismatches on format update.