convertCoords convert coordinates from the render target perspectiv to the view perspectiv, i.e. the function needs two parameters. Furthermore the function is declared within
sf::RenderTarget so it applies automatically to
sf::RenderWindow and
sf::RenderTexture.
Now if you'd put it on the view itself you would always have to specify which render target it should convert the coordinates from. If you put it on the render target itself you just need to specify the coordinates and optinal you can give another
sf::View as the one that render target is working with.
Also I'm not sure what kinda of internal stuff the function needs from the render target. If uses some private variables then you can't really put it onto the view otherwise you would need to expose private stuff so it could be accessed from the view.