How to get vertex position in MDLMesh and modify it

I'm new to swift mesh operation. I wonder how to get vertex position in MDLMesh and modify it(used for mesh deformation). Can any one help me and thanks very much.

How to get vertex position in MDLMesh and modify it
 
 
Q