do you think the texture of the metal surface affects the adhesion of the paint? do you need to sand metal before spray painting

do you think the texture of the metal surface affects the adhesion of the paint? do you need to sand metal before spray painting