Does the material for staves actually matter for damage?

Or is it purely cosmetic. Like would a daedric staff have the same damage/charge as a wooden staff?