Method similar to UnityObjectToClipPos?

I am trying to “scale” an entity by modifying the Vertex positions in a Vertex Shader. But could not find a method similar to unity’s “UnityObjectToClipPos”. I expect to get a world position translated to the clipPosition so I could set the vertex translations to that.

Any Ideas?